Office365-REST-Python-Client 3.0.0__py3-none-any.whl → 3.2.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/baseline_parameter.py +15 -0
- office365/admin/baseline_resource.py +17 -0
- office365/admin/drift_status.py +13 -0
- office365/admin/exchange/exchange_message_trace_status.py +18 -0
- office365/admin/snapshot_job_status.py +16 -0
- office365/backuprestore/artifact_query.py +16 -0
- office365/backuprestore/notification_events_type.py +13 -0
- office365/backuprestore/restorejobtype.py +1 -0
- office365/backuprestore/restorepoints/search_response.py +21 -0
- office365/backuprestore/restorepoints/search_result.py +14 -0
- office365/backuprestore/restoresessions/artifact_count.py +17 -0
- office365/backuprestore/restoresessions/browsable_resource_type.py +15 -0
- office365/backuprestore/restoresessions/browse_query_order.py +15 -0
- office365/backuprestore/restoresessions/browse_query_response_item.py +20 -0
- office365/backuprestore/restoresessions/browse_query_response_item_type.py +16 -0
- office365/backuprestore/restoresessions/browse_session_status.py +14 -0
- office365/backuprestore/restoresessions/browser_shared_cookie_history.py +24 -0
- office365/backuprestore/service_status.py +28 -1
- office365/backuprestore/time_period.py +16 -0
- office365/booking/assigned_place_mode.py +15 -0
- office365/booking/business/import_building_map_setting.py +14 -0
- office365/booking/chedulingpolicy.py +4 -2
- office365/booking/customers/information.py +4 -2
- office365/booking/drop_in_place_mode.py +10 -0
- office365/booking/mailbox_details.py +15 -0
- office365/booking/place_mode.py +10 -0
- office365/booking/place_service_plan_info.py +14 -0
- office365/booking/reservable_place_mode.py +10 -0
- office365/booking/unavailable_place_mode.py +14 -0
- office365/communications/adhoc_call.py +31 -0
- office365/communications/broadcastmeetingaudience.py +9 -1
- office365/communications/callrecords/audio_codec.py +33 -0
- office365/communications/callrecords/call_record.py +18 -0
- office365/communications/callrecords/media_stream_direction.py +12 -0
- office365/communications/callrecords/modality.py +0 -1
- office365/communications/callrecords/network_connection_type.py +16 -0
- office365/communications/callrecords/network_transport_protocol.py +14 -0
- office365/communications/callrecords/product_family.py +16 -0
- office365/communications/callrecords/pstn_call_duration_source.py +12 -0
- office365/communications/callrecords/service_role.py +32 -0
- office365/communications/callrecords/user_feedback_rating.py +17 -0
- office365/communications/callrecords/video_codec.py +22 -0
- office365/communications/calls/call.py +3 -0
- office365/communications/cloud_communications.py +3 -6
- office365/communications/onlinemeetings/attendee_notification_info.py +15 -0
- office365/communications/onlinemeetings/base.py +152 -1
- office365/communications/onlinemeetings/broadcast_settings.py +4 -0
- office365/communications/onlinemeetings/lobby_bypass_settings.py +16 -0
- office365/communications/onlinemeetings/online_meeting.py +48 -23
- office365/communications/onlinemeetings/online_meeting_info.py +22 -0
- office365/communications/onlinemeetings/online_meeting_type.py +16 -0
- office365/communications/onlinemeetings/participants.py +5 -3
- office365/communications/onlinemeetings/watermark_protection_values.py +15 -0
- office365/communications/presences/presence.py +18 -5
- office365/communications/presences/work_location_source.py +15 -0
- office365/communications/presences/work_location_type.py +15 -0
- office365/communications/quotas.py +66 -0
- office365/communications/virtualevents/communications_identity_set.py +23 -0
- office365/communications/virtualevents/virtual_event.py +3 -0
- office365/copilot/ai_agent_info.py +14 -0
- office365/copilot/ai_interaction_entity.py +16 -0
- office365/copilot/ai_interaction_plugin.py +10 -0
- office365/copilot/package_access_entity.py +14 -0
- office365/copilot/package_element.py +16 -0
- office365/copilot/package_element_detail.py +19 -0
- office365/copilot/retrieval_data_source.py +14 -0
- office365/copilot/retrieval_entity_type.py +17 -0
- office365/count_collection.py +1 -1
- office365/delta_collection.py +41 -2
- office365/directory/applications/all_allowed_scopes.py +10 -0
- office365/directory/applications/custom_security_attribute_exemption.py +18 -0
- office365/directory/applications/custom_security_attribute_string_value_exemption.py +14 -0
- office365/directory/applications/enumerated_scopes.py +15 -0
- office365/directory/applications/identifier_uri_restriction.py +22 -0
- office365/directory/applications/implicitgrantsettings.py +8 -1
- office365/directory/applications/inheritable_scopes.py +15 -0
- office365/directory/applications/key_credential_configuration.py +22 -0
- office365/directory/applications/no_scopes.py +10 -0
- office365/directory/applications/optional_claim.py +14 -1
- office365/directory/applications/password_credential_configuration.py +22 -0
- office365/directory/applications/preauthorized.py +11 -1
- office365/directory/applications/redirecturisettings.py +8 -1
- office365/directory/applications/resource_access.py +4 -0
- office365/directory/applications/template.py +63 -3
- office365/directory/attribute_rule_members.py +15 -0
- office365/directory/audit/directory.py +9 -0
- office365/directory/audit/log_root.py +15 -15
- office365/directory/audit/logs/recordtype.py +476 -1
- office365/directory/audit/logs/usertype.py +16 -1
- office365/directory/audit/provisioning/object_summary.py +67 -3
- office365/directory/audit/signins/authentication_app_device_details.py +17 -0
- office365/directory/audit/signins/governance_insight.py +17 -0
- office365/directory/audit/signins/membership_outlier_insight.py +55 -0
- office365/directory/audit/signins/signin.py +78 -8
- office365/directory/authentication/attributecollection/external_users_self_service_sign_up.py +20 -0
- office365/directory/authentication/attributecollection/handler.py +10 -0
- office365/directory/authentication/attributecollection/method_load_start_handler.py +10 -0
- office365/directory/authentication/attributecollection/start_custom_extension_handler.py +17 -0
- office365/directory/authentication/attributecollection/start_handler.py +10 -0
- office365/directory/authentication/attributecollection/submit_custom_extension_handler.py +17 -0
- office365/directory/authentication/attributecollection/submit_handler.py +10 -0
- office365/directory/authentication/authentication.py +13 -36
- office365/directory/authentication/error_correction_level.py +14 -0
- office365/directory/authentication/fraud_protection_configuration.py +10 -0
- office365/directory/authentication/fraud_protection_provider_configuration.py +12 -0
- office365/directory/authentication/generic_error.py +8 -1
- office365/directory/authentication/methods/configuration.py +17 -0
- office365/directory/authentication/methods/details.py +36 -0
- office365/directory/authentication/methods/mode_detail.py +17 -0
- office365/directory/authentication/methods/passkey_type.py +13 -0
- office365/directory/authentication/methods/root.py +8 -12
- office365/directory/authentication/methods/target.py +17 -0
- office365/directory/authentication/oidc_address_inbound_claims.py +18 -0
- office365/directory/authentication/oidc_client_authentication.py +10 -0
- office365/directory/authentication/oidc_client_secret_authentication.py +14 -0
- office365/directory/authentication/oidc_inbound_claim_mapping_override.py +23 -0
- office365/directory/authentication/oidc_private_jwt_key_client_authentication.py +10 -0
- office365/directory/authentication/signing_certificate_update_status.py +16 -0
- office365/directory/authentication/strength/root.py +39 -0
- office365/directory/authentication/strength/usage.py +4 -0
- office365/directory/certificates/authority.py +5 -0
- office365/directory/certificates/pkcs12_certificate.py +15 -0
- office365/directory/certificates/self_signed.py +4 -0
- office365/directory/certificates/x509/issuer_hints_configuration.py +2 -1
- office365/directory/connected_organization_members.py +15 -0
- office365/directory/connection_info.py +14 -0
- office365/directory/domains/domain.py +3 -0
- office365/directory/domains/state.py +13 -1
- office365/directory/domains/verified.py +14 -4
- office365/directory/extensions/custom/http_request_endpoint.py +16 -0
- office365/directory/groups/access_type.py +15 -0
- office365/directory/groups/group_members.py +15 -0
- office365/directory/groups/setting_template_value.py +17 -0
- office365/directory/identities/application_context.py +15 -0
- office365/directory/identities/application_enforced_restrictions_session_control.py +10 -0
- office365/directory/identities/auth_context.py +14 -0
- office365/directory/identities/authentication_flow.py +15 -0
- office365/directory/identities/conditional_access_root.py +35 -3
- office365/directory/identities/conditional_access_session_control.py +14 -0
- office365/directory/identities/ip_range.py +10 -0
- office365/directory/identities/on_fraud_protection_load_start_external_users_auth_handler.py +15 -0
- office365/directory/identities/on_interactive_auth_flow_start_external_users_self_service_sign_up.py +14 -0
- office365/directory/identities/on_interactive_auth_flow_start_handler.py +10 -0
- office365/directory/identities/on_otp_send_custom_extension_handler.py +17 -0
- office365/directory/identities/on_otp_send_handler.py +10 -0
- office365/directory/identities/on_password_submit_handler.py +10 -0
- office365/directory/identities/providers/on_authentication_method_load_start_external_users_self_service_sign_up.py +16 -0
- office365/directory/identities/providers/on_fraud_protection_load_start_handler.py +10 -0
- office365/directory/identities/providers/verified_id_profile_state.py +13 -0
- office365/directory/identities/providers/verified_id_usage_configuration_purpose.py +14 -0
- office365/directory/identities/riskPrevention/web_application_firewall_dns_configuration.py +21 -0
- office365/directory/identities/riskPrevention/web_application_firewall_verification_result.py +23 -0
- office365/directory/identities/riskPrevention/web_application_firewall_verified_details.py +8 -1
- office365/directory/identities/sign_in_context.py +10 -0
- office365/directory/identities/userflows/user_attribute_values_item.py +16 -0
- office365/directory/identities/userflows/user_flow_api_connector_configuration.py +16 -0
- office365/directory/identitygovernance/accessreview/custom_data_provided_resource_upload_session_request.py +12 -0
- office365/directory/identitygovernance/accessreview/custom_data_provided_resource_upload_stats.py +15 -0
- office365/directory/identitygovernance/accessreview/disable_and_delete_user_apply_action.py +10 -0
- office365/directory/identitygovernance/accessreview/error.py +10 -0
- office365/directory/identitygovernance/accessreview/history/definition.py +3 -3
- office365/directory/identitygovernance/accessreview/history_schedule_settings.py +16 -0
- office365/directory/identitygovernance/accessreview/inactive_users_query_scope.py +15 -0
- office365/directory/identitygovernance/accessreview/instance.py +2 -2
- office365/directory/identitygovernance/accessreview/instance_decision_item_access_package_assignment_policy_resource.py +15 -0
- office365/directory/identitygovernance/accessreview/instance_decision_item_access_package_resource.py +15 -0
- office365/directory/identitygovernance/accessreview/instance_decision_item_azure_role_resource.py +17 -0
- office365/directory/identitygovernance/accessreview/instance_decision_item_resource.py +16 -0
- office365/directory/identitygovernance/accessreview/instance_decision_item_service_principal_resource.py +16 -0
- office365/directory/identitygovernance/accessreview/notification_recipient_item.py +20 -0
- office365/directory/identitygovernance/accessreview/notification_recipient_query_scope.py +16 -0
- office365/directory/identitygovernance/accessreview/notification_recipients_type.py +16 -0
- office365/directory/identitygovernance/accessreview/notify_members.py +14 -0
- office365/directory/identitygovernance/accessreview/principal_resource_memberships_scope.py +20 -0
- office365/directory/identitygovernance/accessreview/principal_scope.py +12 -0
- office365/directory/identitygovernance/accessreview/query_scope.py +16 -0
- office365/directory/identitygovernance/accessreview/recommendation_insight_setting.py +10 -0
- office365/directory/identitygovernance/accessreview/remove_access_apply_action.py +10 -0
- office365/directory/identitygovernance/accessreview/resource_scope.py +15 -0
- office365/directory/identitygovernance/accessreview/reviewer_scope.py +17 -0
- office365/directory/identitygovernance/accessreview/schedule/settings.py +33 -1
- office365/directory/identitygovernance/accessreview/stage.py +1 -1
- office365/directory/identitygovernance/accessreview/stage_settings.py +33 -0
- office365/directory/identitygovernance/accessreview/target_owners.py +17 -0
- office365/directory/identitygovernance/activate_processing_result_scope.py +3 -0
- office365/directory/identitygovernance/activate_run_scope.py +2 -0
- office365/directory/identitygovernance/appconsent/request_scope.py +8 -1
- office365/directory/identitygovernance/attribute_set_entry.py +15 -0
- office365/directory/identitygovernance/awaited_workflow_processing_result.py +17 -0
- office365/directory/identitygovernance/cancel_runs_scope.py +16 -0
- office365/directory/identitygovernance/cancel_scope.py +10 -0
- office365/directory/identitygovernance/content_base.py +10 -0
- office365/directory/identitygovernance/content_category.py +24 -0
- office365/directory/identitygovernance/count_based_quarantine_condition.py +14 -0
- office365/directory/identitygovernance/custom_task_extension_callout_data.py +4 -0
- office365/directory/identitygovernance/custom_task_extension_response_data.py +21 -0
- office365/directory/identitygovernance/directory_object_workflow_subject.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer.py +16 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer_choice.py +22 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer_string.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/approval_stage.py +36 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/approver_information_visibility.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_approval_settings.py +23 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_policy_scope.py +17 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_callback_data.py +20 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_parameters.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_requirements.py +25 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_requestor_settings.py +25 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_review_settings.py +29 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentfilterbycurrentuseroptions.py +2 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentrequestfilterbycurrentuseroptions.py +4 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/automatic_request_settings.py +17 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/custom_data_provided_resource_upload_status.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/custom_extension_callout_instance.py +21 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/dynamic_approval_stage.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/expiration_pattern.py +20 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/localized_text.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/notification_settings.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/request_approval_stage_callback_configuration.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/requesttype.py +1 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute.py +26 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_destination.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_question.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_source.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/subject_lifecycle.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_filter_by_current_user_options.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_reason.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_related_people_based.py +17 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_related_people_insight_level.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_self_assignment_history_based.py +16 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/user_directory_attribute_store.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/assignment_request_approval_stage_callback_data.py +17 -0
- office365/directory/identitygovernance/entitlementmanagement/azure_active_directory_tenant.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/domain_identity_source.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/fallback_to_microsoft_provider_on_error.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/identity_source.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/schedule.py +21 -0
- office365/directory/identitygovernance/entitlementmanagement/social_identity_source.py +18 -0
- office365/directory/identitygovernance/guest_sponsor_trigger.py +14 -0
- office365/directory/identitygovernance/percentage_based_quarantine_condition.py +14 -0
- office365/directory/identitygovernance/preview_failed_task.py +17 -0
- office365/directory/identitygovernance/process_content_metadata_base.py +26 -0
- office365/directory/identitygovernance/provisioning_attribute_mapping.py +10 -0
- office365/directory/identitygovernance/provisioning_object_workflow_subject.py +19 -0
- office365/directory/identitygovernance/quarantine_condition.py +10 -0
- office365/directory/identitygovernance/quarantine_configuration.py +20 -0
- office365/directory/identitygovernance/quarantine_details.py +18 -0
- office365/directory/identitygovernance/resource_access_detail.py +23 -0
- office365/directory/identitygovernance/subject_summary.py +18 -0
- office365/directory/identitygovernance/termsofuse/agreement_file_data.py +14 -0
- office365/directory/identitygovernance/termsofuse/terms_expiration.py +16 -0
- office365/directory/identitygovernance/text_content.py +14 -0
- office365/directory/identitygovernance/workflow.py +23 -0
- office365/directory/identitygovernance/workflow_setting.py +15 -0
- office365/directory/identitygovernance/workflow_subject.py +10 -0
- office365/directory/insights/office_graph.py +7 -6
- office365/directory/invitations/invitation.py +45 -2
- office365/directory/licenses/service_plan_info.py +4 -0
- office365/directory/licenses/subscribed_sku.py +3 -0
- office365/directory/licenses/units_detail.py +4 -0
- office365/directory/objects/collection.py +34 -8
- office365/directory/objects/object.py +3 -0
- office365/directory/objects/service_provisioning_xml_error.py +14 -0
- office365/directory/permissions/comment_action.py +18 -0
- office365/directory/permissions/create_action.py +10 -0
- office365/directory/permissions/default_user_role.py +16 -1
- office365/directory/permissions/delete_action.py +15 -0
- office365/directory/permissions/email_identity.py +7 -9
- office365/directory/policies/all_devices_assignment_target.py +12 -0
- office365/directory/policies/all_domains.py +10 -0
- office365/directory/policies/all_licensed_users_assignment_target.py +10 -0
- office365/directory/policies/allowedtargetscope.py +1 -0
- office365/directory/policies/app_management_application_configuration.py +15 -0
- office365/directory/policies/app_management_configuration.py +22 -0
- office365/directory/policies/app_management_policy_actor_exemptions.py +18 -0
- office365/directory/policies/app_management_service_principal_configuration.py +10 -0
- office365/directory/policies/authentication_combination_configuration.py +18 -0
- office365/directory/policies/authentication_context_class_reference.py +26 -0
- office365/directory/policies/authentication_methods.py +59 -0
- office365/directory/policies/authentication_strength.py +65 -8
- office365/directory/policies/azure_ad_registration_policy.py +16 -0
- office365/directory/policies/ca_policies_deletable_root.py +33 -0
- office365/directory/policies/claims_mapping_policy.py +7 -0
- office365/directory/policies/cloud_app_security_session_control.py +15 -0
- office365/directory/policies/conditionalaccess/all_external_tenants.py +10 -0
- office365/directory/policies/conditionalaccess/applications.py +20 -0
- office365/directory/policies/conditionalaccess/authentication_flows.py +15 -0
- office365/directory/policies/conditionalaccess/client_applications.py +18 -0
- office365/directory/policies/conditionalaccess/condition_set.py +42 -0
- office365/directory/policies/conditionalaccess/device_and_app_management_assignment_target.py +10 -0
- office365/directory/policies/conditionalaccess/device_info.py +43 -0
- office365/directory/policies/conditionalaccess/devices.py +15 -0
- office365/directory/policies/conditionalaccess/enumerated_external_tenants.py +15 -0
- office365/directory/policies/conditionalaccess/external_tenants.py +17 -0
- office365/directory/policies/conditionalaccess/filter.py +16 -0
- office365/directory/policies/conditionalaccess/grant_controls.py +24 -0
- office365/directory/policies/conditionalaccess/grantcontrol.py +1 -0
- office365/directory/policies/conditionalaccess/guests_or_external_users.py +19 -0
- office365/directory/policies/conditionalaccess/locations.py +16 -0
- office365/directory/policies/conditionalaccess/persistent_browser_session_control.py +15 -0
- office365/directory/policies/conditionalaccess/platforms.py +21 -0
- office365/directory/policies/conditionalaccess/policy_deletable_item.py +17 -0
- office365/directory/policies/conditionalaccess/policy_detail.py +19 -0
- office365/directory/policies/conditionalaccess/secure_sign_in_session_control.py +10 -0
- office365/directory/policies/conditionalaccess/service_principal_sign_in.py +14 -0
- office365/directory/policies/conditionalaccess/session_controls.py +32 -0
- office365/directory/policies/conditionalaccess/sign_in_conditions.py +29 -0
- office365/directory/policies/conditionalaccess/sign_in_frequency_session_control.py +24 -0
- office365/directory/policies/conditionalaccess/sign_in_identity.py +10 -0
- office365/directory/policies/conditionalaccess/user_action_context.py +15 -0
- office365/directory/policies/conditionalaccess/user_sign_in.py +19 -0
- office365/directory/policies/conditionalaccess/users.py +29 -0
- office365/directory/policies/crosstenant/app_service_connect_setting.py +19 -0
- office365/directory/policies/crosstenant/b2_b_setting.py +22 -0
- office365/directory/policies/crosstenant/inbound_trust.py +16 -0
- office365/directory/policies/crosstenant/m365_collaboration_inbound_setting.py +17 -0
- office365/directory/policies/crosstenant/m365_collaboration_outbound_setting.py +19 -0
- office365/directory/policies/crosstenant/target.py +16 -0
- office365/directory/policies/crosstenant/target_configuration.py +24 -0
- office365/directory/policies/crosstenant/tenant_restrictions.py +15 -0
- office365/directory/policies/crosstenant/user_sync_inbound.py +14 -0
- office365/directory/policies/custom_app_management_application_configuration.py +15 -0
- office365/directory/policies/custom_app_management_configuration.py +19 -0
- office365/directory/policies/default_invitation_redemption_identity_provider_configuration.py +10 -0
- office365/directory/policies/devices_filter.py +20 -0
- office365/directory/policies/enumerated_domains.py +15 -0
- office365/directory/policies/face_check_configuration.py +15 -0
- office365/directory/policies/group_scope.py +10 -0
- office365/directory/policies/identifier_uri_configuration.py +16 -0
- office365/directory/policies/inbound_outbound_policy_configuration.py +15 -0
- office365/directory/policies/invitation_redemption_identity_provider_configuration.py +19 -0
- office365/directory/policies/match_confidence_level.py +13 -0
- office365/directory/policies/protected_application_metadata.py +15 -0
- office365/directory/policies/protection_policy_artifact_count.py +17 -0
- office365/directory/policies/restrict_access_action.py +10 -0
- office365/directory/policies/restrict_access_action_base.py +15 -0
- office365/directory/policies/retention_setting.py +16 -0
- office365/directory/policies/root.py +14 -1
- office365/directory/policies/scope_base.py +14 -0
- office365/directory/policies/security_defaults.py +16 -0
- office365/directory/policies/self_service_sign_up_authentication_flow_configuration.py +14 -0
- office365/directory/policies/tenant_scope.py +10 -0
- office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_filter_by_current_user_options.py +12 -0
- office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_instance_filter_by_current_user_options.py +12 -0
- office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_request_filter_by_current_user_options.py +14 -0
- office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_filter_by_current_user_options.py +12 -0
- office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_instance_filter_by_current_user_options.py +12 -0
- office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_request_filter_by_current_user_options.py +14 -0
- office365/directory/policies/user_scope.py +10 -0
- office365/directory/policies/validating_domains.py +15 -0
- office365/directory/policies/verified_id_profile_configuration.py +15 -0
- office365/directory/policies/verified_id_usage_configuration.py +14 -0
- office365/directory/protection/riskyusers/activity.py +7 -1
- office365/directory/protection/riskyusers/risk_service_principal_activity.py +17 -0
- office365/directory/quotas.py +34 -0
- office365/directory/recovery/recovery_action.py +14 -0
- office365/directory/recovery/recovery_status.py +18 -0
- office365/directory/recovery/resource_type_name.py +23 -0
- office365/directory/requestor_manager.py +14 -0
- office365/directory/rolemanagement/unifiedrole/notification_recipients.py +20 -0
- office365/directory/rolemanagement/unifiedrole/permission.py +4 -0
- office365/directory/security/account.py +0 -1
- office365/directory/security/action.py +17 -0
- office365/directory/security/ai_agent_platform.py +15 -0
- office365/directory/security/alerts/alert.py +17 -0
- office365/directory/security/{blob_container_evidence.py → alerts/blob_container_evidence.py} +1 -1
- office365/directory/security/{blob_evidence.py → alerts/blob_evidence.py} +1 -1
- office365/directory/security/alerts/connection_direction.py +14 -0
- office365/directory/security/{sas_token_evidence.py → alerts/sas_token_evidence.py} +1 -1
- office365/directory/security/alerts/status.py +1 -2
- office365/directory/security/analyzed_message_evidence.py +3 -0
- office365/directory/security/antispam_directionality.py +15 -0
- office365/directory/security/attacksimulations/account_target_content_type.py +14 -0
- office365/directory/security/audit/audit_data.py +15 -0
- office365/directory/security/audit/audit_log_query_status.py +16 -0
- office365/directory/security/audit/multi_tenant_organization_join_request_transition_details.py +20 -0
- office365/directory/security/audit/multi_tenant_organization_member_transition_details.py +22 -0
- office365/directory/security/audit/whois_domain_status.py +16 -0
- office365/directory/security/{whois_record.py → audit/whois_record.py} +1 -1
- office365/directory/security/cases/additionaldataoptions.py +1 -0
- office365/directory/security/cases/ediscovery.py +3 -0
- office365/directory/security/cloud_application_evidence.py +3 -1
- office365/directory/security/cloud_logon_session_evidence.py +2 -0
- office365/directory/security/{analyzed_email_attachment.py → collaboration/analyzed_email_attachment.py} +3 -1
- office365/directory/security/{collaboration_root.py → collaboration/collaboration_root.py} +1 -1
- office365/directory/security/container_evidence.py +4 -0
- office365/directory/security/container_image_evidence.py +4 -1
- office365/directory/security/correlation_reason.py +28 -0
- office365/directory/security/datasecurity/classifcation_error_base.py +18 -0
- office365/directory/security/{audit_data.py → datasecurity/classification_error.py} +2 -2
- office365/directory/security/datasecurity/classification_inner_error.py +18 -0
- office365/directory/security/datasecurity/compute_rights_and_inheritance_result.py +17 -0
- office365/directory/security/datasecurity/custom_metadata_dictionary.py +10 -0
- office365/directory/security/datasecurity/dlp_action_info.py +15 -0
- office365/directory/security/{data_security → datasecurity}/governance.py +1 -1
- office365/directory/security/datasecurity/integrated_application_metadata.py +15 -0
- office365/directory/security/datasecurity/policy_binding.py +17 -0
- office365/directory/security/datasecurity/policy_location.py +14 -0
- office365/directory/security/datasecurity/policy_location_application.py +10 -0
- office365/directory/security/datasecurity/policy_location_domain.py +10 -0
- office365/directory/security/datasecurity/policy_location_url.py +10 -0
- office365/directory/security/datasecurity/policy_scope_base.py +26 -0
- office365/directory/security/datasecurity/policy_tenant_scope.py +15 -0
- office365/directory/security/datasecurity/policy_tip_action.py +16 -0
- office365/directory/security/datasecurity/policy_user_scope.py +10 -0
- office365/directory/security/datasecurity/process_content_batch_request.py +17 -0
- office365/directory/security/datasecurity/process_content_request.py +24 -0
- office365/directory/security/datasecurity/process_content_response.py +24 -0
- office365/directory/security/datasecurity/process_content_responses.py +16 -0
- office365/directory/security/datasecurity/process_conversation_metadata.py +27 -0
- office365/directory/security/datasecurity/process_file_metadata.py +16 -0
- office365/directory/security/datasecurity/protected_content.py +16 -0
- office365/directory/security/delivery_action.py +16 -0
- office365/directory/security/delivery_location.py +20 -0
- office365/directory/security/detonation_details.py +11 -0
- office365/directory/security/device_evidence.py +11 -0
- office365/directory/security/dns_evidence.py +6 -1
- office365/directory/security/event_source.py +14 -0
- office365/directory/security/file_plan_applied_category.py +4 -1
- office365/directory/security/formatted_content.py +16 -0
- office365/directory/security/indicator_source.py +14 -0
- office365/directory/security/intelligence_profile_kind.py +13 -0
- office365/directory/security/investigation_state.py +29 -0
- office365/directory/security/invoke_action_result.py +0 -1
- office365/directory/security/io_t_device_evidence.py +6 -1
- office365/directory/security/ip_evidence.py +2 -0
- office365/directory/security/kubernetes_controller_evidence.py +2 -0
- office365/directory/security/kubernetes_pod_evidence.py +10 -0
- office365/directory/security/labels/retention/duration_in_days.py +3 -0
- office365/directory/security/mailbox_configuration_type.py +16 -0
- office365/directory/security/mailbox_evidence.py +3 -1
- office365/directory/security/onboarding_status.py +15 -0
- office365/directory/security/passive_dns_record.py +1 -1
- office365/directory/security/processing_error.py +15 -0
- office365/directory/security/protocol_type.py +13 -0
- office365/directory/security/public_error_response.py +4 -1
- office365/directory/security/query_type.py +13 -0
- office365/directory/security/recipient_type.py +13 -0
- office365/directory/security/remediation_action.py +17 -0
- office365/directory/security/remediation_severity.py +14 -0
- office365/directory/security/security.py +1 -1
- office365/directory/security/sensor_candidate_activation_mode.py +13 -0
- office365/directory/security/service_principal_type.py +15 -0
- office365/directory/security/service_source.py +25 -0
- office365/directory/security/ssl_certificate.py +1 -1
- office365/directory/security/subdomain.py +1 -1
- office365/directory/security/subjectrightsrequests/all_mailbox_location.py +10 -0
- office365/directory/security/subjectrightsrequests/all_site_location.py +10 -0
- office365/directory/security/subjectrightsrequests/data_subject.py +17 -0
- office365/directory/security/subjectrightsrequests/detail.py +26 -0
- office365/directory/security/subjectrightsrequests/enumerated_mailbox_location.py +15 -0
- office365/directory/security/subjectrightsrequests/enumerated_site_location.py +15 -0
- office365/directory/security/subjectrightsrequests/history.py +22 -0
- office365/directory/security/subjectrightsrequests/mailbox_location.py +10 -0
- office365/directory/security/subjectrightsrequests/site_location.py +10 -0
- office365/directory/security/subjectrightsrequests/stage_detail.py +19 -0
- office365/directory/security/teams_delivery_location.py +15 -0
- office365/directory/security/teams_message_delivery_action.py +16 -0
- office365/directory/security/threat_type.py +16 -0
- office365/directory/security/{host.py → threatintelligence/host.py} +8 -8
- office365/directory/security/{host_component.py → threatintelligence/host_component.py} +1 -1
- office365/directory/security/{host_cookie.py → threatintelligence/host_cookie.py} +1 -1
- office365/directory/security/{host_pair.py → threatintelligence/host_pair.py} +1 -1
- office365/directory/security/{host_port.py → threatintelligence/host_port.py} +1 -1
- office365/directory/security/threatintelligence/host_port_banner.py +19 -0
- office365/directory/security/threatintelligence/host_port_component.py +19 -0
- office365/directory/security/threatintelligence/host_port_protocol.py +13 -0
- office365/directory/security/threatintelligence/host_port_status.py +14 -0
- office365/directory/security/threatintelligence/host_reputation_classification.py +15 -0
- office365/directory/security/threatintelligence/host_reputation_rule.py +16 -0
- office365/directory/security/threatintelligence/host_reputation_rule_severity.py +15 -0
- office365/directory/security/{host_ssl_certificate.py → threatintelligence/host_ssl_certificate.py} +1 -1
- office365/directory/security/{host_tracker.py → threatintelligence/host_tracker.py} +1 -1
- office365/directory/security/threatintelligence/hosts/__init__.py +0 -0
- office365/directory/security/threatintelligence/threat_intelligence.py +9 -9
- office365/directory/security/threatintelligence/whoisrecords/__init__.py +0 -0
- office365/directory/security/timeline_event_type.py +20 -0
- office365/directory/security/user_evidence.py +2 -0
- office365/directory/security/verdict_category.py +20 -0
- office365/directory/security/vm_cloud_provider.py +13 -0
- office365/directory/security/vulnerability_severity.py +16 -0
- office365/directory/security/whois_base_record.py +1 -1
- office365/directory/serviceprincipals/delegated_permission_classification.py +27 -0
- office365/directory/serviceprincipals/remote_desktop_security_configuration.py +16 -0
- office365/directory/single_service_principal.py +15 -0
- office365/directory/single_user.py +15 -0
- office365/directory/synchronization/attribute_mapping.py +23 -0
- office365/directory/synchronization/error.py +10 -1
- office365/directory/synchronization/job_application_parameters.py +19 -0
- office365/directory/synchronization/job_restart_criteria.py +7 -1
- office365/directory/synchronization/job_subject.py +17 -0
- office365/directory/synchronization/linked_objects.py +22 -0
- office365/directory/synchronization/metadata_entry.py +16 -0
- office365/directory/synchronization/on_premises_accidental_deletion_prevention.py +20 -0
- office365/directory/synchronization/on_premises_directory_synchronization_configuration.py +19 -0
- office365/directory/synchronization/on_premises_directory_synchronization_feature.py +33 -0
- office365/directory/synchronization/progress.py +4 -0
- office365/directory/synchronization/quarantine.py +11 -0
- office365/directory/synchronization/rule.py +32 -0
- office365/directory/synchronization/schedule.py +18 -0
- office365/directory/synchronization/secret_key_string_value_pair.py +16 -0
- office365/directory/synchronization/status.py +17 -3
- office365/directory/synchronization/task_execution.py +26 -1
- office365/directory/target_agent_identity_sponsors_or_owners.py +10 -0
- office365/directory/target_application_owners.py +10 -0
- office365/directory/target_manager.py +14 -0
- office365/directory/target_user_sponsors.py +10 -0
- office365/directory/tenantinformation/information.py +4 -0
- office365/directory/users/activities/activity.py +42 -8
- office365/directory/users/settings.py +5 -13
- office365/directory/users/user.py +4 -3
- office365/directory/users/work_location_update_scope.py +13 -0
- office365/education/related_contact.py +19 -0
- office365/entity_collection.py +2 -22
- office365/externalconnectors/acl_type.py +16 -0
- office365/externalconnectors/binary_operator.py +12 -0
- office365/externalconnectors/connection_operation_status.py +15 -0
- office365/externalconnectors/connection_state.py +15 -0
- office365/externalconnectors/external_activity_type.py +15 -0
- office365/externalconnectors/external_item_content_type.py +13 -0
- office365/externalconnectors/identity_type.py +14 -0
- office365/externalconnectors/label.py +65 -0
- office365/externalconnectors/property_type.py +22 -0
- office365/externalconnectors/rule_operation.py +19 -0
- office365/graph_client.py +164 -16
- office365/graph_request.py +3 -1
- office365/intune/browser/browser_site_history.py +25 -0
- office365/intune/devices/alternative_security_id.py +5 -0
- office365/intune/devices/cloud_pc_launch_detail.py +22 -0
- office365/intune/devices/cloud_pc_windows_setting.py +14 -0
- office365/intune/devices/device_metadata.py +17 -0
- office365/intune/devices/enumerated_device_registration_membership.py +16 -0
- office365/intune/devices/imported_windows_autopilot_device_identity_import_status.py +15 -0
- office365/intune/devices/imported_windows_autopilot_device_identity_upload_status.py +14 -0
- office365/intune/devices/management/all_device_registration_membership.py +10 -0
- office365/intune/devices/management/device_protection_overview.py +24 -0
- office365/intune/devices/management/managed/managed.py +79 -0
- office365/intune/devices/management/managed/windows/autopilot_device_type.py +13 -0
- office365/intune/devices/management/managed/windows/defender_product_status.py +36 -0
- office365/intune/devices/management/managed/windows/information_protection_enforcement_level.py +14 -0
- office365/intune/devices/management/mobileapps/file_encryption_info.py +20 -0
- office365/intune/devices/management/mobileapps/ios/ios_device_type.py +15 -0
- office365/intune/devices/management/user_experience_analytics_settings.py +14 -0
- office365/intune/devices/management/user_experience_analytics_summarized_by.py +17 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/exclusion_group_assignment_target.py +10 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/group_assignment_target.py +16 -0
- office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoft_managed_desktop.py +18 -0
- office365/intune/devices/management/windows_malware_overview.py +16 -0
- office365/intune/devices/no_device_registration_membership.py +10 -0
- office365/intune/devices/operating_system_specifications.py +15 -0
- office365/intune/enrollment_state.py +15 -0
- office365/intune/instance_resource_access.py +19 -0
- office365/intune/organizations/content_customization.py +15 -0
- office365/intune/organizations/login_page_layout_configuration.py +17 -0
- office365/intune/organizations/login_page_text_visibility_settings.py +19 -0
- office365/intune/organizations/physical_office_address.py +19 -0
- office365/intune/organizations/privacy_profile.py +15 -0
- office365/intune/policies/azure_ad_join_policy.py +18 -0
- office365/intune/policies/local_admin_password_settings.py +14 -0
- office365/intune/policies/local_admin_settings.py +16 -0
- office365/intune/print/printers/incompatible_printer_settings.py +13 -0
- office365/intune/print/user_print.py +0 -2
- office365/intune/process_integrity_level.py +17 -0
- office365/intune/resource_permission.py +15 -0
- office365/limits.py +66 -0
- office365/migration/__init__.py +127 -7
- office365/migration/adapters/__init__.py +104 -0
- office365/migration/adapters/filesystem.py +177 -0
- office365/migration/assessment/__init__.py +27 -0
- office365/migration/assessment/containers.py +24 -0
- office365/migration/assessment/export.py +51 -0
- office365/migration/assessment/issue.py +19 -0
- office365/migration/assessment/registry.py +60 -0
- office365/migration/assessment/report.py +153 -31
- office365/migration/assessment/runner.py +57 -0
- office365/migration/assessment/scanners/__init__.py +13 -0
- office365/migration/assessment/scanners/base.py +123 -0
- office365/migration/base.py +85 -11
- office365/migration/checkpoint.py +76 -0
- office365/migration/job.py +209 -0
- office365/migration/manifest.py +71 -0
- office365/migration/outlook/__init__.py +20 -0
- office365/migration/outlook/assessor.py +73 -0
- office365/migration/outlook/registry.py +27 -0
- office365/migration/outlook/scanner.py +82 -0
- office365/migration/package/__init__.py +82 -0
- office365/migration/package/builder.py +603 -0
- office365/migration/package/crypto.py +54 -0
- office365/migration/package/manifest_xml.py +495 -0
- office365/migration/package/staging.py +180 -0
- office365/migration/report.py +116 -0
- office365/migration/report_io.py +79 -0
- office365/migration/runner.py +315 -0
- office365/migration/server_job.py +202 -0
- office365/migration/session.py +188 -0
- office365/migration/settings.py +67 -0
- office365/migration/sharepoint/__init__.py +55 -0
- office365/migration/sharepoint/adapters.py +520 -0
- office365/migration/sharepoint/assessor.py +348 -0
- office365/migration/sharepoint/options.py +57 -0
- office365/migration/sharepoint/package_target.py +209 -0
- office365/migration/sharepoint/registry.py +70 -0
- office365/migration/sharepoint/resolvers.py +96 -0
- office365/migration/sharepoint/scanners/__init__.py +56 -0
- office365/migration/sharepoint/scanners/browser_file_handling.py +55 -0
- office365/migration/sharepoint/scanners/checked_out_files.py +57 -0
- office365/migration/sharepoint/scanners/fields.py +52 -0
- office365/migration/sharepoint/scanners/file_versions.py +56 -0
- office365/migration/sharepoint/scanners/files.py +28 -0
- office365/migration/sharepoint/scanners/large_excel_files.py +56 -0
- office365/migration/sharepoint/scanners/large_lists.py +58 -0
- office365/migration/sharepoint/scanners/large_sites.py +125 -0
- office365/migration/sharepoint/scanners/locked_sites.py +38 -0
- office365/migration/sharepoint/scanners/long_onedrive_urls.py +52 -0
- office365/migration/sharepoint/scanners/lookup.py +38 -0
- office365/migration/sharepoint/scanners/paths.py +50 -0
- office365/migration/sharepoint/scanners/permissions.py +42 -0
- office365/migration/sharepoint/scanners/smat.py +51 -0
- office365/migration/sharepoint/scanners/summary.py +38 -0
- office365/migration/sharepoint/scanners/thicket_folders.py +38 -0
- office365/migration/sharepoint/scanners/unsupported_site_templates.py +90 -0
- office365/migration/sharepoint/tenant_assessor.py +95 -0
- office365/migration/sharepoint/transfer.py +94 -0
- office365/migration/tasks.py +121 -0
- office365/migration/teams/__init__.py +29 -0
- office365/migration/teams/_extract.py +108 -0
- office365/migration/teams/adapters.py +190 -0
- office365/migration/teams/models.py +73 -0
- office365/migration/validators.py +48 -0
- office365/onedrive/base_item.py +10 -15
- office365/onedrive/contenttypes/content_type.py +8 -13
- office365/onedrive/documentsets/version.py +3 -6
- office365/onedrive/driveitems/audio.py +16 -0
- office365/onedrive/driveitems/bundle.py +4 -0
- office365/onedrive/driveitems/driveItem.py +237 -31
- office365/onedrive/driveitems/image.py +4 -0
- office365/onedrive/driveitems/malware.py +14 -0
- office365/onedrive/driveitems/package.py +14 -0
- office365/onedrive/driveitems/photo.py +13 -1
- office365/onedrive/driveitems/publication_facet.py +4 -0
- office365/onedrive/driveitems/remote_item.py +18 -0
- office365/onedrive/driveitems/special_folder.py +4 -0
- office365/onedrive/driveitems/uploadable_properties.py +2 -2
- office365/onedrive/driveitems/video.py +15 -1
- office365/onedrive/drives/drive.py +9 -0
- office365/onedrive/drives/quota.py +9 -1
- office365/onedrive/files/file.py +4 -0
- office365/onedrive/files/system_info.py +4 -0
- office365/onedrive/filestorage/containertypes/app_permission.py +20 -1
- office365/onedrive/filestorage/containertypes/billing_classification.py +8 -0
- office365/onedrive/filestorage/containertypes/billing_status.py +7 -0
- office365/onedrive/filestorage/containertypes/settings_override.py +17 -0
- office365/onedrive/folders/folder.py +4 -0
- office365/onedrive/internal/paths/shared.py +1 -3
- office365/onedrive/internal/paths/site.py +2 -1
- office365/onedrive/listitems/collection.py +2 -2
- office365/onedrive/lists/info.py +4 -0
- office365/onedrive/operations/pending.py +4 -0
- office365/onedrive/operations/public_inner_error.py +21 -0
- office365/onedrive/sensitivitylabels/usagerights.py +1 -1
- office365/onedrive/share_point_migration_job_error_level.py +15 -0
- office365/onedrive/share_point_migration_object_type.py +20 -0
- office365/onedrive/shares/shared.py +4 -0
- office365/onedrive/sites/collection.py +4 -0
- office365/onedrive/sites/sites_with_root.py +3 -3
- office365/onedrive/sites/website.py +17 -0
- office365/onedrive/sites/website_type.py +15 -0
- office365/onedrive/termstore/groups/collection.py +3 -10
- office365/onedrive/termstore/groups/group.py +6 -1
- office365/onedrive/termstore/relation_type.py +13 -0
- office365/onedrive/termstore/sets/collection.py +3 -10
- office365/onedrive/termstore/store.py +14 -29
- office365/onedrive/termstore/store_manager.py +128 -0
- office365/onedrive/termstore/terms/collection.py +4 -11
- office365/onedrive/workbooks/charts/axes.py +4 -10
- office365/onedrive/workbooks/filter_criteria.py +9 -0
- office365/onedrive/workbooks/filter_datetime.py +15 -0
- office365/onedrive/workbooks/icon.py +7 -1
- office365/onedrive/workbooks/operations/error.py +4 -0
- office365/onedrive/workbooks/ranges/reference.py +4 -0
- office365/onedrive/workbooks/session_info.py +4 -0
- office365/onedrive/workbooks/sort_field.py +5 -0
- office365/onedrive/workbooks/workbook.py +7 -0
- office365/onedrive/workbooks/worksheets/protection_options.py +4 -0
- office365/onedrive/workbooks/worksheets/worksheet.py +5 -3
- office365/onenote/pages/collection.py +1 -1
- office365/onenote/pages/page.py +5 -11
- office365/outlook/calendar/attendees/attendee.py +4 -0
- office365/outlook/calendar/attendees/availability.py +4 -0
- office365/outlook/calendar/attendees/base.py +4 -0
- office365/outlook/calendar/collection.py +7 -0
- office365/outlook/calendar/events/event.py +8 -14
- office365/outlook/calendar/events/reminder.py +4 -0
- office365/outlook/calendar/location_constraint.py +4 -0
- office365/outlook/calendar/meetingtimes/suggestion.py +8 -0
- office365/outlook/calendar/meetingtimes/suggestions_result.py +4 -0
- office365/outlook/calendar/meetingtimes/time_constraint.py +4 -0
- office365/outlook/calendar/response_status.py +7 -1
- office365/outlook/calendar/schedule/free_busy_error.py +15 -0
- office365/outlook/calendar/schedule/information.py +4 -0
- office365/outlook/calendar/schedule/item.py +4 -0
- office365/outlook/calendar/sharing/message_action.py +11 -1
- office365/outlook/calendar/timezones/base.py +4 -0
- office365/outlook/calendar/timezones/custom.py +9 -1
- office365/outlook/calendar/timezones/daylight_time_zone_offset.py +14 -0
- office365/outlook/calendar/working_hours.py +4 -0
- office365/outlook/check_in_method.py +15 -0
- office365/outlook/contacts/folders/collection.py +4 -13
- office365/outlook/convert_id_result.py +7 -1
- office365/outlook/item.py +3 -11
- office365/outlook/locale_info.py +4 -0
- office365/outlook/mail/attachments/attachment_item.py +7 -0
- office365/outlook/mail/attachments/collection.py +33 -18
- office365/outlook/mail/automaticreplies/mailtips.py +4 -0
- office365/outlook/mail/automaticreplies/setting.py +4 -0
- office365/outlook/mail/email_details.py +16 -0
- office365/outlook/mail/export_item_response.py +19 -0
- office365/outlook/mail/folders/folder.py +5 -11
- office365/outlook/mail/location.py +1 -1
- office365/outlook/mail/location_constraint_item.py +8 -1
- office365/outlook/mail/mailbox_item_import_session.py +16 -0
- office365/outlook/mail/messages/collection.py +1 -1
- office365/outlook/mail/messages/followup_flag.py +4 -0
- office365/outlook/mail/messages/internet_header.py +4 -0
- office365/outlook/mail/messages/message.py +21 -7
- office365/outlook/mail/messages/rules/actions.py +4 -0
- office365/outlook/mail/messages/rules/predicates.py +29 -0
- office365/outlook/mail/messages/rules/rule.py +1 -1
- office365/outlook/mail/messages/rules/size_range.py +15 -0
- office365/outlook/mail/patterned_recurrence.py +4 -0
- office365/outlook/mail/recurrence_pattern.py +4 -0
- office365/outlook/mail/recurrence_range.py +4 -0
- office365/outlook/mail/tips/error.py +7 -1
- office365/outlook/people/person_type.py +14 -0
- office365/outlook/place_feature_enablement.py +14 -0
- office365/outlook/resource_link.py +17 -0
- office365/outlook/resource_link_type.py +12 -0
- office365/outlook/scored_email_address.py +18 -0
- office365/outlook/timezones/information.py +4 -0
- office365/outlook/timezones/standard_time_zone_offset.py +20 -0
- office365/partners/billing/attribute_set.py +13 -0
- office365/partners/billing/billing_period.py +13 -0
- office365/partners/partners.py +5 -4
- office365/planner/buckets/collection.py +2 -2
- office365/planner/plans/details.py +3 -9
- office365/planner/user.py +6 -4
- office365/reports/internal/queries/create_report_query.py +26 -12
- office365/reports/print_usage.py +67 -0
- office365/reports/print_usage_by_printer.py +21 -0
- office365/reports/print_usage_by_user.py +16 -0
- office365/reports/relying_party_detailed_summary.py +70 -0
- office365/reports/root.py +77 -95
- office365/runtime/auth/authentication_context.py +46 -15
- office365/runtime/auth/entra/authentication_context.py +22 -2
- office365/runtime/auth/providers/acs_token_provider.py +6 -2
- office365/runtime/auth/providers/cookie_provider.py +7 -3
- office365/runtime/auth/providers/saml_token_provider.py +6 -2
- office365/runtime/auth/sts_profile.py +1 -1
- office365/runtime/client_object.py +68 -67
- office365/runtime/client_object_collection.py +143 -30
- office365/runtime/client_request.py +77 -1
- office365/runtime/client_request_exception.py +173 -26
- office365/runtime/client_result.py +26 -18
- office365/runtime/client_runtime_context.py +303 -25
- office365/runtime/client_value.py +14 -40
- office365/runtime/client_value_collection.py +4 -8
- office365/runtime/converters/__init__.py +1 -0
- office365/runtime/converters/csv_reader.py +94 -0
- office365/runtime/converters/csv_writer.py +66 -0
- office365/runtime/converters/dataframe.py +202 -0
- office365/runtime/converters/excel.py +44 -0
- office365/runtime/converters/json_file.py +30 -0
- office365/runtime/converters/keyvalue.py +95 -0
- office365/runtime/converters/ndjson.py +17 -0
- office365/runtime/converters/parquet.py +67 -0
- office365/runtime/converters/records.py +101 -0
- office365/runtime/converters/registry.py +185 -0
- office365/runtime/converters/scalars.py +159 -0
- office365/runtime/converters/sql.py +69 -0
- office365/runtime/converters/streamers.py +105 -0
- office365/runtime/converters/streams.py +42 -0
- office365/runtime/converters/upsert.py +101 -0
- office365/runtime/converters/value.py +186 -0
- office365/runtime/decorators.py +27 -0
- office365/runtime/exceptions.py +105 -0
- office365/runtime/http/mime.py +12 -0
- office365/runtime/http/prefer.py +26 -0
- office365/runtime/http/throttling.py +407 -0
- office365/runtime/http/url.py +36 -0
- office365/runtime/imports.py +571 -0
- office365/runtime/limits.py +455 -0
- office365/runtime/odata/batch_util.py +92 -0
- office365/runtime/odata/query_options.py +26 -1
- office365/runtime/odata/request.py +38 -18
- office365/runtime/odata/type.py +48 -105
- office365/runtime/odata/v3/batch_request.py +90 -1
- office365/runtime/odata/v4/batch_request.py +106 -3
- office365/runtime/odata/v4/upload_session.py +4 -0
- office365/runtime/odata/v4/upload_session_request.py +26 -10
- office365/runtime/operations.py +164 -0
- office365/runtime/parallel.py +94 -0
- office365/runtime/paths/builder.py +4 -2
- office365/runtime/paths/v4/entity.py +2 -2
- office365/runtime/queries/batch.py +40 -14
- office365/runtime/queries/client_query.py +8 -10
- office365/runtime/queries/deferred.py +72 -0
- office365/runtime/queries/delete_entity.py +2 -2
- office365/runtime/queries/function.py +35 -1
- office365/runtime/queries/get_or_create.py +109 -0
- office365/runtime/queries/read_entity.py +23 -4
- office365/runtime/queries/update_entity.py +2 -2
- office365/runtime/queries/upload_session.py +1 -1
- office365/runtime/record_collection.py +443 -0
- office365/runtime/retry.py +203 -0
- office365/runtime/transport/base.py +6 -1
- office365/runtime/transport/requests_transport.py +4 -0
- office365/runtime/transport/throttled_transport.py +67 -0
- office365/runtime/types/binary_content.py +14 -0
- office365/runtime/types/ipv4_cidr_range.py +14 -0
- office365/runtime/types/ipv6_cidr_range.py +14 -0
- office365/runtime/types/json.py +10 -0
- office365/runtime/types/odata_property.py +7 -0
- office365/runtime/types/public_error.py +23 -0
- office365/runtime/types/public_inner_error.py +21 -0
- office365/runtime/types/setting_value.py +15 -0
- office365/runtime/verification.py +40 -0
- office365/search/request.py +2 -2
- office365/sharepoint/activities/logger.py +118 -8
- office365/sharepoint/administration/analytics/usage_service.py +15 -7
- office365/sharepoint/administration/sitemove/service.py +791 -8
- office365/sharepoint/agreements/summarydata.py +15 -5
- office365/sharepoint/alerts/alert.py +79 -0
- office365/sharepoint/apps/app_collection.py +25 -0
- office365/sharepoint/apps/launcher.py +16 -0
- office365/sharepoint/authentication/auth_file_detonation_request_response.py +48 -0
- office365/sharepoint/authentication/spo_auth_file_detonation_request.py +7 -0
- office365/sharepoint/authpolicy/tenant/compliancereport.py +5 -0
- office365/sharepoint/brandcenter/brand_font_file_delete_result.py +9 -0
- office365/sharepoint/businessdata/app_bdc_catalog.py +135 -0
- office365/sharepoint/businessdata/entityfieldvaluedictionary.py +65 -0
- office365/sharepoint/businessdata/entityidentifier.py +23 -0
- office365/sharepoint/businessdata/entityinstance.py +52 -0
- office365/sharepoint/businessdata/entityview.py +31 -0
- office365/sharepoint/businessdata/externalsubscriptionstore.py +9 -0
- office365/sharepoint/businessdata/typedescriptor.py +37 -0
- office365/sharepoint/changes/change.py +6 -0
- office365/sharepoint/changes/collection.py +1 -1
- office365/sharepoint/changes/item.py +4 -10
- office365/sharepoint/client_context.py +109 -47
- office365/sharepoint/clientsidecomponent/agreementssolutionfilecontext.py +1 -0
- office365/sharepoint/clientsidecomponent/hostedapps/app.py +21 -0
- office365/sharepoint/clientsidecomponent/hostedapps/manager.py +16 -0
- office365/sharepoint/clientsidecomponent/spteamsappcomponent.py +3 -0
- office365/sharepoint/comments/comment.py +84 -10
- office365/sharepoint/comments/contentanchor.py +6 -0
- office365/sharepoint/compliance/store_proxy.py +306 -68
- office365/sharepoint/compliance/tags/tag.py +3 -0
- office365/sharepoint/containers/active/properties.py +3 -0
- office365/sharepoint/contentcenter/machinelearning/column_autofill_choice_settings.py +15 -0
- office365/sharepoint/contentcenter/machinelearning/column_autofill_preview_data.py +25 -0
- office365/sharepoint/contentcenter/machinelearning/column_autofill_preview_result.py +12 -0
- office365/sharepoint/contentcenter/machinelearning/hub.py +231 -29
- office365/sharepoint/contentcenter/machinelearning/list_autofill_entity_data.py +15 -0
- office365/sharepoint/contentcenter/machinelearning/list_autofill_item_results.py +18 -0
- office365/sharepoint/contentcenter/machinelearning/modeldependencies.py +4 -3
- office365/sharepoint/contentcenter/machinelearning/models/model.py +231 -0
- office365/sharepoint/contentcenter/machinelearning/publications/publication.py +168 -0
- office365/sharepoint/contentcenter/machinelearning/samples/sample.py +120 -0
- office365/sharepoint/contentcenter/machinelearning/sp_machine_learning_doc_lib_autofill_item_results.py +19 -0
- office365/sharepoint/contentcenter/machinelearning/workitems/item.py +69 -0
- office365/sharepoint/contentsolution/template_api.py +148 -0
- office365/sharepoint/contenttypes/collection.py +37 -16
- office365/sharepoint/contenttypes/content_type.py +4 -10
- office365/sharepoint/contenttypes/fieldlinks/collection.py +5 -7
- office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +9 -0
- office365/sharepoint/convergence/consumer_permissions.py +15 -0
- office365/sharepoint/convergence/migration_complete_state_api.py +25 -0
- office365/sharepoint/convergence/odcmetadatacleanedupapi.py +9 -0
- office365/sharepoint/directory/helper.py +5 -5
- office365/sharepoint/directory/multi_conditional_access_policy.py +37 -0
- office365/sharepoint/directory/named_location_policy.py +62 -0
- office365/sharepoint/directory/provider/provider.py +1 -1
- office365/sharepoint/documentmanagement/document_id.py +12 -0
- office365/sharepoint/entity.py +18 -5
- office365/sharepoint/entity_collection.py +2 -2
- office365/sharepoint/eventreceivers/definition_collection.py +32 -0
- office365/sharepoint/exceptions.py +194 -0
- office365/sharepoint/fields/builtin_field_id.py +45 -34
- office365/sharepoint/fields/builtin_field_name.py +123 -0
- office365/sharepoint/fields/coercion.py +131 -0
- office365/sharepoint/fields/collection.py +182 -67
- office365/sharepoint/fields/field.py +21 -2
- office365/sharepoint/fields/name.py +55 -0
- office365/sharepoint/files/checked_out_file.py +2 -6
- office365/sharepoint/files/collection.py +81 -8
- office365/sharepoint/files/file.py +122 -14
- office365/sharepoint/files/file_url_virus_status_update.py +22 -0
- office365/sharepoint/files/versionbatchdeleteparameters.py +1 -0
- office365/sharepoint/files/versions/version.py +40 -21
- office365/sharepoint/folders/collection.py +9 -2
- office365/sharepoint/folders/folder.py +271 -29
- office365/sharepoint/htmlpages/html_page.py +16 -0
- office365/sharepoint/htmlpages/html_page_service.py +19 -0
- office365/sharepoint/internal/image_content_part.py +5 -0
- office365/sharepoint/internal/paths/web.py +3 -1
- office365/sharepoint/internal/sticky_routing_options.py +13 -0
- office365/sharepoint/ir/migration.py +9 -0
- office365/sharepoint/likes/liked_by_information.py +2 -6
- office365/sharepoint/listitems/caml/__init__.py +31 -0
- office365/sharepoint/listitems/caml/builder.py +129 -0
- office365/sharepoint/listitems/caml/expressions.py +424 -0
- office365/sharepoint/listitems/caml/fields.py +68 -0
- office365/sharepoint/listitems/caml/guard.py +63 -0
- office365/sharepoint/listitems/caml/query.py +71 -2
- office365/sharepoint/listitems/caml/values.py +113 -0
- office365/sharepoint/listitems/collection.py +39 -10
- office365/sharepoint/listitems/compliance_info.py +1 -0
- office365/sharepoint/listitems/form_update_value.py +2 -1
- office365/sharepoint/listitems/listdata_validation_exception_value.py +3 -1
- office365/sharepoint/listitems/listitem.py +5 -5
- office365/sharepoint/listitems/upsert.py +75 -0
- office365/sharepoint/listitems/versions/version.py +3 -15
- office365/sharepoint/lists/batch_convert_item_result.py +19 -0
- office365/sharepoint/lists/batch_convert_result.py +17 -0
- office365/sharepoint/lists/collection.py +43 -0
- office365/sharepoint/lists/conversion_loss_item.py +13 -0
- office365/sharepoint/lists/conversion_loss_report.py +18 -0
- office365/sharepoint/lists/exporter.py +4 -3
- office365/sharepoint/lists/extended_share_point_permission_settings.py +17 -0
- office365/sharepoint/lists/list.py +459 -26
- office365/sharepoint/lists/list_forms_api.py +7 -0
- office365/sharepoint/lists/smart_wiki_library_utility.py +58 -0
- office365/sharepoint/logger/activityrequest.py +3 -0
- office365/sharepoint/logger/export.py +12 -0
- office365/sharepoint/marketplace/app_metadata.py +97 -1
- office365/sharepoint/marketplace/appstatequeryjobdefinition.py +9 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py +7 -3
- office365/sharepoint/marketplace/corporatecuratedgallery/available_addins_response.py +3 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_designs.py +35 -0
- office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +5 -0
- office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +110 -39
- office365/sharepoint/microfeed/attachment_store.py +69 -0
- office365/sharepoint/microfeed/data.py +58 -0
- office365/sharepoint/microfeed/manager.py +259 -0
- office365/sharepoint/microfeed/microfeedstore.py +69 -0
- office365/sharepoint/microservice/manager.py +61 -0
- office365/sharepoint/migrationcenter/common/task.py +193 -4
- office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -1
- office365/sharepoint/migrationcenter/deploy_status.py +13 -0
- office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +4 -2
- office365/sharepoint/migrationcenter/service/properties.py +20 -0
- office365/sharepoint/migrationcenter/service/storage.py +34 -0
- office365/sharepoint/migrationcenter/spflight.py +13 -0
- office365/sharepoint/migrationcenter/urlparseresult.py +77 -0
- office365/sharepoint/multigeo/service/dfdeprecationjob.py +8 -1
- office365/sharepoint/multigeo/service/geoexperience.py +15 -0
- office365/sharepoint/multigeo/service/groupmovejob.py +9 -0
- office365/sharepoint/multigeo/service/move_job_report.py +23 -0
- office365/sharepoint/multigeo/service/movesiterostate.py +8 -1
- office365/sharepoint/multigeo/service/partner_company_id_lookup.py +22 -0
- office365/sharepoint/multigeo/service/services.py +3 -6
- office365/sharepoint/multigeo/service/sitemovejob.py +9 -0
- office365/sharepoint/multigeo/service/spmultigeoproxy.py +13 -0
- office365/sharepoint/navigation/menu/node.py +5 -3
- office365/sharepoint/navigation/menu/state.py +1 -1
- office365/sharepoint/navigation/nodes/collection.py +36 -1
- office365/sharepoint/navigation/service.py +2 -8
- office365/sharepoint/navigation/servicerest.py +127 -0
- office365/sharepoint/oauth/authentication.py +13 -0
- office365/sharepoint/permissions/roles/assignments/assignment.py +2 -8
- office365/sharepoint/permissions/roles/definitions/definition.py +3 -9
- office365/sharepoint/portal/groups/service.py +12 -0
- office365/sharepoint/portal/groups/site_manager.py +283 -32
- office365/sharepoint/portal/linkedsites/manager.py +25 -3
- office365/sharepoint/portal/sites/manager.py +197 -0
- office365/sharepoint/portal/theme_manager.py +120 -8
- office365/sharepoint/principal/principal.py +3 -8
- office365/sharepoint/principal/users/user.py +15 -6
- office365/sharepoint/publishing/announcements/controller.py +31 -0
- office365/sharepoint/publishing/campaign/campaign.py +36 -1
- office365/sharepoint/publishing/content_distribution_controller.py +23 -0
- office365/sharepoint/publishing/copytoparams.py +3 -0
- office365/sharepoint/publishing/diagnostics/controller.py +12 -0
- office365/sharepoint/publishing/emailpublishingstatus.py +4 -2
- office365/sharepoint/publishing/engage_distribution_info.py +2 -0
- office365/sharepoint/publishing/feedvideopage.py +351 -0
- office365/sharepoint/publishing/navigation/structural_navigation_cache_wrapper.py +40 -0
- office365/sharepoint/publishing/pages/3d/page.py +308 -0
- office365/sharepoint/publishing/pages/campaign/publication.py +549 -7
- office365/sharepoint/publishing/pages/metadata.py +6 -11
- office365/sharepoint/publishing/pages/page.py +358 -6
- office365/sharepoint/publishing/pages/reposts/repost.py +327 -0
- office365/sharepoint/publishing/pages/service.py +95 -43
- office365/sharepoint/publishing/pages/topics/topic.py +307 -0
- office365/sharepoint/publishing/point/post.py +28 -0
- office365/sharepoint/publishing/point/postservicemanager.py +31 -0
- office365/sharepoint/publishing/point/tenantmanager.py +9 -0
- office365/sharepoint/publishing/point/user.py +9 -0
- office365/sharepoint/publishing/portallaunchwavesmanager.py +36 -0
- office365/sharepoint/publishing/portalnavigationcachewrapper.py +21 -0
- office365/sharepoint/publishing/rich_sharing.py +12 -0
- office365/sharepoint/publishing/sites/communication/site.py +14 -6
- office365/sharepoint/publishing/video/channel.py +112 -0
- office365/sharepoint/publishing/video/item.py +231 -0
- office365/sharepoint/publishing/videopermissiongroup.py +16 -0
- office365/sharepoint/quotamanagement/consumer/consumer_quota_info_api.py +14 -0
- office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +23 -0
- office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +9 -0
- office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +13 -0
- office365/sharepoint/request.py +90 -21
- office365/sharepoint/search/administration/document_crawl_log.py +24 -7
- office365/sharepoint/search/administration/providers/crawl_versions_info.py +29 -0
- office365/sharepoint/search/administration/providers/recycle_bin_info.py +23 -0
- office365/sharepoint/search/administration/providers/site_content_processing_info.py +67 -0
- office365/sharepoint/search/analytics/signal_store.py +15 -0
- office365/sharepoint/search/promoted_result_query_rule.py +6 -2
- office365/sharepoint/search/ranking_labeling.py +11 -0
- office365/sharepoint/search/relevant_results.py +1 -1
- office365/sharepoint/search/reordering_rule_collection.py +30 -0
- office365/sharepoint/search/result.py +1 -1
- office365/sharepoint/search/service.py +61 -0
- office365/sharepoint/search/setting.py +75 -15
- office365/sharepoint/search/simple_data_row.py +1 -1
- office365/sharepoint/sharing/direct_abilities.py +1 -0
- office365/sharepoint/sharing/main_link_audience_role_abilities.py +17 -0
- office365/sharepoint/sharing/mainlinkabilities.py +3 -3
- office365/sharepoint/sharing/mainlinkaudienceabilities.py +4 -0
- office365/sharepoint/sharing/mainlinkinfo.py +4 -0
- office365/sharepoint/sharing/object_sharing_settings.py +4 -10
- office365/sharepoint/sitedesigns/app_settings_in_teams.py +6 -1
- office365/sharepoint/sitedesigns/creation_info.py +1 -1
- office365/sharepoint/sitedesigns/insert_field_response.py +10 -1
- office365/sharepoint/sitedesigns/main_link_details.py +2 -0
- office365/sharepoint/sitedesigns/sectiondesignideasapi.py +26 -0
- office365/sharepoint/sitedesigns/thread_engagement_data.py +2 -0
- office365/sharepoint/sites/home/sharepointhomeservicemanager.py +18 -0
- office365/sharepoint/sites/manager/baaa_request.py +2 -0
- office365/sharepoint/sites/manager/service.py +192 -5
- office365/sharepoint/sites/site.py +988 -65
- office365/sharepoint/sites/siteprovisioninginfoprovider.py +13 -0
- office365/sharepoint/sites/version_policy_manager.py +6 -10
- office365/sharepoint/sitescripts/utility.py +1 -1
- office365/sharepoint/social/rest_thread.py +2 -6
- office365/sharepoint/taxonomy/field.py +1 -0
- office365/sharepoint/taxonomy/groups/group.py +2 -6
- office365/sharepoint/taxonomy/item.py +12 -6
- office365/sharepoint/taxonomy/service.py +18 -2
- office365/sharepoint/teams/manage_channel_capabilities_request.py +3 -0
- office365/sharepoint/tenant/administration/bulk_insert_operation_result.py +5 -0
- office365/sharepoint/tenant/administration/catalog_management_category.py +23 -0
- office365/sharepoint/tenant/administration/catalog_management_custom_property_map.py +3 -0
- office365/sharepoint/tenant/administration/catalog_management_group.py +16 -0
- office365/sharepoint/tenant/administration/catalog_management_schema.py +18 -0
- office365/sharepoint/tenant/administration/catalog_management_status.py +23 -0
- office365/sharepoint/tenant/administration/container/properties.py +6 -0
- office365/sharepoint/tenant/administration/datagovernance/insight_client.py +292 -23
- office365/sharepoint/tenant/administration/dataset_metadata_response.py +6 -0
- office365/sharepoint/tenant/administration/ddiadapter.py +97 -0
- office365/sharepoint/tenant/administration/internal/aad/collection.py +20 -0
- office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +0 -19
- office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +72 -1
- office365/sharepoint/tenant/administration/internal/appservice/principal.py +1 -3
- office365/sharepoint/tenant/administration/odb_license_enforcement_service.py +26 -0
- office365/sharepoint/tenant/administration/ransomware/activitiesoverview.py +2 -1
- office365/sharepoint/tenant/administration/rcd_categories_map.py +19 -0
- office365/sharepoint/tenant/administration/rcd_category_detail_result.py +17 -0
- office365/sharepoint/tenant/administration/rcd_group_definition.py +19 -0
- office365/sharepoint/tenant/administration/rcd_group_metadata.py +20 -0
- office365/sharepoint/tenant/administration/rcd_save_result.py +12 -0
- office365/sharepoint/tenant/administration/rcd_site_status_detail.py +18 -0
- office365/sharepoint/tenant/administration/secondary_administrators_info.py +0 -7
- office365/sharepoint/tenant/administration/site_property_scope_config.py +1 -0
- office365/sharepoint/tenant/administration/sites/properties.py +564 -6
- office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +60 -1
- office365/sharepoint/tenant/administration/spom365agentinsightsm365agentsonsitesdetails.py +3 -1
- office365/sharepoint/tenant/administration/tenant.py +94 -227
- office365/sharepoint/tenant/administration/tenant_admin_ransomware_event_site_restore_point.py +1 -0
- office365/sharepoint/tenant/administration/tenant_data_loss_prevention_quarantine_settings.py +17 -0
- office365/sharepoint/tenant/cdn_api.py +18 -4
- office365/sharepoint/tenant/insights/reports/manager.py +24 -12
- office365/sharepoint/tenant/management/office365_tenant.py +466 -12
- office365/sharepoint/tenantadministration/catalog_management_collection.py +69 -0
- office365/sharepoint/tenantadministration/catalog_management_custom_properties_collection.py +237 -0
- office365/sharepoint/tenantadministration/catalog_management_restricted_content_discovery_collection.py +56 -0
- office365/sharepoint/tenantadministration/sp_data_governance_client_exception.py +7 -0
- office365/sharepoint/tenantadministration/spo_file_archive_policy_info.py +28 -0
- office365/sharepoint/tenantadministration/spo_file_archive_policy_report_info.py +20 -0
- office365/sharepoint/tenantadministration/spo_file_archive_policy_site_info.py +15 -0
- office365/sharepoint/tenantadministration/spom365_agent_insights_top20_agents_details.py +14 -0
- office365/sharepoint/thresholds.py +529 -0
- office365/sharepoint/translation/jobs/job.py +72 -2
- office365/sharepoint/translation/jobs/status.py +47 -9
- office365/sharepoint/translation/sync_translator.py +15 -2
- office365/sharepoint/types/resource_path.py +2 -1
- office365/sharepoint/usercustomactions/collection.py +41 -0
- office365/sharepoint/userprofiles/person_properties.py +4 -10
- office365/sharepoint/utilities/autofillcolumninfo.py +2 -0
- office365/sharepoint/utilities/llmcolumninfo.py +2 -0
- office365/sharepoint/utilities/move_copy_util.py +285 -10
- office365/sharepoint/viva/connections/page.py +27 -0
- office365/sharepoint/viva/home.py +38 -0
- office365/sharepoint/viva/learningmanager.py +9 -0
- office365/sharepoint/viva/site_manager.py +10 -0
- office365/sharepoint/viva/vivaresources.py +60 -0
- office365/sharepoint/webhooks/subscription.py +30 -1
- office365/sharepoint/webhooks/subscription_information.py +2 -2
- office365/sharepoint/webparts/definitions/definition.py +21 -10
- office365/sharepoint/webparts/limited_manager.py +30 -12
- office365/sharepoint/webs/context_web_information.py +14 -9
- office365/sharepoint/webs/regional_settings.py +11 -15
- office365/sharepoint/webs/templates/__init__.py +11 -0
- office365/sharepoint/webs/templates/type.py +74 -15
- office365/sharepoint/webs/time_zone.py +9 -6
- office365/sharepoint/webs/web.py +57 -10
- office365/sharepoint/webs/web_fetch_result.py +13 -0
- office365/sharepoint/workflow/definition.py +6 -0
- office365/sharepoint/workflow/deployment_service.py +155 -0
- office365/sharepoint/workflow/instances/service.py +33 -0
- office365/sharepoint/workflow/interopservice.py +68 -0
- office365/sharepoint/workflow/messagingservice.py +24 -0
- office365/sharepoint/workflow/servicesmanager.py +41 -2
- office365/sharepoint/workflow/subscriptions/service.py +67 -0
- office365/sharepoint/workflow/subscriptions/subscription.py +31 -0
- office365/sharepoint/workflow/task.py +425 -0
- office365/subscriptions/subscription.py +2 -8
- office365/teams/administration/account_type.py +17 -0
- office365/teams/administration/activation_state.py +16 -0
- office365/teams/administration/assignment_category.py +8 -1
- office365/teams/administration/assignment_status.py +18 -0
- office365/teams/administration/customer_action.py +13 -0
- office365/teams/administration/number_capability.py +15 -0
- office365/teams/administration/number_source.py +13 -0
- office365/teams/administration/number_type.py +15 -0
- office365/teams/administration/port_in_status.py +13 -0
- office365/teams/administration/reverse_number_lookup_option.py +12 -0
- office365/teams/apps/app.py +5 -5
- office365/teams/apps/installed_event_message_detail.py +17 -0
- office365/teams/apps/removed_event_message_detail.py +17 -0
- office365/teams/apps/upgraded_event_message_detail.py +17 -0
- office365/teams/archived_event_message_detail.py +16 -0
- office365/teams/channels/channel.py +23 -22
- office365/teams/channels/collection.py +10 -5
- office365/teams/chats/chat.py +36 -27
- office365/teams/chats/collection.py +19 -0
- office365/teams/chats/messages/body.py +32 -0
- office365/teams/chats/messages/collection.py +43 -0
- office365/teams/chats/messages/hosted_content.py +27 -0
- office365/teams/chats/messages/message.py +68 -3
- office365/teams/class_settings.py +14 -0
- office365/teams/collection.py +89 -14
- office365/teams/created_event_message_detail.py +18 -0
- office365/teams/description_updated_event_message_detail.py +17 -0
- office365/teams/joining_disabled_event_message_detail.py +16 -0
- office365/teams/joining_enabled_event_message_detail.py +16 -0
- office365/teams/licensing_details.py +14 -0
- office365/teams/members/aad_user_conversation.py +4 -4
- office365/teams/members/conversation.py +3 -3
- office365/teams/members/conversation_collection.py +7 -9
- office365/teams/members_notification_recipient.py +14 -0
- office365/teams/operations/async_operation.py +59 -8
- office365/teams/operations/type.py +4 -1
- office365/teams/renamed_event_message_detail.py +17 -0
- office365/teams/schedule/entitytheme.py +23 -0
- office365/teams/schedule/time_card_break.py +19 -0
- office365/teams/schedule/time_card_entry.py +19 -0
- office365/teams/schedule/time_card_event.py +18 -0
- office365/teams/schedule/time_card_state.py +14 -0
- office365/teams/schedule/time_clock_settings.py +15 -0
- office365/teams/schedule/time_off_details.py +15 -0
- office365/teams/schedule/time_off_item.py +14 -0
- office365/teams/schedule/time_off_reason_icon_type.py +32 -0
- office365/teams/tabs/updated_event_message_detail.py +16 -0
- office365/teams/team.py +88 -46
- office365/teams/teamwork/application_identity.py +15 -0
- office365/teams/teamwork/shiftmanagement/user_solution_root.py +4 -0
- office365/teams/teamwork/user.py +6 -8
- office365/teams/teamwork/workforce_integration_encryption_protocol.py +12 -0
- office365/teams/teamwork/workforce_integration_supported_entities.py +22 -0
- office365/teams/unarchived_event_message_detail.py +16 -0
- office365/teams/viva/employee_experience_user.py +5 -3
- office365/todo/attachments/collection.py +78 -3
- office365/todo/attachments/info.py +17 -1
- office365/todo/attachments/session.py +74 -0
- office365/todo/attachments/type.py +14 -2
- office365/todo/linked_resource.py +10 -0
- office365/todo/tasks/collection.py +5 -3
- office365/todo/tasks/lists/collection.py +4 -4
- office365/todo/tasks/lists/list.py +36 -0
- office365/todo/tasks/task.py +95 -8
- office365/todo/todo.py +5 -2
- office365_rest_python_client-3.2.0.dist-info/METADATA +605 -0
- {office365_rest_python_client-3.0.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/RECORD +1328 -690
- office365/migration/assessor.py +0 -243
- office365/onedrive/termstore/store_exporter.py +0 -40
- office365/onedrive/termstore/store_importer.py +0 -34
- office365/runtime/csv_writer.py +0 -77
- office365/runtime/odata/member.py +0 -14
- office365/runtime/odata/method.py +0 -19
- office365/runtime/odata/model.py +0 -54
- office365/runtime/odata/parameter.py +0 -19
- office365/runtime/odata/property.py +0 -19
- office365/runtime/odata/query_options_builder.py +0 -38
- office365/runtime/odata/reader.py +0 -99
- office365/runtime/odata/type_information.py +0 -32
- office365/runtime/odata/v3/metadata_reader.py +0 -52
- office365/runtime/odata/v4/metadata_reader.py +0 -28
- office365/runtime/queries/noop.py +0 -17
- office365/runtime/utilities.py +0 -226
- office365/sharepoint/listitems/caml/types.py +0 -70
- office365/sharepoint/migration/assessment/scanners/base.py +0 -57
- office365/sharepoint/migration/assessment/scanners/list.py +0 -68
- office365/sharepoint/migration/assessment/scanners/site.py +0 -25
- office365/todo/wellknown_list_name.py +0 -2
- office365_rest_python_client-3.0.0.dist-info/METADATA +0 -465
- /office365/directory/identitygovernance/accessreview/{access_review_history_instance.py → history_instance.py} +0 -0
- /office365/directory/identitygovernance/accessreview/{access_review_instance_decision_item.py → instance_decision_item.py} +0 -0
- /office365/directory/identitygovernance/accessreview/{access_review_reviewer.py → reviewer.py} +0 -0
- /office365/directory/identitygovernance/accessreview/{access_review_schedule_definition.py → schedule_definition.py} +0 -0
- /office365/directory/identitygovernance/{accessreview/access_package_text_input_question.py → entitlementmanagement/accesspackage/text_input_question.py} +0 -0
- /office365/directory/{security/data_security → recovery}/__init__.py +0 -0
- /office365/directory/security/{active_directory_domain_evidence.py → alerts/active_directory_domain_evidence.py} +0 -0
- /office365/directory/security/{azure_resource_evidence.py → alerts/azure_resource_evidence.py} +0 -0
- /office365/{sharepoint/migration → directory/security/audit}/__init__.py +0 -0
- /office365/directory/security/{a365_ai_execute_tool.py → audit/a365_ai_execute_tool.py} +0 -0
- /office365/directory/security/{aad_risk_detection_audit_record.py → audit/aad_risk_detection_audit_record.py} +0 -0
- /office365/directory/security/{ai_app_interaction_audit_record.py → audit/ai_app_interaction_audit_record.py} +0 -0
- /office365/directory/security/{ai_execute_tool_audit_record.py → audit/ai_execute_tool_audit_record.py} +0 -0
- /office365/directory/security/{ai_interactions_change_notification_audit_record.py → audit/ai_interactions_change_notification_audit_record.py} +0 -0
- /office365/directory/security/{ai_interactions_export_audit_record.py → audit/ai_interactions_export_audit_record.py} +0 -0
- /office365/directory/security/{ai_interactions_subscription_audit_record.py → audit/ai_interactions_subscription_audit_record.py} +0 -0
- /office365/directory/security/{ai_invoke_agent_audit_record.py → audit/ai_invoke_agent_audit_record.py} +0 -0
- /office365/directory/security/{ai_span_outputs_audit_record.py → audit/ai_span_outputs_audit_record.py} +0 -0
- /office365/directory/security/{air_manual_investigation_data.py → audit/air_manual_investigation_data.py} +0 -0
- /office365/directory/security/{alert_submission_audit_record.py → audit/alert_submission_audit_record.py} +0 -0
- /office365/directory/security/{alert_submission_result_detail_audit_record.py → audit/alert_submission_result_detail_audit_record.py} +0 -0
- /office365/directory/security/{attack_sim_admin_audit_record.py → audit/attack_sim_admin_audit_record.py} +0 -0
- /office365/directory/security/{attack_sim_audit_record.py → audit/attack_sim_audit_record.py} +0 -0
- /office365/directory/security/{audit_config_audit_record.py → audit/audit_config_audit_record.py} +0 -0
- /office365/directory/security/{audit_record_type_dictionary.py → audit/audit_record_type_dictionary.py} +0 -0
- /office365/directory/security/{audit_search_audit_record.py → audit/audit_search_audit_record.py} +0 -0
- /office365/directory/security/{azfw_application_rule_aggregation_event_record.py → audit/azfw_application_rule_aggregation_event_record.py} +0 -0
- /office365/directory/security/{azfw_dns_query_event_record.py → audit/azfw_dns_query_event_record.py} +0 -0
- /office365/directory/security/{azfw_network_rule_event_record.py → audit/azfw_network_rule_event_record.py} +0 -0
- /office365/directory/security/{azure_active_directory_account_logon_audit_record.py → audit/azure_active_directory_account_logon_audit_record.py} +0 -0
- /office365/directory/security/{azure_active_directory_audit_record.py → audit/azure_active_directory_audit_record.py} +0 -0
- /office365/directory/security/{azure_active_directory_sts_logon_audit_record.py → audit/azure_active_directory_sts_logon_audit_record.py} +0 -0
- /office365/directory/security/{azure_ai_search_audit_record.py → audit/azure_ai_search_audit_record.py} +0 -0
- /office365/directory/security/{campaign_audit_record.py → audit/campaign_audit_record.py} +0 -0
- /office365/directory/security/{ccrai_policy_violation_record.py → audit/ccrai_policy_violation_record.py} +0 -0
- /office365/directory/security/{cdp_classifier_health_record.py → audit/cdp_classifier_health_record.py} +0 -0
- /office365/directory/security/{cdp_cold_crawl_status_record.py → audit/cdp_cold_crawl_status_record.py} +0 -0
- /office365/directory/security/{cdp_consumption_resource_record.py → audit/cdp_consumption_resource_record.py} +0 -0
- /office365/directory/security/{cdp_content_explorer_aggregate_record.py → audit/cdp_content_explorer_aggregate_record.py} +0 -0
- /office365/directory/security/{cdp_dlp_sensitive_endpoint_audit_record.py → audit/cdp_dlp_sensitive_endpoint_audit_record.py} +0 -0
- /office365/directory/security/{cdp_log_record.py → audit/cdp_log_record.py} +0 -0
- /office365/directory/security/{cdp_ocr_billing_record.py → audit/cdp_ocr_billing_record.py} +0 -0
- /office365/directory/security/{cdp_resource_scope_change_event_record.py → audit/cdp_resource_scope_change_event_record.py} +0 -0
- /office365/directory/security/{cdpdlmai_interaction_insights_record.py → audit/cdpdlmai_interaction_insights_record.py} +0 -0
- /office365/directory/security/{cloud_update_device_config_audit_record.py → audit/cloud_update_device_config_audit_record.py} +0 -0
- /office365/directory/security/{cloud_update_profile_config_audit_record.py → audit/cloud_update_profile_config_audit_record.py} +0 -0
- /office365/directory/security/{cloud_update_tenant_config_audit_record.py → audit/cloud_update_tenant_config_audit_record.py} +0 -0
- /office365/directory/security/{compliance_connector_audit_record.py → audit/compliance_connector_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlm_exchange_audit_record.py → audit/compliance_dlm_exchange_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlm_share_point_audit_record.py → audit/compliance_dlm_share_point_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_applications_audit_record.py → audit/compliance_dlp_applications_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_applications_classification_audit_record.py → audit/compliance_dlp_applications_classification_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_endpoint_audit_record.py → audit/compliance_dlp_endpoint_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_endpoint_discovery_audit_record.py → audit/compliance_dlp_endpoint_discovery_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_enforcement_audit_record.py → audit/compliance_dlp_enforcement_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_exchange_audit_record.py → audit/compliance_dlp_exchange_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_exchange_classification_audit_record.py → audit/compliance_dlp_exchange_classification_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_exchange_classification_cdp_record.py → audit/compliance_dlp_exchange_classification_cdp_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_exchange_discovery_audit_record.py → audit/compliance_dlp_exchange_discovery_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_share_point_audit_record.py → audit/compliance_dlp_share_point_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_share_point_classification_audit_record.py → audit/compliance_dlp_share_point_classification_audit_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_share_point_classification_cdp_record.py → audit/compliance_dlp_share_point_classification_cdp_record.py} +0 -0
- /office365/directory/security/{compliance_dlp_share_point_classification_extended_audit_record.py → audit/compliance_dlp_share_point_classification_extended_audit_record.py} +0 -0
- /office365/directory/security/{compliance_exchange_ocr_audit_record.py → audit/compliance_exchange_ocr_audit_record.py} +0 -0
- /office365/directory/security/{compliance_manager_action_record.py → audit/compliance_manager_action_record.py} +0 -0
- /office365/directory/security/{compliance_policy_grading_share_point_audit_record.py → audit/compliance_policy_grading_share_point_audit_record.py} +0 -0
- /office365/directory/security/{compliance_settings_change_audit_record.py → audit/compliance_settings_change_audit_record.py} +0 -0
- /office365/directory/security/{compliance_sit_grading_share_point_audit_record.py → audit/compliance_sit_grading_share_point_audit_record.py} +0 -0
- /office365/directory/security/{compliance_supervision_exchange_audit_record.py → audit/compliance_supervision_exchange_audit_record.py} +0 -0
- /office365/directory/security/{connected_ai_app_interaction_audit_record.py → audit/connected_ai_app_interaction_audit_record.py} +0 -0
- /office365/directory/security/{consumption_resource_audit_record.py → audit/consumption_resource_audit_record.py} +0 -0
- /office365/directory/security/{content_store_metadata_record.py → audit/content_store_metadata_record.py} +0 -0
- /office365/directory/security/{copilot_agent_management_audit_record.py → audit/copilot_agent_management_audit_record.py} +0 -0
- /office365/directory/security/{copilot_for_security_logging_audit_record.py → audit/copilot_for_security_logging_audit_record.py} +0 -0
- /office365/directory/security/{copilot_for_security_trigger_audit_record.py → audit/copilot_for_security_trigger_audit_record.py} +0 -0
- /office365/directory/security/{copilot_interaction_audit_record.py → audit/copilot_interaction_audit_record.py} +0 -0
- /office365/directory/security/{copilot_plugin_setting_audit_record.py → audit/copilot_plugin_setting_audit_record.py} +0 -0
- /office365/directory/security/{copilot_prompt_book_setting_audit_record.py → audit/copilot_prompt_book_setting_audit_record.py} +0 -0
- /office365/directory/security/{copilot_session_sharing_audit_record.py → audit/copilot_session_sharing_audit_record.py} +0 -0
- /office365/directory/security/{copilot_setting_audit_record.py → audit/copilot_setting_audit_record.py} +0 -0
- /office365/directory/security/{copilot_workspace_setting_audit_record.py → audit/copilot_workspace_setting_audit_record.py} +0 -0
- /office365/directory/security/{core_reporting_settings_audit_record.py → audit/core_reporting_settings_audit_record.py} +0 -0
- /office365/directory/security/{critical_asset_management_classification_record.py → audit/critical_asset_management_classification_record.py} +0 -0
- /office365/directory/security/{crm_entity_operation_audit_record.py → audit/crm_entity_operation_audit_record.py} +0 -0
- /office365/directory/security/{cross_tenant_access_policy_audit_record.py → audit/cross_tenant_access_policy_audit_record.py} +0 -0
- /office365/directory/security/{device_discovery_settings_authenticated_scans_record.py → audit/device_discovery_settings_authenticated_scans_record.py} +0 -0
- /office365/directory/security/{device_discovery_settings_exclusion_record.py → audit/device_discovery_settings_exclusion_record.py} +0 -0
- /office365/directory/security/{device_discovery_settings_record.py → audit/device_discovery_settings_record.py} +0 -0
- /office365/directory/security/{discovery_audit_record.py → audit/discovery_audit_record.py} +0 -0
- /office365/directory/security/{dlp_endpoint_audit_record.py → audit/dlp_endpoint_audit_record.py} +0 -0
- /office365/directory/security/{dlp_import_result_audit_record.py → audit/dlp_import_result_audit_record.py} +0 -0
- /office365/directory/security/{dragon_copilot_access_record.py → audit/dragon_copilot_access_record.py} +0 -0
- /office365/directory/security/{dragon_copilot_admin_record.py → audit/dragon_copilot_admin_record.py} +0 -0
- /office365/directory/security/{dragon_copilot_clinical_data_record.py → audit/dragon_copilot_clinical_data_record.py} +0 -0
- /office365/directory/security/{dragon_copilot_session_record.py → audit/dragon_copilot_session_record.py} +0 -0
- /office365/directory/security/{dynamics365_business_central_audit_record.py → audit/dynamics365_business_central_audit_record.py} +0 -0
- /office365/directory/security/{ehr_connector_audit_base_record.py → audit/ehr_connector_audit_base_record.py} +0 -0
- /office365/directory/security/{eop_submission_feed_entity_audit_record.py → audit/eop_submission_feed_entity_audit_record.py} +0 -0
- /office365/directory/security/{exchange_admin_audit_record.py → audit/exchange_admin_audit_record.py} +0 -0
- /office365/directory/security/{exchange_aggregated_mailbox_audit_record.py → audit/exchange_aggregated_mailbox_audit_record.py} +0 -0
- /office365/directory/security/{exchange_aggregated_operation_record.py → audit/exchange_aggregated_operation_record.py} +0 -0
- /office365/directory/security/{exchange_mailbox_audit_group_record.py → audit/exchange_mailbox_audit_group_record.py} +0 -0
- /office365/directory/security/{exchange_mailbox_audit_record.py → audit/exchange_mailbox_audit_record.py} +0 -0
- /office365/directory/security/{hosted_rpa_audit_record.py → audit/hosted_rpa_audit_record.py} +0 -0
- /office365/directory/security/{hr_signal_audit_record.py → audit/hr_signal_audit_record.py} +0 -0
- /office365/directory/security/{hygiene_event_record.py → audit/hygiene_event_record.py} +0 -0
- /office365/directory/security/{information_barrier_policy_application_audit_record.py → audit/information_barrier_policy_application_audit_record.py} +0 -0
- /office365/directory/security/{information_worker_protection_audit_record.py → audit/information_worker_protection_audit_record.py} +0 -0
- /office365/directory/security/{insider_risk_scoped_user_insights_record.py → audit/insider_risk_scoped_user_insights_record.py} +0 -0
- /office365/directory/security/{insider_risk_scoped_users_record.py → audit/insider_risk_scoped_users_record.py} +0 -0
- /office365/directory/security/{microsoft_stream_audit_record.py → audit/microsoft_stream_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_admin_audit_record.py → audit/microsoft_teams_admin_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_analytics_audit_record.py → audit/microsoft_teams_analytics_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_audit_record.py → audit/microsoft_teams_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_device_audit_record.py → audit/microsoft_teams_device_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_retention_label_action_audit_record.py → audit/microsoft_teams_retention_label_action_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_sensitivity_label_action_audit_record.py → audit/microsoft_teams_sensitivity_label_action_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_shifts_audit_record.py → audit/microsoft_teams_shifts_audit_record.py} +0 -0
- /office365/directory/security/{microsoft_teams_user_concern_audit_record.py → audit/microsoft_teams_user_concern_audit_record.py} +0 -0
- /office365/directory/security/{whois_history_record.py → audit/whois_history_record.py} +0 -0
- /office365/directory/security/{case.py → cases/case.py} +0 -0
- /office365/{sharepoint/migration/assessment → directory/security/collaboration}/__init__.py +0 -0
- /office365/directory/security/{analyzed_email.py → collaboration/analyzed_email.py} +0 -0
- /office365/directory/security/{analyzed_email_authentication_detail.py → collaboration/analyzed_email_authentication_detail.py} +0 -0
- /office365/directory/security/{analyzed_email_delivery_detail.py → collaboration/analyzed_email_delivery_detail.py} +0 -0
- /office365/directory/security/{analyzed_email_dlp_rule_info.py → collaboration/analyzed_email_dlp_rule_info.py} +0 -0
- /office365/directory/security/{analyzed_email_exchange_transport_rule_info.py → collaboration/analyzed_email_exchange_transport_rule_info.py} +0 -0
- /office365/directory/security/{analyzed_email_recipient_detail.py → collaboration/analyzed_email_recipient_detail.py} +0 -0
- /office365/directory/security/{analyzed_email_sender_detail.py → collaboration/analyzed_email_sender_detail.py} +0 -0
- /office365/directory/security/{analyzed_email_url.py → collaboration/analyzed_email_url.py} +0 -0
- /office365/{sharepoint/migration/assessment/scanners → directory/security/datasecurity}/__init__.py +0 -0
- /office365/directory/security/{data_security → datasecurity}/sensitivity_label.py +0 -0
- /office365/directory/security/{host_logon_session_evidence.py → threatintelligence/host_logon_session_evidence.py} +0 -0
- /office365/directory/security/{host_reputation.py → threatintelligence/host_reputation.py} +0 -0
- /office365/directory/security/{hostname.py → threatintelligence/hostname.py} +0 -0
- {office365_rest_python_client-3.0.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import base64
|
|
3
4
|
from datetime import datetime
|
|
4
5
|
from typing import TYPE_CHECKING, Optional, Union
|
|
5
6
|
from uuid import UUID
|
|
@@ -10,44 +11,61 @@ from office365.runtime.client_result import ClientResult
|
|
|
10
11
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
11
12
|
from office365.runtime.paths.resource_path import ResourcePath
|
|
12
13
|
from office365.runtime.paths.service_operation import ServiceOperationPath
|
|
14
|
+
from office365.runtime.queries.function import FunctionQuery
|
|
13
15
|
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
16
|
+
from office365.runtime.types.collections import GuidCollection, StringCollection
|
|
17
|
+
from office365.sharepoint.administration.unlicensedodblicenseenforcementwarningcontext import (
|
|
18
|
+
UnlicensedOdbLicenseEnforcementWarningContext,
|
|
19
|
+
)
|
|
14
20
|
from office365.sharepoint.audit.audit import Audit
|
|
15
21
|
from office365.sharepoint.changes.collection import ChangeCollection
|
|
16
22
|
from office365.sharepoint.changes.query import ChangeQuery
|
|
17
23
|
from office365.sharepoint.changes.token import ChangeToken
|
|
24
|
+
from office365.sharepoint.clientsidecomponent.updatecard import UpdateCard
|
|
25
|
+
from office365.sharepoint.compliance.sensitivitylabels.info import SensitivityLabelInfo
|
|
18
26
|
from office365.sharepoint.compliance.store_proxy import SPPolicyStoreProxy
|
|
19
27
|
from office365.sharepoint.compliance.tags.tag import ComplianceTag
|
|
28
|
+
from office365.sharepoint.documents.customizedformspagecollection import CustomizedFormsPageCollection
|
|
29
|
+
from office365.sharepoint.documents.encryptionoption import EncryptionOption
|
|
20
30
|
from office365.sharepoint.entity import Entity
|
|
21
31
|
from office365.sharepoint.entity_collection import EntityCollection
|
|
22
|
-
from office365.sharepoint.eventreceivers.definition_collection import
|
|
23
|
-
EventReceiverDefinitionCollection,
|
|
24
|
-
)
|
|
32
|
+
from office365.sharepoint.eventreceivers.definition_collection import EventReceiverDefinitionCollection
|
|
25
33
|
from office365.sharepoint.features.collection import FeatureCollection
|
|
34
|
+
from office365.sharepoint.files.versionbatchdeleteparameters import FileVersionBatchDeleteParameters
|
|
26
35
|
from office365.sharepoint.lists.list import List
|
|
27
36
|
from office365.sharepoint.lists.templates.type import ListTemplateType
|
|
37
|
+
from office365.sharepoint.onboarding.customerkeyinfo import CustomerKeyInfo
|
|
38
|
+
from office365.sharepoint.onboarding.customerkeystatusinfo import CustomerKeyStatusInfo
|
|
39
|
+
from office365.sharepoint.onboarding.customerkeyvaultinfo import CustomerKeyVaultInfo
|
|
28
40
|
from office365.sharepoint.portal.sites.icon_manager import SiteIconManager
|
|
41
|
+
from office365.sharepoint.principal.groups.group import Group
|
|
29
42
|
from office365.sharepoint.principal.users.user import User
|
|
30
43
|
from office365.sharepoint.recyclebin.item_collection import RecycleBinItemCollection
|
|
31
|
-
from office365.sharepoint.sites.
|
|
32
|
-
|
|
33
|
-
|
|
44
|
+
from office365.sharepoint.sites.asyncreadjobinfo import AsyncReadJobInfo
|
|
45
|
+
from office365.sharepoint.sites.asyncreadoptions import AsyncReadOptions
|
|
46
|
+
from office365.sharepoint.sites.autolabellingworkinformation import AutoLabellingWorkInformation
|
|
47
|
+
from office365.sharepoint.sites.azure_container_Info import ProvisionedTemporaryAzureContainerInfo
|
|
34
48
|
from office365.sharepoint.sites.copy_job_progress import CopyJobProgress
|
|
35
49
|
from office365.sharepoint.sites.copy_migration_iInfo import CopyMigrationInfo
|
|
50
|
+
from office365.sharepoint.sites.enqueuejobinformation import EnqueueJobInformation
|
|
36
51
|
from office365.sharepoint.sites.health.summary import SiteHealthSummary
|
|
37
52
|
from office365.sharepoint.sites.home.site import SPHSite
|
|
38
|
-
from office365.sharepoint.sites.html_field_security_setting import
|
|
39
|
-
|
|
40
|
-
)
|
|
53
|
+
from office365.sharepoint.sites.html_field_security_setting import HTMLFieldSecuritySetting
|
|
54
|
+
from office365.sharepoint.sites.migration.copyoptions import CopyMigrationOptions
|
|
41
55
|
from office365.sharepoint.sites.migration.job_status import SPMigrationJobStatus
|
|
56
|
+
from office365.sharepoint.sites.migration.jobprogress import MigrationJobProgress
|
|
57
|
+
from office365.sharepoint.sites.provisionedmigrationcontainersinfo import ProvisionedMigrationContainersInfo
|
|
58
|
+
from office365.sharepoint.sites.provisionedmigrationqueueinfo import ProvisionedMigrationQueueInfo
|
|
59
|
+
from office365.sharepoint.sites.restrictaccesscontrolupdate import RestrictAccessControlUpdate
|
|
60
|
+
from office365.sharepoint.sites.restrictcontentorgwidepolicyupdate import RestrictContentOrgWidePolicyUpdate
|
|
61
|
+
from office365.sharepoint.sites.script_safe_domain import ScriptSafeDomain
|
|
42
62
|
from office365.sharepoint.sites.upgrade_info import UpgradeInfo
|
|
43
63
|
from office365.sharepoint.sites.usage_info import UsageInfo
|
|
44
64
|
from office365.sharepoint.sites.version_policy_manager import SiteVersionPolicyManager
|
|
45
|
-
from office365.sharepoint.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
from office365.sharepoint.tenant.administration.sites.administrators_info import
|
|
49
|
-
SiteAdministratorsInfo,
|
|
50
|
-
)
|
|
65
|
+
from office365.sharepoint.storagemetrics.storage_metrics import StorageMetrics
|
|
66
|
+
from office365.sharepoint.teams.channel_capabilities import ChannelCapabilities
|
|
67
|
+
from office365.sharepoint.tenant.administration.hubsites.creation_information import HubSiteCreationInformation
|
|
68
|
+
from office365.sharepoint.tenant.administration.sites.administrators_info import SiteAdministratorsInfo
|
|
51
69
|
from office365.sharepoint.types.resource_path import ResourcePath as SPResPath
|
|
52
70
|
from office365.sharepoint.usercustomactions.collection import UserCustomActionCollection
|
|
53
71
|
from office365.sharepoint.webs.templates.collection import WebTemplateCollection
|
|
@@ -57,6 +75,15 @@ if TYPE_CHECKING:
|
|
|
57
75
|
from office365.sharepoint.client_context import ClientContext
|
|
58
76
|
|
|
59
77
|
|
|
78
|
+
def _aes_key_base64(value: str | bytes) -> str:
|
|
79
|
+
"""Normalize an AES256CBC key to the base64 text the REST payload expects.
|
|
80
|
+
|
|
81
|
+
``provision_migration_containers`` returns it already base64-encoded (the
|
|
82
|
+
``bytes`` annotation is a C# ``byte[]`` artifact); raw bytes are encoded here.
|
|
83
|
+
"""
|
|
84
|
+
return base64.b64encode(value).decode("ascii") if isinstance(value, bytes) else value
|
|
85
|
+
|
|
86
|
+
|
|
60
87
|
class Site(Entity):
|
|
61
88
|
"""
|
|
62
89
|
Represents a collection of sites in a Web application, including a top-level website and all its sub sites.
|
|
@@ -92,11 +119,7 @@ class Site(Entity):
|
|
|
92
119
|
def create_copy_job(self, export_object_uris, destination_uri, options=None) -> ClientResult[CopyMigrationInfo]:
|
|
93
120
|
""""""
|
|
94
121
|
return_type = ClientResult(self.context, CopyMigrationInfo())
|
|
95
|
-
payload = {
|
|
96
|
-
"exportObjectUris": export_object_uris,
|
|
97
|
-
"destinationUri": destination_uri,
|
|
98
|
-
"options": options,
|
|
99
|
-
}
|
|
122
|
+
payload = {"exportObjectUris": export_object_uris, "destinationUri": destination_uri, "options": options}
|
|
100
123
|
qry = ServiceOperationQuery(self, "CreateCopyJob", None, payload, None, return_type)
|
|
101
124
|
self.context.add_query(qry)
|
|
102
125
|
return return_type
|
|
@@ -106,8 +129,8 @@ class Site(Entity):
|
|
|
106
129
|
g_web_id: Union[str, UUID],
|
|
107
130
|
azure_container_source_uri: str,
|
|
108
131
|
azure_container_manifest_uri: str,
|
|
109
|
-
azure_queue_report_uri: str,
|
|
110
|
-
ingestion_task_key: str,
|
|
132
|
+
azure_queue_report_uri: str | None = None,
|
|
133
|
+
ingestion_task_key: str | None = None,
|
|
111
134
|
) -> ClientResult[str]:
|
|
112
135
|
"""Creates a migration ingestion job for content migration via Azure storage.
|
|
113
136
|
|
|
@@ -115,8 +138,8 @@ class Site(Entity):
|
|
|
115
138
|
g_web_id: Web identifier.
|
|
116
139
|
azure_container_source_uri: Azure container source URI.
|
|
117
140
|
azure_container_manifest_uri: Azure container manifest URI.
|
|
118
|
-
azure_queue_report_uri: Azure queue report URI.
|
|
119
|
-
ingestion_task_key:
|
|
141
|
+
azure_queue_report_uri: Optional Azure queue report URI.
|
|
142
|
+
ingestion_task_key: Optional ingestion task key.
|
|
120
143
|
|
|
121
144
|
Returns:
|
|
122
145
|
ClientResult[str]: Migration job ID.
|
|
@@ -135,12 +158,22 @@ class Site(Entity):
|
|
|
135
158
|
|
|
136
159
|
def create_migration_job(
|
|
137
160
|
self,
|
|
138
|
-
g_web_id=None,
|
|
139
|
-
azure_container_source_uri=None,
|
|
140
|
-
azure_container_manifest_uri=None,
|
|
141
|
-
azure_queue_report_uri=None,
|
|
161
|
+
g_web_id: Union[str, UUID] | None = None,
|
|
162
|
+
azure_container_source_uri: str | None = None,
|
|
163
|
+
azure_container_manifest_uri: str | None = None,
|
|
164
|
+
azure_queue_report_uri: str | None = None,
|
|
142
165
|
) -> ClientResult[str]:
|
|
143
|
-
"""
|
|
166
|
+
"""Creates a migration import job for the package in the source container.
|
|
167
|
+
|
|
168
|
+
Args:
|
|
169
|
+
g_web_id: Identifier of the destination web.
|
|
170
|
+
azure_container_source_uri: Content container URI (with SAS token).
|
|
171
|
+
azure_container_manifest_uri: Manifest container URI (with SAS token).
|
|
172
|
+
azure_queue_report_uri: Optional Azure queue URI receiving progress events.
|
|
173
|
+
|
|
174
|
+
Returns:
|
|
175
|
+
ClientResult[str]: Migration job ID.
|
|
176
|
+
"""
|
|
144
177
|
return_type = ClientResult(self.context, str())
|
|
145
178
|
payload = {
|
|
146
179
|
"gWebId": g_web_id,
|
|
@@ -152,6 +185,78 @@ class Site(Entity):
|
|
|
152
185
|
self.context.add_query(qry)
|
|
153
186
|
return return_type
|
|
154
187
|
|
|
188
|
+
def create_migration_job_encrypted(
|
|
189
|
+
self,
|
|
190
|
+
g_web_id: Union[str, UUID],
|
|
191
|
+
azure_container_source_uri: str,
|
|
192
|
+
azure_container_manifest_uri: str,
|
|
193
|
+
aes256_cbc_key: str | bytes,
|
|
194
|
+
azure_queue_report_uri: str | None = None,
|
|
195
|
+
) -> ClientResult[str]:
|
|
196
|
+
"""Creates a migration import job for an AES-256-CBC encrypted package.
|
|
197
|
+
|
|
198
|
+
Required for SharePoint-provided containers (which are encrypted at rest);
|
|
199
|
+
use the ``EncryptionKey`` returned by :meth:`provision_migration_containers`
|
|
200
|
+
(a base64 string, which is decoded to bytes here).
|
|
201
|
+
|
|
202
|
+
Args:
|
|
203
|
+
g_web_id: Identifier of the destination web.
|
|
204
|
+
azure_container_source_uri: Content container URI (with SAS token).
|
|
205
|
+
azure_container_manifest_uri: Manifest container URI (with SAS token).
|
|
206
|
+
aes256_cbc_key: AES256CBC encryption key (raw bytes or base64 string).
|
|
207
|
+
azure_queue_report_uri: Optional Azure queue URI receiving progress events.
|
|
208
|
+
|
|
209
|
+
Returns:
|
|
210
|
+
ClientResult[str]: Migration job ID.
|
|
211
|
+
"""
|
|
212
|
+
return_type = ClientResult(self.context, str())
|
|
213
|
+
payload = {
|
|
214
|
+
"options": {"AES256CBCKey": _aes_key_base64(aes256_cbc_key)},
|
|
215
|
+
"gWebId": g_web_id,
|
|
216
|
+
"azureContainerSourceUri": azure_container_source_uri,
|
|
217
|
+
"azureContainerManifestUri": azure_container_manifest_uri,
|
|
218
|
+
"azureQueueReportUri": azure_queue_report_uri,
|
|
219
|
+
}
|
|
220
|
+
qry = ServiceOperationQuery(self, "CreateMigrationJobEncrypted", None, payload, None, return_type)
|
|
221
|
+
self.context.add_query(qry)
|
|
222
|
+
return return_type
|
|
223
|
+
|
|
224
|
+
def get_migration_job_progress(self, job_id: str, next_token: str = "0") -> ClientResult[MigrationJobProgress]:
|
|
225
|
+
"""Retrieves a page of migration job progress events.
|
|
226
|
+
|
|
227
|
+
Args:
|
|
228
|
+
job_id: Migration job ID (returned by ``create_migration_job``).
|
|
229
|
+
next_token: Paging token; use ``"0"`` for the initial request.
|
|
230
|
+
|
|
231
|
+
Returns:
|
|
232
|
+
ClientResult[MigrationJobProgress]: The event logs and the next token.
|
|
233
|
+
"""
|
|
234
|
+
return_type = ClientResult(self.context, MigrationJobProgress())
|
|
235
|
+
qry = ServiceOperationQuery(
|
|
236
|
+
self, "GetMigrationJobProgress", {"jobId": job_id, "nextToken": next_token}, None, None, return_type
|
|
237
|
+
)
|
|
238
|
+
self.context.add_query(qry)
|
|
239
|
+
return return_type
|
|
240
|
+
|
|
241
|
+
def provision_migration_containers(self) -> ClientResult[ProvisionedMigrationContainersInfo]:
|
|
242
|
+
"""Provisions SharePoint-provided Azure containers for migration content and manifest.
|
|
243
|
+
|
|
244
|
+
The returned URIs embed SAS tokens; the containers are encrypted at rest, so
|
|
245
|
+
submit jobs with :meth:`create_migration_job_encrypted` and the returned
|
|
246
|
+
``EncryptionKey``.
|
|
247
|
+
"""
|
|
248
|
+
return_type = ClientResult(self.context, ProvisionedMigrationContainersInfo())
|
|
249
|
+
qry = ServiceOperationQuery(self, "ProvisionMigrationContainers", None, None, None, return_type)
|
|
250
|
+
self.context.add_query(qry)
|
|
251
|
+
return return_type
|
|
252
|
+
|
|
253
|
+
def provision_migration_queue(self) -> ClientResult[ProvisionedMigrationQueueInfo]:
|
|
254
|
+
"""Provisions a SharePoint-provided Azure queue for migration job progress."""
|
|
255
|
+
return_type = ClientResult(self.context, ProvisionedMigrationQueueInfo())
|
|
256
|
+
qry = ServiceOperationQuery(self, "ProvisionMigrationQueue", None, None, None, return_type)
|
|
257
|
+
self.context.add_query(qry)
|
|
258
|
+
return return_type
|
|
259
|
+
|
|
155
260
|
def create_preview_site(self, upgrade: Optional[bool] = None, sendemail: Optional[str] = None) -> Self:
|
|
156
261
|
"""Schedules the creation of an evaluation copy of the site collection for the purposes of evaluating an upgrade
|
|
157
262
|
of the site collection to a newer version
|
|
@@ -173,9 +278,11 @@ class Site(Entity):
|
|
|
173
278
|
|
|
174
279
|
def _delete_object():
|
|
175
280
|
if self.group_id == "00000000-0000-0000-0000-000000000000":
|
|
176
|
-
self.
|
|
281
|
+
assert self.id is not None
|
|
282
|
+
self.context.site_manager.delete(self.id)
|
|
177
283
|
else:
|
|
178
|
-
self.
|
|
284
|
+
assert self.url is not None
|
|
285
|
+
self.context.group_site_manager.delete(self.url)
|
|
179
286
|
|
|
180
287
|
self.ensure_properties(["Url", "GroupId", "Id"]).after_execute(lambda _: _delete_object())
|
|
181
288
|
return self
|
|
@@ -226,10 +333,7 @@ class Site(Entity):
|
|
|
226
333
|
return_type = ClientResult(self.context, ComplianceTag())
|
|
227
334
|
|
|
228
335
|
def _loaded(tags: ClientResult[ClientValueCollection[ComplianceTag]]):
|
|
229
|
-
tag = next(
|
|
230
|
-
(t for t in tags.value if tag_name.lower() in (t.DisplayName or t.TagName or "").lower()),
|
|
231
|
-
None,
|
|
232
|
-
)
|
|
336
|
+
tag = next((t for t in tags.value if tag_name.lower() in (t.DisplayName or t.TagName or "").lower()), None)
|
|
233
337
|
return_type.set_property("__value", tag)
|
|
234
338
|
|
|
235
339
|
self.get_available_tags().after_execute(_loaded)
|
|
@@ -264,7 +368,8 @@ class Site(Entity):
|
|
|
264
368
|
return_type = ClientResult(self.context, bytes())
|
|
265
369
|
|
|
266
370
|
def _get_site_logo():
|
|
267
|
-
self.
|
|
371
|
+
assert self.url is not None
|
|
372
|
+
self.context.site_icon_manager.get_site_logo(self.url, return_type=return_type)
|
|
268
373
|
|
|
269
374
|
self.ensure_property("Url").after_execute(lambda _: _get_site_logo())
|
|
270
375
|
return return_type
|
|
@@ -356,7 +461,8 @@ class Site(Entity):
|
|
|
356
461
|
return_type = ClientResult(self.context, ClientValueCollection(SiteAdministratorsInfo))
|
|
357
462
|
|
|
358
463
|
def _get_site_administrators():
|
|
359
|
-
self.
|
|
464
|
+
assert self.id is not None
|
|
465
|
+
self.context.tenant.get_site_administrators(self.id, return_type)
|
|
360
466
|
|
|
361
467
|
self.ensure_property("Id").after_execute(lambda _: _get_site_administrators())
|
|
362
468
|
return return_type
|
|
@@ -368,7 +474,6 @@ class Site(Entity):
|
|
|
368
474
|
"""
|
|
369
475
|
params = {"siteId": site_id, "webId": web_id}
|
|
370
476
|
return_type = ClientResult(self.context, SPResPath())
|
|
371
|
-
|
|
372
477
|
qry = ServiceOperationQuery(self, "GetWebPath", params, None, None, return_type)
|
|
373
478
|
self.context.add_query(qry)
|
|
374
479
|
return return_type
|
|
@@ -385,10 +490,8 @@ class Site(Entity):
|
|
|
385
490
|
"""
|
|
386
491
|
params = {"LCID": lcid, "overrideCompatLevel": override_compat_level}
|
|
387
492
|
return_type = WebTemplateCollection(
|
|
388
|
-
self.context,
|
|
389
|
-
ServiceOperationPath("GetWebTemplates", params, self.resource_path),
|
|
493
|
+
self.context, ServiceOperationPath("GetWebTemplates", params, self.resource_path)
|
|
390
494
|
)
|
|
391
|
-
|
|
392
495
|
qry = ServiceOperationQuery(self, "GetWebTemplates", params, None, None, return_type)
|
|
393
496
|
self.context.add_query(qry)
|
|
394
497
|
return return_type
|
|
@@ -412,19 +515,13 @@ class Site(Entity):
|
|
|
412
515
|
recursive (bool): If "true", child upgradable objects will be inspected; otherwise "false".
|
|
413
516
|
"""
|
|
414
517
|
return_type = ClientResult(self.context)
|
|
415
|
-
payload = {
|
|
416
|
-
"versionUpgrade": version_upgrade,
|
|
417
|
-
"recursive": recursive,
|
|
418
|
-
}
|
|
518
|
+
payload = {"versionUpgrade": version_upgrade, "recursive": recursive}
|
|
419
519
|
qry = ServiceOperationQuery(self, "NeedsUpgradeByType", None, payload, None, return_type)
|
|
420
520
|
self.context.add_query(qry)
|
|
421
521
|
return return_type
|
|
422
522
|
|
|
423
523
|
def join_hub_site(
|
|
424
|
-
self,
|
|
425
|
-
hub_site_id: str,
|
|
426
|
-
approval_token: Optional[str] = None,
|
|
427
|
-
approval_correlation_id: Optional[str] = None,
|
|
524
|
+
self, hub_site_id: str, approval_token: Optional[str] = None, approval_correlation_id: Optional[str] = None
|
|
428
525
|
) -> Self:
|
|
429
526
|
"""Associates a site with an existing hub site.
|
|
430
527
|
|
|
@@ -493,7 +590,8 @@ class Site(Entity):
|
|
|
493
590
|
return_type = ClientResult(self.context, bool())
|
|
494
591
|
|
|
495
592
|
def _is_site_deletable():
|
|
496
|
-
|
|
593
|
+
assert self.url is not None
|
|
594
|
+
SPPolicyStoreProxy.is_site_deletable(self.context, self.url, return_type)
|
|
497
595
|
|
|
498
596
|
self.ensure_property("Url").after_execute(lambda _: _is_site_deletable())
|
|
499
597
|
return return_type
|
|
@@ -505,10 +603,7 @@ class Site(Entity):
|
|
|
505
603
|
Args:
|
|
506
604
|
type_catalog (int):
|
|
507
605
|
"""
|
|
508
|
-
return List(
|
|
509
|
-
self.context,
|
|
510
|
-
ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
|
|
511
|
-
)
|
|
606
|
+
return List(self.context, ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path))
|
|
512
607
|
|
|
513
608
|
def open_web(self, str_url: str) -> Web:
|
|
514
609
|
"""Returns the specified Web site from the site collection.
|
|
@@ -534,9 +629,7 @@ class Site(Entity):
|
|
|
534
629
|
self.context.add_query(qry)
|
|
535
630
|
return return_type
|
|
536
631
|
|
|
537
|
-
def provision_temporary_azure_container(
|
|
538
|
-
self,
|
|
539
|
-
) -> ClientResult[ProvisionedTemporaryAzureContainerInfo]:
|
|
632
|
+
def provision_temporary_azure_container(self) -> ClientResult[ProvisionedTemporaryAzureContainerInfo]:
|
|
540
633
|
""""""
|
|
541
634
|
return_type = ClientResult(self.context, ProvisionedTemporaryAzureContainerInfo())
|
|
542
635
|
qry = ServiceOperationQuery(self, "ProvisionTemporaryAzureContainer", None, None, None, return_type)
|
|
@@ -549,6 +642,17 @@ class Site(Entity):
|
|
|
549
642
|
self.context.add_query(qry)
|
|
550
643
|
return self
|
|
551
644
|
|
|
645
|
+
def get_storage_metrics(self) -> StorageMetrics:
|
|
646
|
+
"""Gets storage-related metrics for the site collection.
|
|
647
|
+
|
|
648
|
+
Unlike ``usage_info.Storage``, ``TotalSize`` includes file versions —
|
|
649
|
+
closer to the site size reported for migration planning.
|
|
650
|
+
"""
|
|
651
|
+
return_type = StorageMetrics(self.context, ServiceOperationPath("GetStorageMetrics", None, self.resource_path))
|
|
652
|
+
qry = ServiceOperationQuery(self, "GetStorageMetrics", None, None, None, return_type)
|
|
653
|
+
self.context.add_query(qry)
|
|
654
|
+
return return_type
|
|
655
|
+
|
|
552
656
|
def register_hub_site(self, create_info: Optional[HubSiteCreationInformation] = None) -> Self:
|
|
553
657
|
"""Registers an existing site as a hub site.
|
|
554
658
|
|
|
@@ -793,24 +897,21 @@ class Site(Entity):
|
|
|
793
897
|
def secondary_contact(self) -> User:
|
|
794
898
|
"""Gets or sets the secondary contact that is used for the site collection."""
|
|
795
899
|
return self.properties.get(
|
|
796
|
-
"SecondaryContact",
|
|
797
|
-
User(self.context, ResourcePath("SecondaryContact", self.resource_path)),
|
|
900
|
+
"SecondaryContact", User(self.context, ResourcePath("SecondaryContact", self.resource_path))
|
|
798
901
|
)
|
|
799
902
|
|
|
800
903
|
@property
|
|
801
904
|
def recycle_bin(self) -> RecycleBinItemCollection:
|
|
802
905
|
"""Get recycle bin"""
|
|
803
906
|
return self.properties.get(
|
|
804
|
-
"RecycleBin",
|
|
805
|
-
RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
|
|
907
|
+
"RecycleBin", RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path))
|
|
806
908
|
)
|
|
807
909
|
|
|
808
910
|
@property
|
|
809
911
|
def features(self) -> FeatureCollection:
|
|
810
912
|
"""Get features"""
|
|
811
913
|
return self.properties.get(
|
|
812
|
-
"Features",
|
|
813
|
-
FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
|
|
914
|
+
"Features", FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self)
|
|
814
915
|
)
|
|
815
916
|
|
|
816
917
|
@property
|
|
@@ -906,11 +1007,240 @@ class Site(Entity):
|
|
|
906
1007
|
return self.properties.get(
|
|
907
1008
|
"VersionPolicyForNewLibrariesTemplate",
|
|
908
1009
|
SiteVersionPolicyManager(
|
|
909
|
-
self.context,
|
|
910
|
-
ResourcePath("VersionPolicyForNewLibrariesTemplate", self.resource_path),
|
|
1010
|
+
self.context, ResourcePath("VersionPolicyForNewLibrariesTemplate", self.resource_path)
|
|
911
1011
|
),
|
|
912
1012
|
)
|
|
913
1013
|
|
|
1014
|
+
@property
|
|
1015
|
+
def allow_external_embedding_wrapper(self) -> Optional[int]:
|
|
1016
|
+
"""Gets the AllowExternalEmbeddingWrapper property"""
|
|
1017
|
+
return self.properties.get("AllowExternalEmbeddingWrapper", None)
|
|
1018
|
+
|
|
1019
|
+
@property
|
|
1020
|
+
def allow_save_declarative_workflow_as_template(self) -> Optional[bool]:
|
|
1021
|
+
"""Gets the AllowSaveDeclarativeWorkflowAsTemplate property"""
|
|
1022
|
+
return self.properties.get("AllowSaveDeclarativeWorkflowAsTemplate", None)
|
|
1023
|
+
|
|
1024
|
+
@property
|
|
1025
|
+
def allow_save_publish_declarative_workflow(self) -> Optional[bool]:
|
|
1026
|
+
"""Gets the AllowSavePublishDeclarativeWorkflow property"""
|
|
1027
|
+
return self.properties.get("AllowSavePublishDeclarativeWorkflow", None)
|
|
1028
|
+
|
|
1029
|
+
@property
|
|
1030
|
+
def allow_self_service_upgrade(self) -> Optional[bool]:
|
|
1031
|
+
"""Gets the AllowSelfServiceUpgrade property"""
|
|
1032
|
+
return self.properties.get("AllowSelfServiceUpgrade", None)
|
|
1033
|
+
|
|
1034
|
+
@property
|
|
1035
|
+
def allow_self_service_upgrade_evaluation(self) -> Optional[bool]:
|
|
1036
|
+
"""Gets the AllowSelfServiceUpgradeEvaluation property"""
|
|
1037
|
+
return self.properties.get("AllowSelfServiceUpgradeEvaluation", None)
|
|
1038
|
+
|
|
1039
|
+
@property
|
|
1040
|
+
def audit_log_trimming_retention(self) -> Optional[int]:
|
|
1041
|
+
"""Gets the AuditLogTrimmingRetention property"""
|
|
1042
|
+
return self.properties.get("AuditLogTrimmingRetention", None)
|
|
1043
|
+
|
|
1044
|
+
@property
|
|
1045
|
+
def can_sync_hub_site_permissions(self) -> Optional[bool]:
|
|
1046
|
+
"""Gets the CanSyncHubSitePermissions property"""
|
|
1047
|
+
return self.properties.get("CanSyncHubSitePermissions", None)
|
|
1048
|
+
|
|
1049
|
+
@property
|
|
1050
|
+
def channel_capabilities(self) -> ChannelCapabilities:
|
|
1051
|
+
"""Gets the ChannelCapabilities property"""
|
|
1052
|
+
return self.properties.get("ChannelCapabilities", ChannelCapabilities())
|
|
1053
|
+
|
|
1054
|
+
@property
|
|
1055
|
+
def compliance_attribute(self) -> Optional[str]:
|
|
1056
|
+
"""Gets the ComplianceAttribute property"""
|
|
1057
|
+
return self.properties.get("ComplianceAttribute", None)
|
|
1058
|
+
|
|
1059
|
+
@property
|
|
1060
|
+
def customized_forms_pages(self) -> CustomizedFormsPageCollection:
|
|
1061
|
+
"""Gets the CustomizedFormsPages property"""
|
|
1062
|
+
return self.properties.get("CustomizedFormsPages", CustomizedFormsPageCollection())
|
|
1063
|
+
|
|
1064
|
+
@property
|
|
1065
|
+
def disable_app_views(self) -> Optional[bool]:
|
|
1066
|
+
"""Gets the DisableAppViews property"""
|
|
1067
|
+
return self.properties.get("DisableAppViews", None)
|
|
1068
|
+
|
|
1069
|
+
@property
|
|
1070
|
+
def disable_company_wide_sharing_links(self) -> Optional[bool]:
|
|
1071
|
+
"""Gets the DisableCompanyWideSharingLinks property"""
|
|
1072
|
+
return self.properties.get("DisableCompanyWideSharingLinks", None)
|
|
1073
|
+
|
|
1074
|
+
@property
|
|
1075
|
+
def id_(self) -> Optional[UUID]:
|
|
1076
|
+
"""Gets the Id property"""
|
|
1077
|
+
return self.properties.get("Id", None)
|
|
1078
|
+
|
|
1079
|
+
@property
|
|
1080
|
+
def sensitivity_label_id(self) -> Optional[str]:
|
|
1081
|
+
"""Gets the SensitivityLabelId property"""
|
|
1082
|
+
return self.properties.get("SensitivityLabelId", None)
|
|
1083
|
+
|
|
1084
|
+
@property
|
|
1085
|
+
def sensitivity_label(self) -> Optional[UUID]:
|
|
1086
|
+
"""Gets the SensitivityLabel property"""
|
|
1087
|
+
return self.properties.get("SensitivityLabel", None)
|
|
1088
|
+
|
|
1089
|
+
@property
|
|
1090
|
+
def is_personal_site_over_license_quota(self) -> Optional[bool]:
|
|
1091
|
+
"""Gets the IsPersonalSiteOverLicenseQuota property"""
|
|
1092
|
+
return self.properties.get("IsPersonalSiteOverLicenseQuota", None)
|
|
1093
|
+
|
|
1094
|
+
@property
|
|
1095
|
+
def is_personal_site_storage_limit_set_on_payg_tenant(self) -> Optional[bool]:
|
|
1096
|
+
"""Gets the IsPersonalSiteStorageLimitSetOnPaygTenant property"""
|
|
1097
|
+
return self.properties.get("IsPersonalSiteStorageLimitSetOnPaygTenant", None)
|
|
1098
|
+
|
|
1099
|
+
@property
|
|
1100
|
+
def is_restrict_content_org_wide_search_policy_enforced_on_site(self) -> Optional[bool]:
|
|
1101
|
+
"""Gets the IsRestrictContentOrgWideSearchPolicyEnforcedOnSite property"""
|
|
1102
|
+
return self.properties.get("IsRestrictContentOrgWideSearchPolicyEnforcedOnSite", None)
|
|
1103
|
+
|
|
1104
|
+
@property
|
|
1105
|
+
def is_restricted_access_control_policy_enforced_on_site(self) -> Optional[bool]:
|
|
1106
|
+
"""Gets the IsRestrictedAccessControlPolicyEnforcedOnSite property"""
|
|
1107
|
+
return self.properties.get("IsRestrictedAccessControlPolicyEnforcedOnSite", None)
|
|
1108
|
+
|
|
1109
|
+
@property
|
|
1110
|
+
def is_restricted_content_discoveryfor_copilot_and_agents_enabled(self) -> Optional[bool]:
|
|
1111
|
+
"""Gets the IsRestrictedContentDiscoveryforCopilotAndAgentsEnabled property"""
|
|
1112
|
+
return self.properties.get("IsRestrictedContentDiscoveryforCopilotAndAgentsEnabled", None)
|
|
1113
|
+
|
|
1114
|
+
@property
|
|
1115
|
+
def is_scheduled_for_removal(self) -> Optional[bool]:
|
|
1116
|
+
"""Gets the IsScheduledForRemoval property"""
|
|
1117
|
+
return self.properties.get("IsScheduledForRemoval", None)
|
|
1118
|
+
|
|
1119
|
+
@property
|
|
1120
|
+
def is_unlicensed_odb(self) -> Optional[bool]:
|
|
1121
|
+
"""Gets the IsUnlicensedOdb property"""
|
|
1122
|
+
return self.properties.get("IsUnlicensedOdb", None)
|
|
1123
|
+
|
|
1124
|
+
@property
|
|
1125
|
+
def media_transcription_disabled(self) -> Optional[bool]:
|
|
1126
|
+
"""Gets the MediaTranscriptionDisabled property"""
|
|
1127
|
+
return self.properties.get("MediaTranscriptionDisabled", None)
|
|
1128
|
+
|
|
1129
|
+
@property
|
|
1130
|
+
def needs_b2_b_upgrade(self) -> Optional[bool]:
|
|
1131
|
+
"""Gets the NeedsB2BUpgrade property"""
|
|
1132
|
+
return self.properties.get("NeedsB2BUpgrade", None)
|
|
1133
|
+
|
|
1134
|
+
@property
|
|
1135
|
+
def primary_uri(self) -> Optional[str]:
|
|
1136
|
+
"""Gets the PrimaryUri property"""
|
|
1137
|
+
return self.properties.get("PrimaryUri", None)
|
|
1138
|
+
|
|
1139
|
+
@property
|
|
1140
|
+
def related_group_id(self) -> Optional[UUID]:
|
|
1141
|
+
"""Gets the RelatedGroupId property"""
|
|
1142
|
+
return self.properties.get("RelatedGroupId", None)
|
|
1143
|
+
|
|
1144
|
+
@property
|
|
1145
|
+
def restrict_content_org_wide_search_update(self) -> RestrictContentOrgWidePolicyUpdate:
|
|
1146
|
+
"""Gets the RestrictContentOrgWideSearchUpdate property"""
|
|
1147
|
+
return self.properties.get("RestrictContentOrgWideSearchUpdate", RestrictContentOrgWidePolicyUpdate())
|
|
1148
|
+
|
|
1149
|
+
@property
|
|
1150
|
+
def restricted_access_control_groups_delegated_on_site(self) -> RestrictAccessControlUpdate:
|
|
1151
|
+
"""Gets the RestrictedAccessControlGroupsDelegatedOnSite property"""
|
|
1152
|
+
return self.properties.get("RestrictedAccessControlGroupsDelegatedOnSite", RestrictAccessControlUpdate())
|
|
1153
|
+
|
|
1154
|
+
@property
|
|
1155
|
+
def restricted_access_control_groups_enforced_on_site(self) -> StringCollection:
|
|
1156
|
+
"""Gets the RestrictedAccessControlGroupsEnforcedOnSite property"""
|
|
1157
|
+
return self.properties.get("RestrictedAccessControlGroupsEnforcedOnSite", StringCollection())
|
|
1158
|
+
|
|
1159
|
+
@property
|
|
1160
|
+
def sandboxed_code_activation_capability(self) -> Optional[int]:
|
|
1161
|
+
"""Gets the SandboxedCodeActivationCapability property"""
|
|
1162
|
+
return self.properties.get("SandboxedCodeActivationCapability", None)
|
|
1163
|
+
|
|
1164
|
+
@property
|
|
1165
|
+
def scheduled_date_for_removal(self) -> Optional[str]:
|
|
1166
|
+
"""Gets the ScheduledDateForRemoval property"""
|
|
1167
|
+
return self.properties.get("ScheduledDateForRemoval", None)
|
|
1168
|
+
|
|
1169
|
+
@property
|
|
1170
|
+
def search_box_in_nav_bar(self) -> Optional[int]:
|
|
1171
|
+
"""Gets the SearchBoxInNavBar property"""
|
|
1172
|
+
return self.properties.get("SearchBoxInNavBar", None)
|
|
1173
|
+
|
|
1174
|
+
@property
|
|
1175
|
+
def search_box_placeholder_text(self) -> Optional[str]:
|
|
1176
|
+
"""Gets the SearchBoxPlaceholderText property"""
|
|
1177
|
+
return self.properties.get("SearchBoxPlaceholderText", None)
|
|
1178
|
+
|
|
1179
|
+
@property
|
|
1180
|
+
def sensitivity_label_info(self) -> SensitivityLabelInfo:
|
|
1181
|
+
"""Gets the SensitivityLabelInfo property"""
|
|
1182
|
+
return self.properties.get("SensitivityLabelInfo", SensitivityLabelInfo())
|
|
1183
|
+
|
|
1184
|
+
@property
|
|
1185
|
+
def share_by_link_enabled(self) -> Optional[bool]:
|
|
1186
|
+
"""Gets the ShareByLinkEnabled property"""
|
|
1187
|
+
return self.properties.get("ShareByLinkEnabled", None)
|
|
1188
|
+
|
|
1189
|
+
@property
|
|
1190
|
+
def show_people_picker_suggestions_for_guest_users(self) -> Optional[bool]:
|
|
1191
|
+
"""Gets the ShowPeoplePickerSuggestionsForGuestUsers property"""
|
|
1192
|
+
return self.properties.get("ShowPeoplePickerSuggestionsForGuestUsers", None)
|
|
1193
|
+
|
|
1194
|
+
@property
|
|
1195
|
+
def site_policy_enabled(self) -> Optional[bool]:
|
|
1196
|
+
"""Gets the SitePolicyEnabled property"""
|
|
1197
|
+
return self.properties.get("SitePolicyEnabled", None)
|
|
1198
|
+
|
|
1199
|
+
@property
|
|
1200
|
+
def social_bar_on_site_pages_disabled(self) -> Optional[bool]:
|
|
1201
|
+
"""Gets the SocialBarOnSitePagesDisabled property"""
|
|
1202
|
+
return self.properties.get("SocialBarOnSitePagesDisabled", None)
|
|
1203
|
+
|
|
1204
|
+
@property
|
|
1205
|
+
def thicket_support_disabled(self) -> Optional[bool]:
|
|
1206
|
+
"""Gets the ThicketSupportDisabled property"""
|
|
1207
|
+
return self.properties.get("ThicketSupportDisabled", None)
|
|
1208
|
+
|
|
1209
|
+
@property
|
|
1210
|
+
def unified_domain_url(self) -> Optional[str]:
|
|
1211
|
+
"""Gets the UnifiedDomainUrl property"""
|
|
1212
|
+
return self.properties.get("UnifiedDomainUrl", None)
|
|
1213
|
+
|
|
1214
|
+
@property
|
|
1215
|
+
def unlicensed_odb_license_enforcement_warning_context(self) -> UnlicensedOdbLicenseEnforcementWarningContext:
|
|
1216
|
+
"""Gets the UnlicensedOdbLicenseEnforcementWarningContext property"""
|
|
1217
|
+
return self.properties.get(
|
|
1218
|
+
"UnlicensedOdbLicenseEnforcementWarningContext", UnlicensedOdbLicenseEnforcementWarningContext()
|
|
1219
|
+
)
|
|
1220
|
+
|
|
1221
|
+
@property
|
|
1222
|
+
def usage(self) -> UsageInfo:
|
|
1223
|
+
"""Gets the Usage property"""
|
|
1224
|
+
return self.properties.get("Usage", UsageInfo())
|
|
1225
|
+
|
|
1226
|
+
@property
|
|
1227
|
+
def custom_script_safe_domains(self) -> EntityCollection[ScriptSafeDomain]:
|
|
1228
|
+
"""Gets the CustomScriptSafeDomains property"""
|
|
1229
|
+
return self.properties.get(
|
|
1230
|
+
"CustomScriptSafeDomains",
|
|
1231
|
+
EntityCollection[ScriptSafeDomain](
|
|
1232
|
+
self.context, ScriptSafeDomain, ResourcePath("CustomScriptSafeDomains", self.resource_path)
|
|
1233
|
+
),
|
|
1234
|
+
)
|
|
1235
|
+
|
|
1236
|
+
@property
|
|
1237
|
+
def hub_site_synchronizable_visitor_group(self) -> Group:
|
|
1238
|
+
"""Gets the HubSiteSynchronizableVisitorGroup property"""
|
|
1239
|
+
return self.properties.get(
|
|
1240
|
+
"HubSiteSynchronizableVisitorGroup",
|
|
1241
|
+
Group(self.context, ResourcePath("HubSiteSynchronizableVisitorGroup", self.resource_path)),
|
|
1242
|
+
)
|
|
1243
|
+
|
|
914
1244
|
def get_property(self, name, default_value=None):
|
|
915
1245
|
if default_value is None:
|
|
916
1246
|
property_mapping = {
|
|
@@ -936,3 +1266,596 @@ class Site(Entity):
|
|
|
936
1266
|
else:
|
|
937
1267
|
super().set_property(name, value, persist_changes)
|
|
938
1268
|
return self
|
|
1269
|
+
|
|
1270
|
+
def create_copy_jobs(
|
|
1271
|
+
self, export_object_uris: list[str], destination_uri: str, options: CopyMigrationOptions
|
|
1272
|
+
) -> ClientResult[ClientValueCollection[CopyMigrationInfo]]:
|
|
1273
|
+
"""CreateCopyJobs operation.
|
|
1274
|
+
|
|
1275
|
+
Args:
|
|
1276
|
+
export_object_uris (list[str]): exportObjectUris parameter
|
|
1277
|
+
destination_uri (str): destinationUri parameter
|
|
1278
|
+
options (CopyMigrationOptions): options parameter
|
|
1279
|
+
"""
|
|
1280
|
+
return_type = ClientResult(self.context, ClientValueCollection[CopyMigrationInfo]())
|
|
1281
|
+
qry = ServiceOperationQuery(
|
|
1282
|
+
self,
|
|
1283
|
+
"CreateCopyJobs",
|
|
1284
|
+
None,
|
|
1285
|
+
{
|
|
1286
|
+
"exportObjectUris": StringCollection(export_object_uris),
|
|
1287
|
+
"destinationUri": destination_uri,
|
|
1288
|
+
"options": options,
|
|
1289
|
+
},
|
|
1290
|
+
None,
|
|
1291
|
+
return_type,
|
|
1292
|
+
)
|
|
1293
|
+
self.context.add_query(qry)
|
|
1294
|
+
return return_type
|
|
1295
|
+
|
|
1296
|
+
def create_preview_sp_site(self, upgrade: bool, sendemail: bool) -> Self:
|
|
1297
|
+
"""CreatePreviewSPSite operation.
|
|
1298
|
+
|
|
1299
|
+
Args:
|
|
1300
|
+
upgrade (bool): upgrade parameter
|
|
1301
|
+
sendemail (bool): sendemail parameter
|
|
1302
|
+
"""
|
|
1303
|
+
qry = ServiceOperationQuery(
|
|
1304
|
+
self, "CreatePreviewSPSite", None, {"upgrade": upgrade, "sendemail": sendemail}, None, None
|
|
1305
|
+
)
|
|
1306
|
+
self.context.add_query(qry)
|
|
1307
|
+
return self
|
|
1308
|
+
|
|
1309
|
+
def create_sp_async_read_job(
|
|
1310
|
+
self,
|
|
1311
|
+
url: str,
|
|
1312
|
+
read_options: AsyncReadOptions,
|
|
1313
|
+
encryption_option: EncryptionOption,
|
|
1314
|
+
azure_container_manifest_uri: str,
|
|
1315
|
+
azure_queue_report_uri: str,
|
|
1316
|
+
) -> ClientResult[AsyncReadJobInfo]:
|
|
1317
|
+
"""CreateSPAsyncReadJob operation.
|
|
1318
|
+
|
|
1319
|
+
Args:
|
|
1320
|
+
url (str): url parameter
|
|
1321
|
+
read_options (AsyncReadOptions): readOptions parameter
|
|
1322
|
+
encryption_option (EncryptionOption): encryptionOption parameter
|
|
1323
|
+
azure_container_manifest_uri (str): azureContainerManifestUri parameter
|
|
1324
|
+
azure_queue_report_uri (str): azureQueueReportUri parameter
|
|
1325
|
+
"""
|
|
1326
|
+
return_type = ClientResult(self.context, AsyncReadJobInfo())
|
|
1327
|
+
qry = ServiceOperationQuery(
|
|
1328
|
+
self,
|
|
1329
|
+
"CreateSPAsyncReadJob",
|
|
1330
|
+
None,
|
|
1331
|
+
{
|
|
1332
|
+
"url": url,
|
|
1333
|
+
"readOptions": read_options,
|
|
1334
|
+
"encryptionOption": encryption_option,
|
|
1335
|
+
"azureContainerManifestUri": azure_container_manifest_uri,
|
|
1336
|
+
"azureQueueReportUri": azure_queue_report_uri,
|
|
1337
|
+
},
|
|
1338
|
+
None,
|
|
1339
|
+
return_type,
|
|
1340
|
+
)
|
|
1341
|
+
self.context.add_query(qry)
|
|
1342
|
+
return return_type
|
|
1343
|
+
|
|
1344
|
+
def create_sp_async_read_job_with_multi_url(
|
|
1345
|
+
self,
|
|
1346
|
+
urls: list[str],
|
|
1347
|
+
read_options: AsyncReadOptions,
|
|
1348
|
+
encryption_option: EncryptionOption,
|
|
1349
|
+
azure_container_manifest_uri: str,
|
|
1350
|
+
azure_queue_report_uri: str,
|
|
1351
|
+
) -> ClientResult[AsyncReadJobInfo]:
|
|
1352
|
+
"""CreateSPAsyncReadJobWithMultiUrl operation.
|
|
1353
|
+
|
|
1354
|
+
Args:
|
|
1355
|
+
urls (list[str]): urls parameter
|
|
1356
|
+
read_options (AsyncReadOptions): readOptions parameter
|
|
1357
|
+
encryption_option (EncryptionOption): encryptionOption parameter
|
|
1358
|
+
azure_container_manifest_uri (str): azureContainerManifestUri parameter
|
|
1359
|
+
azure_queue_report_uri (str): azureQueueReportUri parameter
|
|
1360
|
+
"""
|
|
1361
|
+
return_type = ClientResult(self.context, AsyncReadJobInfo())
|
|
1362
|
+
qry = ServiceOperationQuery(
|
|
1363
|
+
self,
|
|
1364
|
+
"CreateSPAsyncReadJobWithMultiUrl",
|
|
1365
|
+
None,
|
|
1366
|
+
{
|
|
1367
|
+
"urls": StringCollection(urls),
|
|
1368
|
+
"readOptions": read_options,
|
|
1369
|
+
"encryptionOption": encryption_option,
|
|
1370
|
+
"azureContainerManifestUri": azure_container_manifest_uri,
|
|
1371
|
+
"azureQueueReportUri": azure_queue_report_uri,
|
|
1372
|
+
},
|
|
1373
|
+
None,
|
|
1374
|
+
return_type,
|
|
1375
|
+
)
|
|
1376
|
+
self.context.add_query(qry)
|
|
1377
|
+
return return_type
|
|
1378
|
+
|
|
1379
|
+
def delete_migration_job(self, id_: UUID) -> ClientResult[bool]:
|
|
1380
|
+
"""DeleteMigrationJob operation.
|
|
1381
|
+
|
|
1382
|
+
Args:
|
|
1383
|
+
id_ (UUID): id parameter
|
|
1384
|
+
"""
|
|
1385
|
+
return_type = ClientResult(self.context, bool())
|
|
1386
|
+
qry = ServiceOperationQuery(self, "DeleteMigrationJob", None, {"id": id_}, None, return_type)
|
|
1387
|
+
self.context.add_query(qry)
|
|
1388
|
+
return return_type
|
|
1389
|
+
|
|
1390
|
+
def enqueue_apply_sensitivity_label_work(
|
|
1391
|
+
self, work_item_information: AutoLabellingWorkInformation
|
|
1392
|
+
) -> ClientResult[EnqueueJobInformation]:
|
|
1393
|
+
"""EnqueueApplySensitivityLabelWork operation.
|
|
1394
|
+
|
|
1395
|
+
Args:
|
|
1396
|
+
work_item_information (AutoLabellingWorkInformation): workItemInformation parameter
|
|
1397
|
+
"""
|
|
1398
|
+
return_type = ClientResult(self.context, EnqueueJobInformation())
|
|
1399
|
+
qry = ServiceOperationQuery(
|
|
1400
|
+
self,
|
|
1401
|
+
"EnqueueApplySensitivityLabelWork",
|
|
1402
|
+
None,
|
|
1403
|
+
{"workItemInformation": work_item_information},
|
|
1404
|
+
None,
|
|
1405
|
+
return_type,
|
|
1406
|
+
)
|
|
1407
|
+
self.context.add_query(qry)
|
|
1408
|
+
return return_type
|
|
1409
|
+
|
|
1410
|
+
def get_bring_your_own_key_recovery_key_mode(self) -> ClientResult[int]:
|
|
1411
|
+
"""GetBringYourOwnKeyRecoveryKeyMode operation."""
|
|
1412
|
+
return_type = ClientResult(self.context, int())
|
|
1413
|
+
qry = ServiceOperationQuery(self, "GetBringYourOwnKeyRecoveryKeyMode", None, {}, None, return_type)
|
|
1414
|
+
self.context.add_query(qry)
|
|
1415
|
+
return return_type
|
|
1416
|
+
|
|
1417
|
+
def get_bring_your_own_key_site_status(self) -> ClientResult[CustomerKeyStatusInfo]:
|
|
1418
|
+
"""GetBringYourOwnKeySiteStatus operation."""
|
|
1419
|
+
return_type = ClientResult(self.context, CustomerKeyStatusInfo())
|
|
1420
|
+
qry = ServiceOperationQuery(self, "GetBringYourOwnKeySiteStatus", None, {}, None, return_type)
|
|
1421
|
+
self.context.add_query(qry)
|
|
1422
|
+
return return_type
|
|
1423
|
+
|
|
1424
|
+
def get_bring_your_own_key_tenant_status(self) -> ClientResult[CustomerKeyStatusInfo]:
|
|
1425
|
+
"""GetBringYourOwnKeyTenantStatus operation."""
|
|
1426
|
+
return_type = ClientResult(self.context, CustomerKeyStatusInfo())
|
|
1427
|
+
qry = ServiceOperationQuery(self, "GetBringYourOwnKeyTenantStatus", None, {}, None, return_type)
|
|
1428
|
+
self.context.add_query(qry)
|
|
1429
|
+
return return_type
|
|
1430
|
+
|
|
1431
|
+
@staticmethod
|
|
1432
|
+
def get_ebar_protection_units_exist_by_ids(
|
|
1433
|
+
context: ClientContext, site_subscription_id: UUID, protection_unit_ids: list[UUID]
|
|
1434
|
+
) -> ClientResult[dict]:
|
|
1435
|
+
"""GetEbarProtectionUnitsExistByIds operation.
|
|
1436
|
+
|
|
1437
|
+
Args:
|
|
1438
|
+
site_subscription_id (UUID): siteSubscriptionId parameter
|
|
1439
|
+
protection_unit_ids (list[UUID]): protectionUnitIds parameter
|
|
1440
|
+
"""
|
|
1441
|
+
return_type = ClientResult(context, dict())
|
|
1442
|
+
qry = FunctionQuery(
|
|
1443
|
+
Site(context),
|
|
1444
|
+
"GetEbarProtectionUnitsExistByIds",
|
|
1445
|
+
[site_subscription_id, GuidCollection(protection_unit_ids)],
|
|
1446
|
+
return_type,
|
|
1447
|
+
)
|
|
1448
|
+
context.add_query(qry)
|
|
1449
|
+
return return_type
|
|
1450
|
+
|
|
1451
|
+
@staticmethod
|
|
1452
|
+
def get_ebar_restore_session_exists_by_id(
|
|
1453
|
+
context: ClientContext, site_subscription_id: UUID, restore_session_id: UUID
|
|
1454
|
+
) -> ClientResult[bool]:
|
|
1455
|
+
"""GetEbarRestoreSessionExistsById operation.
|
|
1456
|
+
|
|
1457
|
+
Args:
|
|
1458
|
+
site_subscription_id (UUID): siteSubscriptionId parameter
|
|
1459
|
+
restore_session_id (UUID): restoreSessionId parameter
|
|
1460
|
+
"""
|
|
1461
|
+
return_type = ClientResult(context, bool())
|
|
1462
|
+
qry = FunctionQuery(
|
|
1463
|
+
Site(context), "GetEbarRestoreSessionExistsById", [site_subscription_id, restore_session_id], return_type
|
|
1464
|
+
)
|
|
1465
|
+
context.add_query(qry)
|
|
1466
|
+
return return_type
|
|
1467
|
+
|
|
1468
|
+
def get_hub_site_join_approval_correlation_id(self) -> ClientResult[str]:
|
|
1469
|
+
"""GetHubSiteJoinApprovalCorrelationId operation."""
|
|
1470
|
+
return_type = ClientResult(self.context, str())
|
|
1471
|
+
qry = FunctionQuery(self, "GetHubSiteJoinApprovalCorrelationId", [], return_type)
|
|
1472
|
+
self.context.add_query(qry)
|
|
1473
|
+
return return_type
|
|
1474
|
+
|
|
1475
|
+
def get_migration_job_status(self, id_: UUID) -> ClientResult[int]:
|
|
1476
|
+
"""GetMigrationJobStatus operation.
|
|
1477
|
+
|
|
1478
|
+
Args:
|
|
1479
|
+
id_ (UUID): id parameter
|
|
1480
|
+
"""
|
|
1481
|
+
return_type = ClientResult(self.context, int())
|
|
1482
|
+
qry = ServiceOperationQuery(self, "GetMigrationJobStatus", None, {"id": id_}, None, return_type)
|
|
1483
|
+
self.context.add_query(qry)
|
|
1484
|
+
return return_type
|
|
1485
|
+
|
|
1486
|
+
def get_progress_for_delete_file_versions(self) -> ClientResult[str]:
|
|
1487
|
+
"""GetProgressForDeleteFileVersions operation."""
|
|
1488
|
+
return_type = ClientResult(self.context, str())
|
|
1489
|
+
qry = ServiceOperationQuery(self, "GetProgressForDeleteFileVersions", None, {}, None, return_type)
|
|
1490
|
+
self.context.add_query(qry)
|
|
1491
|
+
return return_type
|
|
1492
|
+
|
|
1493
|
+
def get_progress_for_expire_file_versions_by_schedule(self, schedule_file_path: ResourcePath) -> ClientResult[str]:
|
|
1494
|
+
"""GetProgressForExpireFileVersionsBySchedule operation.
|
|
1495
|
+
|
|
1496
|
+
Args:
|
|
1497
|
+
schedule_file_path (ResourcePath): scheduleFilePath parameter
|
|
1498
|
+
"""
|
|
1499
|
+
return_type = ClientResult(self.context, str())
|
|
1500
|
+
qry = ServiceOperationQuery(
|
|
1501
|
+
self,
|
|
1502
|
+
"GetProgressForExpireFileVersionsBySchedule",
|
|
1503
|
+
None,
|
|
1504
|
+
{"scheduleFilePath": schedule_file_path},
|
|
1505
|
+
None,
|
|
1506
|
+
return_type,
|
|
1507
|
+
)
|
|
1508
|
+
self.context.add_query(qry)
|
|
1509
|
+
return return_type
|
|
1510
|
+
|
|
1511
|
+
def get_progress_for_file_version_expiration_report(self, report_file_url: str) -> ClientResult[str]:
|
|
1512
|
+
"""GetProgressForFileVersionExpirationReport operation.
|
|
1513
|
+
|
|
1514
|
+
Args:
|
|
1515
|
+
report_file_url (str): reportFileUrl parameter
|
|
1516
|
+
"""
|
|
1517
|
+
return_type = ClientResult(self.context, str())
|
|
1518
|
+
qry = ServiceOperationQuery(
|
|
1519
|
+
self,
|
|
1520
|
+
"GetProgressForFileVersionExpirationReport",
|
|
1521
|
+
None,
|
|
1522
|
+
{"reportFileUrl": report_file_url},
|
|
1523
|
+
None,
|
|
1524
|
+
return_type,
|
|
1525
|
+
)
|
|
1526
|
+
self.context.add_query(qry)
|
|
1527
|
+
return return_type
|
|
1528
|
+
|
|
1529
|
+
def get_progress_for_set_version_policy_for_doc_libs(self) -> ClientResult[str]:
|
|
1530
|
+
"""GetProgressForSetVersionPolicyForDocLibs operation."""
|
|
1531
|
+
return_type = ClientResult(self.context, str())
|
|
1532
|
+
qry = ServiceOperationQuery(self, "GetProgressForSetVersionPolicyForDocLibs", None, {}, None, return_type)
|
|
1533
|
+
self.context.add_query(qry)
|
|
1534
|
+
return return_type
|
|
1535
|
+
|
|
1536
|
+
@staticmethod
|
|
1537
|
+
def get_sites_exist_by_site_ids(
|
|
1538
|
+
context: ClientContext, site_subscription_id: UUID, site_ids: list[UUID]
|
|
1539
|
+
) -> ClientResult[dict]:
|
|
1540
|
+
"""GetSitesExistBySiteIds operation.
|
|
1541
|
+
|
|
1542
|
+
Args:
|
|
1543
|
+
site_subscription_id (UUID): siteSubscriptionId parameter
|
|
1544
|
+
site_ids (list[UUID]): siteIds parameter
|
|
1545
|
+
"""
|
|
1546
|
+
return_type = ClientResult(context, dict())
|
|
1547
|
+
qry = FunctionQuery(
|
|
1548
|
+
Site(context), "GetSitesExistBySiteIds", [site_subscription_id, GuidCollection(site_ids)], return_type
|
|
1549
|
+
)
|
|
1550
|
+
context.add_query(qry)
|
|
1551
|
+
return return_type
|
|
1552
|
+
|
|
1553
|
+
@staticmethod
|
|
1554
|
+
def get_sites_exist_by_site_urls(
|
|
1555
|
+
context: ClientContext, site_subscription_id: UUID, urls: list[str]
|
|
1556
|
+
) -> ClientResult[dict]:
|
|
1557
|
+
"""GetSitesExistBySiteUrls operation.
|
|
1558
|
+
|
|
1559
|
+
Args:
|
|
1560
|
+
site_subscription_id (UUID): siteSubscriptionId parameter
|
|
1561
|
+
urls (list[str]): urls parameter
|
|
1562
|
+
"""
|
|
1563
|
+
return_type = ClientResult(context, dict())
|
|
1564
|
+
qry = FunctionQuery(
|
|
1565
|
+
Site(context), "GetSitesExistBySiteUrls", [site_subscription_id, StringCollection(urls)], return_type
|
|
1566
|
+
)
|
|
1567
|
+
context.add_query(qry)
|
|
1568
|
+
return return_type
|
|
1569
|
+
|
|
1570
|
+
def multi_geo_copy_job(self, job_id: UUID, user_id: int, binary_payload: bytes) -> Self:
|
|
1571
|
+
"""MultiGeoCopyJob operation.
|
|
1572
|
+
|
|
1573
|
+
Args:
|
|
1574
|
+
job_id (UUID): jobId parameter
|
|
1575
|
+
user_id (int): userId parameter
|
|
1576
|
+
binary_payload (bytes): binaryPayload parameter
|
|
1577
|
+
"""
|
|
1578
|
+
qry = ServiceOperationQuery(
|
|
1579
|
+
self,
|
|
1580
|
+
"MultiGeoCopyJob",
|
|
1581
|
+
None,
|
|
1582
|
+
{"jobId": job_id, "userId": user_id, "binaryPayload": binary_payload},
|
|
1583
|
+
None,
|
|
1584
|
+
None,
|
|
1585
|
+
)
|
|
1586
|
+
self.context.add_query(qry)
|
|
1587
|
+
return self
|
|
1588
|
+
|
|
1589
|
+
def needs_upgrade_by_type_from_spo_shell(self, version_upgrade: bool, recursive: bool) -> ClientResult[bool]:
|
|
1590
|
+
"""NeedsUpgradeByTypeFromSpoShell operation.
|
|
1591
|
+
|
|
1592
|
+
Args:
|
|
1593
|
+
version_upgrade (bool): versionUpgrade parameter
|
|
1594
|
+
recursive (bool): recursive parameter
|
|
1595
|
+
"""
|
|
1596
|
+
return_type = ClientResult(self.context, bool())
|
|
1597
|
+
qry = FunctionQuery(self, "NeedsUpgradeByTypeFromSpoShell", [version_upgrade, recursive], return_type)
|
|
1598
|
+
self.context.add_query(qry)
|
|
1599
|
+
return return_type
|
|
1600
|
+
|
|
1601
|
+
def onboard_tenant_for_bring_your_own_key(self, key_info: CustomerKeyInfo) -> ClientResult[CustomerKeyStatusInfo]:
|
|
1602
|
+
"""OnboardTenantForBringYourOwnKey operation.
|
|
1603
|
+
|
|
1604
|
+
Args:
|
|
1605
|
+
key_info (CustomerKeyInfo): keyInfo parameter
|
|
1606
|
+
"""
|
|
1607
|
+
return_type = ClientResult(self.context, CustomerKeyStatusInfo())
|
|
1608
|
+
qry = ServiceOperationQuery(
|
|
1609
|
+
self, "OnboardTenantForBringYourOwnKey", None, {"keyInfo": key_info}, None, return_type
|
|
1610
|
+
)
|
|
1611
|
+
self.context.add_query(qry)
|
|
1612
|
+
return return_type
|
|
1613
|
+
|
|
1614
|
+
def on_hub_site_join_request_approved(self, joining_site_id: UUID) -> ClientResult[str]:
|
|
1615
|
+
"""OnHubSiteJoinRequestApproved operation.
|
|
1616
|
+
|
|
1617
|
+
Args:
|
|
1618
|
+
joining_site_id (UUID): joiningSiteId parameter
|
|
1619
|
+
"""
|
|
1620
|
+
return_type = ClientResult(self.context, str())
|
|
1621
|
+
qry = ServiceOperationQuery(
|
|
1622
|
+
self, "OnHubSiteJoinRequestApproved", None, {"joiningSiteId": joining_site_id}, None, return_type
|
|
1623
|
+
)
|
|
1624
|
+
self.context.add_query(qry)
|
|
1625
|
+
return return_type
|
|
1626
|
+
|
|
1627
|
+
def on_hub_site_join_request_canceled(self, approval_correlation_id: str) -> Self:
|
|
1628
|
+
"""OnHubSiteJoinRequestCanceled operation.
|
|
1629
|
+
|
|
1630
|
+
Args:
|
|
1631
|
+
approval_correlation_id (str): approvalCorrelationId parameter
|
|
1632
|
+
"""
|
|
1633
|
+
qry = ServiceOperationQuery(
|
|
1634
|
+
self, "OnHubSiteJoinRequestCanceled", None, {"approvalCorrelationId": approval_correlation_id}, None, None
|
|
1635
|
+
)
|
|
1636
|
+
self.context.add_query(qry)
|
|
1637
|
+
return self
|
|
1638
|
+
|
|
1639
|
+
def on_hub_site_join_request_started(self, approval_correlation_id: str) -> Self:
|
|
1640
|
+
"""OnHubSiteJoinRequestStarted operation.
|
|
1641
|
+
|
|
1642
|
+
Args:
|
|
1643
|
+
approval_correlation_id (str): approvalCorrelationId parameter
|
|
1644
|
+
"""
|
|
1645
|
+
qry = ServiceOperationQuery(
|
|
1646
|
+
self, "OnHubSiteJoinRequestStarted", None, {"approvalCorrelationId": approval_correlation_id}, None, None
|
|
1647
|
+
)
|
|
1648
|
+
self.context.add_query(qry)
|
|
1649
|
+
return self
|
|
1650
|
+
|
|
1651
|
+
def recover_tenant_for_bring_your_own_key(self, key_info: CustomerKeyInfo) -> ClientResult[CustomerKeyStatusInfo]:
|
|
1652
|
+
"""RecoverTenantForBringYourOwnKey operation.
|
|
1653
|
+
|
|
1654
|
+
Args:
|
|
1655
|
+
key_info (CustomerKeyInfo): keyInfo parameter
|
|
1656
|
+
"""
|
|
1657
|
+
return_type = ClientResult(self.context, CustomerKeyStatusInfo())
|
|
1658
|
+
qry = ServiceOperationQuery(
|
|
1659
|
+
self, "RecoverTenantForBringYourOwnKey", None, {"keyInfo": key_info}, None, return_type
|
|
1660
|
+
)
|
|
1661
|
+
self.context.add_query(qry)
|
|
1662
|
+
return return_type
|
|
1663
|
+
|
|
1664
|
+
def roll_tenant_bring_your_own_key(
|
|
1665
|
+
self, key_type: int, key_vault_info: CustomerKeyVaultInfo
|
|
1666
|
+
) -> ClientResult[CustomerKeyStatusInfo]:
|
|
1667
|
+
"""RollTenantBringYourOwnKey operation.
|
|
1668
|
+
|
|
1669
|
+
Args:
|
|
1670
|
+
key_type (int): keyType parameter
|
|
1671
|
+
key_vault_info (CustomerKeyVaultInfo): keyVaultInfo parameter
|
|
1672
|
+
"""
|
|
1673
|
+
return_type = ClientResult(self.context, CustomerKeyStatusInfo())
|
|
1674
|
+
qry = ServiceOperationQuery(
|
|
1675
|
+
self,
|
|
1676
|
+
"RollTenantBringYourOwnKey",
|
|
1677
|
+
None,
|
|
1678
|
+
{"keyType": key_type, "keyVaultInfo": key_vault_info},
|
|
1679
|
+
None,
|
|
1680
|
+
return_type,
|
|
1681
|
+
)
|
|
1682
|
+
self.context.add_query(qry)
|
|
1683
|
+
return return_type
|
|
1684
|
+
|
|
1685
|
+
def run_upgrade_site_session(self, version_upgrade: bool, queue_only: bool, send_email: bool) -> Self:
|
|
1686
|
+
"""RunUpgradeSiteSession operation.
|
|
1687
|
+
|
|
1688
|
+
Args:
|
|
1689
|
+
version_upgrade (bool): versionUpgrade parameter
|
|
1690
|
+
queue_only (bool): queueOnly parameter
|
|
1691
|
+
send_email (bool): sendEmail parameter
|
|
1692
|
+
"""
|
|
1693
|
+
qry = ServiceOperationQuery(
|
|
1694
|
+
self,
|
|
1695
|
+
"RunUpgradeSiteSession",
|
|
1696
|
+
None,
|
|
1697
|
+
{"versionUpgrade": version_upgrade, "queueOnly": queue_only, "sendEmail": send_email},
|
|
1698
|
+
None,
|
|
1699
|
+
None,
|
|
1700
|
+
)
|
|
1701
|
+
self.context.add_query(qry)
|
|
1702
|
+
return self
|
|
1703
|
+
|
|
1704
|
+
def set_block_download_policy_for_files(self, block_download_policy_file_type_ids: list[str]) -> Self:
|
|
1705
|
+
"""SetBlockDownloadPolicyForFiles operation.
|
|
1706
|
+
|
|
1707
|
+
Args:
|
|
1708
|
+
block_download_policy_file_type_ids (list[str]): blockDownloadPolicyFileTypeIds parameter
|
|
1709
|
+
"""
|
|
1710
|
+
qry = ServiceOperationQuery(
|
|
1711
|
+
self,
|
|
1712
|
+
"SetBlockDownloadPolicyForFiles",
|
|
1713
|
+
None,
|
|
1714
|
+
{"blockDownloadPolicyFileTypeIds": StringCollection(block_download_policy_file_type_ids)},
|
|
1715
|
+
None,
|
|
1716
|
+
None,
|
|
1717
|
+
)
|
|
1718
|
+
self.context.add_query(qry)
|
|
1719
|
+
return self
|
|
1720
|
+
|
|
1721
|
+
def set_is_contributor_owner_enabled_property_for_default_doc_lib(
|
|
1722
|
+
self,
|
|
1723
|
+
property_value: bool,
|
|
1724
|
+
force_doc_lib_activation: bool,
|
|
1725
|
+
delete_if_doc_lib_already_exists: bool,
|
|
1726
|
+
allow_delete_of_contributor_owner_enabled_doc_lib: bool,
|
|
1727
|
+
) -> ClientResult[bool]:
|
|
1728
|
+
"""SetIsContributorOwnerEnabledPropertyForDefaultDocLib operation.
|
|
1729
|
+
|
|
1730
|
+
Args:
|
|
1731
|
+
property_value (bool): propertyValue parameter
|
|
1732
|
+
force_doc_lib_activation (bool): forceDocLibActivation parameter
|
|
1733
|
+
delete_if_doc_lib_already_exists (bool): deleteIfDocLibAlreadyExists parameter
|
|
1734
|
+
allow_delete_of_contributor_owner_enabled_doc_lib (bool): allowDeleteOfContributorOwnerEnabledDocLib param
|
|
1735
|
+
"""
|
|
1736
|
+
return_type = ClientResult(self.context, bool())
|
|
1737
|
+
qry = ServiceOperationQuery(
|
|
1738
|
+
self,
|
|
1739
|
+
"SetIsContributorOwnerEnabledPropertyForDefaultDocLib",
|
|
1740
|
+
None,
|
|
1741
|
+
{
|
|
1742
|
+
"propertyValue": property_value,
|
|
1743
|
+
"forceDocLibActivation": force_doc_lib_activation,
|
|
1744
|
+
"deleteIfDocLibAlreadyExists": delete_if_doc_lib_already_exists,
|
|
1745
|
+
"allowDeleteOfContributorOwnerEnabledDocLib": allow_delete_of_contributor_owner_enabled_doc_lib,
|
|
1746
|
+
},
|
|
1747
|
+
None,
|
|
1748
|
+
return_type,
|
|
1749
|
+
)
|
|
1750
|
+
self.context.add_query(qry)
|
|
1751
|
+
return return_type
|
|
1752
|
+
|
|
1753
|
+
def start_delete_file_versions(self, delete_older_than_days: int) -> Self:
|
|
1754
|
+
"""StartDeleteFileVersions operation.
|
|
1755
|
+
|
|
1756
|
+
Args:
|
|
1757
|
+
delete_older_than_days (int): deleteOlderThanDays parameter
|
|
1758
|
+
"""
|
|
1759
|
+
qry = ServiceOperationQuery(
|
|
1760
|
+
self, "StartDeleteFileVersions", None, {"deleteOlderThanDays": delete_older_than_days}, None, None
|
|
1761
|
+
)
|
|
1762
|
+
self.context.add_query(qry)
|
|
1763
|
+
return self
|
|
1764
|
+
|
|
1765
|
+
def start_delete_file_versions_by_mode(self, batch_delete_parameters: FileVersionBatchDeleteParameters) -> Self:
|
|
1766
|
+
"""StartDeleteFileVersionsByMode operation.
|
|
1767
|
+
|
|
1768
|
+
Args:
|
|
1769
|
+
batch_delete_parameters (FileVersionBatchDeleteParameters): batchDeleteParameters parameter
|
|
1770
|
+
"""
|
|
1771
|
+
qry = ServiceOperationQuery(
|
|
1772
|
+
self, "StartDeleteFileVersionsByMode", None, {"batchDeleteParameters": batch_delete_parameters}, None, None
|
|
1773
|
+
)
|
|
1774
|
+
self.context.add_query(qry)
|
|
1775
|
+
return self
|
|
1776
|
+
|
|
1777
|
+
def start_expire_file_versions_by_schedule(self, schedule_file_path: ResourcePath) -> Self:
|
|
1778
|
+
"""StartExpireFileVersionsBySchedule operation.
|
|
1779
|
+
|
|
1780
|
+
Args:
|
|
1781
|
+
schedule_file_path (ResourcePath): scheduleFilePath parameter
|
|
1782
|
+
"""
|
|
1783
|
+
qry = ServiceOperationQuery(
|
|
1784
|
+
self, "StartExpireFileVersionsBySchedule", None, {"scheduleFilePath": schedule_file_path}, None, None
|
|
1785
|
+
)
|
|
1786
|
+
self.context.add_query(qry)
|
|
1787
|
+
return self
|
|
1788
|
+
|
|
1789
|
+
def start_file_version_expiration_report(self, report_file_url: str) -> Self:
|
|
1790
|
+
"""StartFileVersionExpirationReport operation.
|
|
1791
|
+
|
|
1792
|
+
Args:
|
|
1793
|
+
report_file_url (str): reportFileUrl parameter
|
|
1794
|
+
"""
|
|
1795
|
+
qry = ServiceOperationQuery(
|
|
1796
|
+
self, "StartFileVersionExpirationReport", None, {"reportFileUrl": report_file_url}, None, None
|
|
1797
|
+
)
|
|
1798
|
+
self.context.add_query(qry)
|
|
1799
|
+
return self
|
|
1800
|
+
|
|
1801
|
+
def start_set_version_policy_for_doc_libs(
|
|
1802
|
+
self,
|
|
1803
|
+
enable_auto_trim: bool,
|
|
1804
|
+
major_version_limit: int,
|
|
1805
|
+
major_with_minor_versions_limit: int,
|
|
1806
|
+
expire_after_days: int,
|
|
1807
|
+
) -> Self:
|
|
1808
|
+
"""StartSetVersionPolicyForDocLibs operation.
|
|
1809
|
+
|
|
1810
|
+
Args:
|
|
1811
|
+
enable_auto_trim (bool): enableAutoTrim parameter
|
|
1812
|
+
major_version_limit (int): majorVersionLimit parameter
|
|
1813
|
+
major_with_minor_versions_limit (int): majorWithMinorVersionsLimit parameter
|
|
1814
|
+
expire_after_days (int): expireAfterDays parameter
|
|
1815
|
+
"""
|
|
1816
|
+
qry = ServiceOperationQuery(
|
|
1817
|
+
self,
|
|
1818
|
+
"StartSetVersionPolicyForDocLibs",
|
|
1819
|
+
None,
|
|
1820
|
+
{
|
|
1821
|
+
"enableAutoTrim": enable_auto_trim,
|
|
1822
|
+
"majorVersionLimit": major_version_limit,
|
|
1823
|
+
"majorWithMinorVersionsLimit": major_with_minor_versions_limit,
|
|
1824
|
+
"expireAfterDays": expire_after_days,
|
|
1825
|
+
},
|
|
1826
|
+
None,
|
|
1827
|
+
None,
|
|
1828
|
+
)
|
|
1829
|
+
self.context.add_query(qry)
|
|
1830
|
+
return self
|
|
1831
|
+
|
|
1832
|
+
def update_inactive_site_properties(self, operation: str, execution_id: int) -> ClientResult[UpdateCard]:
|
|
1833
|
+
"""UpdateInactiveSiteProperties operation.
|
|
1834
|
+
|
|
1835
|
+
Args:
|
|
1836
|
+
operation (str): operation parameter
|
|
1837
|
+
execution_id (int): executionId parameter
|
|
1838
|
+
"""
|
|
1839
|
+
return_type = ClientResult(self.context, UpdateCard())
|
|
1840
|
+
qry = ServiceOperationQuery(
|
|
1841
|
+
self,
|
|
1842
|
+
"UpdateInactiveSiteProperties",
|
|
1843
|
+
None,
|
|
1844
|
+
{"operation": operation, "executionId": execution_id},
|
|
1845
|
+
None,
|
|
1846
|
+
return_type,
|
|
1847
|
+
)
|
|
1848
|
+
self.context.add_query(qry)
|
|
1849
|
+
return return_type
|
|
1850
|
+
|
|
1851
|
+
def validate_hub_site_join_approval_token(self, joining_site_id: UUID, approval_token: str) -> ClientResult[bool]:
|
|
1852
|
+
"""ValidateHubSiteJoinApprovalToken operation.
|
|
1853
|
+
|
|
1854
|
+
Args:
|
|
1855
|
+
joining_site_id (UUID): joiningSiteId parameter
|
|
1856
|
+
approval_token (str): approvalToken parameter
|
|
1857
|
+
"""
|
|
1858
|
+
return_type = ClientResult(self.context, bool())
|
|
1859
|
+
qry = FunctionQuery(self, "ValidateHubSiteJoinApprovalToken", [joining_site_id, approval_token], return_type)
|
|
1860
|
+
self.context.add_query(qry)
|
|
1861
|
+
return return_type
|