Office365-REST-Python-Client 2.6.2__py3-none-any.whl → 3.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +21 -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 +21 -1
- office365/communications/onlinemeetings/chatmode.py +12 -0
- office365/communications/onlinemeetings/collection.py +59 -53
- 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 +33 -35
- 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 +45 -0
- office365/communications/onlinemeetings/remindbeforetimeinminutestype.py +10 -0
- office365/communications/onlinemeetings/restricted.py +5 -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 +14 -11
- 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 +18 -35
- 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 +30 -40
- 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 +27 -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 +17 -11
- 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 +6 -12
- 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 +34 -11
- 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 +54 -7
- 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 +37 -0
- office365/directory/identitygovernance/accessreview/stagefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/accessreview/stages.py +1 -3
- 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 +14 -27
- 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 +80 -5
- 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/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 +69 -2
- office365/directory/identitygovernance/privilegedaccess/schedule/instance.py +16 -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 +27 -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 +6 -14
- 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 +9 -13
- 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 +22 -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 +14 -19
- 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 +4 -11
- 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 +29 -44
- 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 +9 -5
- 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/email_file.py +2 -4
- office365/directory/protection/threatassessment/requests/file.py +9 -0
- office365/directory/protection/threatassessment/requests/maildestinationroutingreason.py +24 -0
- office365/directory/protection/threatassessment/requests/request.py +21 -10
- office365/directory/protection/threatassessment/requests/url.py +7 -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/application.py +11 -16
- 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/assignment.py +11 -24
- office365/directory/rolemanagement/unifiedrole/definition.py +10 -20
- office365/directory/rolemanagement/unifiedrole/permission.py +8 -16
- 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/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 -10
- office365/directory/security/attacksimulations/automation_run.py +1 -2
- 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 +12 -8
- 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 +11 -5
- 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 +8 -18
- 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 +72 -45
- 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/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 +12 -12
- 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 +10 -20
- 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 +13 -28
- office365/directory/users/storage.py +4 -0
- office365/directory/users/user.py +785 -588
- 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 +42 -45
- 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 +39 -30
- 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 -405
- 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 +8 -12
- 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 +39 -7
- 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 +84 -20
- 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 +14 -30
- 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 -14
- office365/onedrive/sitepages/canvas_layout.py +11 -23
- office365/onedrive/sitepages/collection.py +28 -23
- 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 +67 -50
- 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 +2 -4
- 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 +32 -28
- 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 +4 -8
- office365/onedrive/workbooks/ranges/fill.py +1 -2
- office365/onedrive/workbooks/ranges/font.py +6 -12
- office365/onedrive/workbooks/ranges/format.py +10 -18
- office365/onedrive/workbooks/ranges/range.py +29 -37
- 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 -38
- 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 +180 -92
- 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 +50 -54
- 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 +178 -176
- 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 +16 -9
- 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/error.py +5 -0
- office365/outlook/mail/tips/tips.py +28 -32
- office365/outlook/mail/tips/type.py +18 -0
- office365/outlook/mail/userpurpose.py +15 -0
- office365/outlook/mail/weekindex.py +13 -0
- office365/outlook/person.py +89 -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/group.py +5 -4
- office365/planner/planner.py +7 -17
- office365/planner/plans/collection.py +13 -17
- office365/planner/plans/container.py +16 -13
- office365/planner/plans/containertype.py +11 -0
- office365/planner/plans/details.py +4 -8
- 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 +44 -20
- office365/planner/tasks/previewtype.py +13 -0
- office365/planner/tasks/task.py +67 -15
- office365/planner/tasks/task_details.py +4 -8
- office365/planner/user.py +11 -9
- office365/py.typed +0 -0
- office365/reports/internal/queries/create_report_query.py +17 -10
- office365/reports/migrationstatus.py +12 -0
- office365/reports/report.py +12 -8
- office365/reports/root.py +232 -177
- 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 +229 -134
- 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 -27
- 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 +302 -141
- office365/runtime/client_object_collection.py +264 -126
- 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 +140 -114
- 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 +53 -19
- 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 +93 -47
- 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 +8 -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 +15 -16
- 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 +83 -28
- office365/runtime/queries/create_entity.py +11 -7
- office365/runtime/queries/delete_entity.py +15 -4
- office365/runtime/queries/function.py +29 -22
- office365/runtime/queries/noop.py +17 -0
- office365/runtime/queries/read_entity.py +33 -23
- office365/runtime/queries/service_operation.py +29 -27
- 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/acronym.py +2 -2
- 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/bookmark.py +57 -1
- office365/search/bucket.py +15 -10
- office365/search/bucketaggregationsortproperty.py +12 -0
- office365/search/content.py +11 -0
- office365/search/entity.py +170 -62
- office365/search/entity_type.py +15 -12
- office365/search/external/configuration.py +11 -4
- office365/search/external/external.py +6 -7
- office365/search/external/item.py +17 -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 +5 -0
- office365/search/qnas/qna.py +47 -1
- 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/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 +14 -9
- 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 +279 -239
- 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 +4 -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 +156 -30
- 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/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/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 +86 -95
- 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 +392 -388
- 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 +321 -257
- 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 -24
- office365/sharepoint/lists/get_parameters.py +7 -6
- office365/sharepoint/lists/list.py +517 -578
- 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 +13 -21
- office365/sharepoint/migrationcenter/common/task.py +4 -7
- office365/sharepoint/migrationcenter/common/task_definition.py +16 -5
- office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -3
- office365/sharepoint/migrationcenter/common/teams/channel_resource.py +38 -0
- office365/sharepoint/migrationcenter/common/teams/team_resource.py +26 -0
- office365/sharepoint/migrationcenter/common/url_parser.py +11 -10
- 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 +8 -14
- office365/sharepoint/migrationcenter/service/storage.py +79 -0
- office365/sharepoint/migrationcenter/service/teams.py +1 -3
- 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 +10 -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 +27 -10
- 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 +11 -11
- 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/types.py +7 -1
- office365/sharepoint/publishing/pages/boostproperties.py +18 -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 +3 -8
- office365/sharepoint/publishing/pages/coauth_state.py +19 -20
- office365/sharepoint/publishing/pages/collaborator.py +15 -0
- office365/sharepoint/publishing/pages/collection.py +36 -36
- office365/sharepoint/publishing/pages/dependency_metadata.py +17 -1
- office365/sharepoint/publishing/pages/fields_data.py +51 -27
- office365/sharepoint/publishing/pages/metadata.py +27 -34
- office365/sharepoint/publishing/pages/metadata_collection.py +10 -6
- office365/sharepoint/publishing/pages/page.py +67 -119
- 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 +69 -99
- 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 +3 -1
- 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 +198 -61
- 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 +16 -18
- office365/sharepoint/sharing/address_bar_link_settings.py +13 -1
- 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 +5 -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 +11 -2
- 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 -4
- 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/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 +10 -8
- 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 +321 -346
- 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 +8 -1
- 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 +9 -16
- 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/client.py +10 -6
- office365/sharepoint/tenant/administration/copilot/agentinsights/report_metadata.py +14 -1
- 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 +28 -9
- office365/sharepoint/tenant/administration/policies/fileversionsettings.py +28 -0
- office365/sharepoint/tenant/administration/policies/list_parameters.py +9 -2
- office365/sharepoint/tenant/administration/policies/report.py +22 -0
- office365/sharepoint/tenant/administration/policies/resource_storage.py +20 -2
- 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 -31
- 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 +461 -413
- 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 +128 -159
- 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 +116 -103
- 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 +20 -25
- office365/sharepoint/webparts/personalization_scope.py +4 -1
- office365/sharepoint/webparts/tile_data.py +22 -19
- office365/sharepoint/webparts/webpart.py +5 -10
- 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 +27 -55
- 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 +878 -1080
- 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 +5 -12
- office365/teams/apps/authorization.py +17 -10
- 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 +13 -7
- office365/teams/apps/publishingstate.py +12 -0
- office365/teams/apps/resource_specific_permission.py +10 -1
- 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 +26 -52
- 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 +43 -18
- 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 +12 -5
- office365/teams/chats/viewpoint.py +12 -1
- office365/teams/clonableteamparts.py +13 -0
- office365/teams/collection.py +20 -18
- office365/teams/deleted.py +2 -5
- office365/teams/fun_settings.py +21 -19
- office365/teams/giphyratingtype.py +11 -0
- office365/teams/guest_settings.py +18 -10
- office365/teams/info.py +2 -5
- 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 +13 -3
- 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 -9
- office365/teams/schedule/shifts/offer/request.py +5 -14
- 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 +12 -4
- 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 +19 -15
- 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 +18 -30
- office365/teams/teamwork/user_identity.py +7 -1
- 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 +15 -0
- office365/teams/viva/employee_experience.py +6 -12
- office365/teams/viva/employee_experience_user.py +1 -2
- 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/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 +2 -3
- office365/todo/checklist_item.py +25 -2
- 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 +121 -27
- 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.2.dist-info/LICENSE +0 -21
- Office365_REST_Python_Client-2.6.2.dist-info/METADATA +0 -479
- Office365_REST_Python_Client-2.6.2.dist-info/RECORD +0 -2241
- Office365_REST_Python_Client-2.6.2.dist-info/WHEEL +0 -5
- Office365_REST_Python_Client-2.6.2.dist-info/top_level.txt +0 -1
- office365/admin/people_settings.py +0 -21
- office365/admin/sharepoint.py +0 -18
- office365/admin/sharepoint_settings.py +0 -122
- office365/admin/sharing_capabilities.py +0 -2
- 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/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/rolemanagement/role.py +0 -53
- office365/directory/rolemanagement/role_permission.py +0 -10
- office365/directory/rolemanagement/template.py +0 -23
- 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 -29
- office365/onedrive/filestorage/container_collection.py +0 -37
- 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 -25
- office365/outlook/mail/automatic_replies_setting.py +0 -34
- office365/outlook/timezone_information.py +0 -18
- office365/project/project.py +0 -7
- office365/runtime/compat.py +0 -78
- office365/search/answer.py +0 -44
- 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/copilot/file_metadata.py +0 -5
- 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 -89
- 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/types.py +0 -18
- 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 -60
- office365/sharepoint/sharing/internal/types.py +0 -17
- office365/sharepoint/sitehealth/result.py +0 -19
- office365/sharepoint/sitehealth/summary.py +0 -37
- office365/sharepoint/sites/brand_center_configuration.py +0 -5
- office365/sharepoint/sites/manager/types.py +0 -5
- 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 -51
- 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 -61
- 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 -46
- 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/{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,109 +175,102 @@ class Web(SecurableObject):
|
|
|
187
175
|
def _get_access_request_list():
|
|
188
176
|
return_type.set_property("Url", self.access_request_list_url)
|
|
189
177
|
|
|
190
|
-
self.ensure_properties(["AccessRequestListUrl"]
|
|
178
|
+
self.ensure_properties(["AccessRequestListUrl"]).after_execute(lambda _: _get_access_request_list())
|
|
191
179
|
return return_type
|
|
192
180
|
|
|
193
|
-
def get_adaptive_card_extensions(self, include_errors=None, project=None):
|
|
181
|
+
def get_adaptive_card_extensions(self, include_errors: Optional[bool] = None, project=None):
|
|
194
182
|
payload = {
|
|
195
183
|
"includeErrors": include_errors,
|
|
196
184
|
"project": project,
|
|
197
185
|
}
|
|
198
|
-
return_type = ClientResult(
|
|
199
|
-
|
|
200
|
-
)
|
|
201
|
-
qry = ServiceOperationQuery(
|
|
202
|
-
self, "GetAdaptiveCardExtensions", None, payload, None, return_type
|
|
203
|
-
)
|
|
186
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
187
|
+
qry = ServiceOperationQuery(self, "GetAdaptiveCardExtensions", None, payload, None, return_type)
|
|
204
188
|
self.context.add_query(qry)
|
|
205
189
|
return return_type
|
|
206
190
|
|
|
207
|
-
def get_document_by_doc_id(self, doc_id):
|
|
191
|
+
def get_document_by_doc_id(self, doc_id: str) -> ClientResult[str]:
|
|
208
192
|
""" """
|
|
209
|
-
return_type = ClientResult(self.context)
|
|
193
|
+
return_type = ClientResult(self.context, str())
|
|
210
194
|
qry = ClientQuery(self.context, return_type=return_type)
|
|
211
195
|
|
|
212
|
-
def _construct_request(request):
|
|
213
|
-
request.url = "{
|
|
214
|
-
self.context.base_url, doc_id
|
|
215
|
-
)
|
|
196
|
+
def _construct_request(request: RequestOptions):
|
|
197
|
+
request.url = f"{self.context.base_url}/_layouts/15/DocIdRedir.aspx?ID={doc_id}"
|
|
216
198
|
|
|
217
|
-
self.context.add_query(qry).
|
|
199
|
+
self.context.add_query(qry).before_execute(_construct_request)
|
|
218
200
|
return return_type
|
|
219
201
|
|
|
220
202
|
def get_site_script(
|
|
221
203
|
self,
|
|
222
|
-
include_branding=True,
|
|
223
|
-
included_lists=None,
|
|
224
|
-
include_links_to_exported_items=True,
|
|
225
|
-
include_regional_settings=True,
|
|
226
|
-
):
|
|
227
|
-
"""
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
204
|
+
include_branding: bool = True,
|
|
205
|
+
included_lists: Optional[list[str]] = None,
|
|
206
|
+
include_links_to_exported_items: bool = True,
|
|
207
|
+
include_regional_settings: bool = True,
|
|
208
|
+
) -> ClientResult[SiteScriptSerializationResult]:
|
|
209
|
+
"""Creates site script syntax from current SharePoint site.
|
|
210
|
+
|
|
211
|
+
Args:
|
|
212
|
+
include_branding (bool): Extracts the configuration of the site's branding.
|
|
213
|
+
included_lists (list[str] or None): A list of one or more lists. Each is identified by the list url.
|
|
214
|
+
include_links_to_exported_items (bool): Extracts navigation links. In order to export navigation
|
|
215
|
+
links pointing to lists, the list needs to be included in the request as well.
|
|
216
|
+
include_regional_settings (bool): Extracts the site's regional settings.
|
|
235
217
|
"""
|
|
236
218
|
result = ClientResult(self.context, SiteScriptSerializationResult())
|
|
237
219
|
info = SiteScriptSerializationInfo(
|
|
238
|
-
include_branding,
|
|
239
|
-
included_lists,
|
|
240
|
-
include_links_to_exported_items,
|
|
241
|
-
include_regional_settings,
|
|
220
|
+
IncludeBranding=include_branding,
|
|
221
|
+
IncludedLists=StringCollection(included_lists) if included_lists else None,
|
|
222
|
+
IncludeLinksToExportedItems=include_links_to_exported_items,
|
|
223
|
+
IncludeRegionalSettings=include_regional_settings,
|
|
242
224
|
)
|
|
243
225
|
|
|
244
|
-
def
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
)
|
|
226
|
+
def _get_site_script(web_url: str | None):
|
|
227
|
+
assert web_url is not None
|
|
228
|
+
SiteScriptUtility.get_site_script_from_web(self.context, web_url, info, return_type=result)
|
|
248
229
|
|
|
249
|
-
self.ensure_property("Url"
|
|
230
|
+
self.ensure_property("Url").after_execute(lambda _: _get_site_script(self.url))
|
|
250
231
|
return result
|
|
251
232
|
|
|
252
|
-
def consent_to_power_platform(self):
|
|
233
|
+
def consent_to_power_platform(self) -> FlowSynchronizationResult:
|
|
253
234
|
""""""
|
|
254
235
|
return_type = FlowSynchronizationResult(self.context)
|
|
255
|
-
qry = ServiceOperationQuery(
|
|
256
|
-
self, "ConsentToPowerPlatform", None, None, None, return_type
|
|
257
|
-
)
|
|
236
|
+
qry = ServiceOperationQuery(self, "ConsentToPowerPlatform", None, None, None, return_type)
|
|
258
237
|
self.context.add_query(qry)
|
|
259
238
|
return return_type
|
|
260
239
|
|
|
261
|
-
def get_list_data_as_stream(self, path, view_xml=None):
|
|
240
|
+
def get_list_data_as_stream(self, path: str, view_xml: Optional[str] = None) -> ClientResult[bytes]:
|
|
262
241
|
"""Returns list data from the specified list url and for the specified query parameters.
|
|
263
242
|
|
|
264
|
-
:
|
|
265
|
-
|
|
243
|
+
Args:
|
|
244
|
+
path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
|
|
245
|
+
view_xml (str):
|
|
266
246
|
"""
|
|
267
247
|
if view_xml is None:
|
|
268
248
|
view_xml = "<View><Query></Query></View>"
|
|
269
|
-
return_type = ClientResult(self.context,
|
|
249
|
+
return_type = ClientResult(self.context, bytes())
|
|
270
250
|
|
|
271
251
|
def _get_list_data_as_stream():
|
|
252
|
+
assert self.url is not None
|
|
272
253
|
list_abs_url = self.url + path
|
|
273
|
-
parameters = RenderListDataParameters(
|
|
274
|
-
List.get_list_data_as_stream(
|
|
275
|
-
self.context, list_abs_url, parameters, return_type=return_type
|
|
276
|
-
)
|
|
254
|
+
parameters = RenderListDataParameters(ViewXml=view_xml)
|
|
255
|
+
List.get_list_data_as_stream(self.context, list_abs_url, parameters, return_type=return_type)
|
|
277
256
|
|
|
278
|
-
self.ensure_property("Url"
|
|
257
|
+
self.ensure_property("Url").after_execute(lambda _: _get_list_data_as_stream())
|
|
279
258
|
return return_type
|
|
280
259
|
|
|
281
|
-
def get_onedrive_list_data_as_stream(
|
|
260
|
+
def get_onedrive_list_data_as_stream(
|
|
261
|
+
self, view_xml: Optional[Union[str, RenderListDataParameters]] = None
|
|
262
|
+
) -> ClientResult[bytes]:
|
|
282
263
|
"""Returns list data from the specified list url and for the specified query parameters.
|
|
283
264
|
|
|
284
|
-
:
|
|
265
|
+
Args:
|
|
266
|
+
view_xml (str):
|
|
285
267
|
"""
|
|
286
268
|
if view_xml is None:
|
|
287
269
|
view_xml = RenderListDataParameters()
|
|
288
270
|
view_xml.ViewXml = "<View><Query></Query></View>"
|
|
289
|
-
return List.get_onedrive_list_data_as_stream(self.context, view_xml)
|
|
271
|
+
return List.get_onedrive_list_data_as_stream(self.context, view_xml) # type: ignore[arg-type]
|
|
290
272
|
|
|
291
|
-
def get_list_operation(self, list_id, operation_id):
|
|
292
|
-
# type: (str, str) -> SPLargeOperation
|
|
273
|
+
def get_list_operation(self, list_id: str, operation_id: str) -> SPLargeOperation:
|
|
293
274
|
""" """
|
|
294
275
|
return_type = SPLargeOperation(self.context)
|
|
295
276
|
qry = ServiceOperationQuery(
|
|
@@ -303,11 +284,11 @@ class Web(SecurableObject):
|
|
|
303
284
|
self.context.add_query(qry)
|
|
304
285
|
return return_type
|
|
305
286
|
|
|
306
|
-
def get_push_notification_subscriber(self, device_app_instance_id):
|
|
307
|
-
"""
|
|
308
|
-
Specifies the push notification subscriber over the site for the specified device app instance identifier.
|
|
287
|
+
def get_push_notification_subscriber(self, device_app_instance_id: str) -> PushNotificationSubscriber:
|
|
288
|
+
"""Specifies the push notification subscriber over the site for the specified device app instance identifier.
|
|
309
289
|
|
|
310
|
-
:
|
|
290
|
+
Args:
|
|
291
|
+
device_app_instance_id (str): Device application instance identifier.
|
|
311
292
|
"""
|
|
312
293
|
return_type = PushNotificationSubscriber(self.context)
|
|
313
294
|
qry = ServiceOperationQuery(
|
|
@@ -321,30 +302,26 @@ class Web(SecurableObject):
|
|
|
321
302
|
self.context.add_query(qry)
|
|
322
303
|
return return_type
|
|
323
304
|
|
|
324
|
-
def get_client_side_components(
|
|
325
|
-
|
|
326
|
-
|
|
305
|
+
def get_client_side_components(
|
|
306
|
+
self, components: ClientValueCollection[SPClientSideComponentIdentifier]
|
|
307
|
+
) -> ClientResult[ClientValueCollection[SPClientSideComponentIdentifier]]:
|
|
308
|
+
"""Returns the client side components for the requested components.
|
|
327
309
|
Client components include data necessary to render Client Side Web Parts and Client Side Applications.
|
|
328
310
|
|
|
329
|
-
:
|
|
311
|
+
Args:
|
|
312
|
+
components (list): array of requested components, defined by id and version.
|
|
330
313
|
"""
|
|
331
|
-
return_type = ClientResult(
|
|
332
|
-
self.context, ClientValueCollection(SPClientSideComponentIdentifier)
|
|
333
|
-
)
|
|
314
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
|
|
334
315
|
payload = {"components": components}
|
|
335
|
-
qry = ServiceOperationQuery(
|
|
336
|
-
self, "GetClientSideComponents", None, payload, None, return_type
|
|
337
|
-
)
|
|
316
|
+
qry = ServiceOperationQuery(self, "GetClientSideComponents", None, payload, None, return_type)
|
|
338
317
|
self.context.add_query(qry)
|
|
339
318
|
return return_type
|
|
340
319
|
|
|
341
320
|
def get_client_side_components_by_component_type(self, component_types):
|
|
321
|
+
"""Args:
|
|
322
|
+
component_types (str):
|
|
342
323
|
"""
|
|
343
|
-
|
|
344
|
-
"""
|
|
345
|
-
return_type = ClientResult(
|
|
346
|
-
self.context, ClientValueCollection(SPClientSideComponentIdentifier)
|
|
347
|
-
)
|
|
324
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
|
|
348
325
|
payload = {"componentTypesString": component_types}
|
|
349
326
|
qry = ServiceOperationQuery(
|
|
350
327
|
self,
|
|
@@ -357,18 +334,16 @@ class Web(SecurableObject):
|
|
|
357
334
|
self.context.add_query(qry)
|
|
358
335
|
return return_type
|
|
359
336
|
|
|
360
|
-
def get_push_notification_subscribers_by_user(self, user):
|
|
361
|
-
"""
|
|
362
|
-
Queries for the push notification subscribers for the site for the specified user.
|
|
337
|
+
def get_push_notification_subscribers_by_user(self, user: Union[str, User]) -> PushNotificationSubscriberCollection:
|
|
338
|
+
"""Queries for the push notification subscribers for the site for the specified user.
|
|
363
339
|
|
|
364
|
-
:
|
|
340
|
+
Args:
|
|
341
|
+
user (str or User): User object or login name
|
|
365
342
|
"""
|
|
366
343
|
return_type = PushNotificationSubscriberCollection(self.context)
|
|
367
344
|
|
|
368
|
-
def _create_and_add_query(login_name):
|
|
369
|
-
|
|
370
|
-
:type login_name: str
|
|
371
|
-
"""
|
|
345
|
+
def _create_and_add_query(login_name: str | None):
|
|
346
|
+
assert login_name is not None
|
|
372
347
|
qry = ServiceOperationQuery(
|
|
373
348
|
self,
|
|
374
349
|
"GetPushNotificationSubscribersByUser",
|
|
@@ -380,24 +355,23 @@ class Web(SecurableObject):
|
|
|
380
355
|
self.context.add_query(qry)
|
|
381
356
|
|
|
382
357
|
if isinstance(user, User):
|
|
383
|
-
|
|
384
|
-
def _user_loaded():
|
|
385
|
-
_create_and_add_query(user.login_name)
|
|
386
|
-
|
|
387
|
-
user.ensure_property("LoginName", _user_loaded)
|
|
358
|
+
user.ensure_property("LoginName").after_execute(lambda _: _create_and_add_query(user.login_name))
|
|
388
359
|
else:
|
|
389
360
|
_create_and_add_query(user)
|
|
390
361
|
return return_type
|
|
391
362
|
|
|
392
363
|
@staticmethod
|
|
393
|
-
def create_organization_sharing_link(
|
|
364
|
+
def create_organization_sharing_link(
|
|
365
|
+
context: ClientContext, url: str, is_edit_link: bool = False
|
|
366
|
+
) -> ClientResult[str]:
|
|
394
367
|
"""Creates and returns an organization-internal link that can be used to access a document and gain permissions
|
|
395
|
-
|
|
368
|
+
to it.
|
|
396
369
|
|
|
397
|
-
:
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
370
|
+
Args:
|
|
371
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
372
|
+
url (str): he URL of the site, with the path of the object in SharePoint that is represented as query
|
|
373
|
+
string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
|
|
374
|
+
is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
|
|
401
375
|
"""
|
|
402
376
|
return_type = ClientResult(context, str())
|
|
403
377
|
params = {"url": url, "isEditLink": is_edit_link}
|
|
@@ -415,15 +389,19 @@ class Web(SecurableObject):
|
|
|
415
389
|
|
|
416
390
|
@staticmethod
|
|
417
391
|
def destroy_organization_sharing_link(
|
|
418
|
-
context
|
|
392
|
+
context: ClientContext,
|
|
393
|
+
url: str,
|
|
394
|
+
is_edit_link: bool,
|
|
395
|
+
remove_associated_sharing_link_group: bool,
|
|
419
396
|
):
|
|
420
397
|
"""Removes an existing organization link for an object.
|
|
421
398
|
|
|
422
|
-
:
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
399
|
+
Args:
|
|
400
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint client context
|
|
401
|
+
url (str): the URL of the site, with the path of the object in SharePoint that is represented as query string
|
|
402
|
+
parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
|
|
403
|
+
is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
|
|
404
|
+
remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the users
|
|
427
405
|
who have been given access to the shared object via the sharing link
|
|
428
406
|
"""
|
|
429
407
|
payload = {
|
|
@@ -431,138 +409,118 @@ class Web(SecurableObject):
|
|
|
431
409
|
"isEditLink": is_edit_link,
|
|
432
410
|
"removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
|
|
433
411
|
}
|
|
434
|
-
qry = ServiceOperationQuery(
|
|
435
|
-
context.web, "DestroyOrganizationSharingLink", None, payload, None, None
|
|
436
|
-
)
|
|
412
|
+
qry = ServiceOperationQuery(context.web, "DestroyOrganizationSharingLink", None, payload, None, None)
|
|
437
413
|
qry.static = True
|
|
438
414
|
context.add_query(qry)
|
|
439
415
|
return context.web
|
|
440
416
|
|
|
441
417
|
@staticmethod
|
|
442
|
-
def get_context_web_information(
|
|
443
|
-
|
|
444
|
-
|
|
418
|
+
def get_context_web_information(
|
|
419
|
+
context: ClientContext,
|
|
420
|
+
) -> ClientResult[ContextWebInformation]:
|
|
421
|
+
"""Returns an object that specifies metadata about the site
|
|
445
422
|
|
|
446
|
-
:
|
|
423
|
+
Args:
|
|
424
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
447
425
|
"""
|
|
448
426
|
return_type = ClientResult(context, ContextWebInformation())
|
|
449
|
-
qry = ServiceOperationQuery(
|
|
450
|
-
context.web, "GetContextWebInformation", None, None, None, return_type, True
|
|
451
|
-
)
|
|
427
|
+
qry = ServiceOperationQuery(context.web, "GetContextWebInformation", None, None, None, return_type, True)
|
|
452
428
|
context.add_query(qry)
|
|
453
429
|
return return_type
|
|
454
430
|
|
|
455
431
|
@staticmethod
|
|
456
|
-
def get_web_url_from_page_url(context, page_full_url):
|
|
432
|
+
def get_web_url_from_page_url(context, page_full_url) -> ClientResult[str]:
|
|
457
433
|
"""Returns the URL of the root folder for the site containing the specified URL
|
|
458
434
|
|
|
459
|
-
:
|
|
460
|
-
|
|
435
|
+
Args:
|
|
436
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
437
|
+
page_full_url (str): Specifies the URL from which to return the site URL.
|
|
461
438
|
"""
|
|
462
439
|
return_type = ClientResult(context, str())
|
|
463
440
|
payload = {"pageFullUrl": page_full_url}
|
|
464
|
-
qry = ServiceOperationQuery(
|
|
465
|
-
context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type
|
|
466
|
-
)
|
|
441
|
+
qry = ServiceOperationQuery(context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type)
|
|
467
442
|
qry.static = True
|
|
468
443
|
context.add_query(qry)
|
|
469
444
|
return return_type
|
|
470
445
|
|
|
471
|
-
def create_default_associated_groups(
|
|
472
|
-
|
|
473
|
-
):
|
|
474
|
-
"""
|
|
475
|
-
Creates the default Owners, Members and Visitors SPGroups on the web.
|
|
446
|
+
def create_default_associated_groups(self, user_login: str, user_login2: str, group_name_seed: str):
|
|
447
|
+
"""Creates the default Owners, Members and Visitors SPGroups on the web.
|
|
476
448
|
|
|
477
|
-
:
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
449
|
+
Args:
|
|
450
|
+
user_login (str): The user logon name of the group owner.
|
|
451
|
+
user_login2 (str): The secondary contact for the group.
|
|
452
|
+
group_name_seed (str): The name seed to use when creating of the full names of the default groups.
|
|
453
|
+
For example, if the name seed is Contoso then the default groups will be created with the names:
|
|
454
|
+
Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then
|
|
455
|
+
the web title is used instead.
|
|
483
456
|
"""
|
|
484
457
|
payload = {
|
|
485
458
|
"userLogin": user_login,
|
|
486
459
|
"userLogin2": user_login2,
|
|
487
460
|
"groupNameSeed": group_name_seed,
|
|
488
461
|
}
|
|
489
|
-
qry = ServiceOperationQuery(
|
|
490
|
-
self, "CreateDefaultAssociatedGroups", None, payload
|
|
491
|
-
)
|
|
462
|
+
qry = ServiceOperationQuery(self, "CreateDefaultAssociatedGroups", None, payload)
|
|
492
463
|
qry.static = True
|
|
493
464
|
self.context.add_query(qry)
|
|
494
465
|
return self
|
|
495
466
|
|
|
496
|
-
def create_group_based_environment(self):
|
|
467
|
+
def create_group_based_environment(self) -> FlowSynchronizationResult:
|
|
497
468
|
return_type = FlowSynchronizationResult(self.context)
|
|
498
|
-
qry = ServiceOperationQuery(
|
|
499
|
-
self, "CreateGroupBasedEnvironment", None, None, None, return_type
|
|
500
|
-
)
|
|
469
|
+
qry = ServiceOperationQuery(self, "CreateGroupBasedEnvironment", None, None, None, return_type)
|
|
501
470
|
self.context.add_query(qry)
|
|
502
471
|
return return_type
|
|
503
472
|
|
|
504
|
-
def get_group_based_environment(self):
|
|
473
|
+
def get_group_based_environment(self) -> FlowSynchronizationResult:
|
|
505
474
|
return_type = FlowSynchronizationResult(self.context)
|
|
506
|
-
qry = ServiceOperationQuery(
|
|
507
|
-
self, "GetGroupBasedEnvironment", None, None, None, return_type
|
|
508
|
-
)
|
|
475
|
+
qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None, None, None, return_type)
|
|
509
476
|
self.context.add_query(qry)
|
|
510
477
|
return return_type
|
|
511
478
|
|
|
512
479
|
def get_acs_service_principals(self, app_ids=None):
|
|
513
|
-
"""
|
|
514
|
-
|
|
515
|
-
:
|
|
480
|
+
"""List service principals
|
|
481
|
+
|
|
482
|
+
Args:
|
|
483
|
+
app_ids (list[str]):
|
|
516
484
|
"""
|
|
517
485
|
payload = {"appIds": app_ids}
|
|
518
|
-
return_type = ClientResult(
|
|
519
|
-
|
|
520
|
-
)
|
|
521
|
-
qry = ServiceOperationQuery(
|
|
522
|
-
self, "GetACSServicePrincipals", None, payload, None, return_type
|
|
523
|
-
)
|
|
486
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPACSServicePrincipalInfo))
|
|
487
|
+
qry = ServiceOperationQuery(self, "GetACSServicePrincipals", None, payload, None, return_type)
|
|
524
488
|
self.context.add_query(qry)
|
|
525
489
|
return return_type
|
|
526
490
|
|
|
527
|
-
def sync_flow_instances(self, target_web_url):
|
|
528
|
-
"""
|
|
529
|
-
|
|
491
|
+
def sync_flow_instances(self, target_web_url: str) -> FlowSynchronizationResult:
|
|
492
|
+
"""Args:
|
|
493
|
+
target_web_url (str):
|
|
530
494
|
"""
|
|
531
495
|
return_type = FlowSynchronizationResult(self.context)
|
|
532
496
|
payload = {"targetWebUrl": target_web_url}
|
|
533
|
-
qry = ServiceOperationQuery(
|
|
534
|
-
self, "SyncFlowInstances", None, payload, None, return_type
|
|
535
|
-
)
|
|
497
|
+
qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload, None, return_type)
|
|
536
498
|
self.context.add_query(qry)
|
|
537
499
|
return return_type
|
|
538
500
|
|
|
539
|
-
def sync_flow_templates(self, category):
|
|
540
|
-
"""
|
|
541
|
-
|
|
501
|
+
def sync_flow_templates(self, category: str) -> FlowSynchronizationResult:
|
|
502
|
+
"""Args:
|
|
503
|
+
category (str):
|
|
542
504
|
"""
|
|
543
505
|
return_type = FlowSynchronizationResult(self.context)
|
|
544
506
|
payload = {"category": category}
|
|
545
|
-
qry = ServiceOperationQuery(
|
|
546
|
-
self, "SyncFlowTemplates", None, payload, None, return_type
|
|
547
|
-
)
|
|
507
|
+
qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload, None, return_type)
|
|
548
508
|
self.context.add_query(qry)
|
|
549
509
|
return return_type
|
|
550
510
|
|
|
551
|
-
def get_all_client_side_components(self):
|
|
511
|
+
def get_all_client_side_components(self) -> ClientResult[str]:
|
|
552
512
|
""""""
|
|
553
513
|
return_type = ClientResult(self.context, str())
|
|
554
|
-
qry = ServiceOperationQuery(
|
|
555
|
-
self, "GetAllClientSideComponents", None, None, None, return_type
|
|
556
|
-
)
|
|
514
|
+
qry = ServiceOperationQuery(self, "GetAllClientSideComponents", None, None, None, return_type)
|
|
557
515
|
self.context.add_query(qry)
|
|
558
516
|
return return_type
|
|
559
517
|
|
|
560
518
|
def get_addin_principals_having_permissions_in_sites(
|
|
561
|
-
self, server_relative_urls=None, urls=None
|
|
562
|
-
):
|
|
563
|
-
"""
|
|
564
|
-
|
|
565
|
-
|
|
519
|
+
self, server_relative_urls: Optional[list[str]] = None, urls: Optional[list[str]] = None
|
|
520
|
+
) -> ClientResult[SPGetAddinPrincipalsResponse]:
|
|
521
|
+
"""Args:
|
|
522
|
+
server_relative_urls (list[str]):
|
|
523
|
+
urls (list[str]):
|
|
566
524
|
"""
|
|
567
525
|
payload = {"serverRelativeUrls": server_relative_urls, "urls": urls}
|
|
568
526
|
return_type = ClientResult(self.context, SPGetAddinPrincipalsResponse())
|
|
@@ -577,7 +535,7 @@ class Web(SecurableObject):
|
|
|
577
535
|
self.context.add_query(qry)
|
|
578
536
|
return return_type
|
|
579
537
|
|
|
580
|
-
def get_app_bdc_catalog(self):
|
|
538
|
+
def get_app_bdc_catalog(self) -> AppBdcCatalog:
|
|
581
539
|
"""
|
|
582
540
|
Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the
|
|
583
541
|
external content types defined in the BDC metadata model packaged by the application.<151>
|
|
@@ -585,54 +543,50 @@ class Web(SecurableObject):
|
|
|
585
543
|
and it returns the BDC MetadataCatalog deployed on the site.
|
|
586
544
|
"""
|
|
587
545
|
return_type = AppBdcCatalog(self.context)
|
|
588
|
-
qry = ServiceOperationQuery(
|
|
589
|
-
self, "GetAppBdcCatalog", None, None, None, return_type
|
|
590
|
-
)
|
|
546
|
+
qry = ServiceOperationQuery(self, "GetAppBdcCatalog", None, None, None, return_type)
|
|
591
547
|
self.context.add_query(qry)
|
|
592
548
|
return return_type
|
|
593
549
|
|
|
594
550
|
def get_client_side_web_parts(self, project=None, include_errors=False):
|
|
595
|
-
"""
|
|
596
|
-
It MUST return an array of 3rd party webpart components installed on this site
|
|
551
|
+
"""It MUST return an array of 3rd party webpart components installed on this site
|
|
597
552
|
|
|
598
|
-
:
|
|
599
|
-
|
|
600
|
-
|
|
553
|
+
Args:
|
|
554
|
+
include_errors (bool): If true, webparts with errors MUST be included in the results of the request.
|
|
555
|
+
If false, webparts with errors MUST be excluded in the results of the request.
|
|
556
|
+
project (str):
|
|
601
557
|
"""
|
|
602
|
-
return_type = ClientResult(
|
|
603
|
-
self.context, ClientValueCollection(SPClientSideComponentQueryResult)
|
|
604
|
-
)
|
|
558
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
605
559
|
params = {"includeErrors": include_errors, "project": project}
|
|
606
|
-
qry = ServiceOperationQuery(
|
|
607
|
-
self, "GetClientSideWebParts", None, params, None, return_type
|
|
608
|
-
)
|
|
560
|
+
qry = ServiceOperationQuery(self, "GetClientSideWebParts", None, params, None, return_type)
|
|
609
561
|
self.context.add_query(qry)
|
|
610
562
|
return return_type
|
|
611
563
|
|
|
612
|
-
def add_supported_ui_language(self, lcid):
|
|
613
|
-
"""
|
|
614
|
-
|
|
615
|
-
:
|
|
564
|
+
def add_supported_ui_language(self, lcid: int) -> Self:
|
|
565
|
+
"""Adds a supported UI language by its language identifier.
|
|
566
|
+
|
|
567
|
+
Args:
|
|
568
|
+
lcid (int): Specifies the language identifier to be added.
|
|
616
569
|
"""
|
|
617
570
|
qry = ServiceOperationQuery(self, "AddSupportedUILanguage", {"lcid": lcid})
|
|
618
571
|
self.context.add_query(qry)
|
|
619
572
|
return self
|
|
620
573
|
|
|
621
|
-
def get_lists(self, row_limit=100):
|
|
622
|
-
"""
|
|
623
|
-
|
|
574
|
+
def get_lists(self, row_limit: int = 100) -> ListCollection:
|
|
575
|
+
"""Args:
|
|
576
|
+
row_limit (int): Specifies a limit for the number of lists in the query that are returned per page
|
|
624
577
|
"""
|
|
625
578
|
return_type = ListCollection(self.context)
|
|
626
|
-
payload = {"getListsParams": GetListsParameters(
|
|
579
|
+
payload = {"getListsParams": GetListsParameters(RowLimit=row_limit)}
|
|
627
580
|
qry = ServiceOperationQuery(self, "GetLists", None, payload, None, return_type)
|
|
628
581
|
self.context.add_query(qry)
|
|
629
582
|
return return_type
|
|
630
583
|
|
|
631
|
-
def get_sub_webs_filtered_for_current_user(self, query):
|
|
584
|
+
def get_sub_webs_filtered_for_current_user(self, query: SubwebQuery) -> WebInformationCollection:
|
|
632
585
|
"""Returns a collection of objects that contain metadata about subsites of the current site (2) in which the
|
|
633
586
|
current user is a member.
|
|
634
587
|
|
|
635
|
-
:
|
|
588
|
+
Args:
|
|
589
|
+
query (office365.sharepoint.webs.subweb_query.SubwebQuery):
|
|
636
590
|
"""
|
|
637
591
|
return_type = WebInformationCollection(self.context)
|
|
638
592
|
qry = ServiceOperationQuery(
|
|
@@ -651,24 +605,23 @@ class Web(SecurableObject):
|
|
|
651
605
|
|
|
652
606
|
def get_recycle_bin_items(
|
|
653
607
|
self,
|
|
654
|
-
paging_info=None,
|
|
655
|
-
row_limit=100,
|
|
656
|
-
is_ascending=True,
|
|
657
|
-
order_by=None,
|
|
658
|
-
item_state=None,
|
|
659
|
-
):
|
|
660
|
-
"""
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
"""
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
)
|
|
608
|
+
paging_info: Optional[str] = None,
|
|
609
|
+
row_limit: int = 100,
|
|
610
|
+
is_ascending: bool = True,
|
|
611
|
+
order_by: Optional[int] = None,
|
|
612
|
+
item_state: Optional[int] = None,
|
|
613
|
+
) -> RecycleBinItemCollection:
|
|
614
|
+
"""Gets the recycle bin items that are based on the specified query.
|
|
615
|
+
|
|
616
|
+
Args:
|
|
617
|
+
paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
|
|
618
|
+
row_limit (int): a limit for the number of items returned in the query per page.
|
|
619
|
+
is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
|
|
620
|
+
order_by (int): the column by which to order the Recycle Bin query.
|
|
621
|
+
item_state (int): Recycle Bin stage of items to return in the query.
|
|
622
|
+
"""
|
|
623
|
+
assert self.recycle_bin.resource_path is not None
|
|
624
|
+
return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
|
|
672
625
|
payload = {
|
|
673
626
|
"rowLimit": row_limit,
|
|
674
627
|
"isAscending": is_ascending,
|
|
@@ -676,34 +629,31 @@ class Web(SecurableObject):
|
|
|
676
629
|
"orderBy": order_by,
|
|
677
630
|
"itemState": item_state,
|
|
678
631
|
}
|
|
679
|
-
qry = ServiceOperationQuery(
|
|
680
|
-
self, "GetRecycleBinItems", None, payload, None, return_type
|
|
681
|
-
)
|
|
632
|
+
qry = ServiceOperationQuery(self, "GetRecycleBinItems", None, payload, None, return_type)
|
|
682
633
|
self.context.add_query(qry)
|
|
683
634
|
return return_type
|
|
684
635
|
|
|
685
636
|
def get_recycle_bin_items_by_query_info(
|
|
686
637
|
self,
|
|
687
|
-
is_ascending=True,
|
|
688
|
-
item_state=None,
|
|
689
|
-
order_by=None,
|
|
690
|
-
paging_info=None,
|
|
691
|
-
row_limit=100,
|
|
692
|
-
show_only_my_items=False,
|
|
693
|
-
):
|
|
694
|
-
"""
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
"""
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
)
|
|
638
|
+
is_ascending: bool = True,
|
|
639
|
+
item_state: Optional[int] = None,
|
|
640
|
+
order_by: Optional[int] = None,
|
|
641
|
+
paging_info: Optional[str] = None,
|
|
642
|
+
row_limit: int = 100,
|
|
643
|
+
show_only_my_items: bool = False,
|
|
644
|
+
) -> RecycleBinItemCollection:
|
|
645
|
+
"""Gets the recycle bin items that are based on the specified query.
|
|
646
|
+
|
|
647
|
+
Args:
|
|
648
|
+
paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
|
|
649
|
+
row_limit (int): a limit for the number of items returned in the query per page.
|
|
650
|
+
is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
|
|
651
|
+
order_by (int): the column by which to order the Recycle Bin query.
|
|
652
|
+
item_state (int): Recycle Bin stage of items to return in the query.
|
|
653
|
+
show_only_my_items (bool):
|
|
654
|
+
"""
|
|
655
|
+
assert self.recycle_bin.resource_path is not None
|
|
656
|
+
return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
|
|
707
657
|
payload = {
|
|
708
658
|
"rowLimit": row_limit,
|
|
709
659
|
"isAscending": is_ascending,
|
|
@@ -712,29 +662,23 @@ class Web(SecurableObject):
|
|
|
712
662
|
"itemState": item_state,
|
|
713
663
|
"ShowOnlyMyItems": show_only_my_items,
|
|
714
664
|
}
|
|
715
|
-
qry = ServiceOperationQuery(
|
|
716
|
-
self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type
|
|
717
|
-
)
|
|
665
|
+
qry = ServiceOperationQuery(self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type)
|
|
718
666
|
self.context.add_query(qry)
|
|
719
667
|
return return_type
|
|
720
668
|
|
|
721
|
-
def get_all_webs(self):
|
|
669
|
+
def get_all_webs(self) -> WebCollection:
|
|
722
670
|
"""Returns a collection containing a flat list of all Web objects in the Web."""
|
|
723
|
-
from office365.sharepoint.webs.collection import WebCollection
|
|
724
671
|
|
|
672
|
+
assert self.webs.resource_path is not None
|
|
725
673
|
return_type = WebCollection(self.context, self.webs.resource_path)
|
|
726
674
|
|
|
727
675
|
def _webs_loaded():
|
|
728
676
|
self._load_sub_webs_inner(self.webs, return_type)
|
|
729
677
|
|
|
730
|
-
self.ensure_property("Webs"
|
|
678
|
+
self.ensure_property("Webs").after_execute(lambda _: _webs_loaded())
|
|
731
679
|
return return_type
|
|
732
680
|
|
|
733
|
-
def _load_sub_webs_inner(self, webs, all_webs):
|
|
734
|
-
"""
|
|
735
|
-
:type webs: office365.sharepoint.webs.collection.WebCollection
|
|
736
|
-
:type all_webs: office365.sharepoint.webs.collection.WebCollection
|
|
737
|
-
"""
|
|
681
|
+
def _load_sub_webs_inner(self, webs: WebCollection, all_webs: WebCollection):
|
|
738
682
|
for cur_web in webs:
|
|
739
683
|
all_webs.add_child(cur_web)
|
|
740
684
|
|
|
@@ -742,123 +686,115 @@ class Web(SecurableObject):
|
|
|
742
686
|
if len(web.webs) > 0:
|
|
743
687
|
self._load_sub_webs_inner(web.webs, all_webs)
|
|
744
688
|
|
|
745
|
-
cur_web.ensure_property("Webs"
|
|
689
|
+
cur_web.ensure_property("Webs").after_execute(lambda _, w=cur_web: _webs_loaded(w))
|
|
746
690
|
|
|
747
|
-
def get_list_using_path(self, decoded_url):
|
|
748
|
-
"""
|
|
749
|
-
Returns the list that is associated with the specified server-relative path.
|
|
691
|
+
def get_list_using_path(self, decoded_url: str):
|
|
692
|
+
"""Returns the list that is associated with the specified server-relative path.
|
|
750
693
|
|
|
751
|
-
:
|
|
694
|
+
Args:
|
|
695
|
+
decoded_url (str): Contains the site-relative path for a list, for example, /Lists/Announcements.
|
|
752
696
|
"""
|
|
753
697
|
path = SPResPath.create_relative(self.context.base_url, decoded_url)
|
|
754
698
|
return_type = List(self.context)
|
|
755
699
|
self.lists.add_child(return_type)
|
|
756
|
-
qry = ServiceOperationQuery(
|
|
757
|
-
self, "GetListUsingPath", path, None, None, return_type
|
|
758
|
-
)
|
|
700
|
+
qry = ServiceOperationQuery(self, "GetListUsingPath", path, None, None, return_type)
|
|
759
701
|
self.context.add_query(qry)
|
|
760
702
|
return return_type
|
|
761
703
|
|
|
762
|
-
def get_news_list(self, allow_create=False):
|
|
763
|
-
"""
|
|
764
|
-
Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
|
|
704
|
+
def get_news_list(self, allow_create: bool = False) -> List:
|
|
705
|
+
"""Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
|
|
765
706
|
then returned if allowCreate is set to true. The News List is a hidden SP.List in which News Posts are stored.
|
|
766
707
|
|
|
767
|
-
:
|
|
768
|
-
"true" means yes.
|
|
708
|
+
Args:
|
|
709
|
+
allow_create (bool): Indicates whether to create the list if it does not exist on this web. "true" means yes.
|
|
769
710
|
"""
|
|
770
711
|
return_type = List(self.context)
|
|
771
712
|
self.lists.add_child(return_type)
|
|
772
713
|
payload = {"allowCreate": allow_create}
|
|
773
|
-
qry = ServiceOperationQuery(
|
|
774
|
-
self, "GetNewsList", None, payload, None, return_type
|
|
775
|
-
)
|
|
714
|
+
qry = ServiceOperationQuery(self, "GetNewsList", None, payload, None, return_type)
|
|
776
715
|
self.context.add_query(qry)
|
|
777
716
|
return return_type
|
|
778
717
|
|
|
779
|
-
def get_view_from_url(self, list_url):
|
|
718
|
+
def get_view_from_url(self, list_url: str) -> View:
|
|
780
719
|
"""Returns a view of a list within the site based on the specified URL.
|
|
781
720
|
|
|
782
|
-
:
|
|
721
|
+
Args:
|
|
722
|
+
list_url (str): Contains either an absolute URL or a site-relative URL of a view.
|
|
783
723
|
"""
|
|
784
724
|
return View(
|
|
785
725
|
self.context,
|
|
786
726
|
ServiceOperationPath("GetViewFromUrl", [list_url], self.resource_path),
|
|
787
727
|
)
|
|
788
728
|
|
|
789
|
-
def get_view_from_path(self, decoded_url):
|
|
729
|
+
def get_view_from_path(self, decoded_url: str) -> View:
|
|
790
730
|
"""Returns a view of a list within the site based on the specified path.
|
|
791
731
|
|
|
792
|
-
:
|
|
732
|
+
Args:
|
|
733
|
+
decoded_url (str): Contains either an absolute path or a site-relative path of a view.
|
|
793
734
|
"""
|
|
794
735
|
return View(
|
|
795
736
|
self.context,
|
|
796
737
|
ServiceOperationPath("GetViewFromPath", [decoded_url], self.resource_path),
|
|
797
738
|
)
|
|
798
739
|
|
|
799
|
-
def get_regional_datetime_schema(self):
|
|
740
|
+
def get_regional_datetime_schema(self) -> ClientResult[str]:
|
|
800
741
|
"""Get DateTime Schema based on regional settings"""
|
|
801
742
|
return_type = ClientResult(self.context, str())
|
|
802
|
-
qry = ServiceOperationQuery(
|
|
803
|
-
self, "GetRegionalDateTimeSchema", None, None, None, return_type
|
|
804
|
-
)
|
|
743
|
+
qry = ServiceOperationQuery(self, "GetRegionalDateTimeSchema", None, None, None, return_type)
|
|
805
744
|
self.context.add_query(qry)
|
|
806
745
|
return return_type
|
|
807
746
|
|
|
808
|
-
def get_sharing_link_data(self, link_url):
|
|
809
|
-
|
|
810
|
-
"""
|
|
811
|
-
This method determines basic information about the supplied link URL, including limited data about the object
|
|
747
|
+
def get_sharing_link_data(self, link_url: str) -> ClientResult[SharingLinkData]:
|
|
748
|
+
"""This method determines basic information about the supplied link URL, including limited data about the object
|
|
812
749
|
the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link
|
|
813
750
|
|
|
814
|
-
:
|
|
751
|
+
Args:
|
|
752
|
+
link_url (str): A URL that is either a tokenized sharing link or a canonical URL for a document
|
|
815
753
|
"""
|
|
816
754
|
return_type = ClientResult(self.context, SharingLinkData())
|
|
817
755
|
payload = {"linkUrl": link_url}
|
|
818
|
-
qry = ServiceOperationQuery(
|
|
819
|
-
self, "GetSharingLinkData", None, payload, None, return_type
|
|
820
|
-
)
|
|
756
|
+
qry = ServiceOperationQuery(self, "GetSharingLinkData", None, payload, None, return_type)
|
|
821
757
|
self.context.add_query(qry)
|
|
822
758
|
return return_type
|
|
823
759
|
|
|
824
760
|
@staticmethod
|
|
825
|
-
def get_context_web_theme_data(context):
|
|
826
|
-
# type: (ClientContext) -> ClientResult[str]
|
|
761
|
+
def get_context_web_theme_data(context: ClientContext) -> ClientResult[str]:
|
|
827
762
|
"""
|
|
828
763
|
Get ThemeData for the context web.
|
|
829
|
-
|
|
830
|
-
:type context: office365.sharepoint.client_context.ClientContext
|
|
831
764
|
"""
|
|
832
765
|
return_type = ClientResult(context, str())
|
|
833
|
-
qry = ServiceOperationQuery(
|
|
834
|
-
context.web, "GetContextWebThemeData", None, None, None, return_type
|
|
835
|
-
)
|
|
766
|
+
qry = ServiceOperationQuery(context.web, "GetContextWebThemeData", None, None, None, return_type)
|
|
836
767
|
qry.static = True
|
|
837
768
|
context.add_query(qry)
|
|
838
769
|
return return_type
|
|
839
770
|
|
|
840
|
-
def create_site_page(self, page_metadata):
|
|
771
|
+
def create_site_page(self, page_metadata: str) -> ClientResult[str]:
|
|
841
772
|
"""Create a site page
|
|
842
773
|
|
|
843
|
-
:
|
|
774
|
+
Args:
|
|
775
|
+
page_metadata (str):
|
|
844
776
|
"""
|
|
845
777
|
payload = {"pageMetaData": page_metadata}
|
|
846
|
-
return_type = ClientResult(self.context)
|
|
847
|
-
qry = ServiceOperationQuery(
|
|
848
|
-
self, "CreateSitePage", None, payload, None, return_type
|
|
849
|
-
)
|
|
778
|
+
return_type = ClientResult(self.context, str())
|
|
779
|
+
qry = ServiceOperationQuery(self, "CreateSitePage", None, payload, None, return_type)
|
|
850
780
|
self.context.add_query(qry)
|
|
851
781
|
return return_type
|
|
852
782
|
|
|
853
783
|
@staticmethod
|
|
854
|
-
def create_anonymous_link(
|
|
784
|
+
def create_anonymous_link(
|
|
785
|
+
context: ClientContext,
|
|
786
|
+
url: str,
|
|
787
|
+
is_edit_link: bool,
|
|
788
|
+
return_type: Optional[ClientResult[str]] = None,
|
|
789
|
+
):
|
|
855
790
|
"""Create an anonymous link which can be used to access a document without needing to authenticate.
|
|
856
791
|
|
|
857
|
-
:
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
792
|
+
Args:
|
|
793
|
+
is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
|
|
794
|
+
url (str): The URL of the site, with the path of the object in SharePoint represented as query string
|
|
795
|
+
parameters
|
|
796
|
+
context (office365.sharepoint.client_context.ClientContext): client context
|
|
797
|
+
return_type (ClientResult[str]): Return type
|
|
862
798
|
"""
|
|
863
799
|
if return_type is None:
|
|
864
800
|
return_type = ClientResult(context, str())
|
|
@@ -866,28 +802,31 @@ class Web(SecurableObject):
|
|
|
866
802
|
"url": str(SPResPath.create_absolute(context.base_url, url)),
|
|
867
803
|
"isEditLink": is_edit_link,
|
|
868
804
|
}
|
|
869
|
-
qry = ServiceOperationQuery(
|
|
870
|
-
context.web, "CreateAnonymousLink", None, payload, None, return_type, True
|
|
871
|
-
)
|
|
805
|
+
qry = ServiceOperationQuery(context.web, "CreateAnonymousLink", None, payload, None, return_type, True)
|
|
872
806
|
context.add_query(qry)
|
|
873
807
|
return return_type
|
|
874
808
|
|
|
875
809
|
@staticmethod
|
|
876
810
|
def create_anonymous_link_with_expiration(
|
|
877
|
-
context
|
|
811
|
+
context: ClientContext,
|
|
812
|
+
url: str,
|
|
813
|
+
is_edit_link: bool,
|
|
814
|
+
expiration_string: str,
|
|
815
|
+
return_type: Optional[ClientResult[str]] = None,
|
|
878
816
|
):
|
|
879
|
-
"""
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
817
|
+
"""Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
|
|
818
|
+
|
|
819
|
+
Args:
|
|
820
|
+
is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
|
|
821
|
+
url (str): The URL of the site, with the path of the object in SharePoint represented as query string
|
|
822
|
+
parameters
|
|
823
|
+
expiration_string (str): A date/time string for which the format conforms to the ISO 8601:2004(E) complete
|
|
824
|
+
representation for calendar date and time of day, and which represents the time and date of expiry for the
|
|
825
|
+
anonymous link. Both the minutes and hour value MUST be specified for the difference between the local
|
|
826
|
+
and UTC time.
|
|
827
|
+
Midnight is represented as 00:00:00.
|
|
828
|
+
context (office365.sharepoint.client_context.ClientContext): client context
|
|
829
|
+
return_type (ClientResult): Return type
|
|
891
830
|
"""
|
|
892
831
|
if return_type is None:
|
|
893
832
|
return_type = ClientResult(context, str())
|
|
@@ -910,24 +849,27 @@ class Web(SecurableObject):
|
|
|
910
849
|
|
|
911
850
|
@staticmethod
|
|
912
851
|
def get_object_sharing_settings(
|
|
913
|
-
context
|
|
914
|
-
|
|
852
|
+
context: ClientContext,
|
|
853
|
+
object_url: str,
|
|
854
|
+
group_id: Optional[str] = None,
|
|
855
|
+
use_simplified_roles: Optional[bool] = None,
|
|
856
|
+
return_type=None,
|
|
857
|
+
) -> ObjectSharingSettings:
|
|
915
858
|
"""Given a path to an object in SharePoint, this will generate a sharing settings object which contains
|
|
916
859
|
necessary information for rendering sharing information
|
|
917
860
|
|
|
918
|
-
:
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
:param ObjectSharingSettings return_type: Return type
|
|
861
|
+
Args:
|
|
862
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint client
|
|
863
|
+
object_url (str): A URL with one of two possible formats. The two possible URL formats are: 1) The URL
|
|
864
|
+
of the site, with the path of the object in SharePoint represented as query string parameters,
|
|
865
|
+
forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic e.g.
|
|
866
|
+
https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
|
|
867
|
+
obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT 2) The URL of the SharePoint object
|
|
868
|
+
(web, list, item) intended for sharing e.g. https://contoso.com/Documents/SampleFile.docx
|
|
869
|
+
group_id (int): The id value of the permissions group if adding to a group, 0 otherwise.
|
|
870
|
+
use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
|
|
871
|
+
roles (Edit, View) or not.
|
|
872
|
+
return_type (ObjectSharingSettings): Return type
|
|
931
873
|
"""
|
|
932
874
|
if return_type is None:
|
|
933
875
|
return_type = ObjectSharingSettings(context)
|
|
@@ -936,237 +878,213 @@ class Web(SecurableObject):
|
|
|
936
878
|
"groupId": group_id,
|
|
937
879
|
"useSimplifiedRoles": use_simplified_roles,
|
|
938
880
|
}
|
|
939
|
-
qry = ServiceOperationQuery(
|
|
940
|
-
context.web, "GetObjectSharingSettings", None, payload, None, return_type
|
|
941
|
-
)
|
|
881
|
+
qry = ServiceOperationQuery(context.web, "GetObjectSharingSettings", None, payload, None, return_type)
|
|
942
882
|
qry.static = True
|
|
943
883
|
context.add_query(qry)
|
|
944
884
|
return return_type
|
|
945
885
|
|
|
946
|
-
def get_client_side_components_by_id(self, component_ids=None):
|
|
947
|
-
"""
|
|
948
|
-
Returns the client side components for the requested component identifiers.
|
|
886
|
+
def get_client_side_components_by_id(self, component_ids: Optional[list[str]] = None):
|
|
887
|
+
"""Returns the client side components for the requested component identifiers.
|
|
949
888
|
Client components include data necessary to render Client Side Web Parts and Client Side Applications.
|
|
950
889
|
|
|
951
|
-
:
|
|
890
|
+
Args:
|
|
891
|
+
component_ids (list[str]): List of requested component identifiers.
|
|
952
892
|
"""
|
|
953
|
-
return_type = ClientResult(
|
|
954
|
-
|
|
955
|
-
)
|
|
956
|
-
payload = {"componentIds": StringCollection(component_ids)}
|
|
957
|
-
qry = ServiceOperationQuery(
|
|
958
|
-
self, "GetClientSideComponentsById", None, payload, None, return_type
|
|
959
|
-
)
|
|
893
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
894
|
+
payload = {"componentIds": StringCollection(component_ids or [])}
|
|
895
|
+
qry = ServiceOperationQuery(self, "GetClientSideComponentsById", None, payload, None, return_type)
|
|
960
896
|
self.context.add_query(qry)
|
|
961
897
|
return return_type
|
|
962
898
|
|
|
963
|
-
def get_file_by_server_relative_url(self, server_relative_url):
|
|
964
|
-
|
|
965
|
-
""
|
|
966
|
-
|
|
967
|
-
- "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
968
|
-
- "Shared Documents/MyDocument.docx"
|
|
899
|
+
def get_file_by_server_relative_url(self, server_relative_url: str) -> File:
|
|
900
|
+
"""Returns the file object located at the specified server-relative URL, for example:
|
|
901
|
+
- "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
902
|
+
- "Shared Documents/MyDocument.docx"
|
|
969
903
|
|
|
970
|
-
:
|
|
904
|
+
Args:
|
|
905
|
+
server_relative_url (str): Specifies the server-relative URL for the file.
|
|
971
906
|
"""
|
|
972
907
|
path = SPResPath.create_relative(self.context.base_url, server_relative_url)
|
|
973
908
|
return File(
|
|
974
909
|
self.context,
|
|
975
|
-
ServiceOperationPath(
|
|
976
|
-
"getFileByServerRelativeUrl", [str(path)], self.resource_path
|
|
977
|
-
),
|
|
910
|
+
ServiceOperationPath("getFileByServerRelativeUrl", [str(path)], self.resource_path),
|
|
978
911
|
self.root_folder.files,
|
|
979
912
|
)
|
|
980
913
|
|
|
981
|
-
def get_file_by_server_relative_path(self, path):
|
|
982
|
-
# type: (str) -> File
|
|
914
|
+
def get_file_by_server_relative_path(self, path: str) -> File:
|
|
983
915
|
"""Returns the file object located at the specified server-relative path, for example:
|
|
984
|
-
|
|
985
|
-
|
|
916
|
+
- "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
917
|
+
- "Shared Documents/MyDocument.docx"
|
|
986
918
|
Note: prefer this method over get_folder_by_server_relative_url since it supports % and # symbols in names
|
|
987
919
|
|
|
988
|
-
:
|
|
920
|
+
Args:
|
|
921
|
+
path (str): Contains the server-relative path of the file.
|
|
989
922
|
"""
|
|
990
|
-
|
|
923
|
+
res_path = SPResPath.create_relative(self.context.base_url, path)
|
|
991
924
|
return File(
|
|
992
925
|
self.context,
|
|
993
|
-
ServiceOperationPath(
|
|
994
|
-
"getFileByServerRelativePath", path.to_json(), self.resource_path
|
|
995
|
-
),
|
|
926
|
+
ServiceOperationPath("getFileByServerRelativePath", res_path.to_json(), self.resource_path),
|
|
996
927
|
self.root_folder.files,
|
|
997
928
|
)
|
|
998
929
|
|
|
999
|
-
def get_folder_by_server_relative_url(self, url):
|
|
1000
|
-
# type: (str) -> Folder
|
|
930
|
+
def get_folder_by_server_relative_url(self, url: str) -> Folder:
|
|
1001
931
|
"""Returns the folder object located at the specified server-relative URL.
|
|
1002
932
|
|
|
1003
|
-
:
|
|
933
|
+
Args:
|
|
934
|
+
url (str): Specifies the server-relative URL for the folder.
|
|
1004
935
|
"""
|
|
1005
936
|
return Folder(
|
|
1006
937
|
self.context,
|
|
1007
|
-
ServiceOperationPath(
|
|
1008
|
-
"getFolderByServerRelativeUrl", [url], self.resource_path
|
|
1009
|
-
),
|
|
938
|
+
ServiceOperationPath("getFolderByServerRelativeUrl", [url], self.resource_path),
|
|
1010
939
|
self.folders,
|
|
1011
940
|
)
|
|
1012
941
|
|
|
1013
|
-
def get_folder_by_server_relative_path(self, decoded_url):
|
|
1014
|
-
# type: (str) -> Folder
|
|
942
|
+
def get_folder_by_server_relative_path(self, decoded_url: str) -> Folder:
|
|
1015
943
|
"""Returns the folder object located at the specified server-relative URL, for example:
|
|
1016
|
-
|
|
1017
|
-
|
|
944
|
+
- "/sites/MySite/Shared Documents"
|
|
945
|
+
- "Shared Documents"
|
|
1018
946
|
Prefer this method over get_folder_by_server_relative_url since it supports % and # symbols
|
|
1019
947
|
|
|
1020
|
-
:
|
|
948
|
+
Args:
|
|
949
|
+
decoded_url (str): Contains the server-relative URL for the folder
|
|
1021
950
|
"""
|
|
1022
951
|
path = SPResPath(decoded_url)
|
|
1023
952
|
return Folder(
|
|
1024
953
|
self.context,
|
|
1025
|
-
ServiceOperationPath(
|
|
1026
|
-
"getFolderByServerRelativePath", path.to_json(), self.resource_path
|
|
1027
|
-
),
|
|
954
|
+
ServiceOperationPath("getFolderByServerRelativePath", path.to_json(), self.resource_path),
|
|
1028
955
|
self.folders,
|
|
1029
956
|
)
|
|
1030
957
|
|
|
1031
958
|
def get_site_page_copy_to_status(self, work_item_id):
|
|
1032
|
-
"""
|
|
1033
|
-
|
|
959
|
+
"""Args:
|
|
960
|
+
work_item_id (str):
|
|
1034
961
|
"""
|
|
1035
962
|
return_type = ClientResult(self.context, str())
|
|
1036
963
|
payload = {"workItemId": work_item_id}
|
|
1037
|
-
qry = ServiceOperationQuery(
|
|
1038
|
-
self, "GetSitePageCopyToStatus", None, payload, None, return_type
|
|
1039
|
-
)
|
|
964
|
+
qry = ServiceOperationQuery(self, "GetSitePageCopyToStatus", None, payload, None, return_type)
|
|
1040
965
|
self.context.add_query(qry)
|
|
1041
966
|
return return_type
|
|
1042
967
|
|
|
1043
968
|
def get_site_page_move_status(self, work_item_id):
|
|
1044
|
-
"""
|
|
1045
|
-
|
|
969
|
+
"""Args:
|
|
970
|
+
work_item_id (str):
|
|
1046
971
|
"""
|
|
1047
972
|
return_type = ClientResult(self.context, str())
|
|
1048
973
|
payload = {"workItemId": work_item_id}
|
|
1049
|
-
qry = ServiceOperationQuery(
|
|
1050
|
-
self, "GetSitePageMoveStatus", None, payload, None, return_type
|
|
1051
|
-
)
|
|
974
|
+
qry = ServiceOperationQuery(self, "GetSitePageMoveStatus", None, payload, None, return_type)
|
|
1052
975
|
self.context.add_query(qry)
|
|
1053
976
|
return return_type
|
|
1054
977
|
|
|
1055
978
|
def ensure_folder_path(self, path):
|
|
1056
|
-
"""
|
|
1057
|
-
|
|
1058
|
-
:
|
|
979
|
+
"""Ensures a nested folder hierarchy exist
|
|
980
|
+
|
|
981
|
+
Args:
|
|
982
|
+
path (str): relative server URL (path) to a folder
|
|
1059
983
|
"""
|
|
1060
984
|
return self.root_folder.folders.ensure_path(path)
|
|
1061
985
|
|
|
1062
986
|
def ensure_edu_class_setup(self, bypass_for_automation):
|
|
1063
|
-
"""
|
|
1064
|
-
|
|
987
|
+
"""Args:
|
|
988
|
+
bypass_for_automation (bool):
|
|
1065
989
|
"""
|
|
1066
990
|
return_type = ClientResult(self.context, bool())
|
|
1067
991
|
payload = {"byPassForAutomation": bypass_for_automation}
|
|
1068
|
-
qry = ServiceOperationQuery(
|
|
1069
|
-
self, "EnsureEduClassSetup", None, payload, None, return_type
|
|
1070
|
-
)
|
|
992
|
+
qry = ServiceOperationQuery(self, "EnsureEduClassSetup", None, payload, None, return_type)
|
|
1071
993
|
self.context.add_query(qry)
|
|
1072
994
|
return return_type
|
|
1073
995
|
|
|
1074
|
-
def ensure_user(self, login_name):
|
|
996
|
+
def ensure_user(self, login_name: str) -> User:
|
|
1075
997
|
"""Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does
|
|
1076
998
|
not already exist, adds it to the website.
|
|
1077
999
|
|
|
1078
|
-
:
|
|
1000
|
+
Args:
|
|
1001
|
+
login_name (str): Specifies a string that contains the login name.
|
|
1079
1002
|
"""
|
|
1080
1003
|
return_type = User(self.context)
|
|
1081
1004
|
self.site_users.add_child(return_type)
|
|
1082
|
-
qry = ServiceOperationQuery(
|
|
1083
|
-
self, "EnsureUser", [login_name], None, None, return_type
|
|
1084
|
-
)
|
|
1005
|
+
qry = ServiceOperationQuery(self, "EnsureUser", [login_name], None, None, return_type)
|
|
1085
1006
|
self.context.add_query(qry)
|
|
1086
1007
|
return return_type
|
|
1087
1008
|
|
|
1088
1009
|
def ensure_tenant_app_catalog(self, caller_id):
|
|
1089
|
-
"""
|
|
1090
|
-
|
|
1010
|
+
"""Args:
|
|
1011
|
+
caller_id (str):
|
|
1091
1012
|
"""
|
|
1092
1013
|
return_type = ClientResult(self.context, bool())
|
|
1093
1014
|
payload = {"callerId": caller_id}
|
|
1094
|
-
qry = ServiceOperationQuery(
|
|
1095
|
-
self, "EnsureTenantAppCatalog", None, payload, None, return_type
|
|
1096
|
-
)
|
|
1015
|
+
qry = ServiceOperationQuery(self, "EnsureTenantAppCatalog", None, payload, None, return_type)
|
|
1097
1016
|
self.context.add_query(qry)
|
|
1098
1017
|
return return_type
|
|
1099
1018
|
|
|
1100
1019
|
def get_list_by_title(self, title):
|
|
1101
|
-
"""
|
|
1102
|
-
Returns the list with the specified display name.
|
|
1020
|
+
"""Returns the list with the specified display name.
|
|
1103
1021
|
|
|
1104
|
-
:
|
|
1022
|
+
Args:
|
|
1023
|
+
title (str): Specifies the display name
|
|
1105
1024
|
"""
|
|
1106
1025
|
return List(
|
|
1107
1026
|
self.context,
|
|
1108
1027
|
ServiceOperationPath("GetListByTitle", [title], self.resource_path),
|
|
1109
1028
|
)
|
|
1110
1029
|
|
|
1111
|
-
def does_user_have_permissions(self, permission_mask):
|
|
1030
|
+
def does_user_have_permissions(self, permission_mask: BasePermissions) -> ClientResult[bool]:
|
|
1112
1031
|
"""Returns whether the current user has the given set of permissions.
|
|
1113
1032
|
|
|
1114
|
-
:
|
|
1033
|
+
Args:
|
|
1034
|
+
permission_mask (BasePermissions): Specifies the set of permissions to verify.
|
|
1115
1035
|
"""
|
|
1116
1036
|
return_type = ClientResult(self.context, bool())
|
|
1117
|
-
qry = ServiceOperationQuery(
|
|
1118
|
-
self, "DoesUserHavePermissions", permission_mask, None, None, return_type
|
|
1119
|
-
)
|
|
1037
|
+
qry = ServiceOperationQuery(self, "DoesUserHavePermissions", permission_mask, None, None, return_type)
|
|
1120
1038
|
self.context.add_query(qry)
|
|
1121
1039
|
return return_type
|
|
1122
1040
|
|
|
1123
|
-
def does_push_notification_subscriber_exist(self, device_app_instance_id):
|
|
1124
|
-
"""
|
|
1125
|
-
|
|
1126
|
-
with the given device app instance identifier.
|
|
1041
|
+
def does_push_notification_subscriber_exist(self, device_app_instance_id: str):
|
|
1042
|
+
"""Specifies whether the push notification subscriber exists for the current user
|
|
1043
|
+
with the given device app instance identifier.
|
|
1127
1044
|
|
|
1128
|
-
:
|
|
1045
|
+
Args:
|
|
1046
|
+
device_app_instance_id (str): Device application instance identifier.
|
|
1129
1047
|
"""
|
|
1130
1048
|
return_type = ClientResult(self.context, bool())
|
|
1131
1049
|
params = {"deviceAppInstanceId": device_app_instance_id}
|
|
1132
|
-
qry = ServiceOperationQuery(
|
|
1133
|
-
self, "DoesPushNotificationSubscriberExist", params, None, None, return_type
|
|
1134
|
-
)
|
|
1050
|
+
qry = ServiceOperationQuery(self, "DoesPushNotificationSubscriberExist", params, None, None, return_type)
|
|
1135
1051
|
self.context.add_query(qry)
|
|
1136
1052
|
return return_type
|
|
1137
1053
|
|
|
1138
|
-
def get_folder_by_id(self, unique_id):
|
|
1139
|
-
"""
|
|
1140
|
-
Returns the folder object with the specified GUID.
|
|
1054
|
+
def get_folder_by_id(self, unique_id: str) -> Folder:
|
|
1055
|
+
"""Returns the folder object with the specified GUID.
|
|
1141
1056
|
|
|
1142
|
-
:
|
|
1057
|
+
Args:
|
|
1058
|
+
unique_id (str): A GUID that identifies the folder.
|
|
1143
1059
|
"""
|
|
1144
1060
|
return Folder(
|
|
1145
1061
|
self.context,
|
|
1146
1062
|
ServiceOperationPath("GetFolderById", [unique_id], self.resource_path),
|
|
1147
1063
|
)
|
|
1148
1064
|
|
|
1149
|
-
def get_user_by_id(self, user_id):
|
|
1065
|
+
def get_user_by_id(self, user_id: int) -> User:
|
|
1150
1066
|
"""Returns the user corresponding to the specified member identifier for the current site.
|
|
1151
1067
|
|
|
1152
|
-
:
|
|
1068
|
+
Args:
|
|
1069
|
+
user_id (int): Specifies the member identifier.
|
|
1153
1070
|
"""
|
|
1154
1071
|
return User(
|
|
1155
1072
|
self.context,
|
|
1156
1073
|
ServiceOperationPath("getUserById", [user_id], self.resource_path),
|
|
1157
1074
|
)
|
|
1158
1075
|
|
|
1159
|
-
def default_document_library(self):
|
|
1076
|
+
def default_document_library(self) -> List:
|
|
1160
1077
|
"""Retrieves the default document library."""
|
|
1161
1078
|
return List(
|
|
1162
1079
|
self.context,
|
|
1163
1080
|
ServiceOperationPath("defaultDocumentLibrary", None, self.resource_path),
|
|
1164
1081
|
)
|
|
1165
1082
|
|
|
1166
|
-
def get_list(self, path):
|
|
1083
|
+
def get_list(self, path: str) -> List:
|
|
1167
1084
|
"""Get list by path
|
|
1168
1085
|
|
|
1169
|
-
:
|
|
1086
|
+
Args:
|
|
1087
|
+
path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
|
|
1170
1088
|
"""
|
|
1171
1089
|
safe_path = SPResPath.create_relative(self.context.base_url, path)
|
|
1172
1090
|
return List(
|
|
@@ -1174,283 +1092,255 @@ class Web(SecurableObject):
|
|
|
1174
1092
|
ServiceOperationPath("getList", [str(safe_path)], self.resource_path),
|
|
1175
1093
|
)
|
|
1176
1094
|
|
|
1177
|
-
def get_changes(self, query=None):
|
|
1095
|
+
def get_changes(self, query: Optional[ChangeQuery] = None) -> ChangeCollection:
|
|
1178
1096
|
"""Returns the collection of all changes from the change log that have occurred within the scope of the web,
|
|
1179
1097
|
based on the specified query.
|
|
1180
1098
|
|
|
1181
|
-
:
|
|
1099
|
+
Args:
|
|
1100
|
+
query (office365.sharepoint.changes.query.ChangeQuery): Specifies which changes to return
|
|
1182
1101
|
"""
|
|
1183
1102
|
if query is None:
|
|
1184
|
-
query = ChangeQuery(
|
|
1103
|
+
query = ChangeQuery(Web=True, FetchLimit="100")
|
|
1185
1104
|
return_type = ChangeCollection(self.context)
|
|
1186
1105
|
payload = {"query": query}
|
|
1187
|
-
qry = ServiceOperationQuery(
|
|
1188
|
-
self, "getChanges", None, payload, None, return_type
|
|
1189
|
-
)
|
|
1106
|
+
qry = ServiceOperationQuery(self, "getChanges", None, payload, None, return_type)
|
|
1190
1107
|
self.context.add_query(qry)
|
|
1191
1108
|
return return_type
|
|
1192
1109
|
|
|
1193
1110
|
def get_available_web_templates(self, lcid=1033, do_include_cross_language=False):
|
|
1194
|
-
"""
|
|
1195
|
-
Returns a collection of site templates available for the site.
|
|
1111
|
+
"""Returns a collection of site templates available for the site.
|
|
1196
1112
|
|
|
1197
|
-
:
|
|
1198
|
-
|
|
1113
|
+
Args:
|
|
1114
|
+
lcid (int): Specifies the LCID of the site templates to be retrieved.
|
|
1115
|
+
do_include_cross_language (bool): Specifies whether to include language-neutral site templates.
|
|
1199
1116
|
"""
|
|
1200
1117
|
params = {"lcid": lcid, "doIncludeCrossLanguage": do_include_cross_language}
|
|
1201
1118
|
return_type = WebTemplateCollection(
|
|
1202
1119
|
self.context,
|
|
1203
|
-
ServiceOperationPath(
|
|
1204
|
-
"GetAvailableWebTemplates", params, self.resource_path
|
|
1205
|
-
),
|
|
1120
|
+
ServiceOperationPath("GetAvailableWebTemplates", params, self.resource_path),
|
|
1206
1121
|
)
|
|
1207
1122
|
|
|
1208
|
-
qry = ServiceOperationQuery(
|
|
1209
|
-
self, "GetAvailableWebTemplates", params, None, None, return_type
|
|
1210
|
-
)
|
|
1123
|
+
qry = ServiceOperationQuery(self, "GetAvailableWebTemplates", params, None, None, return_type)
|
|
1211
1124
|
self.context.add_query(qry)
|
|
1212
1125
|
return return_type
|
|
1213
1126
|
|
|
1214
|
-
def hub_site_data(self, force_refresh=False):
|
|
1127
|
+
def hub_site_data(self, force_refresh: bool = False) -> ClientResult[str]:
|
|
1215
1128
|
"""Retrieves data describing a SharePoint hub site.
|
|
1216
1129
|
|
|
1217
|
-
:
|
|
1218
|
-
|
|
1219
|
-
|
|
1130
|
+
Args:
|
|
1131
|
+
force_refresh (bool): Default value is false. When false, the data is returned from the server's cache.
|
|
1132
|
+
When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
|
|
1133
|
+
changes and need to see those changes right away.
|
|
1220
1134
|
"""
|
|
1221
|
-
return_type = ClientResult(self.context)
|
|
1135
|
+
return_type = ClientResult(self.context, str())
|
|
1222
1136
|
payload = {"forceRefresh": force_refresh}
|
|
1223
|
-
qry = ServiceOperationQuery(
|
|
1224
|
-
self, "HubSiteData", None, payload, None, return_type
|
|
1225
|
-
)
|
|
1137
|
+
qry = ServiceOperationQuery(self, "HubSiteData", None, payload, None, return_type)
|
|
1226
1138
|
self.context.add_query(qry)
|
|
1227
1139
|
return return_type
|
|
1228
1140
|
|
|
1229
|
-
def increment_site_client_tag(self):
|
|
1141
|
+
def increment_site_client_tag(self) -> Self:
|
|
1230
1142
|
"""Increments the client cache control number for this site collection."""
|
|
1231
1143
|
qry = ServiceOperationQuery(self, "IncrementSiteClientTag")
|
|
1232
1144
|
self.context.add_query(qry)
|
|
1233
1145
|
return self
|
|
1234
1146
|
|
|
1235
|
-
def apply_web_template(self, web_template):
|
|
1236
|
-
"""
|
|
1237
|
-
Applies the specified site definition or site template to the website that has no template applied to it.
|
|
1147
|
+
def apply_web_template(self, web_template: str) -> Self:
|
|
1148
|
+
"""Applies the specified site definition or site template to the website that has no template applied to it.
|
|
1238
1149
|
|
|
1239
|
-
:
|
|
1150
|
+
Args:
|
|
1151
|
+
web_template (str): The name of the site definition or the file name of the site template to be applied.
|
|
1240
1152
|
"""
|
|
1241
|
-
qry = ServiceOperationQuery(
|
|
1242
|
-
self, "ApplyWebTemplate", {"webTemplate": web_template}
|
|
1243
|
-
)
|
|
1153
|
+
qry = ServiceOperationQuery(self, "ApplyWebTemplate", {"webTemplate": web_template})
|
|
1244
1154
|
self.context.add_query(qry)
|
|
1245
1155
|
return self
|
|
1246
1156
|
|
|
1247
|
-
def get_custom_list_templates(self):
|
|
1157
|
+
def get_custom_list_templates(self) -> ListTemplateCollection:
|
|
1248
1158
|
"""Specifies the collection of custom list templates for a given site."""
|
|
1249
1159
|
return_type = ListTemplateCollection(self.context)
|
|
1250
|
-
qry = ServiceOperationQuery(
|
|
1251
|
-
self, "GetCustomListTemplates", None, None, None, return_type
|
|
1252
|
-
)
|
|
1160
|
+
qry = ServiceOperationQuery(self, "GetCustomListTemplates", None, None, None, return_type)
|
|
1253
1161
|
self.context.add_query(qry)
|
|
1254
1162
|
return return_type
|
|
1255
1163
|
|
|
1256
|
-
def get_file_by_guest_url(self, guest_url):
|
|
1257
|
-
"""
|
|
1258
|
-
|
|
1259
|
-
:
|
|
1164
|
+
def get_file_by_guest_url(self, guest_url: str) -> File:
|
|
1165
|
+
"""Returns the file object from the guest access URL.
|
|
1166
|
+
|
|
1167
|
+
Args:
|
|
1168
|
+
guest_url (str): The guest access URL to get the file with.
|
|
1260
1169
|
"""
|
|
1261
1170
|
return_type = File(self.context)
|
|
1262
1171
|
payload = {"guestUrl": guest_url}
|
|
1263
|
-
qry = ServiceOperationQuery(
|
|
1264
|
-
self, "GetFileByGuestUrl", None, payload, None, return_type
|
|
1265
|
-
)
|
|
1172
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrl", None, payload, None, return_type)
|
|
1266
1173
|
self.context.add_query(qry)
|
|
1267
1174
|
return return_type
|
|
1268
1175
|
|
|
1269
1176
|
def get_file_by_guest_url_extended(
|
|
1270
|
-
self, guest_url, ensure_access=None, password=None
|
|
1271
|
-
):
|
|
1272
|
-
"""
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
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.
|
|
1284
1192
|
"""
|
|
1285
1193
|
return_type = File(self.context)
|
|
1286
1194
|
payload = {
|
|
1287
1195
|
"guestUrl": guest_url,
|
|
1288
1196
|
"requestSettings": SharingLinkAccessRequest(ensure_access, password),
|
|
1289
1197
|
}
|
|
1290
|
-
qry = ServiceOperationQuery(
|
|
1291
|
-
self, "GetFileByGuestUrlExtended", None, payload, None, return_type
|
|
1292
|
-
)
|
|
1198
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrlExtended", None, payload, None, return_type)
|
|
1293
1199
|
self.context.add_query(qry)
|
|
1294
1200
|
return return_type
|
|
1295
1201
|
|
|
1296
1202
|
def get_file_by_guest_url_ensure_access(self, guest_url, ensure_access):
|
|
1297
|
-
"""
|
|
1298
|
-
Returns the file object from the tokenized sharing link URL.
|
|
1203
|
+
"""Returns the file object from the tokenized sharing link URL.
|
|
1299
1204
|
|
|
1300
|
-
:
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1205
|
+
Args:
|
|
1206
|
+
guest_url (str): The guest access URL to get the file with.
|
|
1207
|
+
ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
|
|
1208
|
+
to the calling user. If it is set to true then the user who is requesting the file will be granted
|
|
1209
|
+
perpetual permissions through the tokenized sharing link.
|
|
1304
1210
|
"""
|
|
1305
1211
|
return_type = File(self.context)
|
|
1306
1212
|
payload = {"guestUrl": guest_url, "ensureAccess": ensure_access}
|
|
1307
|
-
qry = ServiceOperationQuery(
|
|
1308
|
-
self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type
|
|
1309
|
-
)
|
|
1213
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type)
|
|
1310
1214
|
self.context.add_query(qry)
|
|
1311
1215
|
return return_type
|
|
1312
1216
|
|
|
1313
1217
|
def get_file_by_linking_url(self, linking_url):
|
|
1314
|
-
"""
|
|
1315
|
-
Returns the file object from the linking URL.
|
|
1218
|
+
"""Returns the file object from the linking URL.
|
|
1316
1219
|
|
|
1317
|
-
:
|
|
1318
|
-
|
|
1220
|
+
Args:
|
|
1221
|
+
linking_url (str): The linking URL to return the file object for. A linking URL
|
|
1222
|
+
can be obtained from LinkingUrl.
|
|
1319
1223
|
"""
|
|
1320
1224
|
return_type = File(self.context)
|
|
1321
1225
|
payload = {"linkingUrl": linking_url}
|
|
1322
|
-
qry = ServiceOperationQuery(
|
|
1323
|
-
self, "GetFileByLinkingUrl", None, payload, None, return_type
|
|
1324
|
-
)
|
|
1226
|
+
qry = ServiceOperationQuery(self, "GetFileByLinkingUrl", None, payload, None, return_type)
|
|
1325
1227
|
self.context.add_query(qry)
|
|
1326
1228
|
return return_type
|
|
1327
1229
|
|
|
1328
1230
|
def get_file_by_url(self, file_url):
|
|
1329
|
-
"""
|
|
1330
|
-
Returns the file object from the given URL.
|
|
1231
|
+
"""Returns the file object from the given URL.
|
|
1331
1232
|
|
|
1332
|
-
:
|
|
1233
|
+
Args:
|
|
1234
|
+
file_url (str): The URL used to get the file object.
|
|
1333
1235
|
"""
|
|
1334
1236
|
return_type = File(self.context)
|
|
1335
1237
|
params = {"fileUrl": file_url}
|
|
1336
|
-
qry = ServiceOperationQuery(
|
|
1337
|
-
self, "GetFileByUrl", params, None, None, return_type
|
|
1338
|
-
)
|
|
1238
|
+
qry = ServiceOperationQuery(self, "GetFileByUrl", params, None, None, return_type)
|
|
1339
1239
|
self.context.add_query(qry)
|
|
1340
1240
|
return return_type
|
|
1341
1241
|
|
|
1342
|
-
def get_file_by_wopi_frame_url(self, wopi_frame_url):
|
|
1343
|
-
"""
|
|
1344
|
-
Returns the file object from the WOPI frame URL.
|
|
1242
|
+
def get_file_by_wopi_frame_url(self, wopi_frame_url: str) -> File:
|
|
1243
|
+
"""Returns the file object from the WOPI frame URL.
|
|
1345
1244
|
|
|
1346
|
-
:
|
|
1245
|
+
Args:
|
|
1246
|
+
wopi_frame_url (str): The WOPI frame URL used to get the file object.
|
|
1347
1247
|
"""
|
|
1348
1248
|
return_type = File(self.context)
|
|
1349
|
-
qry = ServiceOperationQuery(
|
|
1350
|
-
self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type
|
|
1351
|
-
)
|
|
1249
|
+
qry = ServiceOperationQuery(self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type)
|
|
1352
1250
|
self.context.add_query(qry)
|
|
1353
1251
|
return return_type
|
|
1354
1252
|
|
|
1355
|
-
def get_folder_by_guest_url(self, guest_url):
|
|
1356
|
-
"""
|
|
1357
|
-
Returns the folder object from the tokenized sharing link URL.
|
|
1253
|
+
def get_folder_by_guest_url(self, guest_url: str) -> Folder:
|
|
1254
|
+
"""Returns the folder object from the tokenized sharing link URL.
|
|
1358
1255
|
|
|
1359
|
-
:
|
|
1256
|
+
Args:
|
|
1257
|
+
guest_url (str): The tokenized sharing link URL for the folder.
|
|
1360
1258
|
"""
|
|
1361
1259
|
return_type = Folder(self.context, parent_collection=self.folders)
|
|
1362
1260
|
payload = {"guestUrl": guest_url}
|
|
1363
|
-
qry = ServiceOperationQuery(
|
|
1364
|
-
self, "GetFolderByGuestUrl", None, payload, None, return_type
|
|
1365
|
-
)
|
|
1261
|
+
qry = ServiceOperationQuery(self, "GetFolderByGuestUrl", None, payload, None, return_type)
|
|
1366
1262
|
self.context.add_query(qry)
|
|
1367
1263
|
return return_type
|
|
1368
1264
|
|
|
1369
|
-
def get_folder_by_guest_url_extended(
|
|
1370
|
-
|
|
1371
|
-
):
|
|
1372
|
-
"""
|
|
1373
|
-
Returns the folder object from the tokenized sharing link URL.
|
|
1265
|
+
def get_folder_by_guest_url_extended(self, guest_url, ensure_access=None, password=None):
|
|
1266
|
+
"""Returns the folder object from the tokenized sharing link URL.
|
|
1374
1267
|
|
|
1375
|
-
:
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1268
|
+
Args:
|
|
1269
|
+
guest_url (str): The tokenized sharing link URL for the folder.
|
|
1270
|
+
password (str): This value contains the password to be supplied to a tokenized sharing link for
|
|
1271
|
+
validation. This value is only needed if the link requires a password before granting access
|
|
1272
|
+
and the calling user does not currently have perpetual access through the tokenized sharing link.
|
|
1273
|
+
This value MUST be set to the correct password for the tokenized sharing link for the access
|
|
1274
|
+
granting operation to succeed. If the tokenized sharing link does not require a password or
|
|
1275
|
+
the calling user already has perpetual access through the tokenized sharing link, this value
|
|
1276
|
+
will be ignored.
|
|
1277
|
+
ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
|
|
1278
|
+
to the calling user.
|
|
1384
1279
|
"""
|
|
1385
1280
|
return_type = Folder(self.context, parent_collection=self.folders)
|
|
1386
1281
|
payload = {
|
|
1387
1282
|
"guestUrl": guest_url,
|
|
1388
1283
|
"requestSettings": SharingLinkAccessRequest(ensure_access, password),
|
|
1389
1284
|
}
|
|
1390
|
-
qry = ServiceOperationQuery(
|
|
1391
|
-
self, "GetFolderByGuestUrlExtended", None, payload, None, return_type
|
|
1392
|
-
)
|
|
1285
|
+
qry = ServiceOperationQuery(self, "GetFolderByGuestUrlExtended", None, payload, None, return_type)
|
|
1393
1286
|
self.context.add_query(qry)
|
|
1394
1287
|
return return_type
|
|
1395
1288
|
|
|
1396
1289
|
def parse_datetime(
|
|
1397
1290
|
self,
|
|
1398
|
-
value,
|
|
1399
|
-
display_format=DateTimeFieldFormatType.DateTime,
|
|
1400
|
-
calendar_type=CalendarType.
|
|
1401
|
-
):
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
return_type = ClientResult(self.context)
|
|
1291
|
+
value: str,
|
|
1292
|
+
display_format: DateTimeFieldFormatType = DateTimeFieldFormatType.DateTime,
|
|
1293
|
+
calendar_type: CalendarType = CalendarType.Unknown,
|
|
1294
|
+
) -> ClientResult[str]:
|
|
1295
|
+
"""Returns parsed DateTime value.
|
|
1296
|
+
|
|
1297
|
+
Args:
|
|
1298
|
+
value (str): The input is the string of a datetime that's in web's local time and in web's calendar.
|
|
1299
|
+
For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime
|
|
1300
|
+
is 07/31/2009 in Gregorian calendar.
|
|
1301
|
+
display_format (int): Int value representing SP.DateTimeFieldFormatType
|
|
1302
|
+
calendar_type (int): Int value representing SP.CalendarType
|
|
1303
|
+
"""
|
|
1304
|
+
return_type = ClientResult[str](self.context)
|
|
1413
1305
|
payload = {
|
|
1414
1306
|
"value": value,
|
|
1415
|
-
"displayFormat": display_format,
|
|
1416
|
-
"calendarType": calendar_type,
|
|
1307
|
+
"displayFormat": display_format.value,
|
|
1308
|
+
"calendarType": calendar_type.value,
|
|
1417
1309
|
}
|
|
1418
|
-
qry = ServiceOperationQuery(
|
|
1419
|
-
self, "ParseDateTime", None, payload, None, return_type
|
|
1420
|
-
)
|
|
1310
|
+
qry = ServiceOperationQuery(self, "ParseDateTime", None, payload, None, return_type)
|
|
1421
1311
|
self.context.add_query(qry)
|
|
1422
1312
|
return return_type
|
|
1423
1313
|
|
|
1424
1314
|
def share(
|
|
1425
1315
|
self,
|
|
1426
|
-
user_principal_name,
|
|
1427
|
-
share_option=ExternalSharingSiteOption.View,
|
|
1428
|
-
send_email=True,
|
|
1429
|
-
email_subject=None,
|
|
1430
|
-
email_body=None,
|
|
1431
|
-
):
|
|
1432
|
-
"""
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1316
|
+
user_principal_name: str,
|
|
1317
|
+
share_option: ExternalSharingSiteOption = ExternalSharingSiteOption.View,
|
|
1318
|
+
send_email: bool = True,
|
|
1319
|
+
email_subject: str | None = None,
|
|
1320
|
+
email_body: str | None = None,
|
|
1321
|
+
) -> SharingResult:
|
|
1322
|
+
"""Share a Web with user
|
|
1323
|
+
|
|
1324
|
+
Args:
|
|
1325
|
+
user_principal_name (str): User identifier
|
|
1326
|
+
share_option (ExternalSharingSiteOption): The sharing type of permission to grant on the object.
|
|
1327
|
+
send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
|
|
1328
|
+
email_subject (str): The email subject.
|
|
1329
|
+
email_body (str): The email subject.
|
|
1440
1330
|
"""
|
|
1441
1331
|
|
|
1442
1332
|
return_type = SharingResult(self.context)
|
|
1443
1333
|
|
|
1444
|
-
def _share(picker_result):
|
|
1445
|
-
|
|
1446
|
-
groups = {
|
|
1334
|
+
def _share(picker_result: ClientResult[str]) -> None:
|
|
1335
|
+
groups: dict[ExternalSharingSiteOption, Group] = {
|
|
1447
1336
|
ExternalSharingSiteOption.View: self.associated_visitor_group,
|
|
1448
1337
|
ExternalSharingSiteOption.Edit: self.associated_member_group,
|
|
1449
1338
|
ExternalSharingSiteOption.Owner: self.associated_owner_group,
|
|
1450
|
-
}
|
|
1339
|
+
}
|
|
1451
1340
|
|
|
1452
|
-
picker_input = "[{
|
|
1453
|
-
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
|
|
1454
1344
|
Web.share_object(
|
|
1455
1345
|
self.context,
|
|
1456
1346
|
self.url,
|
|
@@ -1476,9 +1366,8 @@ class Web(SecurableObject):
|
|
|
1476
1366
|
"AssociatedVisitorGroup",
|
|
1477
1367
|
"AssociatedMemberGroup",
|
|
1478
1368
|
"AssociatedOwnerGroup",
|
|
1479
|
-
]
|
|
1480
|
-
|
|
1481
|
-
)
|
|
1369
|
+
]
|
|
1370
|
+
).after_execute(lambda _: _web_resolved())
|
|
1482
1371
|
return return_type
|
|
1483
1372
|
|
|
1484
1373
|
def unshare(self):
|
|
@@ -1488,40 +1377,74 @@ class Web(SecurableObject):
|
|
|
1488
1377
|
def _web_initialized():
|
|
1489
1378
|
Web.unshare_object(self.context, self.url, return_type=return_type)
|
|
1490
1379
|
|
|
1491
|
-
self.ensure_property("Url"
|
|
1380
|
+
self.ensure_property("Url").after_execute(lambda _: _web_initialized())
|
|
1492
1381
|
return return_type
|
|
1493
1382
|
|
|
1494
1383
|
@staticmethod
|
|
1495
|
-
def get_document_libraries(
|
|
1384
|
+
def get_document_libraries(
|
|
1385
|
+
context: "ClientContext",
|
|
1386
|
+
web_full_url: str,
|
|
1387
|
+
return_type: Optional[ClientResult[ClientValueCollection[DocumentLibraryInformation]]] = None,
|
|
1388
|
+
) -> ClientResult[ClientValueCollection[DocumentLibraryInformation]]:
|
|
1389
|
+
"""
|
|
1390
|
+
Returns the document libraries of a SharePoint site, specifically a list of objects that represents
|
|
1391
|
+
document library information. Document libraries that are private—picture library, catalog library,
|
|
1392
|
+
asset library, application list, form template or libraries—for whom the user does not have permission to
|
|
1393
|
+
view the items are not included.
|
|
1394
|
+
|
|
1395
|
+
Args:
|
|
1396
|
+
context: Authenticated SharePoint client context
|
|
1397
|
+
web_full_url: Absolute URL of the target web (site)
|
|
1398
|
+
return_type: Optional return type
|
|
1399
|
+
|
|
1400
|
+
Returns:
|
|
1401
|
+
ClientResult containing collection of DocumentLibraryInformation objects
|
|
1402
|
+
|
|
1403
|
+
Example:
|
|
1404
|
+
>>> result = Web.get_document_libraries(context, "https://contoso.sharepoint.com/sites/mysite")
|
|
1405
|
+
>>> for lib in result.value:
|
|
1406
|
+
... print(lib.Title, lib.AbsoluteUrl)
|
|
1496
1407
|
"""
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
asset library, application list, form template or libraries—for whom the user does not have permission to view
|
|
1500
|
-
the items are not included.
|
|
1501
|
-
|
|
1502
|
-
:param office365.sharepoint.client_context.ClientContext context: SharePoint context
|
|
1503
|
-
:param str web_full_url: The URL of the web.
|
|
1504
|
-
"""
|
|
1505
|
-
return_type = ClientResult(
|
|
1506
|
-
context, ClientValueCollection(DocumentLibraryInformation)
|
|
1507
|
-
)
|
|
1408
|
+
if return_type is None:
|
|
1409
|
+
return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
|
|
1508
1410
|
payload = {"webFullUrl": web_full_url}
|
|
1509
|
-
qry = ServiceOperationQuery(
|
|
1510
|
-
context.web, "GetDocumentLibraries", None, payload, None, return_type
|
|
1511
|
-
)
|
|
1411
|
+
qry = ServiceOperationQuery(context.web, "GetDocumentLibraries", None, payload, None, return_type)
|
|
1512
1412
|
qry.static = True
|
|
1513
1413
|
context.add_query(qry)
|
|
1514
1414
|
return return_type
|
|
1515
1415
|
|
|
1516
|
-
|
|
1517
|
-
|
|
1416
|
+
def get_default_document_library_url(
|
|
1417
|
+
self,
|
|
1418
|
+
) -> ClientResult[DocumentLibraryInformation]:
|
|
1518
1419
|
"""
|
|
1519
|
-
|
|
1420
|
+
Retrieves the URL of the default document library (typically "Shared Documents")
|
|
1421
|
+
as a ClientResult containing DocumentLibraryInformation.
|
|
1422
|
+
|
|
1423
|
+
Returns:
|
|
1424
|
+
ClientResult[DocumentLibraryInformation]:
|
|
1425
|
+
A result object containing the default document library's information,
|
|
1426
|
+
including its URL and other metadata.
|
|
1520
1427
|
|
|
1521
|
-
:param office365.sharepoint.client_context.ClientContext context: SharePoint context
|
|
1522
|
-
:param str web_url: URL of the web.
|
|
1523
1428
|
"""
|
|
1524
|
-
return_type = ClientResult(context, DocumentLibraryInformation())
|
|
1429
|
+
return_type = ClientResult(self.context, DocumentLibraryInformation())
|
|
1430
|
+
|
|
1431
|
+
def _get_default_document_library_url() -> None:
|
|
1432
|
+
Web.default_document_library_url(self.context, self.url, return_type)
|
|
1433
|
+
|
|
1434
|
+
self.ensure_property("Url").after_execute(lambda _: _get_default_document_library_url())
|
|
1435
|
+
return return_type
|
|
1436
|
+
|
|
1437
|
+
@staticmethod
|
|
1438
|
+
def default_document_library_url(context, web_url, return_type=None):
|
|
1439
|
+
"""Returns the default document library URL.
|
|
1440
|
+
|
|
1441
|
+
Args:
|
|
1442
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1443
|
+
web_url (str): URL of the web.
|
|
1444
|
+
return_type: Return type of the returned document
|
|
1445
|
+
"""
|
|
1446
|
+
if return_type is None:
|
|
1447
|
+
return_type = ClientResult(context, DocumentLibraryInformation())
|
|
1525
1448
|
payload = {
|
|
1526
1449
|
"webUrl": web_url,
|
|
1527
1450
|
}
|
|
@@ -1538,63 +1461,55 @@ class Web(SecurableObject):
|
|
|
1538
1461
|
return return_type
|
|
1539
1462
|
|
|
1540
1463
|
@staticmethod
|
|
1541
|
-
def delete_all_anonymous_links_for_object(context, url):
|
|
1542
|
-
"""
|
|
1543
|
-
Removes all existing anonymous links for an object.
|
|
1464
|
+
def delete_all_anonymous_links_for_object(context: ClientContext, url: str):
|
|
1465
|
+
"""Removes all existing anonymous links for an object.
|
|
1544
1466
|
|
|
1545
|
-
:
|
|
1546
|
-
|
|
1547
|
-
|
|
1467
|
+
Args:
|
|
1468
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1469
|
+
url (str): The URL of the object being shared, with the path of the object in SharePoint that is
|
|
1470
|
+
represented as query string parameters.
|
|
1548
1471
|
"""
|
|
1549
1472
|
payload = {"url": url}
|
|
1550
|
-
qry = ServiceOperationQuery(
|
|
1551
|
-
context.web, "DeleteAllAnonymousLinksForObject", None, payload
|
|
1552
|
-
)
|
|
1473
|
+
qry = ServiceOperationQuery(context.web, "DeleteAllAnonymousLinksForObject", None, payload)
|
|
1553
1474
|
qry.static = True
|
|
1554
1475
|
context.add_query(qry)
|
|
1555
1476
|
return context.web
|
|
1556
1477
|
|
|
1557
1478
|
@staticmethod
|
|
1558
|
-
def delete_anonymous_link_for_object(
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
:param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
|
|
1570
|
-
who have been given access to the shared object via the sharing link¹.
|
|
1479
|
+
def delete_anonymous_link_for_object(context, url, is_edit_link, remove_associated_sharing_link_group):
|
|
1480
|
+
"""Removes an existing anonymous link for an object..
|
|
1481
|
+
|
|
1482
|
+
Args:
|
|
1483
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1484
|
+
url (str): The URL of the object being shared, with the path of the object in SharePoint that is
|
|
1485
|
+
represented as query string parameters.
|
|
1486
|
+
is_edit_link (bool): If true, the edit link for the object will be removed. If false, the view only
|
|
1487
|
+
link for the object will be removed.
|
|
1488
|
+
remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the
|
|
1489
|
+
users who have been given access to the shared object via the sharing link¹.
|
|
1571
1490
|
"""
|
|
1572
1491
|
payload = {
|
|
1573
1492
|
"url": url,
|
|
1574
1493
|
"isEditLink": is_edit_link,
|
|
1575
1494
|
"removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
|
|
1576
1495
|
}
|
|
1577
|
-
qry = ServiceOperationQuery(
|
|
1578
|
-
context.web, "DeleteAnonymousLinkForObject", None, payload
|
|
1579
|
-
)
|
|
1496
|
+
qry = ServiceOperationQuery(context.web, "DeleteAnonymousLinkForObject", None, payload)
|
|
1580
1497
|
qry.static = True
|
|
1581
1498
|
context.add_query(qry)
|
|
1582
1499
|
return context.web
|
|
1583
1500
|
|
|
1584
1501
|
@staticmethod
|
|
1585
1502
|
def get_document_and_media_libraries(context, web_full_url, include_page_libraries):
|
|
1586
|
-
"""
|
|
1587
|
-
Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
|
|
1503
|
+
"""Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
|
|
1588
1504
|
Document libraries that are private, catalog library, application list, form template, or libraries that user
|
|
1589
1505
|
does not have permission to view items are not inlcuded.
|
|
1590
1506
|
|
|
1591
|
-
:
|
|
1592
|
-
|
|
1593
|
-
|
|
1507
|
+
Args:
|
|
1508
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1509
|
+
web_full_url (str): URL of the web.
|
|
1510
|
+
include_page_libraries (bool): Indicates whether to include page libraries. A value of "true" means yes.
|
|
1594
1511
|
"""
|
|
1595
|
-
return_type = ClientResult(
|
|
1596
|
-
context, ClientValueCollection(DocumentLibraryInformation)
|
|
1597
|
-
)
|
|
1512
|
+
return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
|
|
1598
1513
|
payload = {
|
|
1599
1514
|
"webFullUrl": web_full_url,
|
|
1600
1515
|
"includePageLibraries": include_page_libraries,
|
|
@@ -1612,13 +1527,17 @@ class Web(SecurableObject):
|
|
|
1612
1527
|
return return_type
|
|
1613
1528
|
|
|
1614
1529
|
@staticmethod
|
|
1615
|
-
def get_sharing_link_kind(
|
|
1616
|
-
|
|
1617
|
-
|
|
1530
|
+
def get_sharing_link_kind(
|
|
1531
|
+
context: ClientContext,
|
|
1532
|
+
file_url: str,
|
|
1533
|
+
return_type: Optional[ClientResult[int]] = None,
|
|
1534
|
+
):
|
|
1535
|
+
"""This method determines the kind of tokenized sharing link represented by the supplied file URL.
|
|
1618
1536
|
|
|
1619
|
-
:
|
|
1620
|
-
|
|
1621
|
-
|
|
1537
|
+
Args:
|
|
1538
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
1539
|
+
file_url (str): A URL that is a tokenized sharing link for a document
|
|
1540
|
+
return_type (ClientResult or None): Return object
|
|
1622
1541
|
"""
|
|
1623
1542
|
if return_type is None:
|
|
1624
1543
|
return_type = ClientResult(context)
|
|
@@ -1629,27 +1548,25 @@ class Web(SecurableObject):
|
|
|
1629
1548
|
{"fileUrl": file_url},
|
|
1630
1549
|
None,
|
|
1631
1550
|
return_type,
|
|
1551
|
+
True,
|
|
1632
1552
|
)
|
|
1633
|
-
qry.static = True
|
|
1634
1553
|
context.add_query(qry)
|
|
1635
1554
|
return return_type
|
|
1636
1555
|
|
|
1637
1556
|
@staticmethod
|
|
1638
|
-
def forward_object_link(
|
|
1639
|
-
|
|
1640
|
-
):
|
|
1641
|
-
"""
|
|
1642
|
-
Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
|
|
1557
|
+
def forward_object_link(context, url, people_picker_input, email_subject=None, email_body=None):
|
|
1558
|
+
"""Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
|
|
1643
1559
|
This is used when the user has no permission to share and cannot send access request.
|
|
1644
1560
|
The user can use this method to send the link of the object to site members who already have permission
|
|
1645
1561
|
to view the object.
|
|
1646
1562
|
Returns a SharingResult object that contains completion script and page for redirection if desired.
|
|
1647
1563
|
|
|
1648
|
-
:
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1564
|
+
Args:
|
|
1565
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1566
|
+
url (str): The URL of the website with the path of an object in SharePoint query string parameters.
|
|
1567
|
+
people_picker_input (str): A string of JSON representing users in people picker format.
|
|
1568
|
+
email_subject (str): The email subject.
|
|
1569
|
+
email_body (str): The email subject.
|
|
1653
1570
|
"""
|
|
1654
1571
|
return_type = SharingResult(context)
|
|
1655
1572
|
payload = {
|
|
@@ -1658,18 +1575,16 @@ class Web(SecurableObject):
|
|
|
1658
1575
|
"emailSubject": email_subject,
|
|
1659
1576
|
"emailBody": email_body,
|
|
1660
1577
|
}
|
|
1661
|
-
qry = ServiceOperationQuery(
|
|
1662
|
-
context.web, "ForwardObjectLink", None, payload, None, return_type
|
|
1663
|
-
)
|
|
1578
|
+
qry = ServiceOperationQuery(context.web, "ForwardObjectLink", None, payload, None, return_type)
|
|
1664
1579
|
qry.static = True
|
|
1665
1580
|
context.add_query(qry)
|
|
1666
1581
|
return return_type
|
|
1667
1582
|
|
|
1668
1583
|
@staticmethod
|
|
1669
1584
|
def share_object(
|
|
1670
|
-
context,
|
|
1671
|
-
url,
|
|
1672
|
-
people_picker_input,
|
|
1585
|
+
context: ClientContext,
|
|
1586
|
+
url: str,
|
|
1587
|
+
people_picker_input: str,
|
|
1673
1588
|
role_value=None,
|
|
1674
1589
|
group_id=0,
|
|
1675
1590
|
propagate_acl=False,
|
|
@@ -1680,25 +1595,24 @@ class Web(SecurableObject):
|
|
|
1680
1595
|
use_simplified_roles=True,
|
|
1681
1596
|
return_type=None,
|
|
1682
1597
|
):
|
|
1683
|
-
"""
|
|
1684
|
-
This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
|
|
1598
|
+
"""This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
|
|
1685
1599
|
which contains the completion script and a page to redirect to if desired.
|
|
1686
1600
|
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1601
|
+
Args:
|
|
1602
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1603
|
+
url (str): The URL of the website with the path of an object in SharePoint query string parameters.
|
|
1604
|
+
role_value (str): The sharing role value for the type of permission to grant on the object.
|
|
1605
|
+
people_picker_input (str): A string of JSON representing users in people picker format.
|
|
1606
|
+
group_id (int): The ID of the group to be added. Zero if not adding to a permissions group.
|
|
1607
|
+
propagate_acl (bool): A flag to determine if permissions SHOULD be pushed to items with unique permissions
|
|
1608
|
+
send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
|
|
1609
|
+
include_anonymous_link_in_email (bool): If an email is being sent, this determines if an anonymous link
|
|
1610
|
+
SHOULD be added to the message.
|
|
1611
|
+
email_subject (str): The email subject.
|
|
1612
|
+
email_body (str): The email subject.
|
|
1613
|
+
use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
|
|
1614
|
+
roles (Edit, View) or not.
|
|
1615
|
+
return_type (SharingResult or None): Return type
|
|
1702
1616
|
"""
|
|
1703
1617
|
if return_type is None:
|
|
1704
1618
|
return_type = SharingResult(context)
|
|
@@ -1714,62 +1628,57 @@ class Web(SecurableObject):
|
|
|
1714
1628
|
"emailBody": email_body,
|
|
1715
1629
|
"useSimplifiedRoles": use_simplified_roles,
|
|
1716
1630
|
}
|
|
1717
|
-
qry = ServiceOperationQuery(
|
|
1718
|
-
context.web, "ShareObject", None, payload, None, return_type
|
|
1719
|
-
)
|
|
1631
|
+
qry = ServiceOperationQuery(context.web, "ShareObject", None, payload, None, return_type)
|
|
1720
1632
|
qry.static = True
|
|
1721
1633
|
context.add_query(qry)
|
|
1722
1634
|
return return_type
|
|
1723
1635
|
|
|
1724
1636
|
@staticmethod
|
|
1725
1637
|
def unshare_object(context, url, return_type=None):
|
|
1726
|
-
"""
|
|
1727
|
-
Removes Sharing permissions on an object.
|
|
1638
|
+
"""Removes Sharing permissions on an object.
|
|
1728
1639
|
|
|
1729
|
-
:
|
|
1730
|
-
|
|
1731
|
-
|
|
1640
|
+
Args:
|
|
1641
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1642
|
+
url (str): A SharingResult object which contains status codes pertaining to the completion of the operation
|
|
1643
|
+
return_type (SharingResult): Return type
|
|
1732
1644
|
"""
|
|
1733
1645
|
if return_type is None:
|
|
1734
1646
|
return_type = SharingResult(context)
|
|
1735
1647
|
payload = {"url": url}
|
|
1736
|
-
qry = ServiceOperationQuery(
|
|
1737
|
-
context.web, "UnshareObject", None, payload, None, return_type
|
|
1738
|
-
)
|
|
1739
|
-
qry.static = True
|
|
1648
|
+
qry = ServiceOperationQuery(context.web, "UnshareObject", None, payload, None, return_type, True)
|
|
1740
1649
|
context.add_query(qry)
|
|
1741
1650
|
return return_type
|
|
1742
1651
|
|
|
1743
|
-
def get_file_by_id(self, unique_id):
|
|
1652
|
+
def get_file_by_id(self, unique_id: str) -> File:
|
|
1744
1653
|
"""Returns the file object with the specified GUID.
|
|
1745
1654
|
|
|
1746
|
-
:
|
|
1655
|
+
Args:
|
|
1656
|
+
unique_id (str): A GUID that identifies the file object.
|
|
1747
1657
|
"""
|
|
1748
1658
|
return File(
|
|
1749
1659
|
self.context,
|
|
1750
1660
|
ServiceOperationPath("GetFileById", [unique_id], self.resource_path),
|
|
1751
1661
|
)
|
|
1752
1662
|
|
|
1753
|
-
def get_list_item(self, str_url):
|
|
1754
|
-
|
|
1755
|
-
"""
|
|
1756
|
-
Returns the list item that is associated with the specified server-relative URL.
|
|
1663
|
+
def get_list_item(self, str_url: str) -> ListItem:
|
|
1664
|
+
"""Returns the list item that is associated with the specified server-relative URL.
|
|
1757
1665
|
|
|
1758
|
-
:
|
|
1759
|
-
|
|
1666
|
+
Args:
|
|
1667
|
+
str_url (str): A string that contains the server-relative URL,
|
|
1668
|
+
for example, "/sites/MySite/Shared Documents/MyDocument.docx".
|
|
1760
1669
|
"""
|
|
1761
1670
|
return ListItem(
|
|
1762
1671
|
self.context,
|
|
1763
1672
|
ServiceOperationPath("GetListItem", [str_url], self.resource_path),
|
|
1764
1673
|
)
|
|
1765
1674
|
|
|
1766
|
-
def get_list_item_using_path(self, decoded_url):
|
|
1767
|
-
|
|
1768
|
-
"""
|
|
1769
|
-
Returns the list item that is associated with the specified server-relative path.
|
|
1675
|
+
def get_list_item_using_path(self, decoded_url: str) -> ListItem:
|
|
1676
|
+
"""Returns the list item that is associated with the specified server-relative path.
|
|
1770
1677
|
|
|
1771
|
-
:
|
|
1772
|
-
|
|
1678
|
+
Args:
|
|
1679
|
+
decoded_url (str): A string that contains the server-relative path,
|
|
1680
|
+
for example, "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
1681
|
+
or "Shared Documents/MyDocument.docx".
|
|
1773
1682
|
"""
|
|
1774
1683
|
params = SPResPath.create_relative(self.context.base_url, decoded_url)
|
|
1775
1684
|
return ListItem(
|
|
@@ -1777,59 +1686,57 @@ class Web(SecurableObject):
|
|
|
1777
1686
|
ServiceOperationPath("GetListItemUsingPath", params, self.resource_path),
|
|
1778
1687
|
)
|
|
1779
1688
|
|
|
1780
|
-
def get_catalog(self, type_catalog):
|
|
1689
|
+
def get_catalog(self, type_catalog: Union[int, ListTemplateType]) -> List:
|
|
1781
1690
|
"""Gets the list template gallery, site template gallery, or Web Part gallery for the Web site.
|
|
1782
1691
|
|
|
1783
|
-
:
|
|
1692
|
+
Args:
|
|
1693
|
+
type_catalog (int): The type of the gallery.
|
|
1784
1694
|
"""
|
|
1785
1695
|
return List(
|
|
1786
1696
|
self.context,
|
|
1787
|
-
ServiceOperationPath("getCatalog", [type_catalog], self.resource_path),
|
|
1697
|
+
ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
|
|
1788
1698
|
)
|
|
1789
1699
|
|
|
1790
|
-
def page_context_info(self, include_odb_settings, emit_navigation_info):
|
|
1791
|
-
|
|
1792
|
-
"""
|
|
1793
|
-
Return Page context info for the current list being rendered.
|
|
1700
|
+
def page_context_info(self, include_odb_settings: bool, emit_navigation_info: bool) -> ClientResult[bytes]:
|
|
1701
|
+
"""Return Page context info for the current list being rendered.
|
|
1794
1702
|
|
|
1795
|
-
:
|
|
1796
|
-
|
|
1703
|
+
Args:
|
|
1704
|
+
include_odb_settings (bool):
|
|
1705
|
+
emit_navigation_info (bool):
|
|
1797
1706
|
"""
|
|
1798
|
-
return_type = ClientResult(self.context)
|
|
1707
|
+
return_type = ClientResult(self.context, bytes())
|
|
1799
1708
|
payload = {
|
|
1800
1709
|
"includeODBSettings": include_odb_settings,
|
|
1801
1710
|
"emitNavigationInfo": emit_navigation_info,
|
|
1802
1711
|
}
|
|
1803
|
-
qry = ServiceOperationQuery(
|
|
1804
|
-
self, "PageContextInfo", None, payload, None, return_type
|
|
1805
|
-
)
|
|
1712
|
+
qry = ServiceOperationQuery(self, "PageContextInfo", None, payload, None, return_type)
|
|
1806
1713
|
self.context.add_query(qry)
|
|
1807
1714
|
return return_type
|
|
1808
1715
|
|
|
1809
|
-
def get_storage_entity(self, key):
|
|
1810
|
-
"""
|
|
1811
|
-
This will return the storage entity identified by the given key
|
|
1716
|
+
def get_storage_entity(self, key: str) -> StorageEntity:
|
|
1717
|
+
"""This will return the storage entity identified by the given key
|
|
1812
1718
|
|
|
1813
|
-
:
|
|
1719
|
+
Args:
|
|
1720
|
+
key (str): ID of storage entity to be returned.
|
|
1814
1721
|
"""
|
|
1815
1722
|
return_type = StorageEntity(self.context)
|
|
1816
1723
|
params = {
|
|
1817
1724
|
"key": key,
|
|
1818
1725
|
}
|
|
1819
|
-
qry = ServiceOperationQuery(
|
|
1820
|
-
self, "GetStorageEntity", params, None, None, return_type
|
|
1821
|
-
)
|
|
1726
|
+
qry = ServiceOperationQuery(self, "GetStorageEntity", params, None, None, return_type)
|
|
1822
1727
|
self.context.add_query(qry)
|
|
1823
1728
|
return return_type
|
|
1824
1729
|
|
|
1825
|
-
def set_storage_entity(
|
|
1826
|
-
|
|
1827
|
-
|
|
1730
|
+
def set_storage_entity(
|
|
1731
|
+
self, key: str, value: str, description: Optional[str] = None, comments: Optional[str] = None
|
|
1732
|
+
):
|
|
1733
|
+
"""This will set the storage entity identified by the given key
|
|
1828
1734
|
|
|
1829
|
-
:
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1735
|
+
Args:
|
|
1736
|
+
key (str): Id of the storage entity to be set.
|
|
1737
|
+
value (str): Value of the storage entity to be set.
|
|
1738
|
+
description (str): Description of the storage entity to be set.
|
|
1739
|
+
comments (str): Comments of the storage entity to be set.
|
|
1833
1740
|
"""
|
|
1834
1741
|
payload = {
|
|
1835
1742
|
"key": key,
|
|
@@ -1841,10 +1748,11 @@ class Web(SecurableObject):
|
|
|
1841
1748
|
self.context.add_query(qry)
|
|
1842
1749
|
return self
|
|
1843
1750
|
|
|
1844
|
-
def remove_storage_entity(self, key):
|
|
1845
|
-
"""
|
|
1846
|
-
|
|
1847
|
-
:
|
|
1751
|
+
def remove_storage_entity(self, key: str) -> Self:
|
|
1752
|
+
"""This will remove the storage entity identified by the given key
|
|
1753
|
+
|
|
1754
|
+
Args:
|
|
1755
|
+
key (str): Id of the storage entity to be removed.
|
|
1848
1756
|
"""
|
|
1849
1757
|
params = {
|
|
1850
1758
|
"key": key,
|
|
@@ -1853,87 +1761,82 @@ class Web(SecurableObject):
|
|
|
1853
1761
|
self.context.add_query(qry)
|
|
1854
1762
|
return self
|
|
1855
1763
|
|
|
1856
|
-
def register_push_notification_subscriber(
|
|
1857
|
-
|
|
1858
|
-
):
|
|
1859
|
-
"""
|
|
1860
|
-
Registers the push notification subscriber for the site. If the registration already exists,
|
|
1764
|
+
def register_push_notification_subscriber(self, device_app_instance_id: str, service_token: str):
|
|
1765
|
+
"""Registers the push notification subscriber for the site. If the registration already exists,
|
|
1861
1766
|
the service token is updated with the new value.
|
|
1862
|
-
|
|
1863
|
-
:
|
|
1767
|
+
|
|
1768
|
+
Args:
|
|
1769
|
+
device_app_instance_id (str): Device app instance identifier.
|
|
1770
|
+
service_token (str): Token provided by the notification service to the device to receive notifications.
|
|
1864
1771
|
"""
|
|
1865
1772
|
payload = {
|
|
1866
1773
|
"deviceAppInstanceId": device_app_instance_id,
|
|
1867
1774
|
"serviceToken": service_token,
|
|
1868
1775
|
}
|
|
1869
1776
|
return_type = PushNotificationSubscriber(self.context)
|
|
1870
|
-
qry = ServiceOperationQuery(
|
|
1871
|
-
self, "RegisterPushNotificationSubscriber", None, payload, None, return_type
|
|
1872
|
-
)
|
|
1777
|
+
qry = ServiceOperationQuery(self, "RegisterPushNotificationSubscriber", None, payload, None, return_type)
|
|
1873
1778
|
self.context.add_query(qry)
|
|
1874
1779
|
return return_type
|
|
1875
1780
|
|
|
1876
|
-
def unregister_push_notification_subscriber(self, device_app_instance_id):
|
|
1877
|
-
"""
|
|
1878
|
-
|
|
1879
|
-
:
|
|
1781
|
+
def unregister_push_notification_subscriber(self, device_app_instance_id: str) -> Self:
|
|
1782
|
+
"""Unregisters the push notification subscriber from the site
|
|
1783
|
+
|
|
1784
|
+
Args:
|
|
1785
|
+
device_app_instance_id (str): Device app instance identifier.
|
|
1880
1786
|
"""
|
|
1881
1787
|
payload = {
|
|
1882
1788
|
"deviceAppInstanceId": device_app_instance_id,
|
|
1883
1789
|
}
|
|
1884
|
-
qry = ServiceOperationQuery(
|
|
1885
|
-
self, "UnregisterPushNotificationSubscriber", None, payload
|
|
1886
|
-
)
|
|
1790
|
+
qry = ServiceOperationQuery(self, "UnregisterPushNotificationSubscriber", None, payload)
|
|
1887
1791
|
self.context.add_query(qry)
|
|
1888
1792
|
return self
|
|
1889
1793
|
|
|
1890
|
-
def remove_supported_ui_language(self, lcid):
|
|
1891
|
-
"""
|
|
1892
|
-
|
|
1893
|
-
:
|
|
1794
|
+
def remove_supported_ui_language(self, lcid: str) -> Self:
|
|
1795
|
+
"""Removes a supported UI language by its language identifier.
|
|
1796
|
+
|
|
1797
|
+
Args:
|
|
1798
|
+
lcid (str): Specifies the language identifier to be removed.
|
|
1894
1799
|
"""
|
|
1895
1800
|
params = {"lcid": lcid}
|
|
1896
1801
|
qry = ServiceOperationQuery(self, "RemoveSupportedUILanguage", params)
|
|
1897
1802
|
self.context.add_query(qry)
|
|
1898
1803
|
return self
|
|
1899
1804
|
|
|
1900
|
-
def set_access_request_site_description_and_update(self, description=None):
|
|
1901
|
-
"""
|
|
1902
|
-
|
|
1805
|
+
def set_access_request_site_description_and_update(self, description: Optional[str] = None) -> Self:
|
|
1806
|
+
"""Args:
|
|
1807
|
+
description (str):
|
|
1903
1808
|
"""
|
|
1904
1809
|
payload = {"description": description}
|
|
1905
|
-
qry = ServiceOperationQuery(
|
|
1906
|
-
self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload
|
|
1907
|
-
)
|
|
1810
|
+
qry = ServiceOperationQuery(self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload)
|
|
1908
1811
|
self.context.add_query(qry)
|
|
1909
1812
|
return self
|
|
1910
1813
|
|
|
1911
|
-
def set_global_nav_settings(self, title, source):
|
|
1912
|
-
"""
|
|
1913
|
-
|
|
1914
|
-
|
|
1814
|
+
def set_global_nav_settings(self, title: str, source: str) -> Self:
|
|
1815
|
+
"""Args:
|
|
1816
|
+
title (str):
|
|
1817
|
+
source (str):
|
|
1915
1818
|
"""
|
|
1916
1819
|
payload = {"title": title, "source": source}
|
|
1917
1820
|
qry = ServiceOperationQuery(self, "SetGlobalNavSettings", None, payload)
|
|
1918
1821
|
self.context.add_query(qry)
|
|
1919
1822
|
return self
|
|
1920
1823
|
|
|
1921
|
-
def sync_hub_site_theme(self):
|
|
1824
|
+
def sync_hub_site_theme(self) -> Self:
|
|
1922
1825
|
""""""
|
|
1923
1826
|
qry = ServiceOperationQuery(self, "SyncHubSiteTheme")
|
|
1924
1827
|
self.context.add_query(qry)
|
|
1925
1828
|
return self
|
|
1926
1829
|
|
|
1927
1830
|
def assign_document_id(self, site_prefix, enabled=True):
|
|
1928
|
-
"""
|
|
1929
|
-
Assign Document IDs
|
|
1831
|
+
"""Assign Document IDs
|
|
1930
1832
|
|
|
1931
|
-
:
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1833
|
+
Args:
|
|
1834
|
+
site_prefix (str): Specify whether IDs will be automatically assigned to all documents in the Site
|
|
1835
|
+
Collection. Additionally, you can specify a set of 4-12 characters that will be used at the
|
|
1836
|
+
beginning of all IDs assigned for documents in this Site Collection, to help ensure that items in
|
|
1837
|
+
different Site Collections will never get the same ID. Note: A timer job will be scheduled to assign
|
|
1838
|
+
IDs to documents already in the Site Collection.
|
|
1839
|
+
enabled (bool):
|
|
1937
1840
|
"""
|
|
1938
1841
|
|
|
1939
1842
|
props = {
|
|
@@ -1943,8 +1846,7 @@ class Web(SecurableObject):
|
|
|
1943
1846
|
return self.set_property("AllProperties", props).update()
|
|
1944
1847
|
|
|
1945
1848
|
@property
|
|
1946
|
-
def activities(self):
|
|
1947
|
-
# type: () -> EntityCollection[SPActivityEntity]
|
|
1849
|
+
def activities(self) -> EntityCollection[SPActivityEntity]:
|
|
1948
1850
|
return self.properties.get(
|
|
1949
1851
|
"Activities",
|
|
1950
1852
|
EntityCollection(
|
|
@@ -1954,33 +1856,29 @@ class Web(SecurableObject):
|
|
|
1954
1856
|
),
|
|
1955
1857
|
)
|
|
1956
1858
|
|
|
1859
|
+
@odata(name="ActivityLogger")
|
|
1957
1860
|
@property
|
|
1958
|
-
def activity_logger(self):
|
|
1861
|
+
def activity_logger(self) -> ActivityLogger:
|
|
1959
1862
|
""""""
|
|
1960
1863
|
return self.properties.get(
|
|
1961
1864
|
"ActivityLogger",
|
|
1962
|
-
ActivityLogger(
|
|
1963
|
-
self.context, ResourcePath("ActivityLogger", self.resource_path)
|
|
1964
|
-
),
|
|
1865
|
+
ActivityLogger(self.context, ResourcePath("ActivityLogger", self.resource_path)),
|
|
1965
1866
|
)
|
|
1966
1867
|
|
|
1967
1868
|
@property
|
|
1968
|
-
def allow_rss_feeds(self):
|
|
1969
|
-
# type: () -> Optional[bool]
|
|
1869
|
+
def allow_rss_feeds(self) -> Optional[bool]:
|
|
1970
1870
|
"""
|
|
1971
1871
|
Gets a Boolean value that specifies whether the site collection allows RSS feeds.
|
|
1972
1872
|
"""
|
|
1973
1873
|
return self.properties.get("AllowRssFeeds", None)
|
|
1974
1874
|
|
|
1975
1875
|
@property
|
|
1976
|
-
def alternate_css_url(self):
|
|
1977
|
-
# type: () -> Optional[str]
|
|
1876
|
+
def alternate_css_url(self) -> Optional[str]:
|
|
1978
1877
|
"""Gets the URL for an alternate cascading style sheet (CSS) to use in the website."""
|
|
1979
1878
|
return self.properties.get("AlternateCssUrl", None)
|
|
1980
1879
|
|
|
1981
1880
|
@property
|
|
1982
|
-
def app_instance_id(self):
|
|
1983
|
-
# type: () -> Optional[str]
|
|
1881
|
+
def app_instance_id(self) -> Optional[str]:
|
|
1984
1882
|
"""
|
|
1985
1883
|
Specifies the identifier of the app instance that this site (2) represents. If this site (2) does not
|
|
1986
1884
|
represent an app instance, then this MUST specify an empty GUID.
|
|
@@ -1988,41 +1886,34 @@ class Web(SecurableObject):
|
|
|
1988
1886
|
return self.properties.get("AppInstanceId", None)
|
|
1989
1887
|
|
|
1990
1888
|
@property
|
|
1991
|
-
def author(self):
|
|
1889
|
+
def author(self) -> User:
|
|
1992
1890
|
"""
|
|
1993
1891
|
Gets a user object that represents the user who created the Web site.
|
|
1994
1892
|
"""
|
|
1995
|
-
return self.properties.get(
|
|
1996
|
-
"Author", User(self.context, ResourcePath("Author", self.resource_path))
|
|
1997
|
-
)
|
|
1893
|
+
return self.properties.get("Author", User(self.context, ResourcePath("Author", self.resource_path)))
|
|
1998
1894
|
|
|
1999
1895
|
@property
|
|
2000
|
-
def created(self):
|
|
2001
|
-
# type: () -> datetime.datetime
|
|
1896
|
+
def created(self) -> datetime:
|
|
2002
1897
|
"""Specifies when the site was created"""
|
|
2003
|
-
return self.properties.get("Created", datetime.
|
|
1898
|
+
return self.properties.get("Created", datetime.min)
|
|
2004
1899
|
|
|
2005
1900
|
@property
|
|
2006
|
-
def custom_master_url(self):
|
|
2007
|
-
# type: () -> Optional[str]
|
|
1901
|
+
def custom_master_url(self) -> Optional[str]:
|
|
2008
1902
|
"""Gets the URL for a custom master page to apply to the Web site"""
|
|
2009
1903
|
return self.properties.get("CustomMasterUrl", None)
|
|
2010
1904
|
|
|
2011
1905
|
@property
|
|
2012
|
-
def custom_site_actions_disabled(self):
|
|
2013
|
-
# type: () -> Optional[bool]
|
|
1906
|
+
def custom_site_actions_disabled(self) -> Optional[bool]:
|
|
2014
1907
|
return self.properties.get("CustomSiteActionsDisabled", None)
|
|
2015
1908
|
|
|
1909
|
+
@odata(name="DescriptionTranslations")
|
|
2016
1910
|
@property
|
|
2017
1911
|
def description_translations(self):
|
|
2018
1912
|
""""""
|
|
2019
|
-
return self.properties.get(
|
|
2020
|
-
"DescriptionTranslations", ClientValueCollection(SPResourceEntry)
|
|
2021
|
-
)
|
|
1913
|
+
return self.properties.get("DescriptionTranslations", ClientValueCollection(SPResourceEntry))
|
|
2022
1914
|
|
|
2023
1915
|
@property
|
|
2024
|
-
def design_package_id(self):
|
|
2025
|
-
# type: () -> Optional[str]
|
|
1916
|
+
def design_package_id(self) -> Optional[str]:
|
|
2026
1917
|
"""Gets or sets the ID of the Design Package used in this SP.Web.
|
|
2027
1918
|
|
|
2028
1919
|
A value of Guid.Empty will mean that the default Design Package will be used for this SP.Web.
|
|
@@ -2030,37 +1921,34 @@ class Web(SecurableObject):
|
|
|
2030
1921
|
return self.properties.get("DesignPackageId", None)
|
|
2031
1922
|
|
|
2032
1923
|
@property
|
|
2033
|
-
def disable_app_views(self):
|
|
2034
|
-
# type: () -> Optional[bool]
|
|
1924
|
+
def disable_app_views(self) -> Optional[bool]:
|
|
2035
1925
|
""""""
|
|
2036
1926
|
return self.properties.get("DisableAppViews", None)
|
|
2037
1927
|
|
|
2038
1928
|
@property
|
|
2039
|
-
def disable_flows(self):
|
|
2040
|
-
# type: () -> Optional[bool]
|
|
1929
|
+
def disable_flows(self) -> Optional[bool]:
|
|
2041
1930
|
""""""
|
|
2042
1931
|
return self.properties.get("DisableFlows", None)
|
|
2043
1932
|
|
|
2044
1933
|
@property
|
|
2045
|
-
def id(self):
|
|
2046
|
-
# type: () -> Optional[str]
|
|
1934
|
+
def id(self) -> Optional[str]:
|
|
2047
1935
|
"""Specifies the site identifier for the site"""
|
|
2048
1936
|
return self.properties.get("Id", None)
|
|
2049
1937
|
|
|
2050
1938
|
@property
|
|
2051
|
-
def language(self):
|
|
2052
|
-
# type: () -> Optional[int]
|
|
1939
|
+
def language(self) -> Optional[int]:
|
|
2053
1940
|
"""Specifies the language code identifier (LCID) for the language that is used on the site"""
|
|
2054
1941
|
return self.properties.get("Language", None)
|
|
2055
1942
|
|
|
1943
|
+
@odata(name="LastItemModifiedDate")
|
|
2056
1944
|
@property
|
|
2057
|
-
def last_item_modified_date(self):
|
|
2058
|
-
# type: () -> Optional[int]
|
|
1945
|
+
def last_item_modified_date(self) -> Optional[datetime]:
|
|
2059
1946
|
"""Specifies when an item was last modified in the site"""
|
|
2060
|
-
return self.properties.get("LastItemModifiedDate", datetime.
|
|
1947
|
+
return self.properties.get("LastItemModifiedDate", datetime.min)
|
|
2061
1948
|
|
|
1949
|
+
@odata(name="AccessRequestsList")
|
|
2062
1950
|
@property
|
|
2063
|
-
def access_requests_list(self):
|
|
1951
|
+
def access_requests_list(self) -> List:
|
|
2064
1952
|
""""""
|
|
2065
1953
|
return self.properties.get(
|
|
2066
1954
|
"AccessRequestsList",
|
|
@@ -2068,43 +1956,39 @@ class Web(SecurableObject):
|
|
|
2068
1956
|
)
|
|
2069
1957
|
|
|
2070
1958
|
@property
|
|
2071
|
-
def access_request_list_url(self):
|
|
2072
|
-
# type: () -> Optional[str]
|
|
1959
|
+
def access_request_list_url(self) -> Optional[str]:
|
|
2073
1960
|
"""Gets the URL of the access request list to the current site"""
|
|
2074
1961
|
return self.properties.get("AccessRequestListUrl", None)
|
|
2075
1962
|
|
|
2076
1963
|
@property
|
|
2077
|
-
def allow_designer_for_current_user(self):
|
|
2078
|
-
# type: () -> Optional[bool]
|
|
1964
|
+
def allow_designer_for_current_user(self) -> Optional[bool]:
|
|
2079
1965
|
"""
|
|
2080
1966
|
Specifies whether the current user is allowed to use a designer application to customize this site
|
|
2081
1967
|
"""
|
|
2082
1968
|
return self.properties.get("AllowDesignerForCurrentUser", None)
|
|
2083
1969
|
|
|
2084
1970
|
@property
|
|
2085
|
-
def allow_master_page_editing_for_current_user(self):
|
|
2086
|
-
# type: () -> Optional[bool]
|
|
1971
|
+
def allow_master_page_editing_for_current_user(self) -> Optional[bool]:
|
|
2087
1972
|
"""
|
|
2088
1973
|
Specifies whether the current user is allowed to edit the master page.
|
|
2089
1974
|
"""
|
|
2090
1975
|
return self.properties.get("AllowMasterPageEditingForCurrentUser", None)
|
|
2091
1976
|
|
|
2092
1977
|
@property
|
|
2093
|
-
def allow_revert_from_template_for_current_user(self):
|
|
2094
|
-
# type: () -> Optional[bool]
|
|
1978
|
+
def allow_revert_from_template_for_current_user(self) -> Optional[bool]:
|
|
2095
1979
|
"""
|
|
2096
1980
|
Specifies whether the current user is allowed to revert the site (2) to a default site template.
|
|
2097
1981
|
"""
|
|
2098
1982
|
return self.properties.get("AllowRevertFromTemplateForCurrentUser", None)
|
|
2099
1983
|
|
|
1984
|
+
@odata(name="EffectiveBasePermissions")
|
|
2100
1985
|
@property
|
|
2101
|
-
def effective_base_permissions(self):
|
|
1986
|
+
def effective_base_permissions(self) -> BasePermissions:
|
|
2102
1987
|
"""Specifies the effective permissions that are assigned to the current user"""
|
|
2103
1988
|
return self.properties.get("EffectiveBasePermissions", BasePermissions())
|
|
2104
1989
|
|
|
2105
1990
|
@property
|
|
2106
|
-
def enable_minimal_download(self):
|
|
2107
|
-
# type: () -> Optional[bool]
|
|
1991
|
+
def enable_minimal_download(self) -> Optional[bool]:
|
|
2108
1992
|
"""
|
|
2109
1993
|
Specifies whether the site will use the minimal download strategy by default.
|
|
2110
1994
|
|
|
@@ -2116,9 +2000,8 @@ class Web(SecurableObject):
|
|
|
2116
2000
|
return self.properties.get("EnableMinimalDownload", None)
|
|
2117
2001
|
|
|
2118
2002
|
@property
|
|
2119
|
-
def webs(self):
|
|
2003
|
+
def webs(self) -> WebCollection:
|
|
2120
2004
|
"""Specifies the collection of all child sites for the site"""
|
|
2121
|
-
from office365.sharepoint.webs.collection import WebCollection
|
|
2122
2005
|
|
|
2123
2006
|
return self.properties.get(
|
|
2124
2007
|
"Webs",
|
|
@@ -2126,28 +2009,24 @@ class Web(SecurableObject):
|
|
|
2126
2009
|
)
|
|
2127
2010
|
|
|
2128
2011
|
@property
|
|
2129
|
-
def folders(self):
|
|
2012
|
+
def folders(self) -> FolderCollection:
|
|
2130
2013
|
"""Specifies the collection of all first-level folders in the site"""
|
|
2131
2014
|
return self.properties.get(
|
|
2132
2015
|
"Folders",
|
|
2133
|
-
FolderCollection(
|
|
2134
|
-
self.context, ResourcePath("folders", self.resource_path), self
|
|
2135
|
-
),
|
|
2016
|
+
FolderCollection(self.context, ResourcePath("folders", self.resource_path), self),
|
|
2136
2017
|
)
|
|
2137
2018
|
|
|
2019
|
+
@odata(name="HostedApps")
|
|
2138
2020
|
@property
|
|
2139
|
-
def hosted_apps(self):
|
|
2021
|
+
def hosted_apps(self) -> HostedAppsManager:
|
|
2140
2022
|
""""""
|
|
2141
2023
|
return self.properties.get(
|
|
2142
2024
|
"HostedApps",
|
|
2143
|
-
HostedAppsManager(
|
|
2144
|
-
self.context, ResourcePath("HostedApps", self.resource_path)
|
|
2145
|
-
),
|
|
2025
|
+
HostedAppsManager(self.context, ResourcePath("HostedApps", self.resource_path)),
|
|
2146
2026
|
)
|
|
2147
2027
|
|
|
2148
2028
|
@property
|
|
2149
|
-
def lists(self):
|
|
2150
|
-
# type: () -> ListCollection
|
|
2029
|
+
def lists(self) -> ListCollection:
|
|
2151
2030
|
"""Specifies the collection of lists that are contained in the site available to the current user based on the
|
|
2152
2031
|
current user's permissions."""
|
|
2153
2032
|
return self.properties.get(
|
|
@@ -2155,9 +2034,9 @@ class Web(SecurableObject):
|
|
|
2155
2034
|
ListCollection(self.context, ResourcePath("lists", self.resource_path)),
|
|
2156
2035
|
)
|
|
2157
2036
|
|
|
2037
|
+
@odata(name="OneDriveSharedItems")
|
|
2158
2038
|
@property
|
|
2159
|
-
def onedrive_shared_items(self):
|
|
2160
|
-
# type: () -> EntityCollection[SharedDocumentInfo]
|
|
2039
|
+
def onedrive_shared_items(self) -> EntityCollection[SharedDocumentInfo]:
|
|
2161
2040
|
""""""
|
|
2162
2041
|
return self.properties.get(
|
|
2163
2042
|
"OneDriveSharedItems",
|
|
@@ -2168,105 +2047,92 @@ class Web(SecurableObject):
|
|
|
2168
2047
|
),
|
|
2169
2048
|
)
|
|
2170
2049
|
|
|
2050
|
+
@odata(name="SiteUsers")
|
|
2171
2051
|
@property
|
|
2172
|
-
def site_users(self):
|
|
2173
|
-
# type: () -> UserCollection
|
|
2052
|
+
def site_users(self) -> UserCollection:
|
|
2174
2053
|
"""Specifies the collection of users in the site collection that contains the site"""
|
|
2175
2054
|
return self.properties.get(
|
|
2176
2055
|
"SiteUsers",
|
|
2177
2056
|
UserCollection(self.context, ResourcePath("siteUsers", self.resource_path)),
|
|
2178
2057
|
)
|
|
2179
2058
|
|
|
2059
|
+
@odata(name="SiteGroups")
|
|
2180
2060
|
@property
|
|
2181
|
-
def site_groups(self):
|
|
2182
|
-
# type: () -> GroupCollection
|
|
2061
|
+
def site_groups(self) -> GroupCollection:
|
|
2183
2062
|
"""Gets the collection of groups for the site collection."""
|
|
2184
2063
|
return self.properties.get(
|
|
2185
2064
|
"SiteGroups",
|
|
2186
|
-
GroupCollection(
|
|
2187
|
-
self.context, ResourcePath("siteGroups", self.resource_path)
|
|
2188
|
-
),
|
|
2065
|
+
GroupCollection(self.context, ResourcePath("siteGroups", self.resource_path)),
|
|
2189
2066
|
)
|
|
2190
2067
|
|
|
2068
|
+
@odata(name="CurrentUser")
|
|
2191
2069
|
@property
|
|
2192
|
-
def current_user(self):
|
|
2193
|
-
# type: () -> User
|
|
2070
|
+
def current_user(self) -> User:
|
|
2194
2071
|
"""Gets the current user."""
|
|
2195
2072
|
return self.properties.get(
|
|
2196
2073
|
"CurrentUser",
|
|
2197
2074
|
User(self.context, ResourcePath("CurrentUser", self.resource_path)),
|
|
2198
2075
|
)
|
|
2199
2076
|
|
|
2077
|
+
@odata(name="ParentWeb")
|
|
2200
2078
|
@property
|
|
2201
|
-
def parent_web(self):
|
|
2202
|
-
# type: () -> Web
|
|
2079
|
+
def parent_web(self) -> Web:
|
|
2203
2080
|
"""Gets the parent website of the specified website."""
|
|
2204
2081
|
return self.properties.get(
|
|
2205
2082
|
"ParentWeb",
|
|
2206
2083
|
Web(self.context, ResourcePath("ParentWeb", self.resource_path)),
|
|
2207
2084
|
)
|
|
2208
2085
|
|
|
2086
|
+
@odata(name="AssociatedVisitorGroup")
|
|
2209
2087
|
@property
|
|
2210
|
-
def associated_visitor_group(self):
|
|
2211
|
-
# type: () -> Group
|
|
2088
|
+
def associated_visitor_group(self) -> Group:
|
|
2212
2089
|
"""Gets or sets the associated visitor group of the Web site."""
|
|
2213
2090
|
return self.properties.get(
|
|
2214
2091
|
"AssociatedVisitorGroup",
|
|
2215
|
-
Group(
|
|
2216
|
-
self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)
|
|
2217
|
-
),
|
|
2092
|
+
Group(self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)),
|
|
2218
2093
|
)
|
|
2219
2094
|
|
|
2095
|
+
@odata(name="AssociatedOwnerGroup")
|
|
2220
2096
|
@property
|
|
2221
|
-
def associated_owner_group(self):
|
|
2222
|
-
# type: () -> Group
|
|
2097
|
+
def associated_owner_group(self) -> Group:
|
|
2223
2098
|
"""Gets or sets the associated owner group of the Web site."""
|
|
2224
2099
|
return self.properties.get(
|
|
2225
2100
|
"AssociatedOwnerGroup",
|
|
2226
|
-
Group(
|
|
2227
|
-
self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)
|
|
2228
|
-
),
|
|
2101
|
+
Group(self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)),
|
|
2229
2102
|
)
|
|
2230
2103
|
|
|
2104
|
+
@odata(name="AssociatedMemberGroup")
|
|
2231
2105
|
@property
|
|
2232
|
-
def associated_member_group(self):
|
|
2233
|
-
# type: () -> Group
|
|
2106
|
+
def associated_member_group(self) -> Group:
|
|
2234
2107
|
"""Gets or sets the group of users who have been given contribute permissions to the Web site."""
|
|
2235
2108
|
return self.properties.get(
|
|
2236
2109
|
"AssociatedMemberGroup",
|
|
2237
|
-
Group(
|
|
2238
|
-
self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)
|
|
2239
|
-
),
|
|
2110
|
+
Group(self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)),
|
|
2240
2111
|
)
|
|
2241
2112
|
|
|
2242
2113
|
@property
|
|
2243
|
-
def can_modernize_homepage(self):
|
|
2114
|
+
def can_modernize_homepage(self) -> ModernizeHomepageResult:
|
|
2244
2115
|
"""Specifies the site theme associated with the site"""
|
|
2245
2116
|
return self.properties.get(
|
|
2246
2117
|
"CanModernizeHomepage",
|
|
2247
|
-
ModernizeHomepageResult(
|
|
2248
|
-
self.context, ResourcePath("CanModernizeHomepage", self.resource_path)
|
|
2249
|
-
),
|
|
2118
|
+
ModernizeHomepageResult(self.context, ResourcePath("CanModernizeHomepage", self.resource_path)),
|
|
2250
2119
|
)
|
|
2251
2120
|
|
|
2252
2121
|
@property
|
|
2253
|
-
def fields(self):
|
|
2254
|
-
# type: () -> FieldCollection
|
|
2122
|
+
def fields(self) -> FieldCollection:
|
|
2255
2123
|
"""Specifies the collection of all the fields (2) in the site (2)."""
|
|
2256
2124
|
return self.properties.get(
|
|
2257
2125
|
"Fields",
|
|
2258
|
-
FieldCollection(self.context, ResourcePath("Fields", self.resource_path)),
|
|
2126
|
+
FieldCollection(self.context, ResourcePath("Fields", self.resource_path), self),
|
|
2259
2127
|
)
|
|
2260
2128
|
|
|
2129
|
+
@odata(name="ContentTypes")
|
|
2261
2130
|
@property
|
|
2262
|
-
def content_types(self):
|
|
2263
|
-
# type: () -> ContentTypeCollection
|
|
2131
|
+
def content_types(self) -> ContentTypeCollection:
|
|
2264
2132
|
"""Gets the collection of content types for the Web site."""
|
|
2265
2133
|
return self.properties.get(
|
|
2266
2134
|
"ContentTypes",
|
|
2267
|
-
ContentTypeCollection(
|
|
2268
|
-
self.context, ResourcePath("ContentTypes", self.resource_path), self
|
|
2269
|
-
),
|
|
2135
|
+
ContentTypeCollection(self.context, ResourcePath("ContentTypes", self.resource_path), self),
|
|
2270
2136
|
)
|
|
2271
2137
|
|
|
2272
2138
|
@property
|
|
@@ -2278,8 +2144,9 @@ class Web(SecurableObject):
|
|
|
2278
2144
|
"""
|
|
2279
2145
|
return self.properties.get("Configuration", None)
|
|
2280
2146
|
|
|
2147
|
+
@odata(name="DataLeakagePreventionStatusInfo")
|
|
2281
2148
|
@property
|
|
2282
|
-
def data_leakage_prevention_status_info(self):
|
|
2149
|
+
def data_leakage_prevention_status_info(self) -> SPDataLeakagePreventionStatusInfo:
|
|
2283
2150
|
return self.properties.get(
|
|
2284
2151
|
"DataLeakagePreventionStatusInfo",
|
|
2285
2152
|
SPDataLeakagePreventionStatusInfo(
|
|
@@ -2288,73 +2155,65 @@ class Web(SecurableObject):
|
|
|
2288
2155
|
),
|
|
2289
2156
|
)
|
|
2290
2157
|
|
|
2158
|
+
@odata(name="DescriptionResource")
|
|
2291
2159
|
@property
|
|
2292
|
-
def description_resource(self):
|
|
2160
|
+
def description_resource(self) -> UserResource:
|
|
2293
2161
|
"""A UserResource object that represents the description of this web."""
|
|
2294
2162
|
return self.properties.get(
|
|
2295
2163
|
"DescriptionResource",
|
|
2296
|
-
UserResource(
|
|
2297
|
-
self.context, ResourcePath("DescriptionResource", self.resource_path)
|
|
2298
|
-
),
|
|
2164
|
+
UserResource(self.context, ResourcePath("DescriptionResource", self.resource_path)),
|
|
2299
2165
|
)
|
|
2300
2166
|
|
|
2167
|
+
@odata(name="RoleDefinitions")
|
|
2301
2168
|
@property
|
|
2302
|
-
def role_definitions(self):
|
|
2303
|
-
# type: () -> RoleDefinitionCollection
|
|
2169
|
+
def role_definitions(self) -> RoleDefinitionCollection:
|
|
2304
2170
|
"""Gets the collection of role definitions for the Web site."""
|
|
2305
2171
|
return self.properties.get(
|
|
2306
2172
|
"RoleDefinitions",
|
|
2307
|
-
RoleDefinitionCollection(
|
|
2308
|
-
self.context, ResourcePath("RoleDefinitions", self.resource_path)
|
|
2309
|
-
),
|
|
2173
|
+
RoleDefinitionCollection(self.context, ResourcePath("RoleDefinitions", self.resource_path)),
|
|
2310
2174
|
)
|
|
2311
2175
|
|
|
2176
|
+
@odata(name="EventReceivers")
|
|
2312
2177
|
@property
|
|
2313
|
-
def event_receivers(self):
|
|
2314
|
-
# type: () -> EventReceiverDefinitionCollection
|
|
2178
|
+
def event_receivers(self) -> EventReceiverDefinitionCollection:
|
|
2315
2179
|
"""Specifies the collection of event receiver definitions that are currently available on the Web site"""
|
|
2316
2180
|
return self.properties.get(
|
|
2317
2181
|
"EventReceivers",
|
|
2318
|
-
EventReceiverDefinitionCollection(
|
|
2319
|
-
self.context, ResourcePath("EventReceivers", self.resource_path), self
|
|
2320
|
-
),
|
|
2182
|
+
EventReceiverDefinitionCollection(self.context, ResourcePath("EventReceivers", self.resource_path), self),
|
|
2321
2183
|
)
|
|
2322
2184
|
|
|
2185
|
+
@odata(name="ClientWebParts")
|
|
2323
2186
|
@property
|
|
2324
|
-
def client_web_parts(self):
|
|
2187
|
+
def client_web_parts(self) -> ClientWebPartCollection:
|
|
2325
2188
|
"""
|
|
2326
2189
|
Gets a collection of the ClientWebParts installed in this SP.Web. It can be used to get metadata of the
|
|
2327
2190
|
ClientWebParts or render them. It is a read-only collection as ClientWebParts need to be installed in
|
|
2328
2191
|
an app package."""
|
|
2329
2192
|
return self.properties.get(
|
|
2330
2193
|
"ClientWebParts",
|
|
2331
|
-
ClientWebPartCollection(
|
|
2332
|
-
self.context, ResourcePath("ClientWebParts", self.resource_path)
|
|
2333
|
-
),
|
|
2194
|
+
ClientWebPartCollection(self.context, ResourcePath("ClientWebParts", self.resource_path)),
|
|
2334
2195
|
)
|
|
2335
2196
|
|
|
2336
2197
|
@property
|
|
2337
|
-
def features(self):
|
|
2198
|
+
def features(self) -> FeatureCollection:
|
|
2338
2199
|
"""Get web features"""
|
|
2339
2200
|
return self.properties.get(
|
|
2340
2201
|
"Features",
|
|
2341
|
-
FeatureCollection(
|
|
2342
|
-
self.context, ResourcePath("Features", self.resource_path), self
|
|
2343
|
-
),
|
|
2202
|
+
FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
|
|
2344
2203
|
)
|
|
2345
2204
|
|
|
2205
|
+
@odata(name="TenantAppCatalog")
|
|
2346
2206
|
@property
|
|
2347
|
-
def tenant_app_catalog(self):
|
|
2207
|
+
def tenant_app_catalog(self) -> TenantCorporateCatalogAccessor:
|
|
2348
2208
|
"""Returns the tenant app catalog for the given tenant if it exists."""
|
|
2349
2209
|
return self.properties.get(
|
|
2350
2210
|
"TenantAppCatalog",
|
|
2351
|
-
TenantCorporateCatalogAccessor(
|
|
2352
|
-
self.context, ResourcePath("TenantAppCatalog", self.resource_path)
|
|
2353
|
-
),
|
|
2211
|
+
TenantCorporateCatalogAccessor(self.context, ResourcePath("TenantAppCatalog", self.resource_path)),
|
|
2354
2212
|
)
|
|
2355
2213
|
|
|
2214
|
+
@odata(name="SiteCollectionAppCatalog")
|
|
2356
2215
|
@property
|
|
2357
|
-
def site_collection_app_catalog(self):
|
|
2216
|
+
def site_collection_app_catalog(self) -> SiteCollectionCorporateCatalogAccessor:
|
|
2358
2217
|
"""Returns the site collection app catalog for the given web if it exists."""
|
|
2359
2218
|
return self.properties.get(
|
|
2360
2219
|
"SiteCollectionAppCatalog",
|
|
@@ -2364,18 +2223,18 @@ class Web(SecurableObject):
|
|
|
2364
2223
|
),
|
|
2365
2224
|
)
|
|
2366
2225
|
|
|
2226
|
+
@odata(name="WebInfos")
|
|
2367
2227
|
@property
|
|
2368
|
-
def web_infos(self):
|
|
2228
|
+
def web_infos(self) -> WebInformationCollection:
|
|
2369
2229
|
"""Specifies the collection of all child sites for the site"""
|
|
2370
2230
|
return self.properties.get(
|
|
2371
2231
|
"WebInfos",
|
|
2372
|
-
WebInformationCollection(
|
|
2373
|
-
self.context, ResourcePath("WebInfos", self.resource_path)
|
|
2374
|
-
),
|
|
2232
|
+
WebInformationCollection(self.context, ResourcePath("WebInfos", self.resource_path)),
|
|
2375
2233
|
)
|
|
2376
2234
|
|
|
2235
|
+
@odata(name="ThemeInfo")
|
|
2377
2236
|
@property
|
|
2378
|
-
def theme_info(self):
|
|
2237
|
+
def theme_info(self) -> ThemeInfo:
|
|
2379
2238
|
"""Specifies the site theme associated with the site"""
|
|
2380
2239
|
return self.properties.get(
|
|
2381
2240
|
"ThemeInfo",
|
|
@@ -2383,118 +2242,102 @@ class Web(SecurableObject):
|
|
|
2383
2242
|
)
|
|
2384
2243
|
|
|
2385
2244
|
@property
|
|
2386
|
-
def url(self):
|
|
2387
|
-
# type: () -> Optional[str]
|
|
2245
|
+
def url(self) -> Optional[str]:
|
|
2388
2246
|
"""Gets the absolute URL for the website."""
|
|
2389
2247
|
return self.properties.get("Url", None)
|
|
2390
2248
|
|
|
2391
2249
|
@property
|
|
2392
|
-
def quick_launch_enabled(self):
|
|
2393
|
-
# type: () -> Optional[bool]
|
|
2250
|
+
def quick_launch_enabled(self) -> Optional[bool]:
|
|
2394
2251
|
"""Gets a value that specifies whether the Quick Launch area is enabled on the site."""
|
|
2395
2252
|
return self.properties.get("QuickLaunchEnabled", None)
|
|
2396
2253
|
|
|
2397
2254
|
@property
|
|
2398
|
-
def mega_menu_enabled(self):
|
|
2399
|
-
# type: () -> Optional[bool]
|
|
2255
|
+
def mega_menu_enabled(self) -> Optional[bool]:
|
|
2400
2256
|
"""Gets a value that specifies whether the Mega menu is enabled on the site."""
|
|
2401
2257
|
return self.properties.get("MegaMenuEnabled", None)
|
|
2402
2258
|
|
|
2403
2259
|
@quick_launch_enabled.setter
|
|
2404
|
-
def quick_launch_enabled(self, value):
|
|
2405
|
-
# type: (bool) -> None
|
|
2260
|
+
def quick_launch_enabled(self, value: bool) -> None:
|
|
2406
2261
|
"""Sets a value that specifies whether the Quick Launch area is enabled on the site."""
|
|
2407
2262
|
self.set_property("QuickLaunchEnabled", value)
|
|
2408
2263
|
|
|
2409
2264
|
@property
|
|
2410
|
-
def site_logo_url(self):
|
|
2411
|
-
# type: () -> Optional[str]
|
|
2265
|
+
def site_logo_url(self) -> Optional[str]:
|
|
2412
2266
|
"""Gets a value that specifies Site logo url."""
|
|
2413
2267
|
return self.properties.get("SiteLogoUrl", None)
|
|
2414
2268
|
|
|
2269
|
+
@odata(name="ListTemplates")
|
|
2415
2270
|
@property
|
|
2416
|
-
def list_templates(self):
|
|
2271
|
+
def list_templates(self) -> ListTemplateCollection:
|
|
2417
2272
|
"""Gets a value that specifies the collection of list definitions and list templates available for creating
|
|
2418
2273
|
lists on the site."""
|
|
2419
2274
|
return self.properties.get(
|
|
2420
2275
|
"ListTemplates",
|
|
2421
|
-
ListTemplateCollection(
|
|
2422
|
-
self.context, ResourcePath("ListTemplates", self.resource_path)
|
|
2423
|
-
),
|
|
2276
|
+
ListTemplateCollection(self.context, ResourcePath("ListTemplates", self.resource_path)),
|
|
2424
2277
|
)
|
|
2425
2278
|
|
|
2426
2279
|
@property
|
|
2427
|
-
def is_multilingual(self):
|
|
2428
|
-
# type: () -> Optional[bool]
|
|
2280
|
+
def is_multilingual(self) -> Optional[bool]:
|
|
2429
2281
|
"""Gets whether Multilingual UI is turned on for this web or not."""
|
|
2430
2282
|
return self.properties.get("IsMultilingual", None)
|
|
2431
2283
|
|
|
2432
2284
|
@is_multilingual.setter
|
|
2433
|
-
def is_multilingual(self, val):
|
|
2434
|
-
# type: (bool) -> None
|
|
2285
|
+
def is_multilingual(self, val: bool) -> None:
|
|
2435
2286
|
"""
|
|
2436
2287
|
Sets whether Multilingual UI is turned on for this web or not.
|
|
2437
2288
|
"""
|
|
2438
2289
|
self.set_property("IsMultilingual", val)
|
|
2439
2290
|
|
|
2291
|
+
@odata(name="MultilingualSettings")
|
|
2440
2292
|
@property
|
|
2441
|
-
def multilingual_settings(self):
|
|
2293
|
+
def multilingual_settings(self) -> MultilingualSettings:
|
|
2442
2294
|
"""Gets a value that specifies the collection of list definitions and list templates available for creating
|
|
2443
2295
|
lists on the site."""
|
|
2444
2296
|
return self.properties.get(
|
|
2445
2297
|
"MultilingualSettings",
|
|
2446
|
-
MultilingualSettings(
|
|
2447
|
-
self.context, ResourcePath("MultilingualSettings", self.resource_path)
|
|
2448
|
-
),
|
|
2298
|
+
MultilingualSettings(self.context, ResourcePath("MultilingualSettings", self.resource_path)),
|
|
2449
2299
|
)
|
|
2450
2300
|
|
|
2451
2301
|
@property
|
|
2452
|
-
def web_template(self):
|
|
2453
|
-
# type: () -> Optional[str]
|
|
2302
|
+
def web_template(self) -> Optional[str]:
|
|
2454
2303
|
"""Gets the name of the site definition or site template that was used to create the site."""
|
|
2455
2304
|
return self.properties.get("WebTemplate", None)
|
|
2456
2305
|
|
|
2306
|
+
@odata(name="RegionalSettings")
|
|
2457
2307
|
@property
|
|
2458
|
-
def regional_settings(self):
|
|
2308
|
+
def regional_settings(self) -> RegionalSettings:
|
|
2459
2309
|
"""Gets the regional settings that are currently implemented on the website."""
|
|
2460
2310
|
return self.properties.get(
|
|
2461
2311
|
"RegionalSettings",
|
|
2462
|
-
RegionalSettings(
|
|
2463
|
-
self.context, ResourcePath("RegionalSettings", self.resource_path)
|
|
2464
|
-
),
|
|
2312
|
+
RegionalSettings(self.context, ResourcePath("RegionalSettings", self.resource_path)),
|
|
2465
2313
|
)
|
|
2466
2314
|
|
|
2315
|
+
@odata(name="RecycleBin")
|
|
2467
2316
|
@property
|
|
2468
|
-
def recycle_bin(self):
|
|
2317
|
+
def recycle_bin(self) -> RecycleBinItemCollection:
|
|
2469
2318
|
"""Specifies the collection of Recycle Bin items of the Recycle Bin of the site"""
|
|
2470
2319
|
return self.properties.get(
|
|
2471
2320
|
"RecycleBin",
|
|
2472
|
-
RecycleBinItemCollection(
|
|
2473
|
-
self.context, ResourcePath("RecycleBin", self.resource_path)
|
|
2474
|
-
),
|
|
2321
|
+
RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
|
|
2475
2322
|
)
|
|
2476
2323
|
|
|
2477
2324
|
@property
|
|
2478
|
-
def recycle_bin_enabled(self):
|
|
2479
|
-
# type: () -> Optional[bool]
|
|
2325
|
+
def recycle_bin_enabled(self) -> Optional[bool]:
|
|
2480
2326
|
"""Specifies whether the Recycle Bin is enabled."""
|
|
2481
2327
|
return self.properties.get("RecycleBinEnabled", None)
|
|
2482
2328
|
|
|
2483
2329
|
@property
|
|
2484
|
-
def related_hub_site_ids(self):
|
|
2485
|
-
# type: () -> Optional[str]
|
|
2330
|
+
def related_hub_site_ids(self) -> Optional[str]:
|
|
2486
2331
|
""" """
|
|
2487
2332
|
return self.properties.get("RelatedHubSiteIds", None)
|
|
2488
2333
|
|
|
2489
2334
|
@property
|
|
2490
|
-
def request_access_email(self):
|
|
2491
|
-
# type: () -> Optional[str]
|
|
2335
|
+
def request_access_email(self) -> Optional[str]:
|
|
2492
2336
|
"""Gets the e-mail address to which requests for access are sent."""
|
|
2493
2337
|
return self.properties.get("RequestAccessEmail", None)
|
|
2494
2338
|
|
|
2495
2339
|
@property
|
|
2496
|
-
def save_site_as_template_enabled(self):
|
|
2497
|
-
# type: () -> Optional[bool]
|
|
2340
|
+
def save_site_as_template_enabled(self) -> Optional[bool]:
|
|
2498
2341
|
"""Specifies if the site (2) can be saved as a site template.
|
|
2499
2342
|
|
|
2500
2343
|
A feature that creates content which is not compatible for a site template can set this value to false to
|
|
@@ -2508,27 +2351,26 @@ class Web(SecurableObject):
|
|
|
2508
2351
|
return self.properties.get("SaveSiteAsTemplateEnabled", None)
|
|
2509
2352
|
|
|
2510
2353
|
@property
|
|
2511
|
-
def search_box_in_navbar(self):
|
|
2512
|
-
# type: () -> Optional[int]
|
|
2354
|
+
def search_box_in_navbar(self) -> Optional[int]:
|
|
2513
2355
|
"""Gets the e-mail address to which requests for access are sent."""
|
|
2514
2356
|
return self.properties.get("SearchBoxInNavBar", None)
|
|
2515
2357
|
|
|
2516
2358
|
@property
|
|
2517
|
-
def search_box_placeholder_text(self):
|
|
2518
|
-
# type: () -> Optional[str]
|
|
2359
|
+
def search_box_placeholder_text(self) -> Optional[str]:
|
|
2519
2360
|
"""Gets the placeholder text in SharePoint online search box for a given (sub) site."""
|
|
2520
2361
|
return self.properties.get("SearchBoxPlaceholderText", None)
|
|
2521
2362
|
|
|
2522
2363
|
@property
|
|
2523
|
-
def navigation(self):
|
|
2364
|
+
def navigation(self) -> Navigation:
|
|
2524
2365
|
"""Specifies the navigation structure on the site (2), including the Quick Launch area and the link bar."""
|
|
2525
2366
|
return self.properties.get(
|
|
2526
2367
|
"Navigation",
|
|
2527
2368
|
Navigation(self.context, ResourcePath("Navigation", self.resource_path)),
|
|
2528
2369
|
)
|
|
2529
2370
|
|
|
2371
|
+
@odata(name="PushNotificationSubscribers")
|
|
2530
2372
|
@property
|
|
2531
|
-
def push_notification_subscribers(self):
|
|
2373
|
+
def push_notification_subscribers(self) -> PushNotificationSubscriberCollection:
|
|
2532
2374
|
"""Specifies the collection of push notification subscribers for the site"""
|
|
2533
2375
|
return self.properties.get(
|
|
2534
2376
|
"PushNotificationSubscribers",
|
|
@@ -2538,8 +2380,9 @@ class Web(SecurableObject):
|
|
|
2538
2380
|
),
|
|
2539
2381
|
)
|
|
2540
2382
|
|
|
2383
|
+
@odata(name="RootFolder")
|
|
2541
2384
|
@property
|
|
2542
|
-
def root_folder(self):
|
|
2385
|
+
def root_folder(self) -> Folder:
|
|
2543
2386
|
"""Get a root folder"""
|
|
2544
2387
|
return self.properties.get(
|
|
2545
2388
|
"RootFolder",
|
|
@@ -2547,44 +2390,40 @@ class Web(SecurableObject):
|
|
|
2547
2390
|
)
|
|
2548
2391
|
|
|
2549
2392
|
@property
|
|
2550
|
-
def alerts(self):
|
|
2551
|
-
# type: () -> AlertCollection
|
|
2393
|
+
def alerts(self) -> AlertCollection:
|
|
2552
2394
|
"""Gets the collection of alerts for the site or subsite."""
|
|
2553
2395
|
return self.properties.get(
|
|
2554
2396
|
"Alerts",
|
|
2555
2397
|
AlertCollection(self.context, ResourcePath("Alerts", self.resource_path)),
|
|
2556
2398
|
)
|
|
2557
2399
|
|
|
2400
|
+
@odata(name="AvailableFields")
|
|
2558
2401
|
@property
|
|
2559
|
-
def available_fields(self):
|
|
2560
|
-
# type: () -> FieldCollection
|
|
2402
|
+
def available_fields(self) -> FieldCollection:
|
|
2561
2403
|
"""
|
|
2562
2404
|
Specifies the collection of all fields available for the current scope, including those of the
|
|
2563
2405
|
current site, as well as any parent sites.
|
|
2564
2406
|
"""
|
|
2565
2407
|
return self.properties.get(
|
|
2566
2408
|
"AvailableFields",
|
|
2567
|
-
FieldCollection(
|
|
2568
|
-
self.context, ResourcePath("AvailableFields", self.resource_path)
|
|
2569
|
-
),
|
|
2409
|
+
FieldCollection(self.context, ResourcePath("AvailableFields", self.resource_path)),
|
|
2570
2410
|
)
|
|
2571
2411
|
|
|
2412
|
+
@odata(name="AvailableContentTypes")
|
|
2572
2413
|
@property
|
|
2573
|
-
def available_content_types(self):
|
|
2574
|
-
# type: () -> ContentTypeCollection
|
|
2414
|
+
def available_content_types(self) -> ContentTypeCollection:
|
|
2575
2415
|
"""
|
|
2576
2416
|
Specifies the collection of all site content types that apply to the current scope,
|
|
2577
2417
|
including those of the current site (2), as well as any parent sites.
|
|
2578
2418
|
"""
|
|
2579
2419
|
return self.properties.get(
|
|
2580
2420
|
"AvailableContentTypes",
|
|
2581
|
-
ContentTypeCollection(
|
|
2582
|
-
self.context, ResourcePath("AvailableContentTypes", self.resource_path)
|
|
2583
|
-
),
|
|
2421
|
+
ContentTypeCollection(self.context, ResourcePath("AvailableContentTypes", self.resource_path)),
|
|
2584
2422
|
)
|
|
2585
2423
|
|
|
2424
|
+
@odata(name="SiteUserInfoList")
|
|
2586
2425
|
@property
|
|
2587
|
-
def site_user_info_list(self):
|
|
2426
|
+
def site_user_info_list(self) -> List:
|
|
2588
2427
|
"""
|
|
2589
2428
|
Specifies the user information list for the site collection that contains the site
|
|
2590
2429
|
"""
|
|
@@ -2594,126 +2433,85 @@ class Web(SecurableObject):
|
|
|
2594
2433
|
)
|
|
2595
2434
|
|
|
2596
2435
|
@property
|
|
2597
|
-
def title(self):
|
|
2598
|
-
# type: () -> Optional[str]
|
|
2436
|
+
def title(self) -> Optional[str]:
|
|
2599
2437
|
"""Gets the title of the web."""
|
|
2600
2438
|
return self.properties.get("Title", None)
|
|
2601
2439
|
|
|
2602
2440
|
@property
|
|
2603
|
-
def welcome_page(self):
|
|
2604
|
-
# type: () -> Optional[str]
|
|
2441
|
+
def welcome_page(self) -> Optional[str]:
|
|
2605
2442
|
"""Specifies the URL of the Welcome page for the site"""
|
|
2606
2443
|
return self.properties.get("WelcomePage", None)
|
|
2607
2444
|
|
|
2445
|
+
@odata(name="SupportedUILanguageIds")
|
|
2608
2446
|
@property
|
|
2609
|
-
def supported_ui_language_ids(self):
|
|
2447
|
+
def supported_ui_language_ids(self) -> ClientValueCollection[int]:
|
|
2610
2448
|
"""Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site."""
|
|
2611
2449
|
return self.properties.get("SupportedUILanguageIds", ClientValueCollection(int))
|
|
2612
2450
|
|
|
2613
2451
|
@property
|
|
2614
|
-
def ui_version(self):
|
|
2615
|
-
# type: () -> Optional[int]
|
|
2452
|
+
def ui_version(self) -> Optional[int]:
|
|
2616
2453
|
"""Gets or sets the user interface (UI) version of the Web site."""
|
|
2617
2454
|
return self.properties.get("UIVersion", None)
|
|
2618
2455
|
|
|
2456
|
+
@odata(name="UserCustomActions")
|
|
2619
2457
|
@property
|
|
2620
|
-
def user_custom_actions(self):
|
|
2458
|
+
def user_custom_actions(self) -> UserCustomActionCollection:
|
|
2621
2459
|
"""Specifies the collection of user custom actions for the site"""
|
|
2622
2460
|
return self.properties.get(
|
|
2623
2461
|
"UserCustomActions",
|
|
2624
|
-
UserCustomActionCollection(
|
|
2625
|
-
self.context, ResourcePath("UserCustomActions", self.resource_path)
|
|
2626
|
-
),
|
|
2462
|
+
UserCustomActionCollection(self.context, ResourcePath("UserCustomActions", self.resource_path)),
|
|
2627
2463
|
)
|
|
2628
2464
|
|
|
2629
2465
|
@property
|
|
2630
|
-
def server_relative_path(self):
|
|
2466
|
+
def server_relative_path(self) -> SPResPath:
|
|
2631
2467
|
"""Gets the server-relative Path of the Web."""
|
|
2632
2468
|
return self.properties.get("ServerRelativePath", SPResPath())
|
|
2633
2469
|
|
|
2634
2470
|
@property
|
|
2635
|
-
def syndication_enabled(self):
|
|
2636
|
-
# type: () -> Optional[bool]
|
|
2471
|
+
def syndication_enabled(self) -> Optional[bool]:
|
|
2637
2472
|
"""Specifies whether the [RSS2.0] feeds are enabled on the site"""
|
|
2638
2473
|
return self.properties.get("SyndicationEnabled", None)
|
|
2639
2474
|
|
|
2475
|
+
@odata(name="TitleResource")
|
|
2640
2476
|
@property
|
|
2641
|
-
def title_resource(self):
|
|
2477
|
+
def title_resource(self) -> UserResource:
|
|
2642
2478
|
"""A UserResource object that represents the title of this web."""
|
|
2643
2479
|
return self.properties.get(
|
|
2644
2480
|
"TitleResource",
|
|
2645
|
-
UserResource(
|
|
2646
|
-
self.context, ResourcePath("TitleResource", self.resource_path)
|
|
2647
|
-
),
|
|
2481
|
+
UserResource(self.context, ResourcePath("TitleResource", self.resource_path)),
|
|
2648
2482
|
)
|
|
2649
2483
|
|
|
2484
|
+
@odata(name="AllProperties")
|
|
2650
2485
|
@property
|
|
2651
|
-
def
|
|
2652
|
-
|
|
2486
|
+
def all_properties(self) -> PropertyValues:
|
|
2487
|
+
"""A UserResource object that represents the title of this web."""
|
|
2488
|
+
return self.properties.get(
|
|
2489
|
+
"AllProperties",
|
|
2490
|
+
PropertyValues(self.context, ResourcePath("AllProperties", self.resource_path)),
|
|
2491
|
+
)
|
|
2492
|
+
|
|
2493
|
+
@property
|
|
2494
|
+
def treeview_enabled(self) -> Optional[bool]:
|
|
2653
2495
|
"""Specifies whether the tree view is enabled on the site"""
|
|
2654
2496
|
return self.properties.get("TreeViewEnabled", None)
|
|
2655
2497
|
|
|
2656
2498
|
@property
|
|
2657
|
-
def taxonomy_list(self):
|
|
2499
|
+
def taxonomy_list(self) -> List:
|
|
2658
2500
|
"""A special list that stores the mapping between taxonomy term IDs and their corresponding values"""
|
|
2659
2501
|
return self.lists.get_by_title("TaxonomyHiddenList")
|
|
2660
2502
|
|
|
2661
|
-
def get_property(self, name, default_value=None):
|
|
2662
|
-
if default_value is None:
|
|
2663
|
-
property_mapping = {
|
|
2664
|
-
"AccessRequestsList": self.access_requests_list,
|
|
2665
|
-
"ActivityLogger": self.activity_logger,
|
|
2666
|
-
"AvailableFields": self.available_fields,
|
|
2667
|
-
"AvailableContentTypes": self.available_content_types,
|
|
2668
|
-
"AssociatedOwnerGroup": self.associated_owner_group,
|
|
2669
|
-
"AssociatedMemberGroup": self.associated_member_group,
|
|
2670
|
-
"AssociatedVisitorGroup": self.associated_visitor_group,
|
|
2671
|
-
"ContentTypes": self.content_types,
|
|
2672
|
-
"ClientWebParts": self.client_web_parts,
|
|
2673
|
-
"CurrentUser": self.current_user,
|
|
2674
|
-
"DataLeakagePreventionStatusInfo": self.data_leakage_prevention_status_info,
|
|
2675
|
-
"DescriptionResource": self.description_resource,
|
|
2676
|
-
"DescriptionTranslations": self.description_translations,
|
|
2677
|
-
"EffectiveBasePermissions": self.effective_base_permissions,
|
|
2678
|
-
"EventReceivers": self.event_receivers,
|
|
2679
|
-
"HostedApps": self.hosted_apps,
|
|
2680
|
-
"LastItemModifiedDate": self.last_item_modified_date,
|
|
2681
|
-
"ListTemplates": self.list_templates,
|
|
2682
|
-
"MultilingualSettings": self.multilingual_settings,
|
|
2683
|
-
"OneDriveSharedItems": self.onedrive_shared_items,
|
|
2684
|
-
"ParentWeb": self.parent_web,
|
|
2685
|
-
"PushNotificationSubscribers": self.push_notification_subscribers,
|
|
2686
|
-
"RootFolder": self.root_folder,
|
|
2687
|
-
"RegionalSettings": self.regional_settings,
|
|
2688
|
-
"RoleDefinitions": self.role_definitions,
|
|
2689
|
-
"RecycleBin": self.recycle_bin,
|
|
2690
|
-
"SiteCollectionAppCatalog": self.site_collection_app_catalog,
|
|
2691
|
-
"SiteGroups": self.site_groups,
|
|
2692
|
-
"SiteUsers": self.site_users,
|
|
2693
|
-
"SiteUserInfoList": self.site_user_info_list,
|
|
2694
|
-
"SupportedUILanguageIds": self.supported_ui_language_ids,
|
|
2695
|
-
"TenantAppCatalog": self.tenant_app_catalog,
|
|
2696
|
-
"TitleResource": self.title_resource,
|
|
2697
|
-
"UserCustomActions": self.user_custom_actions,
|
|
2698
|
-
"WebInfos": self.web_infos,
|
|
2699
|
-
"ThemeInfo": self.theme_info,
|
|
2700
|
-
}
|
|
2701
|
-
default_value = property_mapping.get(name, None)
|
|
2702
|
-
return super(Web, self).get_property(name, default_value)
|
|
2703
|
-
|
|
2704
2503
|
def set_property(self, name, value, persist_changes=True):
|
|
2705
|
-
super(
|
|
2504
|
+
super().set_property(name, value, persist_changes)
|
|
2706
2505
|
if name == "Url":
|
|
2707
2506
|
self._web_url = value
|
|
2708
|
-
self._resource_path
|
|
2507
|
+
assert self._resource_path is not None
|
|
2508
|
+
self._resource_path.set_segment(value)
|
|
2709
2509
|
return self
|
|
2710
2510
|
|
|
2711
2511
|
@property
|
|
2712
|
-
def resource_url(self):
|
|
2512
|
+
def resource_url(self) -> str:
|
|
2713
2513
|
"""Returns Web url"""
|
|
2714
|
-
orig_resource_url = super(
|
|
2514
|
+
orig_resource_url = super().resource_url or ""
|
|
2715
2515
|
if self._web_url is not None:
|
|
2716
|
-
orig_resource_url = orig_resource_url.replace(
|
|
2717
|
-
self.context.service_root_url(), self._web_url + "/_api"
|
|
2718
|
-
)
|
|
2516
|
+
orig_resource_url = orig_resource_url.replace(self.context.service_root_url, self._web_url + "/_api")
|
|
2719
2517
|
return orig_resource_url
|