Office365-REST-Python-Client 2.5.13__py3-none-any.whl → 2.5.14__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_REST_Python_Client-2.5.13.dist-info → Office365_REST_Python_Client-2.5.14.dist-info}/METADATA +1 -1
- {Office365_REST_Python_Client-2.5.13.dist-info → Office365_REST_Python_Client-2.5.14.dist-info}/RECORD +135 -78
- office365/booking/business/business.py +13 -0
- office365/booking/business/collection.py +8 -4
- office365/communications/callrecords/collection.py +42 -0
- office365/communications/callrecords/direct_routing_log_row.py +5 -0
- office365/communications/cloud_communications.py +2 -3
- office365/directory/applications/application.py +16 -2
- office365/directory/applications/required_resource_access.py +23 -0
- office365/directory/applications/resource_access.py +26 -0
- office365/directory/authentication/methods/details.py +29 -0
- office365/directory/authentication/methods/root.py +8 -0
- office365/directory/permissions/scope.py +15 -3
- office365/directory/policies/authentication_strength.py +21 -0
- office365/directory/policies/update_allowed_combinations_result.py +5 -0
- office365/directory/security/alerts/evidence.py +2 -1
- office365/directory/security/alerts/malware_evidence.py +5 -0
- office365/directory/security/alerts/process_evidence.py +5 -0
- office365/directory/security/attacksimulations/user.py +5 -0
- office365/directory/security/attacksimulations/user_coverage.py +3 -0
- office365/directory/security/attacksimulations/users/details.py +6 -1
- office365/directory/serviceprincipals/service_principal.py +86 -37
- office365/onedrive/driveitems/driveItem.py +1 -1
- office365/onedrive/driveitems/retention_label.py +33 -0
- office365/onedrive/driveitems/retention_label_settings.py +7 -0
- office365/onedrive/sitepages/base.py +3 -0
- office365/onedrive/sitepages/collection.py +12 -0
- office365/onedrive/sitepages/site_page.py +9 -9
- office365/onedrive/sites/archival_details.py +5 -0
- office365/onedrive/sites/site_collection.py +10 -1
- office365/onedrive/workbooks/functions/functions.py +23 -0
- office365/partners/billing/__init__.py +0 -0
- office365/planner/tasks/check_list_item.py +5 -1
- office365/runtime/client_object.py +15 -7
- office365/runtime/client_object_collection.py +2 -2
- office365/runtime/client_result.py +2 -0
- office365/runtime/client_value.py +1 -1
- office365/runtime/csom/request.py +11 -0
- office365/runtime/types/exceptions.py +18 -0
- office365/search/acronym.py +10 -0
- office365/search/aggregation_option.py +6 -0
- office365/search/answer.py +9 -0
- office365/search/entity.py +67 -14
- office365/search/entity_type.py +28 -0
- office365/search/request.py +32 -3
- office365/sharepoint/apps/access_requests.py +5 -0
- office365/sharepoint/apps/management/__init__.py +0 -0
- office365/sharepoint/apps/management/principal_info.py +9 -0
- office365/sharepoint/authpolicy/events/collection.py +28 -0
- office365/sharepoint/authpolicy/events/role_assignment_resource_payload.py +4 -0
- office365/sharepoint/documentmanagement/document_id.py +28 -3
- office365/sharepoint/files/file.py +11 -4
- office365/sharepoint/files/versions/event.py +9 -0
- office365/sharepoint/flows/permissions.py +30 -0
- office365/sharepoint/listhome/favorite_item.py +9 -0
- office365/sharepoint/listitems/listitem.py +79 -4
- office365/sharepoint/listitems/update_parameters.py +4 -1
- office365/sharepoint/lists/data_parameters.py +5 -0
- office365/sharepoint/lists/exporter.py +73 -0
- office365/sharepoint/lists/list.py +148 -61
- office365/sharepoint/lists/render_data_parameters.py +31 -0
- office365/sharepoint/lists/version_policy_manager.py +5 -0
- office365/sharepoint/migration/copy_migration_options.py +5 -0
- office365/sharepoint/portal/groups/site_manager.py +32 -0
- office365/sharepoint/portal/project/__init__.py +9 -0
- office365/sharepoint/portal/userprofiles/documentsshared/__init__.py +0 -0
- office365/sharepoint/portal/userprofiles/documentsshared/with_group.py +38 -0
- office365/sharepoint/portal/userprofiles/documentsshared/with_person.py +9 -0
- office365/sharepoint/portal/userprofiles/sharedwithme/__init__.py +0 -0
- office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/document.py +1 -1
- office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/items.py +3 -1
- office365/sharepoint/publishing/pages/coauth_state.py +8 -0
- office365/sharepoint/publishing/pages/page.py +11 -0
- office365/sharepoint/publishing/pages/stream_content.py +9 -0
- office365/sharepoint/publishing/pages/stream_data.py +8 -0
- office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +8 -0
- office365/sharepoint/request.py +3 -0
- office365/sharepoint/search/administration/site_content_processing_info_provider.py +11 -0
- office365/sharepoint/search/ranking_labeling.py +1 -0
- office365/sharepoint/search/reports/abandonedqueries/__init__.py +0 -0
- office365/sharepoint/search/reports/abandonedqueries/data.py +0 -0
- office365/sharepoint/search/reports/abandonedqueries/item.py +5 -0
- office365/sharepoint/search/reports/noresult/__init__.py +0 -0
- office365/sharepoint/search/reports/numberofqueries/__init__.py +0 -0
- office365/sharepoint/search/reports/top_queries.py +7 -0
- office365/sharepoint/search/reports/topqueries/__init__.py +0 -0
- office365/sharepoint/search/reports/topqueries/data.py +9 -0
- office365/sharepoint/search/reports/topqueries/item.py +15 -0
- office365/sharepoint/search/scs_endpoint.py +9 -0
- office365/sharepoint/securestore/target_application.py +8 -0
- office365/sharepoint/sharing/document_manager.py +3 -3
- office365/sharepoint/sharing/result.py +21 -0
- office365/sharepoint/sites/html_field_security_setting.py +5 -0
- office365/sharepoint/sites/site.py +30 -1
- office365/sharepoint/sites/version_policy_manager.py +25 -0
- office365/sharepoint/sitescripts/metadata.py +28 -3
- office365/sharepoint/sitescripts/utility.py +17 -0
- office365/sharepoint/smartcache/__init__.py +0 -0
- office365/sharepoint/smartcache/item.py +9 -0
- office365/sharepoint/tenant/administration/app_billing_properties.py +21 -0
- office365/sharepoint/tenant/administration/insights/summary_response.py +8 -0
- office365/sharepoint/tenant/administration/internal/aad/__init__.py +0 -0
- office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +32 -0
- office365/sharepoint/tenant/administration/internal/appservice/__init__.py +0 -0
- office365/sharepoint/tenant/administration/internal/appservice/permission_grant.py +5 -0
- office365/sharepoint/tenant/administration/internal/{permission_grant.py → appservice/permission_request.py} +4 -2
- office365/sharepoint/tenant/administration/internal/appservice/principal.py +104 -0
- office365/sharepoint/tenant/administration/settings_service.py +4 -1
- office365/sharepoint/tenant/administration/sites/creation_source.py +8 -8
- office365/sharepoint/tenant/administration/tenant.py +110 -4
- office365/sharepoint/tenant/administration/types.py +13 -1
- office365/sharepoint/tenant/cdn_api.py +3 -1
- office365/sharepoint/tenant/management/office365_tenant.py +2 -0
- office365/sharepoint/tenant/settings.py +10 -0
- office365/sharepoint/utilities/utility.py +6 -0
- office365/sharepoint/viva/connections_page.py +8 -0
- office365/sharepoint/viva/dashboard_configuration.py +8 -0
- office365/sharepoint/viva/employee_engagement.py +39 -1
- office365/sharepoint/viva/resource_get_endpoint.py +8 -0
- office365/sharepoint/viva/resource_link.py +8 -0
- office365/sharepoint/webs/information.py +66 -1
- office365/sharepoint/webs/regional_settings.py +32 -0
- office365/sharepoint/webs/templates/__init__.py +0 -0
- office365/sharepoint/webs/time_zone.py +1 -1
- office365/sharepoint/webs/web.py +58 -0
- office365/sharepoint/workflow/task.py +5 -0
- office365/subscriptions/collection.py +16 -0
- office365/sharepoint/portal/userprofiles/documents_shared_with_group.py +0 -11
- office365/sharepoint/tenant/administration/internal/web_appservice_principal.py +0 -23
- {Office365_REST_Python_Client-2.5.13.dist-info → Office365_REST_Python_Client-2.5.14.dist-info}/LICENSE +0 -0
- {Office365_REST_Python_Client-2.5.13.dist-info → Office365_REST_Python_Client-2.5.14.dist-info}/WHEEL +0 -0
- {Office365_REST_Python_Client-2.5.13.dist-info → Office365_REST_Python_Client-2.5.14.dist-info}/top_level.txt +0 -0
- /office365/{sharepoint/userprofiles/sharedwithme → partners}/__init__.py +0 -0
- /office365/sharepoint/portal/userprofiles/{documents_shared_with_me.py → documentsshared/with_me.py} +0 -0
- /office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/document_user.py +0 -0
- /office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/item_collection.py +0 -0
- /office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/view_item_removal_result.py +0 -0
|
@@ -17,6 +17,9 @@ class SubscriptionCollection(EntityCollection[Subscription]):
|
|
|
17
17
|
expiration,
|
|
18
18
|
client_state=None,
|
|
19
19
|
latest_supported_tls_version=None,
|
|
20
|
+
include_resource_data=None,
|
|
21
|
+
encryption_certificate=None,
|
|
22
|
+
encryption_certificate_id=None,
|
|
20
23
|
):
|
|
21
24
|
"""
|
|
22
25
|
Subscribes a listener application to receive change notifications when the requested type of changes occur
|
|
@@ -34,6 +37,16 @@ class SubscriptionCollection(EntityCollection[Subscription]):
|
|
|
34
37
|
:param str latest_supported_tls_version: Specifies the latest version of Transport Layer Security (TLS) that
|
|
35
38
|
the notification endpoint, specified by notificationUrl, supports.
|
|
36
39
|
The possible values are: v1_0, v1_1, v1_2, v1_3.
|
|
40
|
+
:param bool include_resource_data: Indicates whether the resource data for the resource that generated the
|
|
41
|
+
change notification should be included in the payload of the notification.
|
|
42
|
+
:param str encryption_certificate: Specifies the public key certificate which contains only the public key
|
|
43
|
+
that Microsoft Graph uses to encrypt the resource data it returns to your app. For security, Microsoft
|
|
44
|
+
Graph encrypts the resource data returned in a rich notification. You must provide a public encryption
|
|
45
|
+
key as part of creating the subscription.
|
|
46
|
+
:param str encryption_certificate_id: Specifies the identifier of the certificate used to encrypt the content
|
|
47
|
+
of the change notification. Use this ID to match in each change notification, which certificate to use
|
|
48
|
+
for decryption.
|
|
49
|
+
:return: Subscription
|
|
37
50
|
"""
|
|
38
51
|
return_type = Subscription(self.context)
|
|
39
52
|
self.add_child(return_type)
|
|
@@ -44,6 +57,9 @@ class SubscriptionCollection(EntityCollection[Subscription]):
|
|
|
44
57
|
"expirationDateTime": expiration.isoformat() + "Z",
|
|
45
58
|
"clientState": client_state,
|
|
46
59
|
"latestSupportedTlsVersion": latest_supported_tls_version,
|
|
60
|
+
"includeResourceData": include_resource_data,
|
|
61
|
+
"encryptionCertificate": encryption_certificate,
|
|
62
|
+
"encryptionCertificateId": encryption_certificate_id,
|
|
47
63
|
}
|
|
48
64
|
qry = CreateEntityQuery(self, payload, return_type)
|
|
49
65
|
self.context.add_query(qry)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
from office365.sharepoint.entity import Entity
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class DocumentsSharedWithGroup(Entity):
|
|
5
|
-
"""
|
|
6
|
-
Provides methods for working with a list that shares documents with a SharePoint Group on the user's personal site.
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
@property
|
|
10
|
-
def entity_type_name(self):
|
|
11
|
-
return "Microsoft.SharePoint.Portal.UserProfiles.DocumentsSharedWithGroup"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
from office365.runtime.paths.resource_path import ResourcePath
|
|
2
|
-
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
3
|
-
from office365.sharepoint.entity import Entity
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class SPOWebAppServicePrincipal(Entity):
|
|
7
|
-
def __init__(self, context):
|
|
8
|
-
stat_path = ResourcePath(
|
|
9
|
-
"Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipal"
|
|
10
|
-
)
|
|
11
|
-
super(SPOWebAppServicePrincipal, self).__init__(context, stat_path)
|
|
12
|
-
|
|
13
|
-
def update_spfx_client_secret(self, secret_value):
|
|
14
|
-
"""
|
|
15
|
-
:param str secret_value:
|
|
16
|
-
"""
|
|
17
|
-
payload = {"secretValue": secret_value}
|
|
18
|
-
qry = ServiceOperationQuery(self, "UpdateSpfxClientSecret", None, payload)
|
|
19
|
-
self.context.add_query(qry)
|
|
20
|
-
|
|
21
|
-
@property
|
|
22
|
-
def entity_type_name(self):
|
|
23
|
-
return "Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipal"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/office365/sharepoint/portal/userprofiles/{documents_shared_with_me.py → documentsshared/with_me.py}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/office365/sharepoint/{userprofiles → portal/userprofiles}/sharedwithme/view_item_removal_result.py
RENAMED
|
File without changes
|