Office365-REST-Python-Client 2.5.8__py3-none-any.whl → 2.5.9__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.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/METADATA +1 -1
- {Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/RECORD +45 -31
- office365/onedrive/driveitems/driveItem.py +39 -5
- office365/sharepoint/alerts/collection.py +12 -0
- office365/sharepoint/attachments/collection.py +1 -1
- office365/sharepoint/fields/date_time.py +18 -0
- office365/sharepoint/fields/lookup.py +20 -0
- office365/sharepoint/fields/multi_line_text.py +25 -0
- office365/sharepoint/fields/rating_scale.py +2 -5
- office365/sharepoint/files/collection.py +6 -5
- office365/sharepoint/files/versions/version.py +7 -0
- office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +12 -0
- office365/sharepoint/migrationcenter/service/performance/data.py +38 -0
- office365/sharepoint/migrationcenter/service/performance/throughput_data.py +9 -0
- office365/sharepoint/migrationcenter/service/services.py +22 -0
- office365/sharepoint/multigeo/api_versions.py +28 -0
- office365/sharepoint/multigeo/services.py +39 -0
- office365/sharepoint/multigeo/tenant_information.py +9 -0
- office365/sharepoint/publishing/portal_health_details.py +10 -0
- office365/sharepoint/publishing/portal_health_status.py +8 -1
- office365/sharepoint/sharing/permission_collection.py +8 -1
- office365/sharepoint/sharing/shared_document_info.py +19 -0
- office365/sharepoint/sitehealth/summary.py +20 -0
- office365/sharepoint/sites/site.py +12 -0
- office365/sharepoint/tenant/administration/container_properties.py +17 -0
- office365/sharepoint/tenant/administration/group.py +17 -0
- office365/sharepoint/tenant/administration/powerapps/environment.py +31 -0
- office365/sharepoint/tenant/administration/recent_admin_action_report.py +14 -0
- office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py +10 -0
- office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py +5 -1
- office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py +5 -0
- office365/sharepoint/tenant/administration/sites/creation_source.py +16 -1
- office365/sharepoint/tenant/administration/sites/properties_collection.py +2 -0
- office365/sharepoint/tenant/administration/sites/state_properties.py +14 -0
- office365/sharepoint/tenant/administration/tenant.py +42 -1
- office365/sharepoint/types/resource_path.py +1 -1
- office365/sharepoint/views/view.py +1 -1
- office365/sharepoint/views/visualization/__init__.py +0 -0
- office365/sharepoint/views/visualization/field.py +14 -0
- office365/sharepoint/views/visualization/style_set.py +5 -0
- office365/sharepoint/workflow/manager.py +5 -0
- {Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/LICENSE +0 -0
- {Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/WHEEL +0 -0
- {Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/top_level.txt +0 -0
- /office365/sharepoint/views/{visualization.py → visualization/visualization.py} +0 -0
{Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/RECORD
RENAMED
|
@@ -456,7 +456,7 @@ office365/onedrive/driveitems/album.py,sha256=k61SvQDnWIEi1zR3gCW4BTgQrtcMxlinau
|
|
|
456
456
|
office365/onedrive/driveitems/audio.py,sha256=aeloESP6Ru8xV38NQuK_GkUNbWmqMcnyjTs2JQ6dVkQ,878
|
|
457
457
|
office365/onedrive/driveitems/bundle.py,sha256=ngvqXSLoI-EjmQoWFQvQo9jlW-yQxjMPLfgzn86oi5o,635
|
|
458
458
|
office365/onedrive/driveitems/conflict_behavior.py,sha256=pfHQyJ8grB5jCJzFmPIYwSr1c4cMVaS5sYXYIVLS3So,140
|
|
459
|
-
office365/onedrive/driveitems/driveItem.py,sha256=
|
|
459
|
+
office365/onedrive/driveitems/driveItem.py,sha256=LrW522BYrQZqV74MRASxwp_Zp8QYjiHDgLChXdBh2G0,38149
|
|
460
460
|
office365/onedrive/driveitems/geo_coordinates.py,sha256=ZQz6-H0TnZqVVASO6Sxhtwf1shUvtc55yMjVWpTlVFs,799
|
|
461
461
|
office365/onedrive/driveitems/image.py,sha256=Npm8rwAi1-uzyUw5aLHJtN6zQ0faHfqcJZ6ejQ4AMUw,562
|
|
462
462
|
office365/onedrive/driveitems/item_preview_info.py,sha256=M7Lm6xNA_96WGQwQcDWwldd5FOfYZr_AdeyuZ1B-OIk,1087
|
|
@@ -907,7 +907,7 @@ office365/sharepoint/administration/orgassets/library_collection.py,sha256=CCDDT
|
|
|
907
907
|
office365/sharepoint/administration/orgassets/org_assets.py,sha256=OAyxkBthLmqhO63K48DVUxSuyJsXemAf-jJ2BvxS-48,397
|
|
908
908
|
office365/sharepoint/alerts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
909
909
|
office365/sharepoint/alerts/alert.py,sha256=sgXkrbsPOSdMzNVJLCN-9kwbyLcRAKlC5lKdt98y4rg,2209
|
|
910
|
-
office365/sharepoint/alerts/collection.py,sha256=
|
|
910
|
+
office365/sharepoint/alerts/collection.py,sha256=QULYhWSqOoz8em-fCY9hC4UqbNtcIE92nX6o_VRn0gU,2345
|
|
911
911
|
office365/sharepoint/alerts/creation_information.py,sha256=tvCUqDWU66jY2wBQvkPjua2K7pRkozk-BMnNEH0nAZE,609
|
|
912
912
|
office365/sharepoint/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
913
913
|
office365/sharepoint/analytics/usage_entry.py,sha256=4NTfo_6HPw_1FJ7pFmwebZy0_chL3S709td5R0Xhv38,2485
|
|
@@ -926,7 +926,7 @@ office365/sharepoint/apps/solution_exporter.py,sha256=dtutaTkWBrl9up1nwZO3Ve63VV
|
|
|
926
926
|
office365/sharepoint/apps/user_solution.py,sha256=R0ZJqJUlA5SWoaYEXlWCfRFpiCqE0Z00U-VLVm1341w,86
|
|
927
927
|
office365/sharepoint/attachments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
928
928
|
office365/sharepoint/attachments/attachment.py,sha256=Z0tv-MDcS4forXuhqEIgwKjMM3TRrluijswTnr3ioK4,4404
|
|
929
|
-
office365/sharepoint/attachments/collection.py,sha256=
|
|
929
|
+
office365/sharepoint/attachments/collection.py,sha256=SZaCCpI8Y7lGLX3E1t1MeQ9vvtiVFbwtOhOXh8m_69A,3842
|
|
930
930
|
office365/sharepoint/attachments/creation_information.py,sha256=pECBaba5XTobZH3cZLohy40FIzmt8nyBkjG-mSWmHY4,1016
|
|
931
931
|
office365/sharepoint/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
932
932
|
office365/sharepoint/audit/audit.py,sha256=JhpEysp-pMRgCCd5bYTqkxr-KydEllpnOVu-7bs-ZOQ,697
|
|
@@ -1061,7 +1061,7 @@ office365/sharepoint/fields/collection.py,sha256=dmqDe25RAqsIUkJgiXoT0qx-cSymMoo
|
|
|
1061
1061
|
office365/sharepoint/fields/computed.py,sha256=fg_ZCzEgOtGUyEYoGlZUHm9aN1Z5mm1v50W0zcQqzBw,478
|
|
1062
1062
|
office365/sharepoint/fields/creation_information.py,sha256=2SQL3PW-7hijAPzQVPwOgSS5eGNCklWJEG7ALImcaFQ,1935
|
|
1063
1063
|
office365/sharepoint/fields/currency.py,sha256=OznuJsG-mwBFiXhPHtXjKc1yMc7SJW4ziAIdWdqMPgQ,745
|
|
1064
|
-
office365/sharepoint/fields/date_time.py,sha256=
|
|
1064
|
+
office365/sharepoint/fields/date_time.py,sha256=zrfVpQgAJ7XP3YuZX6rr2yN_N8nYne-HY4hmCFYhxNM,1476
|
|
1065
1065
|
office365/sharepoint/fields/date_time_format.py,sha256=sDeBZljmSlxdQIXvmTt6dGEsqqlR6UeSBFifsTfU2N8,280
|
|
1066
1066
|
office365/sharepoint/fields/datetime_field_format_type.py,sha256=YFbloEmowSQfN8mIjUTgehwIyFP-eHv_bqltx_6jVak,231
|
|
1067
1067
|
office365/sharepoint/fields/field.py,sha256=cGhyDVb6oYXQFIa3TpHAHn94cH0FYjtR25V0YFOOngg,12408
|
|
@@ -1070,15 +1070,15 @@ office365/sharepoint/fields/geolocation_value.py,sha256=210sah6i3V8wYDAIjyG5f4E6
|
|
|
1070
1070
|
office365/sharepoint/fields/guid.py,sha256=K1wIhnJTdrOxSvGmM8FKAhyGdD7BlsK6LVrDSQ2BA_g,163
|
|
1071
1071
|
office365/sharepoint/fields/image_value.py,sha256=rjIH_PJzGBOFZeTGSVC996WEator9T9Z6anVM6YdkVE,534
|
|
1072
1072
|
office365/sharepoint/fields/location.py,sha256=NwruIVmgDFcpiHgP7NHnTe5wgxd5KUIn5bYNvaYI1sI,129
|
|
1073
|
-
office365/sharepoint/fields/lookup.py,sha256=
|
|
1073
|
+
office365/sharepoint/fields/lookup.py,sha256=TmMZJZ1XBuYo1xUo2_BvWaQbod6u498eutkUU5E2j30,2533
|
|
1074
1074
|
office365/sharepoint/fields/lookup_value.py,sha256=mYNiOKyEF4YbsNyBOqD3WzuSBqxggbmRXplIUxYyWZQ,733
|
|
1075
1075
|
office365/sharepoint/fields/multi_choice.py,sha256=CD8mmhUUxzYj_iXod09EGrJNs-MPGR0WSL6O_nDNIIM,1000
|
|
1076
1076
|
office365/sharepoint/fields/multi_choice_value.py,sha256=HMrbVo7igvuuw34ZeawC-D-GUQxMwMz6R4tNfv1uiew,341
|
|
1077
|
-
office365/sharepoint/fields/multi_line_text.py,sha256=
|
|
1077
|
+
office365/sharepoint/fields/multi_line_text.py,sha256=0tjawsJdq5Oo3yyncm0yjCkwG9zKgNnihJAUft1cuHw,2188
|
|
1078
1078
|
office365/sharepoint/fields/multi_lookup_value.py,sha256=03Cd6EPOb_c9TanJV6aM4SWW1XUjIKxmkGrJYyg_hk0,294
|
|
1079
1079
|
office365/sharepoint/fields/multi_user_value.py,sha256=KISJ4ICnBByfLsZ0IrRlNQ4-5tK90puQVJMcqd8jobg,386
|
|
1080
1080
|
office365/sharepoint/fields/number.py,sha256=bvi6v0NP_ei7ELH58AZkXtQQ7KR09kQo3sAph4RMozA,1390
|
|
1081
|
-
office365/sharepoint/fields/rating_scale.py,sha256=
|
|
1081
|
+
office365/sharepoint/fields/rating_scale.py,sha256=oTk-QBcnbJ25PqDQYW48fTH1dS86jT_Kq5Qdrd3FYQI,913
|
|
1082
1082
|
office365/sharepoint/fields/related_field.py,sha256=Xww7oygkOUEvvqnJerKmwGHWZ9lQaBp8aoy_mowMUVY,2057
|
|
1083
1083
|
office365/sharepoint/fields/related_field_collection.py,sha256=dZox9s75n67hF1q-fgAyoYQKAnNf38nbr9-O2MSVpPc,740
|
|
1084
1084
|
office365/sharepoint/fields/string_values.py,sha256=b--tzGbCXxRAZ2NyCCPp5rFLmRnxrkSTgf7xZte3yik,281
|
|
@@ -1094,7 +1094,7 @@ office365/sharepoint/fields/xmlSchemaFieldCreationInformation.py,sha256=Xe8HKTYV
|
|
|
1094
1094
|
office365/sharepoint/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1095
1095
|
office365/sharepoint/files/checked_out_file.py,sha256=AjatnR3R6wW_ZVkvnRQ3o2GRETNoFUpwRmyD1Rmy4_U,1951
|
|
1096
1096
|
office365/sharepoint/files/checked_out_file_collection.py,sha256=nBtL9oMDHK7JMdsziGLkYxwf3AdQFglMuy4veJr9BZA,898
|
|
1097
|
-
office365/sharepoint/files/collection.py,sha256=
|
|
1097
|
+
office365/sharepoint/files/collection.py,sha256=G-3I63GM5flJf0fvh6eIy88vCbU_mi0DAu49sqVs2I4,7170
|
|
1098
1098
|
office365/sharepoint/files/creation_information.py,sha256=y2-dGOMMMjkvnlOT6LFbUWAQfNrRzmn7rvp6fpimzLE,1088
|
|
1099
1099
|
office365/sharepoint/files/file.py,sha256=oBUIRBsCsvsFu3VlKnFMwbOW6oeZWau5fqgOpWlpfNg,38895
|
|
1100
1100
|
office365/sharepoint/files/move_operations.py,sha256=GS5io4eAbeKFNPkZqe9Bf3z0tC-oOIDMFlFnZEIf5RU,240
|
|
@@ -1103,7 +1103,7 @@ office365/sharepoint/files/system_object_type.py,sha256=DmWWCNLhkeQ07lpWxlHVYr7z
|
|
|
1103
1103
|
office365/sharepoint/files/versions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1104
1104
|
office365/sharepoint/files/versions/collection.py,sha256=jGmZlVbG2_ZMqtxOUO9oBSUtUwIodcXJHslv4xAek58,2799
|
|
1105
1105
|
office365/sharepoint/files/versions/event.py,sha256=Ynn3NOAL3oJQZXI-Lwx481-wKouXBRonmGhAVnIN6AQ,1232
|
|
1106
|
-
office365/sharepoint/files/versions/version.py,sha256=
|
|
1106
|
+
office365/sharepoint/files/versions/version.py,sha256=kZmeXMGFggm-_UvGJs_0kwnOI5oseTtDDQzsdVvrxjI,4269
|
|
1107
1107
|
office365/sharepoint/fileservices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1108
1108
|
office365/sharepoint/flows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1109
1109
|
office365/sharepoint/flows/synchronization_result.py,sha256=NWm8cmKb1zmOrqfljUiIQ1ET_BBW4DlmUrk5M6qY1QE,99
|
|
@@ -1223,11 +1223,12 @@ office365/sharepoint/migrationcenter/service/__init__.py,sha256=47DEQpj8HBSa-_TI
|
|
|
1223
1223
|
office365/sharepoint/migrationcenter/service/credential.py,sha256=39oY_z5Ucd9fbAcDufuGIVeeFanfWoCFJvAdy4n5yBg,231
|
|
1224
1224
|
office365/sharepoint/migrationcenter/service/properties.py,sha256=xDAa3KvrK_3aFcw2l7-lJiJhbbL-pKCG9afLX_eSnKs,231
|
|
1225
1225
|
office365/sharepoint/migrationcenter/service/property.py,sha256=NR3u2TrrKQfcyMMqfAlbiwD3Dmbqag_op6yTTRBBfz4,240
|
|
1226
|
-
office365/sharepoint/migrationcenter/service/services.py,sha256=
|
|
1226
|
+
office365/sharepoint/migrationcenter/service/services.py,sha256=uzcicYtiNpNxQBU937JBLlymm2fFKW2CvsbDsiAGWZk,1050
|
|
1227
1227
|
office365/sharepoint/migrationcenter/service/performance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1228
|
-
office365/sharepoint/migrationcenter/service/performance/dashboard_data.py,sha256=
|
|
1229
|
-
office365/sharepoint/migrationcenter/service/performance/data.py,sha256=
|
|
1228
|
+
office365/sharepoint/migrationcenter/service/performance/dashboard_data.py,sha256=m5v60_2j63c2TrUtWhOgq7r06alRiDRiITubXPdSOEw,837
|
|
1229
|
+
office365/sharepoint/migrationcenter/service/performance/data.py,sha256=_Ro2NnH4IGWTBETNvGBN2ARMnAnfxW_EC1bW1m6v39o,1738
|
|
1230
1230
|
office365/sharepoint/migrationcenter/service/performance/entity_data.py,sha256=3lVmEU9NQapuXME-zFG1qtnv-t2mny4tY8cMsRRlzc4,106
|
|
1231
|
+
office365/sharepoint/migrationcenter/service/performance/throughput_data.py,sha256=Os0HumFc22OYLGsNroZOVR2x1qaYmxSZh7vemievFbo,234
|
|
1231
1232
|
office365/sharepoint/mount/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1232
1233
|
office365/sharepoint/mount/folder_info.py,sha256=W3qPtkriXFRBvJO4RxJ40Ji5aRdKqIy1gWKFV4kHWFQ,93
|
|
1233
1234
|
office365/sharepoint/mount/point.py,sha256=zQsF_5GOWY2DCvbRfu1tTUlPqxSu3aLxcQLlhcxPsyM,966
|
|
@@ -1235,8 +1236,11 @@ office365/sharepoint/mount/service.py,sha256=iDCrOKP6UywzQTEUIqUl6Y4Sc9UYqxJOa4q
|
|
|
1235
1236
|
office365/sharepoint/mount/requests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1236
1237
|
office365/sharepoint/mount/requests/get_remote_item_Info.py,sha256=TQ2zhUtp0u5NNUnkKSOutE_S8ENvzv-ujO6CtsqQFck,414
|
|
1237
1238
|
office365/sharepoint/multigeo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1239
|
+
office365/sharepoint/multigeo/api_versions.py,sha256=162ILsOCtXq0LxckgbnYER5BLig1eUdyCymLzDnfA3s,1088
|
|
1238
1240
|
office365/sharepoint/multigeo/move_job_entity_data.py,sha256=9hsh80ajHK1UsuW1L2uMBFivRkK6ZSjmVks1UaOeOAI,220
|
|
1241
|
+
office365/sharepoint/multigeo/services.py,sha256=GbUVblMP2K2IqGeaTCPyhNzQME1ORVlcndHcpEDFQ2o,1659
|
|
1239
1242
|
office365/sharepoint/multigeo/site_move_job_entity_data.py,sha256=wZhX2YM__A-JEfoGE-ll_6hUuLPvVYuve_ZRjvpQkzc,273
|
|
1243
|
+
office365/sharepoint/multigeo/tenant_information.py,sha256=2nJucnGp06I3I993bhKd1V-hVd4scIYnHSRALUgDMEM,221
|
|
1240
1244
|
office365/sharepoint/multigeo/unified_group.py,sha256=1rns8f7DwyLknxOPvhgDG_6G61zHcrbAWC1HVe2eitc,198
|
|
1241
1245
|
office365/sharepoint/multigeo/user_personal_site_location.py,sha256=BMQu9pX9ygMcCP5rOztRBAnoz-SfBsHLBNoOCpVIIKo,234
|
|
1242
1246
|
office365/sharepoint/navigation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1352,7 +1356,8 @@ office365/sharepoint/publishing/embed_data_v1.py,sha256=IJJYRolLV-ABpCT0O0UKHeOV
|
|
|
1352
1356
|
office365/sharepoint/publishing/embed_service.py,sha256=jAq3If7MTmFTpTL-9twW8xMpbkgurKVcV6uu5UJcRfs,853
|
|
1353
1357
|
office365/sharepoint/publishing/file_picker_options.py,sha256=Ho4iPjnfVLrPIJ1rDgrj4ScCIvVMNsQ5T7rKjscVspI,563
|
|
1354
1358
|
office365/sharepoint/publishing/highlights_info.py,sha256=AOQGIxSJbAQo8yNIRdIBRmxYWxahLcwg0yzx1mQLwMo,183
|
|
1355
|
-
office365/sharepoint/publishing/
|
|
1359
|
+
office365/sharepoint/publishing/portal_health_details.py,sha256=cHnBXad51A4Yhfw1KQr9PMa3wuYpY16G6vu7z8FICGE,241
|
|
1360
|
+
office365/sharepoint/publishing/portal_health_status.py,sha256=QwXYeSb1gpgKK-9fVmdj8Kwwl0LWdG7nyFtEyMAqYv8,561
|
|
1356
1361
|
office365/sharepoint/publishing/primary_city_time.py,sha256=0P4lrW41dLamPTSrxXPKYTcL_SSuOcdwZs__N9yjdac,610
|
|
1357
1362
|
office365/sharepoint/publishing/rich_sharing.py,sha256=Ef9G5s_8bIDdXAFhdDNjKmwlRvywcOrbw4AFn3Pvbg0,1926
|
|
1358
1363
|
office365/sharepoint/publishing/search.py,sha256=i6luuOW1Wor2T7afbSz_LZOvy2F2c0oa8-8Y5xFfF_4,155
|
|
@@ -1498,7 +1503,7 @@ office365/sharepoint/sharing/object_sharing_information.py,sha256=WCCQXutu-yCXB_
|
|
|
1498
1503
|
office365/sharepoint/sharing/object_sharing_information_user.py,sha256=Hu3Z41XPm6L7kxo40IVeWyphA-of4hcXpCjNRUiYSoI,1480
|
|
1499
1504
|
office365/sharepoint/sharing/object_sharing_settings.py,sha256=vPL5ovrgsGJ8PBgwnfBxh9x-pYEc08y8XgdzKl9AFSo,5047
|
|
1500
1505
|
office365/sharepoint/sharing/operation_status_code.py,sha256=tzbbS2w7R2hdxx7fNxboK5joStfHKjuQ8qv1JD9hoMs,1693
|
|
1501
|
-
office365/sharepoint/sharing/permission_collection.py,sha256=
|
|
1506
|
+
office365/sharepoint/sharing/permission_collection.py,sha256=s6NmEoRQI-619sTZuCtajar9Atw0cdfaIr-G2lUZ99M,1771
|
|
1502
1507
|
office365/sharepoint/sharing/permission_information.py,sha256=HLd_qz0jmMCd3aL2VQX78qY7y42n4gnIXXM1YNZiMSA,1552
|
|
1503
1508
|
office365/sharepoint/sharing/personal_web.py,sha256=cWeXork2GGGNW_w15QX2kOuk094Mtq0AcO5ja-l67nk,1062
|
|
1504
1509
|
office365/sharepoint/sharing/picker_settings.py,sha256=39idx2X2pVtTQedJHtaWb0W_qg3rOmA-bAwcEinFLR8,1063
|
|
@@ -1507,7 +1512,7 @@ office365/sharepoint/sharing/result.py,sha256=hWQPYeyUnuilzHze41ova-trogpTo0Fm47
|
|
|
1507
1512
|
office365/sharepoint/sharing/role.py,sha256=3NgJYEXdQMsujLIlPhm-BSoBmNGTnWFk_jzj-cbF3pk,586
|
|
1508
1513
|
office365/sharepoint/sharing/role_type.py,sha256=SGbCxv9Ua509Spzm_l97MTmLm1-G68A1GfAO1gU1GjY,3545
|
|
1509
1514
|
office365/sharepoint/sharing/securable_object_extensions.py,sha256=s-DJF50T-1V8rBSqXStlh-GWFyPRSoPs7nBu6UScNkU,249
|
|
1510
|
-
office365/sharepoint/sharing/shared_document_info.py,sha256=
|
|
1515
|
+
office365/sharepoint/sharing/shared_document_info.py,sha256=5B5oscGezPTOulzJiksdAa_EYePdslwoGCVhez-dcE8,1211
|
|
1511
1516
|
office365/sharepoint/sharing/shared_object_type.py,sha256=iUYy9KeWsykbeQHiaVESuIu4IRE-azaRj_4wAhCgGzQ,117
|
|
1512
1517
|
office365/sharepoint/sharing/shared_with_user.py,sha256=89Rg6lc8yd2tOEReAWVhOP3hge4G8lWGz_PEUofpWQY,429
|
|
1513
1518
|
office365/sharepoint/sharing/sharepoint_sharing_settings.py,sha256=HCCC7_ZMutfVs02PW_2FhJM9geGS-TV6KAYumlV_KgI,1068
|
|
@@ -1544,7 +1549,7 @@ office365/sharepoint/sitedesigns/run.py,sha256=gNXxkzIDFeiI7OyxeW1Av_AG0PvQlcS1B
|
|
|
1544
1549
|
office365/sharepoint/sitedesigns/task.py,sha256=Ej45V-p7t4b0wLxG2R6CHa0x82C-iScr3mI_Gso2-dA,223
|
|
1545
1550
|
office365/sharepoint/sitehealth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1546
1551
|
office365/sharepoint/sitehealth/result.py,sha256=69OfKqu2k24gCw485pfvBgSpY_Exp2gVytI-uf-XzVU,811
|
|
1547
|
-
office365/sharepoint/sitehealth/summary.py,sha256
|
|
1552
|
+
office365/sharepoint/sitehealth/summary.py,sha256=-FFhHy9Me4g8K1WaT8fjDHONRorxaabqrjEgtl4XKic,1405
|
|
1548
1553
|
office365/sharepoint/sites/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1549
1554
|
office365/sharepoint/sites/azure_container_Info.py,sha256=elRuvmm0sI0Pv2La_hUzWuPZjkP5jHf_PWenKQFcsQc,125
|
|
1550
1555
|
office365/sharepoint/sites/home_site_reference.py,sha256=ZlRa6GtFAKwBi9lxd95bOC09Q7bp7nRuccxKKOH2ABQ,333
|
|
@@ -1552,7 +1557,7 @@ office365/sharepoint/sites/home_sites_details.py,sha256=aqhh2bMAN00lpP-eDZwSdwoR
|
|
|
1552
1557
|
office365/sharepoint/sites/language.py,sha256=vYGCDPcSm33ubFLCGUXTDL86Ml-z5HfSw3j-12-1Cs0,765
|
|
1553
1558
|
office365/sharepoint/sites/language_collection.py,sha256=4kP9Lg3_C9PyR05PB_UC_VIBUuiG2dL6Idew3rm4hao,898
|
|
1554
1559
|
office365/sharepoint/sites/script_safe_domain.py,sha256=y9s6DbMEybTr1u_h0XE2KezO7MDemXwRO-LhR0FSDeQ,92
|
|
1555
|
-
office365/sharepoint/sites/site.py,sha256=
|
|
1560
|
+
office365/sharepoint/sites/site.py,sha256=ejQjCjCtdyHtqLIxJChIUPNJOds9mKGMu_2YwwxhHHo,32657
|
|
1556
1561
|
office365/sharepoint/sites/site_type.py,sha256=LAEhIES3d3V6p09RM-OFOLMiqZaKwHC2iiL52ZSIOGw,117
|
|
1557
1562
|
office365/sharepoint/sites/sph_site.py,sha256=4KRB2UcBYvLbzOANdRN07oUdoFEhAGbXpl0sRXuXays,4750
|
|
1558
1563
|
office365/sharepoint/sites/team_site_data.py,sha256=A__jJb_Vj5fUJOWROfDqUSmYaoafWcQD4b5MDG1d2bU,88
|
|
@@ -1632,9 +1637,13 @@ office365/sharepoint/tenant/cdn_api.py,sha256=4arDfiETCvySr4N_0gnTALlrtArVD3ET2i
|
|
|
1632
1637
|
office365/sharepoint/tenant/cdn_url.py,sha256=tdboit-Ej5GI-2Pi9_9BDEif5I17judUePeDDmbWb-A,197
|
|
1633
1638
|
office365/sharepoint/tenant/settings.py,sha256=1okeffMEKYilwPRS-1yF_vFk9yRuKlCfMEnAfnKMC10,1324
|
|
1634
1639
|
office365/sharepoint/tenant/administration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1640
|
+
office365/sharepoint/tenant/administration/container_properties.py,sha256=lNgqFTTHxJmzLhxx5bz3AcGEMuj9l2NAw21ku_PkTlI,533
|
|
1635
1641
|
office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py,sha256=PrLDsOwbGFPJdm2dpH1wjfSurw7YBcvGwLoPa5qOU1Q,468
|
|
1636
1642
|
office365/sharepoint/tenant/administration/endpoints.py,sha256=KKWkN9jPEsbGcsfsRlZAH5z5D7r8MdW3GiaUHaySuL4,423
|
|
1637
1643
|
office365/sharepoint/tenant/administration/execution_history_response.py,sha256=GXCHxhchUb0u_1KHQbJHzBvnhgdDkeceCqOIlklkVEU,275
|
|
1644
|
+
office365/sharepoint/tenant/administration/group.py,sha256=PMbLXkPFEPZN6qQ7l2j7Yg21ksRUVztGLcaFz5AO8QI,553
|
|
1645
|
+
office365/sharepoint/tenant/administration/recent_admin_action_report.py,sha256=dhwHV60Yzt38wuWpyQkF683_jNAIRVjPNvgR2A6DF3Y,420
|
|
1646
|
+
office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py,sha256=IZHJ7T87O7k2_BURSMwKU36JEVkQIYjpjFwel2HLsHw,290
|
|
1638
1647
|
office365/sharepoint/tenant/administration/response_message_center.py,sha256=FOUNzGLrryNBRNG-_aILOtCwg6Ddgp4lO2GGmF0kZ6o,522
|
|
1639
1648
|
office365/sharepoint/tenant/administration/response_service_health.py,sha256=RpkVYMBYhhKPeS8zze7r2cwRpJwrVc0U7F6aUE3dXoQ,220
|
|
1640
1649
|
office365/sharepoint/tenant/administration/secondary_administrators_fields_data.py,sha256=0ah08XyFlDVVwvvdjW8r78OTEIA7I96sXEf2Ab9sz1k,761
|
|
@@ -1642,10 +1651,10 @@ office365/sharepoint/tenant/administration/secondary_administrators_info.py,sha2
|
|
|
1642
1651
|
office365/sharepoint/tenant/administration/settings_service.py,sha256=GUr_KcjwlSWG8a9ahofDcrGs6SIFSMyCj2lm2-YpmpQ,2103
|
|
1643
1652
|
office365/sharepoint/tenant/administration/sharing_capabilities.py,sha256=xAj72rcDAK2uOeXaDJin9M577YoDuIxrLY3o7tPLIMI,618
|
|
1644
1653
|
office365/sharepoint/tenant/administration/site_user_group_info.py,sha256=L1b7cJ9dnWqLwCt4VR1u_88a-OwoKTfHxVRJfDgA3n8,225
|
|
1645
|
-
office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py,sha256=
|
|
1654
|
+
office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py,sha256=WXonNa2VN7xjT1MhqzJI5Gi134Yr1PdUjpxws4d9dI4,469
|
|
1646
1655
|
office365/sharepoint/tenant/administration/smtp_server.py,sha256=KDkfx3cESfTLDZrjFOhgVeoWOL2VfxOZuX4kzoMLFuU,290
|
|
1647
1656
|
office365/sharepoint/tenant/administration/spo_operation.py,sha256=pFysC_Ee-RTyA4oY_7TG1U-4VHMZLkXNTZSZLdlid1I,949
|
|
1648
|
-
office365/sharepoint/tenant/administration/tenant.py,sha256=
|
|
1657
|
+
office365/sharepoint/tenant/administration/tenant.py,sha256=9fApdS-W6EcpM0nwa7BM386VFTZlYb_D6K9ZF-Y1xnc,25309
|
|
1649
1658
|
office365/sharepoint/tenant/administration/theme_properties.py,sha256=6iI2LLKSnOSi5TByT-8u1I56w8As7DzQBCRU4WI0uyE,204
|
|
1650
1659
|
office365/sharepoint/tenant/administration/types.py,sha256=uIbr9fHcD9iHPyLB0OY4ynKl2pskgB7DwSfYabYNWug,104
|
|
1651
1660
|
office365/sharepoint/tenant/administration/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1667,18 +1676,19 @@ office365/sharepoint/tenant/administration/internal/__init__.py,sha256=47DEQpj8H
|
|
|
1667
1676
|
office365/sharepoint/tenant/administration/internal/permission_grant.py,sha256=d64vR5WrJs5F-SEpwZ7kV3StlJD7VZpmxldt6E-xHak,245
|
|
1668
1677
|
office365/sharepoint/tenant/administration/internal/web_appservice_principal.py,sha256=i7dYWn9NliNr57BFwYNP2HuX-nRwGgiBgAob5yg7JIo,910
|
|
1669
1678
|
office365/sharepoint/tenant/administration/powerapps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1679
|
+
office365/sharepoint/tenant/administration/powerapps/environment.py,sha256=DfEOhqVprm8ubRFvBNspCCj-qFJIBZBXFzdRZoX_wm8,861
|
|
1670
1680
|
office365/sharepoint/tenant/administration/powerapps/environment_context.py,sha256=dKOtnEtwCYCSLYA135UUjkux4b1JqCgaRby_lfvZEqo,271
|
|
1671
1681
|
office365/sharepoint/tenant/administration/sites/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1672
1682
|
office365/sharepoint/tenant/administration/sites/administrators_info.py,sha256=I29OQ-Drm05BgkOXnrxRiznZHxk36C7xKxeRqFTUUOw,494
|
|
1673
1683
|
office365/sharepoint/tenant/administration/sites/collection_management_service.py,sha256=VTDbGgcfjJICL066_vvNHMTHWm9pnNWidjufN-snI1k,1270
|
|
1674
1684
|
office365/sharepoint/tenant/administration/sites/creation_data.py,sha256=gANLvHto1OVJAfmQOMYv9hXP7XJwVzokjvwTXMGeHxM,383
|
|
1675
|
-
office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py,sha256=
|
|
1685
|
+
office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py,sha256=Zmv6mMXeaN6kvhYWZiIqAones7LPnLUcR5V0Z6vjk9Q,407
|
|
1676
1686
|
office365/sharepoint/tenant/administration/sites/creation_properties.py,sha256=brjfSqVQKBvX38RbH5VvfMSBgUuXk7s_9mSegsXDyHY,995
|
|
1677
|
-
office365/sharepoint/tenant/administration/sites/creation_source.py,sha256=
|
|
1687
|
+
office365/sharepoint/tenant/administration/sites/creation_source.py,sha256=iD6KGHhjYCF-LkHIYRkgj1s83JfXiuPsN0GesKTMueA,1089
|
|
1678
1688
|
office365/sharepoint/tenant/administration/sites/properties.py,sha256=QxomKLPeiFvZrhmAn0TEUGOlA8Jugio74L81yXPaCQc,5722
|
|
1679
|
-
office365/sharepoint/tenant/administration/sites/properties_collection.py,sha256=
|
|
1689
|
+
office365/sharepoint/tenant/administration/sites/properties_collection.py,sha256=vSikU9qXHYWv5NcSFyxluuXZpg2vKaCY043fboMs8_A,2126
|
|
1680
1690
|
office365/sharepoint/tenant/administration/sites/properties_enumerable_filter.py,sha256=OZ7VVXeYllu7ndktIwR4eG3JZJlF5qGdcUEojK3tTn8,996
|
|
1681
|
-
office365/sharepoint/tenant/administration/sites/state_properties.py,sha256=
|
|
1691
|
+
office365/sharepoint/tenant/administration/sites/state_properties.py,sha256=P3b_Bcyeo-Rn2tmqbJWXRcT3-TBOw-vfO0b9jP945CA,652
|
|
1682
1692
|
office365/sharepoint/tenant/administration/syntex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1683
1693
|
office365/sharepoint/tenant/administration/syntex/billing_context.py,sha256=Icur2RIvc8pDMDsLnkRvXOIqL5K166_RYK4h86_aEmw,243
|
|
1684
1694
|
office365/sharepoint/tenant/administration/webs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1722,7 +1732,7 @@ office365/sharepoint/translation/user_resource.py,sha256=LseNwyGg-4tv2GzU7iXJuPo
|
|
|
1722
1732
|
office365/sharepoint/translation/variations_timer_job.py,sha256=aYA9rRXLSX497JRAsK7QWP_WxrL6PPEoBjiPSaKmmpg,1545
|
|
1723
1733
|
office365/sharepoint/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1724
1734
|
office365/sharepoint/types/property_values.py,sha256=6D_ebRbZPgr6vivbpxY4d8D4nn9ClTFc7oG_dyo28m8,165
|
|
1725
|
-
office365/sharepoint/types/resource_path.py,sha256=
|
|
1735
|
+
office365/sharepoint/types/resource_path.py,sha256=E0_cA65tMF4SFtfFUlmybPvBSq3gcpzrEFwCHVmd51g,1595
|
|
1726
1736
|
office365/sharepoint/types/wopi_action.py,sha256=fNpoQK6YyestTQt1xbAVCeNoFgIN8DEzgP3doUsSylY,87
|
|
1727
1737
|
office365/sharepoint/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1728
1738
|
office365/sharepoint/ui/applicationpages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1777,8 +1787,11 @@ office365/sharepoint/views/create_information.py,sha256=_vFAhj00Erz4_adG2V8zHxCs
|
|
|
1777
1787
|
office365/sharepoint/views/field_collection.py,sha256=P3Ynx8DeYidEakUmXQSV1vqY5QqJGijxtqF9siG0W38,2659
|
|
1778
1788
|
office365/sharepoint/views/scope.py,sha256=DIREvGkbrssD-g3rIuRtqrbEq_34bOhcEolFux3-LUs,507
|
|
1779
1789
|
office365/sharepoint/views/type.py,sha256=5sBnWtE-KaJ1gJz2fOnVFhtQBA0YRsKGLAxja4mXhKE,232
|
|
1780
|
-
office365/sharepoint/views/view.py,sha256=
|
|
1781
|
-
office365/sharepoint/views/visualization.py,sha256=
|
|
1790
|
+
office365/sharepoint/views/view.py,sha256=S0nRVN0_qn88xCqet2WFdcCzc7eeJ3phfl-0L16JsVA,8649
|
|
1791
|
+
office365/sharepoint/views/visualization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1792
|
+
office365/sharepoint/views/visualization/field.py,sha256=zvgR9GTCwqWOBkXSdjE63Z-YH67HJkSZ5ZAGT9rz1nQ,564
|
|
1793
|
+
office365/sharepoint/views/visualization/style_set.py,sha256=L1pypALZyuHxkwKxCFCrdYMWYsCNkQyPR_VXU-tALaU,178
|
|
1794
|
+
office365/sharepoint/views/visualization/visualization.py,sha256=FLjmy43TebWfS-aB1DwpfZoKigRB-FQ20o8j7OccIuw,102
|
|
1782
1795
|
office365/sharepoint/viva/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1783
1796
|
office365/sharepoint/viva/app_configuration.py,sha256=FlTbDIWd9TeSma4MPJDrb0Xj1uJBTPgR6Rr7-6rwNco,90
|
|
1784
1797
|
office365/sharepoint/viva/connections_url_configuration.py,sha256=SAZjayVqsW_Lrmb3w8SZvtFmnwRioDVVErWxfkcCJxM,415
|
|
@@ -1823,6 +1836,7 @@ office365/sharepoint/webs/time_zone_information.py,sha256=7iGCyRGCuJAj4juYtxj877
|
|
|
1823
1836
|
office365/sharepoint/webs/web.py,sha256=ltlp9lIbYgHzz0bz4S4a6BEZof1FR7k5DUU99CK6loY,98526
|
|
1824
1837
|
office365/sharepoint/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1825
1838
|
office365/sharepoint/workflow/association.py,sha256=PRr07MpidDHqL-vb-iDLRf_1k2vhk3BcYvORb3Wxa9k,181
|
|
1839
|
+
office365/sharepoint/workflow/manager.py,sha256=X2v_0PBxWUujPfixs_9D0oPTHj-qp9PcDWSKYXKfynA,93
|
|
1826
1840
|
office365/sharepoint/workflow/template.py,sha256=8FVky_1tNzAg-CltXPoWl8eG6EYgyUtuTywnDe9YaEM,153
|
|
1827
1841
|
office365/sharepoint/workflowservices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1828
1842
|
office365/sharepoint/workflowservices/deployment_service.py,sha256=ydq_V_VXnpGSRbgYlqd-Kd_5qCvBLUJhv1GKQ59aX3k,211
|
|
@@ -1934,8 +1948,8 @@ office365/todo/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
1934
1948
|
office365/todo/tasks/list.py,sha256=i8figSfqkRm1wuUZXJntZWnnidT0XIY2SGvCCuRK8C8,1138
|
|
1935
1949
|
office365/todo/tasks/list_collection.py,sha256=bDKOXgzdCDWnJqPZgBQYZ9yaFNOqXrv5DL1uWy5fg_M,584
|
|
1936
1950
|
office365/todo/tasks/task.py,sha256=ZWGkBieQ7_7Om4RgBhXfCs6651a2mi_tFttZgaIcY4o,2120
|
|
1937
|
-
Office365_REST_Python_Client-2.5.
|
|
1938
|
-
Office365_REST_Python_Client-2.5.
|
|
1939
|
-
Office365_REST_Python_Client-2.5.
|
|
1940
|
-
Office365_REST_Python_Client-2.5.
|
|
1941
|
-
Office365_REST_Python_Client-2.5.
|
|
1951
|
+
Office365_REST_Python_Client-2.5.9.dist-info/LICENSE,sha256=oiA-FsK_tSE0PNl3jtQ9ohZjFjPyQK3ejw6le4hzL5Q,1083
|
|
1952
|
+
Office365_REST_Python_Client-2.5.9.dist-info/METADATA,sha256=Ui4TvNgspq7r8qSsAfAF6CPjUpItWo1nzQUc66Ghj0g,18276
|
|
1953
|
+
Office365_REST_Python_Client-2.5.9.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
1954
|
+
Office365_REST_Python_Client-2.5.9.dist-info/top_level.txt,sha256=xmwMgIZYmOTzckcPR2A1-3ebpPhfqj1l_QOvsOf30X4,10
|
|
1955
|
+
Office365_REST_Python_Client-2.5.9.dist-info/RECORD,,
|
|
@@ -65,27 +65,61 @@ class DriveItem(BaseItem):
|
|
|
65
65
|
"""The driveItem resource represents a file, folder, or other item stored in a drive. All file system objects in
|
|
66
66
|
OneDrive and SharePoint are returned as driveItem resources"""
|
|
67
67
|
|
|
68
|
-
def get_files(self, recursive=False):
|
|
68
|
+
def get_files(self, recursive=False, page_size=None):
|
|
69
69
|
"""Retrieves files
|
|
70
70
|
:param bool recursive: Determines whether to enumerate folders recursively
|
|
71
|
+
:param int page_size: Page size
|
|
71
72
|
"""
|
|
72
73
|
return_type = EntityCollection(self.context, DriveItem, self.resource_path)
|
|
73
74
|
|
|
74
75
|
def _get_files(parent_drive_item):
|
|
75
76
|
# type: (DriveItem) -> None
|
|
76
|
-
def _after_loaded():
|
|
77
|
-
|
|
77
|
+
def _after_loaded(col):
|
|
78
|
+
# type: (EntityCollection[DriveItem]) -> None
|
|
79
|
+
if col.has_next:
|
|
80
|
+
return
|
|
81
|
+
|
|
82
|
+
for drive_item in col:
|
|
78
83
|
if drive_item.is_folder:
|
|
79
|
-
if recursive:
|
|
84
|
+
if recursive and drive_item.folder.childCount > 0:
|
|
80
85
|
_get_files(drive_item)
|
|
81
86
|
else:
|
|
82
87
|
return_type.add_child(drive_item)
|
|
83
88
|
|
|
84
|
-
parent_drive_item.
|
|
89
|
+
parent_drive_item.children.get_all(
|
|
90
|
+
page_size=page_size, page_loaded=_after_loaded
|
|
91
|
+
)
|
|
85
92
|
|
|
86
93
|
_get_files(self)
|
|
87
94
|
return return_type
|
|
88
95
|
|
|
96
|
+
def get_folders(self, recursive=False, page_size=None):
|
|
97
|
+
"""Retrieves folders
|
|
98
|
+
:param bool recursive: Determines whether to enumerate folders recursively
|
|
99
|
+
:param int page_size: Page size
|
|
100
|
+
"""
|
|
101
|
+
return_type = EntityCollection(self.context, DriveItem, self.resource_path)
|
|
102
|
+
|
|
103
|
+
def _get_folders(parent):
|
|
104
|
+
# type: (DriveItem) -> None
|
|
105
|
+
|
|
106
|
+
def _after_loaded(col):
|
|
107
|
+
# type: (EntityCollection[DriveItem]) -> None
|
|
108
|
+
if col.has_next:
|
|
109
|
+
return
|
|
110
|
+
|
|
111
|
+
for drive_item in col:
|
|
112
|
+
if recursive and drive_item.folder.childCount > 0:
|
|
113
|
+
_get_folders(drive_item)
|
|
114
|
+
return_type.add_child(drive_item)
|
|
115
|
+
|
|
116
|
+
parent.children.filter("folder ne null").get_all(
|
|
117
|
+
page_size=page_size, page_loaded=_after_loaded
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
_get_folders(self)
|
|
121
|
+
return return_type
|
|
122
|
+
|
|
89
123
|
def get_by_path(self, url_path):
|
|
90
124
|
# type: (str) -> "DriveItem"
|
|
91
125
|
"""Retrieve DriveItem by server relative path"""
|
|
@@ -39,6 +39,18 @@ class AlertCollection(EntityCollection[Alert]):
|
|
|
39
39
|
self.context.add_query(qry)
|
|
40
40
|
return return_type
|
|
41
41
|
|
|
42
|
+
def delete_alert_at_index(self, index):
|
|
43
|
+
"""Deletes the alert based on the given index.
|
|
44
|
+
|
|
45
|
+
:param int index: A 32-bit integer that is greater than or equal to 0 and less than the count of the
|
|
46
|
+
alert in the collection. Specifies the index of the alert in the collection.
|
|
47
|
+
"""
|
|
48
|
+
qry = ServiceOperationQuery(
|
|
49
|
+
self, "DeleteAlertAtIndex", {"index": index}, None, None, None
|
|
50
|
+
)
|
|
51
|
+
self.context.add_query(qry)
|
|
52
|
+
return self
|
|
53
|
+
|
|
42
54
|
def get_by_id(self, id_alert):
|
|
43
55
|
"""
|
|
44
56
|
Gets an alert based on the Id.
|
|
@@ -19,7 +19,7 @@ class AttachmentCollection(EntityCollection[Attachment]):
|
|
|
19
19
|
)
|
|
20
20
|
|
|
21
21
|
def add(self, attachment_file_information):
|
|
22
|
-
# type: (AttachmentCreationInformation) -> Attachment
|
|
22
|
+
# type: (AttachmentCreationInformation|dict) -> Attachment
|
|
23
23
|
"""
|
|
24
24
|
Adds the attachment represented by the file name and stream in the specified parameter to the list item.
|
|
25
25
|
|
|
@@ -24,3 +24,21 @@ class FieldDateTime(Field):
|
|
|
24
24
|
# type: () -> Optional[str]
|
|
25
25
|
""" """
|
|
26
26
|
return self.properties.get("DateFormat", None)
|
|
27
|
+
|
|
28
|
+
@property
|
|
29
|
+
def display_format(self):
|
|
30
|
+
# type: () -> Optional[int]
|
|
31
|
+
"""Specifies the type of date and time format that is used in the field"""
|
|
32
|
+
return self.properties.get("DisplayFormat", None)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def friendly_display_format(self):
|
|
36
|
+
# type: () -> Optional[int]
|
|
37
|
+
"""Gets the type of friendly display format that is used in the field"""
|
|
38
|
+
return self.properties.get("FriendlyDisplayFormat", None)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def time_format(self):
|
|
42
|
+
# type: () -> Optional[str]
|
|
43
|
+
"""Gets the time format that is used in the field"""
|
|
44
|
+
return self.properties.get("TimeFormat", None)
|
|
@@ -43,3 +43,23 @@ class FieldLookup(Field):
|
|
|
43
43
|
"""Sets a value that specifies the list identifier of the list that contains the field to use as
|
|
44
44
|
the lookup values."""
|
|
45
45
|
self.set_property("LookupList", val, True)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def primary_field_id(self):
|
|
49
|
+
# type: () -> Optional[str]
|
|
50
|
+
"""Specifies the primary lookup field identifier if this is a dependent lookup field.
|
|
51
|
+
Otherwise, it is an empty string."""
|
|
52
|
+
return self.properties.get("PrimaryFieldId", None)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def relationship_delete_behavior(self):
|
|
56
|
+
# type: () -> Optional[int]
|
|
57
|
+
"""Gets a value that specifies the relationship delete behavior of the lookup field."""
|
|
58
|
+
return self.properties.get("RelationshipDeleteBehavior", None)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def unlimited_length_in_document_library(self):
|
|
62
|
+
# type: () -> Optional[bool]
|
|
63
|
+
"""Gets or sets a Boolean value that specifies whether to allow values with unlimited text
|
|
64
|
+
in the lookup field."""
|
|
65
|
+
return self.properties.get("UnlimitedLengthInDocumentLibrary", None)
|
|
@@ -31,3 +31,28 @@ class FieldMultiLineText(Field):
|
|
|
31
31
|
# type: (int) -> None
|
|
32
32
|
"""Set the number of lines to display in the field."""
|
|
33
33
|
self.set_property("NumberOfLines", val)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
def restricted_mode(self):
|
|
37
|
+
# type: () -> Optional[bool]
|
|
38
|
+
"""Specifies whether the field supports a subset of rich text formatting."""
|
|
39
|
+
return self.properties.get("RestrictedMode", None)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def rich_text(self):
|
|
43
|
+
# type: () -> Optional[bool]
|
|
44
|
+
"""Specifies whether the field supports rich text formatting."""
|
|
45
|
+
return self.properties.get("RichText", None)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def unlimited_length_in_document_library(self):
|
|
49
|
+
# type: () -> Optional[bool]
|
|
50
|
+
"""Gets a Boolean value that specifies whether to allow unlimited field length in document libraries."""
|
|
51
|
+
return self.properties.get("UnlimitedLengthInDocumentLibrary", None)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def wiki_linking(self):
|
|
55
|
+
# type: () -> Optional[bool]
|
|
56
|
+
"""Specifies whether an implementation-specific mechanism for linking wiki pages is supported.
|
|
57
|
+
It MUST be "false" if RichText is "false"."""
|
|
58
|
+
return self.properties.get("WikiLinking", None)
|
|
@@ -15,11 +15,8 @@ class FieldRatingScale(FieldMultiChoice):
|
|
|
15
15
|
|
|
16
16
|
@grid_start_number.setter
|
|
17
17
|
def grid_start_number(self, value):
|
|
18
|
-
|
|
19
|
-
Gets the start number for the rating scale.
|
|
20
|
-
|
|
21
|
-
:type value: int
|
|
22
|
-
"""
|
|
18
|
+
# type: (int) -> None
|
|
19
|
+
"""Gets the start number for the rating scale."""
|
|
23
20
|
self.set_property("GridStartNumber", value)
|
|
24
21
|
|
|
25
22
|
@property
|
|
@@ -24,22 +24,23 @@ class FileCollection(EntityCollection[File]):
|
|
|
24
24
|
# type: (ClientContext, ResourcePath, Folder) -> None
|
|
25
25
|
super(FileCollection, self).__init__(context, File, resource_path, parent)
|
|
26
26
|
|
|
27
|
-
def upload(self, path_or_file):
|
|
28
|
-
# type: (str|IO) -> File
|
|
27
|
+
def upload(self, path_or_file, file_name=None):
|
|
28
|
+
# type: (str|IO, str) -> File
|
|
29
29
|
"""Uploads a file into folder.
|
|
30
30
|
|
|
31
31
|
Note: This method only supports files up to 4MB in size!
|
|
32
32
|
Consider create_upload_session method instead for larger files
|
|
33
|
-
:param str or typing.IO path_or_file:
|
|
33
|
+
:param str or typing.IO path_or_file: Path where file to upload resides or file handle
|
|
34
|
+
:param str file_name: New file name
|
|
34
35
|
"""
|
|
35
36
|
if hasattr(path_or_file, "read"):
|
|
37
|
+
name = file_name or os.path.basename(path_or_file.name)
|
|
36
38
|
content = path_or_file.read()
|
|
37
|
-
name = os.path.basename(path_or_file.name)
|
|
38
39
|
return self.add(name, content, True)
|
|
39
40
|
else:
|
|
40
41
|
with open(path_or_file, "rb") as f:
|
|
41
42
|
content = f.read()
|
|
42
|
-
name = os.path.basename(path_or_file)
|
|
43
|
+
name = file_name or os.path.basename(path_or_file)
|
|
43
44
|
return self.add(name, content, True)
|
|
44
45
|
|
|
45
46
|
def upload_with_checksum(self, file_object, chunk_size=1024):
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from datetime import datetime
|
|
1
2
|
from typing import IO, AnyStr, Optional
|
|
2
3
|
|
|
3
4
|
from typing_extensions import Self
|
|
@@ -54,6 +55,12 @@ class FileVersion(Entity):
|
|
|
54
55
|
self.context.add_query(qry)
|
|
55
56
|
return return_type
|
|
56
57
|
|
|
58
|
+
@property
|
|
59
|
+
def created(self):
|
|
60
|
+
# type: () -> Optional[datetime]
|
|
61
|
+
"""Specifies the creation date and time for the file version."""
|
|
62
|
+
return self.properties.get("Created", datetime.min)
|
|
63
|
+
|
|
57
64
|
@property
|
|
58
65
|
def created_by(self):
|
|
59
66
|
"""Gets the user that created the file version."""
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
from office365.runtime.client_value import ClientValue
|
|
2
|
+
from office365.runtime.client_value_collection import ClientValueCollection
|
|
3
|
+
from office365.runtime.types.collections import StringCollection
|
|
4
|
+
from office365.sharepoint.migrationcenter.service.performance.throughput_data import (
|
|
5
|
+
ThroughputData,
|
|
6
|
+
)
|
|
2
7
|
|
|
3
8
|
|
|
4
9
|
class PerformanceDashboardData(ClientValue):
|
|
5
10
|
""""""
|
|
6
11
|
|
|
12
|
+
def __init__(
|
|
13
|
+
self, bottleneck_list=None, recommendation_list=None, throughput_trend=None
|
|
14
|
+
):
|
|
15
|
+
self.BottleneckList = StringCollection(bottleneck_list)
|
|
16
|
+
self.RecommendationList = StringCollection(recommendation_list)
|
|
17
|
+
self.ThroughputTrend = ClientValueCollection(ThroughputData, throughput_trend)
|
|
18
|
+
|
|
7
19
|
@property
|
|
8
20
|
def entity_type_name(self):
|
|
9
21
|
return "Microsoft.Online.SharePoint.MigrationCenter.Service.PerformanceDashboardData"
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
from office365.runtime.client_result import ClientResult
|
|
2
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
3
|
+
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
4
|
+
from office365.sharepoint.entity_collection import EntityCollection
|
|
5
|
+
from office365.sharepoint.migrationcenter.service.performance.dashboard_data import (
|
|
6
|
+
PerformanceDashboardData,
|
|
7
|
+
)
|
|
1
8
|
from office365.sharepoint.migrationcenter.service.performance.entity_data import (
|
|
2
9
|
MigrationPerformanceEntityData,
|
|
3
10
|
)
|
|
@@ -5,3 +12,34 @@ from office365.sharepoint.migrationcenter.service.performance.entity_data import
|
|
|
5
12
|
|
|
6
13
|
class PerformanceData(MigrationPerformanceEntityData):
|
|
7
14
|
""""""
|
|
15
|
+
|
|
16
|
+
def __init__(self, context, resource_path=None):
|
|
17
|
+
if resource_path is None:
|
|
18
|
+
resource_path = ResourcePath(
|
|
19
|
+
"Microsoft.Online.SharePoint.MigrationCenter.Service.PerformanceData"
|
|
20
|
+
)
|
|
21
|
+
super(PerformanceData, self).__init__(context, resource_path)
|
|
22
|
+
|
|
23
|
+
@property
|
|
24
|
+
def entity_type_name(self):
|
|
25
|
+
return "Microsoft.Online.SharePoint.MigrationCenter.Service.PerformanceData"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class PerformanceDataCollection(EntityCollection[PerformanceData]):
|
|
29
|
+
def __init__(self, context, resource_path=None):
|
|
30
|
+
super(PerformanceDataCollection, self).__init__(
|
|
31
|
+
context, PerformanceData, resource_path
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
def get_data(self, StartTime=None, EndTime=None, AgentId=None, TimeUnit=None):
|
|
35
|
+
""" """
|
|
36
|
+
return_type = ClientResult(self.context, PerformanceDashboardData())
|
|
37
|
+
payload = {
|
|
38
|
+
"StartTime": StartTime,
|
|
39
|
+
"EndTime": EndTime,
|
|
40
|
+
"AgentId": AgentId,
|
|
41
|
+
"TimeUnit": TimeUnit,
|
|
42
|
+
}
|
|
43
|
+
qry = ServiceOperationQuery(self, "GetData", None, payload, None, return_type)
|
|
44
|
+
self.context.add_query(qry)
|
|
45
|
+
return return_type
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
1
2
|
from office365.sharepoint.entity import Entity
|
|
3
|
+
from office365.sharepoint.migrationcenter.service.performance.data import (
|
|
4
|
+
PerformanceDataCollection,
|
|
5
|
+
)
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
class MigrationCenterServices(Entity):
|
|
9
|
+
def __init__(self, context, resource_path=None):
|
|
10
|
+
if resource_path is None:
|
|
11
|
+
resource_path = ResourcePath(
|
|
12
|
+
"Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCenterServices"
|
|
13
|
+
)
|
|
14
|
+
super(MigrationCenterServices, self).__init__(context, resource_path)
|
|
15
|
+
|
|
16
|
+
@property
|
|
17
|
+
def performance_data(self):
|
|
18
|
+
# type: () -> PerformanceDataCollection
|
|
19
|
+
"""Get root web"""
|
|
20
|
+
return self.properties.get(
|
|
21
|
+
"PerformanceData",
|
|
22
|
+
PerformanceDataCollection(
|
|
23
|
+
self.context, ResourcePath("PerformanceData", self.resource_path)
|
|
24
|
+
),
|
|
25
|
+
)
|
|
26
|
+
|
|
5
27
|
@property
|
|
6
28
|
def entity_type_name(self):
|
|
7
29
|
return "Microsoft.Online.SharePoint.MigrationCenter.Service.MigrationCenterServices"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
2
|
+
from office365.runtime.types.collections import StringCollection
|
|
3
|
+
from office365.sharepoint.entity import Entity
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class MultiGeoApiVersions(Entity):
|
|
7
|
+
""""""
|
|
8
|
+
|
|
9
|
+
def __init__(self, context, resource_path=None):
|
|
10
|
+
if resource_path is None:
|
|
11
|
+
resource_path = ResourcePath(
|
|
12
|
+
"Microsoft.Online.SharePoint.MultiGeo.Service.MultiGeoApiVersions"
|
|
13
|
+
)
|
|
14
|
+
super(MultiGeoApiVersions, self).__init__(context, resource_path)
|
|
15
|
+
|
|
16
|
+
@property
|
|
17
|
+
def supported_versions(self):
|
|
18
|
+
return self.properties.get("SupportedVersions", StringCollection())
|
|
19
|
+
|
|
20
|
+
@property
|
|
21
|
+
def entity_type_name(self):
|
|
22
|
+
return "Microsoft.Online.SharePoint.MultiGeo.Service.MultiGeoApiVersions"
|
|
23
|
+
|
|
24
|
+
def get_property(self, name, default_value=None):
|
|
25
|
+
if default_value is None:
|
|
26
|
+
property_mapping = {"SupportedVersions": self.supported_versions}
|
|
27
|
+
default_value = property_mapping.get(name, None)
|
|
28
|
+
return super(MultiGeoApiVersions, self).get_property(name, default_value)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
2
|
+
from office365.sharepoint.entity import Entity
|
|
3
|
+
from office365.sharepoint.entity_collection import EntityCollection
|
|
4
|
+
from office365.sharepoint.multigeo.unified_group import UnifiedGroup
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class MultiGeoServices(Entity):
|
|
8
|
+
"""
|
|
9
|
+
Multi-Geo capabilities in OneDrive and SharePoint enable control of shared resources like SharePoint team sites
|
|
10
|
+
and Microsoft 365 Group mailboxes stored at rest in a specified geo location.
|
|
11
|
+
|
|
12
|
+
Each user, Group mailbox, and SharePoint site have a Preferred Data Location (PDL) which denotes the geo location
|
|
13
|
+
where related data is to be stored. Users' personal data (Exchange mailbox and OneDrive) along with any
|
|
14
|
+
Microsoft 365 Groups or SharePoint sites that they create can be stored in the specified geo location to meet
|
|
15
|
+
data residency requirements.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
@property
|
|
19
|
+
def unified_groups(self):
|
|
20
|
+
# type: () -> EntityCollection[UnifiedGroup]
|
|
21
|
+
""" """
|
|
22
|
+
return self.properties.get(
|
|
23
|
+
"UnifiedGroups",
|
|
24
|
+
EntityCollection(
|
|
25
|
+
self.context,
|
|
26
|
+
UnifiedGroup,
|
|
27
|
+
ResourcePath("UnifiedGroups", self.resource_path),
|
|
28
|
+
),
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
def entity_type_name(self):
|
|
33
|
+
return "Microsoft.Online.SharePoint.MultiGeo.Service.MultiGeoServicesBeta"
|
|
34
|
+
|
|
35
|
+
def get_property(self, name, default_value=None):
|
|
36
|
+
if default_value is None:
|
|
37
|
+
property_mapping = {"UnifiedGroups": self.unified_groups}
|
|
38
|
+
default_value = property_mapping.get(name, None)
|
|
39
|
+
return super(MultiGeoServices, self).get_property(name, default_value)
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
from office365.runtime.client_value import ClientValue
|
|
2
|
+
from office365.runtime.client_value_collection import ClientValueCollection
|
|
3
|
+
from office365.sharepoint.publishing.portal_health_details import PortalHealthDetails
|
|
2
4
|
|
|
3
5
|
|
|
4
6
|
class PortalHealthStatus(ClientValue):
|
|
5
|
-
def __init__(self, status=None):
|
|
7
|
+
def __init__(self, details=None, status=None):
|
|
6
8
|
"""
|
|
7
9
|
:param int status:
|
|
8
10
|
"""
|
|
11
|
+
self.Details = ClientValueCollection(PortalHealthDetails, details)
|
|
9
12
|
self.Status = status
|
|
13
|
+
|
|
14
|
+
@property
|
|
15
|
+
def entity_type_name(self):
|
|
16
|
+
return "SP.Publishing.PortalHealthStatus"
|
|
@@ -13,7 +13,12 @@ class PermissionCollection(ClientValue):
|
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
15
|
def __init__(
|
|
16
|
-
self,
|
|
16
|
+
self,
|
|
17
|
+
hasInheritedLinks=None,
|
|
18
|
+
links=None,
|
|
19
|
+
principals=None,
|
|
20
|
+
siteAdmins=None,
|
|
21
|
+
totalNumberOfPrincipals=None,
|
|
17
22
|
):
|
|
18
23
|
"""
|
|
19
24
|
:param bool hasInheritedLinks:
|
|
@@ -21,11 +26,13 @@ class PermissionCollection(ClientValue):
|
|
|
21
26
|
:param list[PrincipalInfo] principals: The List of Principals with their roles on this list item.
|
|
22
27
|
:param list[PrincipalInfo] siteAdmins: The List of Principals who are Site Admins. This property is returned
|
|
23
28
|
only if the caller is an Auditor.
|
|
29
|
+
:param int totalNumberOfPrincipals:
|
|
24
30
|
"""
|
|
25
31
|
self.hasInheritedLinks = hasInheritedLinks
|
|
26
32
|
self.links = ClientValueCollection(LinkInfo, links)
|
|
27
33
|
self.principals = ClientValueCollection(PrincipalInfo, principals)
|
|
28
34
|
self.siteAdmins = ClientValueCollection(PrincipalInfo, siteAdmins)
|
|
35
|
+
self.totalNumberOfPrincipals = totalNumberOfPrincipals
|
|
29
36
|
|
|
30
37
|
@property
|
|
31
38
|
def entity_type_name(self):
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from typing import Optional
|
|
2
2
|
|
|
3
|
+
from office365.sharepoint.contenttypes.content_type_id import ContentTypeId
|
|
3
4
|
from office365.sharepoint.entity import Entity
|
|
4
5
|
from office365.sharepoint.sharing.principal import Principal
|
|
5
6
|
|
|
@@ -24,6 +25,24 @@ class SharedDocumentInfo(Entity):
|
|
|
24
25
|
""""""
|
|
25
26
|
return self.properties.get("CallerStack", None)
|
|
26
27
|
|
|
28
|
+
@property
|
|
29
|
+
def color_hex(self):
|
|
30
|
+
# type: () -> Optional[str]
|
|
31
|
+
""""""
|
|
32
|
+
return self.properties.get("ColorHex", None)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def color_tag(self):
|
|
36
|
+
# type: () -> Optional[str]
|
|
37
|
+
""""""
|
|
38
|
+
return self.properties.get("ColorTag", None)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def content_type_id(self):
|
|
42
|
+
# type: () -> Optional[str]
|
|
43
|
+
""""""
|
|
44
|
+
return self.properties.get("ContentTypeId", ContentTypeId())
|
|
45
|
+
|
|
27
46
|
@property
|
|
28
47
|
def entity_type_name(self):
|
|
29
48
|
return "SP.Sharing.SharedDocumentInfo"
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
|
|
1
3
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
2
4
|
from office365.sharepoint.entity import Entity
|
|
3
5
|
from office365.sharepoint.sitehealth.result import SiteHealthResult
|
|
@@ -6,6 +8,24 @@ from office365.sharepoint.sitehealth.result import SiteHealthResult
|
|
|
6
8
|
class SiteHealthSummary(Entity):
|
|
7
9
|
"""Specifies a summary of the results of running a set of site collection health rules."""
|
|
8
10
|
|
|
11
|
+
@property
|
|
12
|
+
def failed_error_count(self):
|
|
13
|
+
# type: () -> Optional[int]
|
|
14
|
+
"""Specifies the number of site collection health rules that failed with an error."""
|
|
15
|
+
return self.properties.get("FailedErrorCount", None)
|
|
16
|
+
|
|
17
|
+
@property
|
|
18
|
+
def failed_warning_count(self):
|
|
19
|
+
# type: () -> Optional[int]
|
|
20
|
+
"""Specifies the number of site collection health rules that failed with a warning."""
|
|
21
|
+
return self.properties.get("FailedWarningCount", None)
|
|
22
|
+
|
|
23
|
+
@property
|
|
24
|
+
def passed_count(self):
|
|
25
|
+
# type: () -> Optional[int]
|
|
26
|
+
"""Specifies the number of site collection health rules that passed."""
|
|
27
|
+
return self.properties.get("PassedCount", None)
|
|
28
|
+
|
|
9
29
|
@property
|
|
10
30
|
def results(self):
|
|
11
31
|
"""Specifies a list of site collection health rule results, one for each site collection health rule that
|
|
@@ -88,6 +88,18 @@ class Site(Entity):
|
|
|
88
88
|
self.ensure_properties(["Url", "GroupId", "Id"], _site_resolved)
|
|
89
89
|
return self
|
|
90
90
|
|
|
91
|
+
def check_is_deletable(self):
|
|
92
|
+
"""Check Site Is Deletable"""
|
|
93
|
+
return_type = ClientResult(self.context, bool())
|
|
94
|
+
|
|
95
|
+
def _check_is_deletable():
|
|
96
|
+
SPPolicyStoreProxy.check_site_is_deletable_by_id(
|
|
97
|
+
self.context, self.id, return_type
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
self.ensure_property("Id", _check_is_deletable)
|
|
101
|
+
return return_type
|
|
102
|
+
|
|
91
103
|
def extend_upgrade_reminder_date(self):
|
|
92
104
|
"""
|
|
93
105
|
Extend the upgrade reminder date for this site collection, so that site collection administrators will
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from office365.runtime.client_value import ClientValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class SPContainerProperties(ClientValue):
|
|
5
|
+
""""""
|
|
6
|
+
|
|
7
|
+
def __init__(self, AllowEditing=None, AuthenticationContextName=None):
|
|
8
|
+
"""
|
|
9
|
+
:param bool AllowEditing:
|
|
10
|
+
:param str AuthenticationContextName:
|
|
11
|
+
"""
|
|
12
|
+
self.AllowEditing = AllowEditing
|
|
13
|
+
self.AuthenticationContextName = AuthenticationContextName
|
|
14
|
+
|
|
15
|
+
@property
|
|
16
|
+
def entity_type_name(self):
|
|
17
|
+
return "Microsoft.Online.SharePoint.TenantAdministration.SPContainerProperties"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
2
|
+
from office365.sharepoint.entity import Entity
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class SPOGroup(Entity):
|
|
6
|
+
""" """
|
|
7
|
+
|
|
8
|
+
def __init__(self, context, resource_path=None):
|
|
9
|
+
if resource_path is None:
|
|
10
|
+
resource_path = ResourcePath(
|
|
11
|
+
"Microsoft.Online.SharePoint.TenantAdministration.SPOGroup"
|
|
12
|
+
)
|
|
13
|
+
super(SPOGroup, self).__init__(context, resource_path)
|
|
14
|
+
|
|
15
|
+
@property
|
|
16
|
+
def entity_type_name(self):
|
|
17
|
+
return "Microsoft.Online.SharePoint.TenantAdministration.SPOGroup"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from office365.runtime.client_value import ClientValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class PowerAppsEnvironment(ClientValue):
|
|
5
|
+
""" """
|
|
6
|
+
|
|
7
|
+
def __init__(
|
|
8
|
+
self,
|
|
9
|
+
AllocatedAICredits=None,
|
|
10
|
+
DisplayName=None,
|
|
11
|
+
IsDefault=None,
|
|
12
|
+
Name=None,
|
|
13
|
+
PurchasedAICredits=None,
|
|
14
|
+
):
|
|
15
|
+
# type: (float, str, bool, str, float) -> None
|
|
16
|
+
self.AllocatedAICredits = AllocatedAICredits
|
|
17
|
+
self.DisplayName = DisplayName
|
|
18
|
+
self.IsDefault = IsDefault
|
|
19
|
+
self.Name = Name
|
|
20
|
+
self.PurchasedAICredits = PurchasedAICredits
|
|
21
|
+
|
|
22
|
+
def __str__(self):
|
|
23
|
+
return self.DisplayName or self.entity_type_name
|
|
24
|
+
|
|
25
|
+
def __repr__(self):
|
|
26
|
+
return self.Name or self.entity_type_name
|
|
27
|
+
|
|
28
|
+
@property
|
|
29
|
+
def entity_type_name(self):
|
|
30
|
+
# type: () -> str
|
|
31
|
+
return "Microsoft.Online.SharePoint.TenantAdministration.PowerAppsEnvironment"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from office365.runtime.client_value import ClientValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class RecentAdminActionReport(ClientValue):
|
|
5
|
+
""" """
|
|
6
|
+
|
|
7
|
+
def __init__(self, actions=None, createdByEmail=None):
|
|
8
|
+
# type: (str, str) -> None
|
|
9
|
+
self.actions = actions
|
|
10
|
+
self.createdByEmail = createdByEmail
|
|
11
|
+
|
|
12
|
+
@property
|
|
13
|
+
def entity_type_name(self):
|
|
14
|
+
return "Microsoft.SharePoint.Administration.TenantAdmin.RecentAdminActionReport"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from office365.runtime.client_value import ClientValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class RecentAdminActionReportPayload(ClientValue):
|
|
5
|
+
""" """
|
|
6
|
+
|
|
7
|
+
@property
|
|
8
|
+
def entity_type_name(self):
|
|
9
|
+
# type: () -> str
|
|
10
|
+
return "Microsoft.Online.SharePoint.TenantAdministration.RecentAdminActionReportPayload"
|
|
@@ -2,8 +2,12 @@ from office365.runtime.client_value import ClientValue
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class SiteInfoForSitePicker(ClientValue):
|
|
5
|
-
def __init__(self, site_name=None):
|
|
5
|
+
def __init__(self, Error=None, site_id=None, site_name=None, Url=None):
|
|
6
|
+
# type: (str, str, str, str) -> None
|
|
7
|
+
self.Error = Error
|
|
8
|
+
self.SiteId = site_id
|
|
6
9
|
self.SiteName = site_name
|
|
10
|
+
self.Url = Url
|
|
7
11
|
|
|
8
12
|
@property
|
|
9
13
|
def entity_type_name(self):
|
|
@@ -2,6 +2,11 @@ from office365.runtime.client_value import ClientValue
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class SiteCreationDefaultStorageQuota(ClientValue):
|
|
5
|
+
def __init__(self, IsReadOnly=None, Value=None):
|
|
6
|
+
# type: (bool, int) -> None
|
|
7
|
+
self.IsReadOnly = IsReadOnly
|
|
8
|
+
self.Value = Value
|
|
9
|
+
|
|
5
10
|
@property
|
|
6
11
|
def entity_type_name(self):
|
|
7
12
|
return "Microsoft.Online.SharePoint.TenantAdministration.SiteCreationDefaultStorageQuota"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
from typing import List
|
|
3
|
+
|
|
1
4
|
from office365.runtime.client_value import ClientValue
|
|
2
5
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
3
6
|
from office365.sharepoint.tenant.administration.sites.creation_data import (
|
|
@@ -6,10 +9,22 @@ from office365.sharepoint.tenant.administration.sites.creation_data import (
|
|
|
6
9
|
|
|
7
10
|
|
|
8
11
|
class SiteCreationSource(ClientValue):
|
|
9
|
-
def __init__(
|
|
12
|
+
def __init__(
|
|
13
|
+
self,
|
|
14
|
+
IsSyncThresholdLimitReached=None,
|
|
15
|
+
LastRefreshTimeStamp=None,
|
|
16
|
+
site_creation_data=None,
|
|
17
|
+
SyncThresholdLimit=None,
|
|
18
|
+
TotalSitesCount=None,
|
|
19
|
+
):
|
|
20
|
+
# type: (bool, datetime, List[SiteCreationData], int, int) -> None
|
|
21
|
+
self.IsSyncThresholdLimitReached = IsSyncThresholdLimitReached
|
|
22
|
+
self.LastRefreshTimeStamp = LastRefreshTimeStamp
|
|
10
23
|
self.SiteCreationData = ClientValueCollection(
|
|
11
24
|
SiteCreationData, site_creation_data
|
|
12
25
|
)
|
|
26
|
+
self.SyncThresholdLimit = SyncThresholdLimit
|
|
27
|
+
self.TotalSitesCount = TotalSitesCount
|
|
13
28
|
|
|
14
29
|
@property
|
|
15
30
|
def entity_type_name(self):
|
|
@@ -37,6 +37,8 @@ class SitePropertiesCollection(EntityCollection[SiteProperties]):
|
|
|
37
37
|
|
|
38
38
|
def get_site_state_properties(self, site_id):
|
|
39
39
|
"""
|
|
40
|
+
Gets site state properties.
|
|
41
|
+
|
|
40
42
|
:param str site_id: Site identifier
|
|
41
43
|
"""
|
|
42
44
|
return_type = ClientResult(self.context, SiteStateProperties())
|
|
@@ -2,6 +2,20 @@ from office365.runtime.client_value import ClientValue
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class SiteStateProperties(ClientValue):
|
|
5
|
+
def __init__(
|
|
6
|
+
self,
|
|
7
|
+
GroupSiteRelationship=None,
|
|
8
|
+
IsArchived=None,
|
|
9
|
+
IsSiteOnHold=None,
|
|
10
|
+
LockState=None,
|
|
11
|
+
):
|
|
12
|
+
# type: (int, bool, bool, int) -> None
|
|
13
|
+
super(SiteStateProperties, self).__init__()
|
|
14
|
+
self.GroupSiteRelationship = GroupSiteRelationship
|
|
15
|
+
self.IsArchived = IsArchived
|
|
16
|
+
self.IsSiteOnHold = IsSiteOnHold
|
|
17
|
+
self.LockState = LockState
|
|
18
|
+
|
|
5
19
|
@property
|
|
6
20
|
def entity_type_name(self):
|
|
7
21
|
return "Microsoft.Online.SharePoint.TenantAdministration.SiteStateProperties"
|
|
@@ -34,6 +34,15 @@ from office365.sharepoint.tenant.administration.insights.onedrive_site_sharing i
|
|
|
34
34
|
from office365.sharepoint.tenant.administration.insights.top_files_sharing import (
|
|
35
35
|
TopFilesSharingInsights,
|
|
36
36
|
)
|
|
37
|
+
from office365.sharepoint.tenant.administration.powerapps.environment import (
|
|
38
|
+
PowerAppsEnvironment,
|
|
39
|
+
)
|
|
40
|
+
from office365.sharepoint.tenant.administration.recent_admin_action_report import (
|
|
41
|
+
RecentAdminActionReport,
|
|
42
|
+
)
|
|
43
|
+
from office365.sharepoint.tenant.administration.recent_admin_action_report_payload import (
|
|
44
|
+
RecentAdminActionReportPayload,
|
|
45
|
+
)
|
|
37
46
|
from office365.sharepoint.tenant.administration.secondary_administrators_fields_data import (
|
|
38
47
|
SecondaryAdministratorsFieldsData,
|
|
39
48
|
)
|
|
@@ -75,6 +84,16 @@ class Tenant(Entity):
|
|
|
75
84
|
)
|
|
76
85
|
super(Tenant, self).__init__(context, static_path)
|
|
77
86
|
|
|
87
|
+
def add_recent_admin_action_report(self):
|
|
88
|
+
""""""
|
|
89
|
+
return_type = ClientResult(self.context, RecentAdminActionReport())
|
|
90
|
+
payload = {"payload": RecentAdminActionReportPayload()}
|
|
91
|
+
qry = ServiceOperationQuery(
|
|
92
|
+
self, "AddRecentAdminActionReport", None, payload, None, return_type
|
|
93
|
+
)
|
|
94
|
+
self.context.add_query(qry)
|
|
95
|
+
return return_type
|
|
96
|
+
|
|
78
97
|
def get_corporate_catalog_site(self):
|
|
79
98
|
"""Retrieves Corporate Catalog Site"""
|
|
80
99
|
settings = TenantSettings.current(self.context)
|
|
@@ -281,13 +300,25 @@ class Tenant(Entity):
|
|
|
281
300
|
|
|
282
301
|
def get_lock_state_by_id(self, site_id):
|
|
283
302
|
"""
|
|
284
|
-
:param str site_id:
|
|
303
|
+
:param str site_id: The GUID to uniquely identify a SharePoint site
|
|
285
304
|
"""
|
|
286
305
|
return self.sites.get_lock_state_by_id(site_id)
|
|
287
306
|
|
|
288
307
|
def hub_sites(self, site_url):
|
|
289
308
|
pass
|
|
290
309
|
|
|
310
|
+
def get_power_apps_environments(self):
|
|
311
|
+
""" """
|
|
312
|
+
return_type = ClientResult(
|
|
313
|
+
self.context,
|
|
314
|
+
ClientValueCollection(PowerAppsEnvironment),
|
|
315
|
+
)
|
|
316
|
+
qry = ServiceOperationQuery(
|
|
317
|
+
self, "GetPowerAppsEnvironments", None, None, None, return_type
|
|
318
|
+
)
|
|
319
|
+
self.context.add_query(qry)
|
|
320
|
+
return return_type
|
|
321
|
+
|
|
291
322
|
def check_tenant_intune_license(self):
|
|
292
323
|
"""
|
|
293
324
|
Checks whether a tenant has the Intune license.
|
|
@@ -589,12 +620,22 @@ class Tenant(Entity):
|
|
|
589
620
|
|
|
590
621
|
@property
|
|
591
622
|
def admin_settings(self):
|
|
623
|
+
""" """
|
|
592
624
|
from office365.sharepoint.tenant.administration.settings_service import (
|
|
593
625
|
TenantAdminSettingsService,
|
|
594
626
|
)
|
|
595
627
|
|
|
596
628
|
return TenantAdminSettingsService(self.context)
|
|
597
629
|
|
|
630
|
+
@property
|
|
631
|
+
def migration_center(self):
|
|
632
|
+
""" """
|
|
633
|
+
from office365.sharepoint.migrationcenter.service.services import (
|
|
634
|
+
MigrationCenterServices,
|
|
635
|
+
)
|
|
636
|
+
|
|
637
|
+
return MigrationCenterServices(self.context)
|
|
638
|
+
|
|
598
639
|
@property
|
|
599
640
|
def ai_builder_enabled(self):
|
|
600
641
|
# type: () -> Optional[str]
|
|
@@ -9,7 +9,7 @@ from office365.sharepoint.listitems.caml.query import CamlQuery
|
|
|
9
9
|
from office365.sharepoint.listitems.collection import ListItemCollection
|
|
10
10
|
from office365.sharepoint.types.resource_path import ResourcePath as SPResPath
|
|
11
11
|
from office365.sharepoint.views.field_collection import ViewFieldCollection
|
|
12
|
-
from office365.sharepoint.views.visualization import Visualization
|
|
12
|
+
from office365.sharepoint.views.visualization.visualization import Visualization
|
|
13
13
|
|
|
14
14
|
if TYPE_CHECKING:
|
|
15
15
|
from office365.sharepoint.views.collection import ViewCollection
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from office365.runtime.client_value import ClientValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class VisualizationField(ClientValue):
|
|
5
|
+
"""Contains CSS properties relating to how an individual field is layed out relative to it's container."""
|
|
6
|
+
|
|
7
|
+
def __init__(self, InternalName=None, Style=None):
|
|
8
|
+
"""
|
|
9
|
+
:param str InternalName: A Property which will specify which set of sub-elements to apply this set of
|
|
10
|
+
CSS properties on.
|
|
11
|
+
:param str Style: CSS properties in serialized JSON format.
|
|
12
|
+
"""
|
|
13
|
+
self.InternalName = InternalName
|
|
14
|
+
self.Style = Style
|
|
File without changes
|
{Office365_REST_Python_Client-2.5.8.dist-info → Office365_REST_Python_Client-2.5.9.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|