Office365-REST-Python-Client 2.4.2__py3-none-any.whl → 2.4.4__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.
Files changed (411) hide show
  1. {Office365_REST_Python_Client-2.4.2.dist-info → Office365_REST_Python_Client-2.4.4.dist-info}/METADATA +65 -31
  2. {Office365_REST_Python_Client-2.4.2.dist-info → Office365_REST_Python_Client-2.4.4.dist-info}/RECORD +401 -259
  3. office365/base_item.py +27 -5
  4. office365/booking/business.py +7 -0
  5. office365/booking/currency.py +5 -0
  6. office365/booking/solutions_root.py +32 -0
  7. office365/communications/calls/invitation_participant_info.py +17 -1
  8. office365/communications/calls/options.py +9 -0
  9. office365/communications/onlinemeetings/provider_type.py +3 -0
  10. office365/communications/presences/presence.py +14 -0
  11. office365/communications/presences/status_message.py +12 -0
  12. office365/directory/administrative_unit.py +22 -0
  13. office365/directory/applications/collection.py +2 -1
  14. office365/directory/applications/roles/assignment.py +45 -5
  15. office365/directory/applications/roles/assignment_collection.py +8 -0
  16. office365/directory/applications/roles/role.py +6 -1
  17. office365/directory/audit/signins/activity.py +31 -0
  18. office365/directory/audit/signins/location.py +17 -0
  19. office365/directory/audit/signins/signin.py +33 -0
  20. office365/directory/authentication/authentication.py +9 -0
  21. office365/directory/authentication/methods/details.py +25 -0
  22. office365/directory/authentication/methods/email.py +16 -0
  23. office365/directory/authentication/methods/root.py +27 -0
  24. office365/directory/certificates/authority.py +6 -1
  25. office365/directory/extensions/extended_property.py +8 -1
  26. office365/directory/extensions/extension.py +1 -1
  27. office365/directory/extensions/extension_property.py +0 -3
  28. office365/directory/extensions/open_type.py +8 -0
  29. office365/directory/groups/collection.py +2 -4
  30. office365/directory/groups/group.py +18 -4
  31. office365/directory/identities/governance.py +2 -0
  32. office365/directory/identities/object_identity.py +3 -3
  33. office365/directory/insights/resource_reference.py +15 -0
  34. office365/directory/insights/shared.py +36 -0
  35. office365/directory/insights/sharing_detail.py +11 -0
  36. office365/directory/insights/trending.py +8 -0
  37. office365/directory/insights/usage_details.py +16 -0
  38. office365/directory/insights/used.py +30 -0
  39. office365/directory/invitations/invitation.py +33 -1
  40. office365/directory/licenses/assigned_plan.py +19 -1
  41. office365/directory/licenses/assignment_state.py +5 -0
  42. office365/directory/licenses/service_plan_info.py +4 -0
  43. office365/directory/licenses/subscribed_sku.py +41 -0
  44. office365/directory/licenses/units_detail.py +11 -0
  45. office365/directory/object.py +3 -1
  46. office365/directory/object_collection.py +3 -4
  47. office365/directory/password_credential.py +5 -1
  48. office365/directory/permissions/email_identity.py +5 -0
  49. office365/directory/permissions/grants/condition_set.py +26 -0
  50. office365/directory/permissions/grants/resource_specific.py +21 -0
  51. office365/directory/policies/authentication_flows.py +9 -0
  52. office365/directory/policies/authentication_strength.py +10 -0
  53. office365/directory/policies/authorization.py +8 -0
  54. office365/directory/policies/cross_tenant_access.py +5 -0
  55. office365/directory/policies/root.py +35 -2
  56. office365/directory/protection/information.py +5 -0
  57. office365/directory/protection/risk_detection.py +11 -0
  58. office365/directory/protection/riskyusers/activity.py +5 -0
  59. office365/directory/protection/riskyusers/collection.py +32 -0
  60. office365/directory/protection/riskyusers/history_item.py +20 -0
  61. office365/directory/protection/riskyusers/risky_user.py +26 -0
  62. office365/directory/protection/root.py +31 -0
  63. office365/directory/rolemanagement/application.py +35 -0
  64. office365/directory/{roles → rolemanagement}/management.py +8 -1
  65. office365/directory/{roles → rolemanagement}/role.py +14 -0
  66. office365/directory/{roles → rolemanagement}/template.py +8 -0
  67. office365/directory/rolemanagement/unified_role_assignment.py +45 -0
  68. office365/directory/rolemanagement/unified_role_definition.py +6 -0
  69. office365/directory/security/alerts/alert.py +21 -0
  70. office365/directory/security/alerts/history_state.py +5 -0
  71. office365/directory/security/attacksimulations/automation.py +21 -0
  72. office365/directory/security/attacksimulations/automation_run.py +5 -0
  73. office365/directory/security/attacksimulations/repeat_offender.py +6 -0
  74. office365/directory/security/attacksimulations/root.py +26 -0
  75. office365/directory/security/attacksimulations/simulation.py +17 -0
  76. office365/directory/security/cases/__init__.py +0 -0
  77. office365/directory/security/cases/ediscovery.py +6 -0
  78. office365/directory/security/cases/root.py +22 -0
  79. office365/directory/security/incidents/incident.py +67 -0
  80. office365/directory/security/security.py +10 -1
  81. office365/directory/serviceprincipals/service_principal.py +89 -4
  82. office365/directory/synchronization/__init__.py +0 -0
  83. office365/directory/synchronization/job.py +16 -0
  84. office365/directory/synchronization/progress.py +5 -0
  85. office365/directory/synchronization/status.py +13 -0
  86. office365/directory/synchronization/synchronization.py +24 -0
  87. office365/directory/tenant_information.py +17 -0
  88. office365/directory/tenant_relationship.py +21 -0
  89. office365/directory/users/activities/activity.py +45 -1
  90. office365/directory/users/collection.py +8 -0
  91. office365/directory/users/password_profile.py +18 -2
  92. office365/directory/users/user.py +254 -29
  93. office365/entity.py +3 -3
  94. office365/graph_client.py +64 -12
  95. office365/intune/audit/actor.py +5 -0
  96. office365/intune/audit/event.py +21 -24
  97. office365/intune/audit/event_collection.py +26 -0
  98. office365/intune/audit/property.py +5 -0
  99. office365/intune/audit/resource.py +11 -0
  100. office365/intune/brand.py +6 -0
  101. office365/intune/devices/compliance/__init__.py +0 -0
  102. office365/intune/devices/compliance/policy.py +6 -0
  103. office365/intune/devices/compliance/policy_state.py +5 -0
  104. office365/intune/devices/data.py +5 -0
  105. office365/intune/devices/detail.py +10 -0
  106. office365/intune/devices/enrollment/__init__.py +0 -0
  107. office365/intune/devices/enrollment/configuration.py +25 -0
  108. office365/intune/devices/enrollment/configuration_assignment.py +5 -0
  109. office365/intune/devices/enrollment/limit_configuration.py +5 -0
  110. office365/intune/devices/managed.py +44 -3
  111. office365/intune/devices/management/__init__.py +0 -0
  112. office365/intune/devices/management/management.py +69 -0
  113. office365/intune/devices/management/reports/__init__.py +0 -0
  114. office365/intune/devices/management/reports/reports.py +5 -0
  115. office365/intune/devices/management/settings.py +18 -0
  116. office365/intune/organizations/branding.py +15 -0
  117. office365/intune/organizations/organization.py +14 -0
  118. office365/intune/printing/__init__.py +0 -0
  119. office365/intune/printing/base.py +11 -0
  120. office365/intune/printing/capabilities.py +5 -0
  121. office365/intune/printing/connectors/__init__.py +0 -0
  122. office365/intune/printing/connectors/connector.py +6 -0
  123. office365/intune/printing/operations/__init__.py +0 -0
  124. office365/intune/printing/print.py +24 -0
  125. office365/intune/printing/printer.py +6 -0
  126. office365/intune/printing/services/__init__.py +0 -0
  127. office365/intune/printing/services/endpoint.py +5 -0
  128. office365/intune/printing/services/service.py +17 -0
  129. office365/intune/printing/share.py +5 -0
  130. office365/intune/printing/shares/__init__.py +0 -0
  131. office365/intune/printing/taskdefinitions/__init__.py +0 -0
  132. office365/intune/provisioned_plan.py +5 -1
  133. office365/intune/servicecommunications/__init__.py +0 -0
  134. office365/intune/servicecommunications/announcement.py +39 -0
  135. office365/intune/servicecommunications/announcement_base.py +5 -0
  136. office365/intune/servicecommunications/health/__init__.py +0 -0
  137. office365/intune/servicecommunications/health/health.py +7 -0
  138. office365/intune/servicecommunications/issues/__init__.py +0 -0
  139. office365/intune/servicecommunications/issues/issue.py +29 -0
  140. office365/intune/servicecommunications/messages/__init__.py +0 -0
  141. office365/intune/servicecommunications/messages/update.py +10 -0
  142. office365/intune/termsandconditions/__init__.py +0 -0
  143. office365/intune/vpp_token.py +10 -0
  144. office365/onedrive/admin.py +16 -0
  145. office365/onedrive/columns/content_approval_status.py +5 -0
  146. office365/onedrive/columns/datetime.py +15 -0
  147. office365/onedrive/columns/default_value.py +4 -0
  148. office365/onedrive/columns/definition.py +49 -3
  149. office365/onedrive/columns/definition_collection.py +17 -6
  150. office365/onedrive/columns/lookup.py +5 -1
  151. office365/onedrive/columns/types.py +13 -0
  152. office365/onedrive/contenttypes/content_type.py +8 -0
  153. office365/onedrive/driveitems/audio.py +12 -1
  154. office365/onedrive/driveitems/driveItem.py +147 -69
  155. office365/onedrive/driveitems/image.py +8 -1
  156. office365/onedrive/driveitems/item_preview_info.py +20 -2
  157. office365/onedrive/driveitems/remote_item.py +19 -4
  158. office365/onedrive/drives/drive.py +7 -1
  159. office365/onedrive/drives/quota.py +18 -0
  160. office365/onedrive/drives/recipient.py +4 -0
  161. office365/onedrive/files/system_info.py +8 -6
  162. office365/onedrive/folders/folder.py +3 -3
  163. office365/onedrive/internal/paths/children.py +1 -4
  164. office365/onedrive/internal/paths/shared.py +7 -2
  165. office365/onedrive/lists/collection.py +12 -6
  166. office365/onedrive/lists/list.py +13 -5
  167. office365/onedrive/operations/long_running.py +7 -0
  168. office365/onedrive/operations/pending.py +13 -0
  169. office365/onedrive/operations/pending_content_update.py +5 -0
  170. office365/onedrive/permissions/collection.py +5 -6
  171. office365/onedrive/permissions/sharing_link.py +16 -1
  172. office365/onedrive/sensitivitylabels/__init__.py +0 -0
  173. office365/onedrive/sensitivitylabels/assignment.py +17 -0
  174. office365/onedrive/sensitivitylabels/assignment_method.py +4 -0
  175. office365/onedrive/sensitivitylabels/extract_result.py +13 -0
  176. office365/onedrive/sharepoint_settings.py +25 -0
  177. office365/onedrive/sites/sites_with_root.py +11 -1
  178. office365/onedrive/termstore/groups/collection.py +1 -1
  179. office365/onedrive/termstore/groups/group.py +1 -0
  180. office365/onedrive/termstore/sets/collection.py +1 -1
  181. office365/onenote/operations/operation.py +10 -1
  182. office365/onenote/resources/resource.py +1 -0
  183. office365/outlook/calendar/calendar.py +116 -6
  184. office365/outlook/calendar/dateTimeTimeZone.py +4 -0
  185. office365/outlook/calendar/email_address.py +7 -0
  186. office365/outlook/calendar/events/event.py +0 -4
  187. office365/outlook/calendar/events/reminder.py +22 -3
  188. office365/outlook/calendar/group.py +0 -2
  189. office365/outlook/calendar/location_constraint.py +16 -1
  190. office365/outlook/calendar/meetingtimes/activity_domain.py +10 -0
  191. office365/outlook/calendar/meetingtimes/suggestion.py +1 -1
  192. office365/outlook/calendar/meetingtimes/time_constraint.py +18 -0
  193. office365/outlook/calendar/permissions/__init__.py +0 -0
  194. office365/outlook/calendar/permissions/collection.py +24 -0
  195. office365/outlook/calendar/{permission.py → permissions/permission.py} +35 -2
  196. office365/outlook/calendar/place.py +7 -0
  197. office365/outlook/calendar/role_type.py +17 -0
  198. office365/outlook/calendar/schedule/information.py +5 -4
  199. office365/outlook/calendar/schedule/item.py +20 -1
  200. office365/outlook/calendar/sharing_message.py +2 -2
  201. office365/outlook/calendar/time_zone_base.py +3 -0
  202. office365/outlook/calendar/working_hours.py +17 -1
  203. office365/outlook/contacts/collection.py +39 -0
  204. office365/outlook/contacts/contact.py +21 -11
  205. office365/outlook/geo_coordinates.py +20 -0
  206. office365/outlook/item.py +5 -4
  207. office365/outlook/locale_info.py +3 -0
  208. office365/outlook/mail/automatic_replies_setting.py +14 -0
  209. office365/outlook/mail/folders/folder.py +52 -3
  210. office365/outlook/mail/folders/search.py +11 -0
  211. office365/outlook/mail/importance.py +1 -0
  212. office365/outlook/mail/item_body.py +3 -0
  213. office365/outlook/mail/location.py +27 -2
  214. office365/outlook/mail/location_constraint_item.py +5 -0
  215. office365/outlook/mail/mailbox_settings.py +13 -1
  216. office365/outlook/mail/messages/collection.py +7 -0
  217. office365/outlook/mail/messages/followup_flag.py +21 -0
  218. office365/outlook/mail/messages/internet_header.py +16 -0
  219. office365/outlook/mail/messages/message.py +184 -6
  220. office365/outlook/mail/messages/rules/__init__.py +0 -0
  221. office365/outlook/mail/messages/rules/actions.py +38 -0
  222. office365/outlook/mail/messages/rules/predicates.py +5 -0
  223. office365/outlook/mail/messages/rules/rule.py +32 -0
  224. office365/outlook/mail/patterned_recurrence.py +14 -1
  225. office365/outlook/mail/physical_address.py +5 -1
  226. office365/outlook/mail/recipient.py +3 -0
  227. office365/outlook/mail/recurrence_pattern.py +18 -1
  228. office365/outlook/mail/recurrence_range.py +16 -2
  229. office365/outlook/timezone_information.py +3 -0
  230. office365/reports/root.py +28 -1
  231. office365/reports/security/__init__.py +0 -0
  232. office365/reports/security/root.py +21 -0
  233. office365/reports/userregistration/__init__.py +0 -0
  234. office365/reports/userregistration/method_count.py +17 -0
  235. office365/reports/userregistration/method_summary.py +21 -0
  236. office365/runtime/auth/authentication_context.py +123 -25
  237. office365/runtime/auth/client_credential.py +2 -2
  238. office365/runtime/auth/providers/acs_token_provider.py +6 -3
  239. office365/runtime/auth/providers/saml_token_provider.py +10 -7
  240. office365/runtime/auth/token_response.py +3 -3
  241. office365/runtime/client_object_collection.py +12 -7
  242. office365/runtime/client_result.py +9 -0
  243. office365/runtime/client_runtime_context.py +10 -8
  244. office365/runtime/http/request_options.py +2 -1
  245. office365/runtime/odata/request.py +4 -4
  246. office365/runtime/paths/appid.py +2 -1
  247. office365/runtime/paths/entity.py +2 -2
  248. office365/{sharepoint/internal/paths/entity.py → runtime/paths/key.py} +5 -3
  249. office365/runtime/paths/resource_path.py +3 -0
  250. office365/runtime/types/event_handler.py +6 -0
  251. office365/search/external/__init__.py +0 -0
  252. office365/search/external/configuration.py +8 -0
  253. office365/search/external/connection.py +27 -0
  254. office365/{external → search/external}/external.py +1 -1
  255. office365/search/external/search_settings.py +5 -0
  256. office365/search/query.py +3 -1
  257. office365/search/request.py +3 -1
  258. office365/search/sharepoint_onedrive_options.py +3 -0
  259. office365/search/sort_property.py +9 -0
  260. office365/sharepoint/activities/client_request.py +4 -1
  261. office365/sharepoint/activities/logger.py +25 -0
  262. office365/sharepoint/activities/revision_info.py +9 -0
  263. office365/sharepoint/addtoonedrive/mount_point.py +25 -0
  264. office365/sharepoint/addtoonedrive/mounted_folder_info.py +5 -0
  265. office365/sharepoint/alerts/alert.py +31 -0
  266. office365/sharepoint/apps/license_collection.py +1 -2
  267. office365/sharepoint/changes/item.py +14 -0
  268. office365/sharepoint/client_context.py +91 -30
  269. office365/sharepoint/clientsidecomponent/component_context_info.py +7 -0
  270. office365/sharepoint/clientsidecomponent/identifier.py +3 -0
  271. office365/sharepoint/compliance/tag_info.py +17 -0
  272. office365/sharepoint/contenttypes/collection.py +6 -7
  273. office365/sharepoint/contenttypes/content_type.py +49 -1
  274. office365/sharepoint/contenttypes/fieldlinks/collection.py +5 -6
  275. office365/sharepoint/features/known_list.py +2 -0
  276. office365/sharepoint/fields/collection.py +70 -39
  277. office365/sharepoint/fields/computed.py +5 -2
  278. office365/sharepoint/fields/creation_information.py +5 -4
  279. office365/sharepoint/fields/field.py +73 -15
  280. office365/sharepoint/fields/user.py +3 -3
  281. office365/sharepoint/files/checked_out_file.py +3 -2
  282. office365/sharepoint/files/file.py +9 -4
  283. office365/sharepoint/files/versions/version.py +7 -9
  284. office365/sharepoint/folders/collection.py +2 -2
  285. office365/sharepoint/folders/coloring.py +39 -0
  286. office365/sharepoint/folders/coloring_information.py +15 -0
  287. office365/sharepoint/folders/folder.py +21 -10
  288. office365/sharepoint/forms/customization.py +8 -0
  289. office365/sharepoint/listitems/listitem.py +29 -10
  290. office365/sharepoint/lists/bloom_filter.py +0 -1
  291. office365/sharepoint/lists/creation_information.py +18 -4
  292. office365/sharepoint/lists/list.py +203 -27
  293. office365/sharepoint/lists/render_data_parameters.py +21 -1
  294. office365/sharepoint/lists/template_type.py +10 -0
  295. office365/sharepoint/navigation/configured_metadata_items.py +25 -1
  296. office365/sharepoint/navigation/metadata_settings.py +6 -4
  297. office365/sharepoint/permissions/irm/file_settings.py +43 -0
  298. office365/sharepoint/permissions/securable_object.py +5 -6
  299. office365/sharepoint/portal/sites/manager.py +5 -6
  300. office365/sharepoint/portal/userprofiles/documents_shared_with_group.py +3 -0
  301. office365/sharepoint/publishing/base_custom_property.py +8 -0
  302. office365/sharepoint/publishing/navigation/structural_navigation_cache_wrapper.py +8 -0
  303. office365/sharepoint/publishing/pagecopywithassets/__init__.py +0 -0
  304. office365/sharepoint/publishing/pagecopywithassets/response.py +8 -0
  305. office365/sharepoint/publishing/pages/campaign_publication.py +7 -0
  306. office365/sharepoint/publishing/pages/collection.py +1 -1
  307. office365/sharepoint/publishing/pages/page.py +4 -1
  308. office365/sharepoint/publishing/pages/reposts/metadata.py +8 -0
  309. office365/sharepoint/publishing/personmagazine/person_magazine.py +4 -1
  310. office365/sharepoint/search/administration/tenant_crawl_versions_info_provider.py +8 -1
  311. office365/sharepoint/search/query/auto_completion_match.py +3 -0
  312. office365/sharepoint/search/query/property_value.py +18 -0
  313. office365/sharepoint/search/request.py +16 -2
  314. office365/sharepoint/sharing/abilities.py +22 -0
  315. office365/sharepoint/sharing/direct_abilities.py +27 -0
  316. office365/sharepoint/sharing/link_abilities.py +9 -1
  317. office365/sharepoint/sharing/links/data.py +26 -1
  318. office365/sharepoint/sharing/links/info.py +1 -1
  319. office365/sharepoint/sharing/links/partial_success_response.py +5 -0
  320. office365/sharepoint/sharing/links/share_settings.py +24 -1
  321. office365/sharepoint/sharing/object_sharing_information.py +65 -2
  322. office365/sharepoint/sharing/object_sharing_information_user.py +9 -0
  323. office365/sharepoint/sharing/object_sharing_settings.py +17 -4
  324. office365/sharepoint/sharing/principal.py +10 -0
  325. office365/sharepoint/sharing/securable_object_extensions.py +1 -17
  326. office365/sharepoint/sharing/site_sharing_report_helper.py +2 -1
  327. office365/sharepoint/sharing/user_sharing_result.py +18 -8
  328. office365/sharepoint/sitehealth/result.py +10 -0
  329. office365/sharepoint/sites/language.py +11 -1
  330. office365/sharepoint/sites/language_collection.py +1 -0
  331. office365/sharepoint/sites/site.py +42 -7
  332. office365/sharepoint/taxonomy/create_xml_parameters.py +22 -15
  333. office365/sharepoint/taxonomy/field.py +10 -8
  334. office365/sharepoint/taxonomy/groups/collection.py +8 -1
  335. office365/sharepoint/taxonomy/groups/group.py +26 -0
  336. office365/sharepoint/taxonomy/sets/collection.py +15 -0
  337. office365/sharepoint/taxonomy/sets/name.py +23 -0
  338. office365/sharepoint/taxonomy/sets/set.py +16 -1
  339. office365/sharepoint/taxonomy/stores/store.py +0 -8
  340. office365/sharepoint/tenant/administration/audit/search_request_status.py +8 -0
  341. office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py +3 -0
  342. office365/sharepoint/tenant/administration/hubsites/permission.py +10 -0
  343. office365/sharepoint/tenant/administration/sites/properties.py +12 -10
  344. office365/sharepoint/tenant/administration/tenant.py +2 -1
  345. office365/sharepoint/tenant/apps/information.py +3 -1
  346. office365/sharepoint/tenant/management/office365_tenant.py +14 -11
  347. office365/sharepoint/types/resource_path.py +3 -1
  348. office365/sharepoint/userprofiles/people_manager.py +0 -2
  349. office365/sharepoint/userprofiles/sharedwithme/document.py +16 -0
  350. office365/sharepoint/userprofiles/sharedwithme/document_user.py +12 -0
  351. office365/sharepoint/userprofiles/sharedwithme/item_collection.py +41 -0
  352. office365/sharepoint/userprofiles/sharedwithme/items.py +18 -1
  353. office365/sharepoint/viva/site_manager.py +14 -0
  354. office365/sharepoint/webhooks/subscription_collection.py +5 -6
  355. office365/sharepoint/webparts/definition.py +1 -1
  356. office365/sharepoint/webparts/webpart.py +18 -4
  357. office365/sharepoint/webs/context_web_information.py +2 -4
  358. office365/sharepoint/webs/web.py +31 -12
  359. office365/sharepoint/workflowservices/manager.py +0 -2
  360. office365/subscriptions/collection.py +42 -0
  361. office365/subscriptions/subscription.py +120 -2
  362. office365/teams/apps/catalog.py +23 -0
  363. office365/teams/associated_info.py +12 -0
  364. office365/teams/channels/channel.py +2 -3
  365. office365/teams/channels/collection.py +1 -1
  366. office365/teams/channels/iIdentity.py +5 -0
  367. office365/teams/chats/chat.py +12 -2
  368. office365/teams/chats/collection.py +1 -2
  369. office365/teams/chats/messages/__init__.py +0 -0
  370. office365/teams/chats/messages/info.py +14 -0
  371. office365/teams/chats/{message.py → messages/message.py} +18 -3
  372. office365/teams/info.py +20 -0
  373. office365/teams/members/aad_user_conversation.py +2 -2
  374. office365/teams/members/conversation_collection.py +3 -3
  375. office365/teams/schedule/change_request.py +4 -2
  376. office365/teams/schedule/change_tracked_entity.py +11 -2
  377. office365/teams/summary.py +15 -0
  378. office365/teams/tabs/configuration.py +12 -1
  379. office365/teams/tabs/tab.py +0 -1
  380. office365/teams/team.py +34 -1
  381. office365/teams/teamwork/__init__.py +0 -0
  382. office365/teams/teamwork/activity_topic.py +5 -0
  383. office365/teams/teamwork/tags/__init__.py +0 -0
  384. office365/teams/teamwork/tags/identity.py +6 -0
  385. office365/teams/teamwork/tags/member.py +5 -0
  386. office365/teams/teamwork/tags/tag.py +15 -0
  387. office365/{directory/security/cases_root.py → teams/viva/employee_experience_user.py} +1 -1
  388. office365/todo/attachments/session.py +34 -0
  389. office365/todo/linked_resource.py +10 -1
  390. office365/todo/tasks/task.py +4 -0
  391. office365/directory/identities/protection_root.py +0 -5
  392. office365/directory/rbac/application.py +0 -18
  393. office365/directory/rbac/unified_role_assignment.py +0 -8
  394. office365/external/connection.py +0 -5
  395. office365/intune/devices/management.py +0 -35
  396. office365/onedrive/internal/queries/download_content.py +0 -26
  397. office365/onedrive/internal/queries/upload_content.py +0 -23
  398. office365/outlook/mail/messages/message_rule.py +0 -15
  399. office365/runtime/auth/providers/oauth_token_provider.py +0 -25
  400. office365/teams/team_info.py +0 -6
  401. {Office365_REST_Python_Client-2.4.2.dist-info → Office365_REST_Python_Client-2.4.4.dist-info}/LICENSE +0 -0
  402. {Office365_REST_Python_Client-2.4.2.dist-info → Office365_REST_Python_Client-2.4.4.dist-info}/WHEEL +0 -0
  403. {Office365_REST_Python_Client-2.4.2.dist-info → Office365_REST_Python_Client-2.4.4.dist-info}/top_level.txt +0 -0
  404. /office365/{directory/rbac → booking}/__init__.py +0 -0
  405. /office365/directory/{roles → protection}/__init__.py +0 -0
  406. /office365/{external → directory/protection/riskyusers}/__init__.py +0 -0
  407. /office365/{teams/messages → directory/rolemanagement}/__init__.py +0 -0
  408. /office365/outlook/calendar/{time_slot.py → meetingtimes/time_slot.py} +0 -0
  409. /office365/teams/chats/{message_attachment.py → messages/attachment.py} +0 -0
  410. /office365/teams/{member_settings.py → members/settings.py} +0 -0
  411. /office365/teams/{user_teamwork.py → teamwork/user.py} +0 -0
@@ -0,0 +1,8 @@
1
+ from office365.sharepoint.base_entity import BaseEntity
2
+
3
+
4
+ class FormsCustomization(BaseEntity):
5
+
6
+ @property
7
+ def entity_type_name(self):
8
+ return "SP.Internal.FormsCustomization"
@@ -2,6 +2,7 @@ import json
2
2
 
3
3
  from office365.runtime.client_result import ClientResult
4
4
  from office365.runtime.client_value_collection import ClientValueCollection
5
+ from office365.runtime.paths.key import KeyPath
5
6
  from office365.runtime.queries.service_operation import ServiceOperationQuery
6
7
  from office365.runtime.paths.resource_path import ResourcePath
7
8
  from office365.runtime.paths.service_operation import ServiceOperationPath
@@ -13,7 +14,6 @@ from office365.sharepoint.fields.image_value import ImageFieldValue
13
14
  from office365.sharepoint.fields.lookup_value import FieldLookupValue
14
15
  from office365.sharepoint.fields.multi_lookup_value import FieldMultiLookupValue
15
16
  from office365.sharepoint.fields.string_values import FieldStringValues
16
- from office365.sharepoint.internal.paths.entity import EntityPath
17
17
  from office365.sharepoint.likes.liked_by_information import LikedByInformation
18
18
  from office365.sharepoint.listitems.compliance_info import ListItemComplianceInfo
19
19
  from office365.sharepoint.listitems.form_update_value import ListItemFormUpdateValue
@@ -48,19 +48,26 @@ class ListItem(SecurableObject):
48
48
  if parent_list is not None:
49
49
  self.set_property("ParentList", parent_list, False)
50
50
 
51
- def share_link(self, link_kind, expiration=None):
51
+ def share_link(self, link_kind, expiration=None, role=None, password=None):
52
52
  """Creates a tokenized sharing link for a list item based on the specified parameters and optionally
53
53
  sends an email to the people that are listed in the specified parameters.
54
54
 
55
55
  :param int link_kind: The kind of the tokenized sharing link to be created/updated or retrieved.
56
- :param datetime or None expiration: A date/time string for which the format conforms to the ISO 8601:2004(E)
56
+ :param datetime.datetime or None expiration: A date/time string for which the format conforms to the ISO 8601:2004(E)
57
57
  complete representation for calendar date and time of day and which represents the time and date of expiry
58
58
  for the tokenized sharing link. Both the minutes and hour value MUST be specified for the difference
59
59
  between the local and UTC time. Midnight is represented as 00:00:00. A null value indicates no expiry.
60
60
  This value is only applicable to tokenized sharing links that are anonymous access links.
61
+ :param int role: The role to be used for the tokenized sharing link. This is required for Flexible links
62
+ and ignored for all other kinds.
63
+ :param str password: Optional password value to apply to the tokenized sharing link,
64
+ if it can support password protection.
61
65
  """
62
66
  return_type = ClientResult(self.context, ShareLinkResponse())
63
- request = ShareLinkRequest(settings=ShareLinkSettings(link_kind=link_kind, expiration=expiration))
67
+ request = ShareLinkRequest(settings=ShareLinkSettings(link_kind=link_kind,
68
+ expiration=expiration,
69
+ role=role,
70
+ password=password))
64
71
  payload = {"request": request}
65
72
  qry = ServiceOperationQuery(self, "ShareLink", None, payload, None, return_type)
66
73
  self.context.add_query(qry)
@@ -268,9 +275,9 @@ class ListItem(SecurableObject):
268
275
 
269
276
  def set_comments_disabled(self, value):
270
277
  """
271
- Sets the value of CommentsDisabled (section 3.2.5.87.1.1.8) for the item.
278
+ Sets the value of CommentsDisabled for the item.
272
279
 
273
- :type value: bool
280
+ :param bool value: Indicates whether comments for this item are disabled or not.
274
281
  """
275
282
  qry = ServiceOperationQuery(self, "SetCommentsDisabled", [value])
276
283
  self.context.add_query(qry)
@@ -476,29 +483,41 @@ class ListItem(SecurableObject):
476
483
  # fallback: create a new resource path
477
484
  if self._resource_path is None and self.parent_collection is not None:
478
485
  if name == "Id":
479
- self._resource_path = EntityPath(value, self.parent_collection.resource_path)
486
+ self._resource_path = KeyPath(value, self.parent_collection.resource_path)
480
487
  return self
481
488
 
482
489
  def _set_taxonomy_field_value(self, name, value):
490
+ """
491
+ Sets taxonomy field value
492
+
493
+ :param str name: Taxonomy field name
494
+ :param TaxonomyFieldValueCollection value: Taxonomy field value
495
+ """
483
496
  tax_field = self.parent_list.fields.get_by_internal_name_or_title(name)
484
497
 
485
498
  def _tax_field_loaded():
486
499
  tax_text_field = self.parent_list.fields.get_by_id(tax_field.properties["TextField"])
487
500
 
488
- def _tax_text_field_loaded():
501
+ def _tax_text_field_loaded(return_type):
489
502
  self.set_property(tax_text_field.properties["StaticName"], str(value))
490
- tax_text_field.ensure_property("StaticName", _tax_text_field_loaded)
503
+ tax_text_field.select(["StaticName"]).get().after_execute(_tax_text_field_loaded, execute_first=True)
491
504
 
492
505
  tax_field.ensure_property("TextField", _tax_field_loaded)
493
506
 
494
- def ensure_type_name(self, target_list):
507
+ def ensure_type_name(self, target_list, action=None):
495
508
  """
496
509
  Determine metadata annotation for ListItem entity
497
510
 
498
511
  :param office365.sharepoint.lists.list.List target_list: List resource
512
+ :param () -> None action: Event handler
499
513
  """
500
514
  if self._entity_type_name is None:
501
515
  def _list_loaded():
502
516
  self._entity_type_name = target_list.properties['ListItemEntityTypeFullName']
517
+ if callable(action):
518
+ action()
503
519
  target_list.ensure_property("ListItemEntityTypeFullName", _list_loaded)
520
+ else:
521
+ if callable(action):
522
+ action()
504
523
  return self
@@ -9,7 +9,6 @@ class ListBloomFilter(BaseEntity):
9
9
  def bloom_filter_size(self):
10
10
  """
11
11
  The length of the Bloom Filter
12
-
13
12
  :rtype: int or None
14
13
  """
15
14
  return self.properties.get("BloomFilterSize", None)
@@ -4,19 +4,33 @@ from office365.runtime.client_value import ClientValue
4
4
  class ListCreationInformation(ClientValue):
5
5
  """Represents metadata about list creation."""
6
6
 
7
- def __init__(self, title=None, description=None, base_template=None, allow_content_types=False):
7
+ def __init__(self, title=None, description=None, base_template=None, allow_content_types=False,
8
+ custom_schema_xml=None, document_template_type=None, quick_launch_option=None,
9
+ template_feature_id=None, template_type=None):
8
10
  """
9
-
10
- :type base_template: int or None
11
- :type allow_content_types: bool
11
+ :param int or None base_template:
12
+ :param bool allow_content_types:
12
13
  :poram str or None description: Specifies the description of the new list.
13
14
  :param str title: Specifies the display name of the new list.
15
+ :param str custom_schema_xml: Specifies the list schema of the new list.
16
+ :param str document_template_type: Specifies the identifier of the document template for the new list.
17
+ :param int quick_launch_option: Specifies whether the new list is displayed on the Quick Launch of the site
18
+ :param int template_feature_id: Specifies the feature identifier of the feature that contains the list schema
19
+ for the new list. It MUST be empty GUID if the list schema for the new list is not contained within
20
+ a feature.
21
+ :param int template_type: Specifies the list server template of the new list.
14
22
  """
15
23
  super(ListCreationInformation, self).__init__()
16
24
  self.Title = title
17
25
  self.Description = description
18
26
  self.BaseTemplate = base_template
19
27
  self.AllowContentTypes = allow_content_types
28
+ self.CustomSchemaXml = custom_schema_xml
29
+ self.DataSourceProperties = None
30
+ self.DocumentTemplateType = document_template_type
31
+ self.QuickLaunchOption = quick_launch_option
32
+ self.TemplateFeatureId = template_feature_id
33
+ self.TemplateType = template_type
20
34
 
21
35
  @property
22
36
  def entity_type_name(self):
@@ -1,3 +1,5 @@
1
+ from datetime import datetime
2
+
1
3
  from office365.runtime.client_result import ClientResult
2
4
  from office365.runtime.client_value_collection import ClientValueCollection
3
5
  from office365.runtime.queries.service_operation import ServiceOperationQuery
@@ -25,6 +27,7 @@ from office365.sharepoint.lists.bloom_filter import ListBloomFilter
25
27
  from office365.sharepoint.lists.creatables_info import CreatablesInfo
26
28
  from office365.sharepoint.lists.data_source import ListDataSource
27
29
  from office365.sharepoint.lists.rule import SPListRule
30
+ from office365.sharepoint.navigation.configured_metadata_items import ConfiguredMetadataNavigationItemCollection
28
31
  from office365.sharepoint.pages.wiki_page_creation_information import WikiPageCreationInformation
29
32
  from office365.sharepoint.permissions.securable_object import SecurableObject
30
33
  from office365.sharepoint.principal.users.user import User
@@ -39,7 +42,8 @@ from office365.sharepoint.types.resource_path import ResourcePath as SPResPath
39
42
 
40
43
 
41
44
  class List(SecurableObject):
42
- """Represents a list on a SharePoint Web site.
45
+ """
46
+ Represents a list on a SharePoint Web site.
43
47
 
44
48
  A container within a SharePoint site that stores list items. A list has a customizable schema that is
45
49
  composed of one or more fields.
@@ -91,6 +95,20 @@ class List(SecurableObject):
91
95
  self.context.add_query(qry)
92
96
  return return_type
93
97
 
98
+ def get_metadata_navigation_settings(self):
99
+ """
100
+ Retrieves the configured metadata navigation settings for the list.
101
+ """
102
+ from office365.sharepoint.navigation.metadata_settings import MetadataNavigationSettings
103
+ return_type = ClientResult(self.context, ConfiguredMetadataNavigationItemCollection())
104
+
105
+ def _loaded():
106
+ MetadataNavigationSettings.get_configured_settings(self.context, self.root_folder.serverRelativeUrl,
107
+ return_type)
108
+
109
+ self.root_folder.ensure_property("ServerRelativeUrl", _loaded)
110
+ return return_type
111
+
94
112
  def get_site_script(self, options=None):
95
113
  """Creates site script syntax
96
114
 
@@ -391,13 +409,13 @@ class List(SecurableObject):
391
409
  qry = ServiceOperationQuery(self, "items", None, return_type, None, return_type)
392
410
  self.context.add_query(qry)
393
411
  else:
394
- def _folder_loaded():
412
+ def _add_item():
395
413
  creation_information.FolderUrl = self.context.base_url + self.root_folder.serverRelativeUrl
396
414
  payload = {"parameters": creation_information}
397
415
  next_qry = ServiceOperationQuery(self, "addItem", None, payload, None, return_type)
398
416
  self.context.add_query(next_qry)
399
417
 
400
- self.root_folder.ensure_property("ServerRelativeUrl", _folder_loaded)
418
+ self.root_folder.ensure_property("ServerRelativeUrl", _add_item)
401
419
  return return_type
402
420
 
403
421
  def create_wiki_page(self, page_name, page_content):
@@ -533,6 +551,14 @@ class List(SecurableObject):
533
551
  """
534
552
  return self.properties.get("Id", None)
535
553
 
554
+ @property
555
+ def additional_ux_properties(self):
556
+ """
557
+
558
+ :rtype: str
559
+ """
560
+ return self.properties.get("AdditionalUXProperties", None)
561
+
536
562
  @property
537
563
  def author(self):
538
564
  """Specifies the user who created the list."""
@@ -543,16 +569,22 @@ class List(SecurableObject):
543
569
  def allow_content_types(self):
544
570
  """
545
571
  Specifies whether the list supports content types.
546
-
547
572
  :rtype: bool or None
548
573
  """
549
574
  return self.properties.get("AllowContentTypes", None)
550
575
 
576
+ @property
577
+ def allow_deletion(self):
578
+ """
579
+ Specifies whether the list could be deleted.
580
+ :rtype: bool or None
581
+ """
582
+ return self.properties.get("AllowDeletion", None)
583
+
551
584
  @property
552
585
  def base_template(self):
553
586
  """
554
587
  Specifies the list server template of the list.
555
-
556
588
  :rtype: int or None
557
589
  """
558
590
  return self.properties.get("BaseTemplate", None)
@@ -562,16 +594,30 @@ class List(SecurableObject):
562
594
  """
563
595
  Specifies the base type of the list.
564
596
  It MUST be one of the following values: GenericList, DocumentLibrary, DiscussionBoard, Survey, or Issue.
565
-
566
597
  :rtype: int or None
567
598
  """
568
599
  return self.properties.get("BaseType", None)
569
600
 
601
+ @property
602
+ def browser_file_handling(self):
603
+ """
604
+ Specifies the override at the list level for the BrowserFileHandling property of the Web application.
605
+ If the BrowserFileHandling property of the Web application is BrowserFileHandling.Strict,
606
+ then this setting MUST be ignored. If the BrowserFileHandling property of the Web application is
607
+ BrowserFileHandling.Permissive, then this setting MUST be respected.
608
+ :rtype: int or None
609
+ """
610
+ return self.properties.get("BrowserFileHandling", None)
611
+
612
+ @property
613
+ def created(self):
614
+ """Specifies when the list was created."""
615
+ return self.properties.get("Created", datetime.min)
616
+
570
617
  @property
571
618
  def default_display_form_url(self):
572
619
  """
573
620
  Specifies the location of the default display form for the list.
574
-
575
621
  :rtype: str or None
576
622
  """
577
623
  return self.properties.get("DefaultDisplayFormUrl", None)
@@ -587,7 +633,6 @@ class List(SecurableObject):
587
633
  def default_view_url(self):
588
634
  """
589
635
  Specifies the server-relative URL of the default view for the list.
590
-
591
636
  :rtype: str or None
592
637
  """
593
638
  return self.properties.get("DefaultViewUrl", None)
@@ -597,7 +642,6 @@ class List(SecurableObject):
597
642
  """
598
643
  Specifies whether or not the crawler indexes the non-default views of the list.
599
644
  Specify a value of true if the crawler indexes the list's non-default views; specify false if otherwise.
600
-
601
645
  :rtype: bool or None
602
646
  """
603
647
  return self.properties.get("CrawlNonDefaultViews", None)
@@ -629,15 +673,6 @@ class List(SecurableObject):
629
673
  """
630
674
  return self.properties.get("DataSource", ListDataSource())
631
675
 
632
- @property
633
- def enable_folder_creation(self):
634
- """
635
- Specifies whether new list folders can be added to the list.
636
-
637
- :rtype: bool or None
638
- """
639
- return self.properties.get("EnableFolderCreation", None)
640
-
641
676
  @property
642
677
  def default_edit_form_url(self):
643
678
  """
@@ -654,10 +689,66 @@ class List(SecurableObject):
654
689
  """
655
690
  return self.properties.get("DefaultItemOpenInBrowser", None)
656
691
 
692
+ @property
693
+ def default_item_open_use_list_setting(self):
694
+ """
695
+ This property returns whether to use the List setting or the server wide setting for
696
+ DefaultItemOpen (BrowserEnabledDocuments setting) in the Web application. This property can only be set to
697
+ false, thereby using the server-wide setting. To set it to use List setting, set the value for DefaultItemOpen.
698
+ :rtype: bool or None
699
+ """
700
+ return self.properties.get("DefaultItemOpenUseListSetting", None)
701
+
702
+ @property
703
+ def disable_commenting(self):
704
+ """
705
+ :rtype: bool or None
706
+ """
707
+ return self.properties.get("DisableCommenting", None)
708
+
709
+ @property
710
+ def disable_grid_editing(self):
711
+ """
712
+ :rtype: bool or None
713
+ """
714
+ return self.properties.get("DisableGridEditing", None)
715
+
716
+ @property
717
+ def enable_folder_creation(self):
718
+ """
719
+ Specifies whether new list folders can be added to the list.
720
+ :rtype: bool or None
721
+ """
722
+ return self.properties.get("EnableFolderCreation", None)
723
+
657
724
  @enable_folder_creation.setter
658
725
  def enable_folder_creation(self, value):
659
726
  self.set_property("EnableFolderCreation", value, True)
660
727
 
728
+ @property
729
+ def enable_minor_versions(self):
730
+ """
731
+ Specifies whether minor versions are enabled for the list.
732
+ :rtype: bool or None
733
+ """
734
+ return self.properties.get("EnableMinorVersions", None)
735
+
736
+ @property
737
+ def enable_moderation(self):
738
+ """
739
+ Specifies whether content approval is enabled for the list.
740
+ :rtype: bool or None
741
+ """
742
+ return self.properties.get("EnableModeration", None)
743
+
744
+ @property
745
+ def enable_versioning(self):
746
+ """
747
+ Specifies whether content approval is enabled for the list.
748
+ :rtype: bool or None
749
+ """
750
+ return self.properties.get("EnableVersioning", None)
751
+
661
752
  @property
662
753
  def items(self):
663
754
  """Get list items"""
@@ -706,11 +797,37 @@ class List(SecurableObject):
706
797
  @property
707
798
  def content_types_enabled(self):
708
799
  """Specifies whether content types are enabled for the list.
709
-
710
800
  :rtype: bool or None
711
801
  """
712
802
  return self.properties.get('ContentTypesEnabled', None)
713
803
 
804
+ @property
805
+ def is_private(self):
806
+ """
807
+ Specifies whether the list is a private list with restricted permissions.
808
+ True if the list is a private list, otherwise False.
809
+ :rtype: bool or None
810
+ """
811
+ return self.properties.get('IsPrivate', None)
812
+
813
+ @property
814
+ def is_site_assets_library(self):
815
+ """
816
+ Specifies whether the list is designated as a default asset location for images or other files which the
817
+ users upload to their wiki pages.
818
+ :rtype: bool or None
819
+ """
820
+ return self.properties.get('IsSiteAssetsLibrary', None)
821
+
822
+ @property
823
+ def is_system_list(self):
824
+ """
825
+ Indicates whether the list is system list that does not contain end user data and created by system account.
826
+ A value of True means yes.
827
+ :rtype: bool or None
828
+ """
829
+ return self.properties.get('IsSystemList', None)
830
+
714
831
  @property
715
832
  def user_custom_actions(self):
716
833
  """Gets the User Custom Actions that are associated with the list."""
@@ -745,16 +862,65 @@ class List(SecurableObject):
745
862
 
746
863
  @property
747
864
  def item_count(self):
748
- """Gets a value that specifies the number of list items in the list.
749
-
865
+ """
866
+ Gets a value that specifies the number of list items in the list.
750
867
  :rtype: int or None
751
868
  """
752
869
  return self.properties.get('ItemCount', None)
753
870
 
754
871
  @property
755
- def title(self):
756
- """Gets the displayed title for the list.
872
+ def last_item_deleted_date(self):
873
+ """
874
+ Specifies the last time a list item was deleted from the list. It MUST return Created if no list item has
875
+ been deleted from the list yet.
876
+ """
877
+ return self.properties.get('LastItemDeletedDate', datetime.min)
878
+
879
+ @property
880
+ def last_item_modified_date(self):
881
+ """
882
+ Specifies the last time a list item, field, or property of the list was modified.
883
+ It MUST return Created if the list has not been modified.
884
+ """
885
+ return self.properties.get('LastItemModifiedDate', datetime.min)
886
+
887
+ @property
888
+ def list_form_customized(self):
889
+ """
890
+ :rtype: bool or None
891
+ """
892
+ return self.properties.get('ListFormCustomized', None)
893
+
894
+ @property
895
+ def list_item_entity_type_full_name(self):
896
+ """
897
+ Specifies the full type name of the list item.
898
+ :rtype: str or None
899
+ """
900
+ return self.properties.get('ListItemEntityTypeFullName', None)
901
+
902
+ @property
903
+ def major_version_limit(self):
904
+ """
905
+ Gets the maximum number of major versions allowed for an item in a document library that uses version
906
+ control with major versions only.
907
+ :rtype: int or None
908
+ """
909
+ return self.properties.get('MajorVersionLimit', None)
910
+
911
+ @property
912
+ def major_with_minor_versions_limit(self):
913
+ """
914
+ Gets the maximum number of major versions that are allowed for an item in a document library that uses
915
+ version control with both major and minor versions.
916
+ :rtype: int or None
917
+ """
918
+ return self.properties.get('MajorWithMinorVersionsLimit', None)
757
919
 
920
+ @property
921
+ def title(self):
922
+ """
923
+ Gets the displayed title for the list.
758
924
  :rtype: str or None
759
925
  """
760
926
  return self.properties.get('Title', None)
@@ -764,6 +930,16 @@ class List(SecurableObject):
764
930
  """Sets the displayed title for the list."""
765
931
  self.set_property('Title', val)
766
932
 
933
+
934
+ @property
935
+ def default_content_approval_workflow_id(self):
936
+ """
937
+ Specifies the default workflow identifier for content approval on the list. It MUST be an empty GUID
938
+ if there is no default content approval workflow.
939
+ :rtype: str
940
+ """
941
+ return self.properties.get("DefaultContentApprovalWorkflowId", None)
942
+
767
943
  @property
768
944
  def description(self):
769
945
  """Gets the description for the list.
@@ -789,8 +965,8 @@ class List(SecurableObject):
789
965
 
790
966
  @property
791
967
  def schema_xml(self):
792
- """Specifies the list schema of the list.
793
-
968
+ """
969
+ Specifies the list schema of the list.
794
970
  :rtype: str or None
795
971
  """
796
972
  return self.properties.get("SchemaXml", None)
@@ -800,7 +976,6 @@ class List(SecurableObject):
800
976
  """
801
977
  Specifies the feature identifier of the feature that contains the list schema for the list.
802
978
  It MUST be an empty GUID if the list schema for the list is not contained within a feature.
803
-
804
979
  :rtype: str or None
805
980
  """
806
981
  return self.properties.get("TemplateFeatureId", None)
@@ -815,7 +990,6 @@ class List(SecurableObject):
815
990
  def validation_formula(self):
816
991
  """
817
992
  Specifies the data validation criteria for a list item.
818
-
819
993
  :rtype: str or None
820
994
  """
821
995
  return self.properties.get("ValidationFormula", None)
@@ -839,6 +1013,8 @@ class List(SecurableObject):
839
1013
  "DefaultView": self.default_view,
840
1014
  "DefaultViewPath": self.default_view_path,
841
1015
  "EventReceivers": self.event_receivers,
1016
+ "LastItemDeletedDate": self.last_item_deleted_date,
1017
+ "LastItemModifiedDate": self.last_item_modified_date,
842
1018
  "ParentWeb": self.parent_web,
843
1019
  "ParentWebPath": self.parent_web_path,
844
1020
  "RootFolder": self.root_folder,
@@ -4,13 +4,33 @@ from office365.runtime.client_value import ClientValue
4
4
  class RenderListDataParameters(ClientValue):
5
5
  """Specifies the parameters to be used to render list data as a JSON string"""
6
6
 
7
- def __init__(self, add_all_fields=None, add_required_fields=None):
7
+ def __init__(self, add_all_fields=None, add_all_view_fields=None, add_regional_settings=None,
8
+ add_required_fields=None, allow_multiple_value_filter_for_taxonomy_fields=None,
9
+ audience_target=None, dates_in_utc=None, expand_groups=None, expand_user_field=None,
10
+ filter_out_channel_folders_in_default_doc_lib=None):
8
11
  """
9
12
  :param bool add_all_fields:
13
+ :param bool add_all_view_fields:
14
+ :param bool add_regional_settings:
10
15
  :param bool add_required_fields: This parameter indicates if we return required fields.
16
+ :param bool allow_multiple_value_filter_for_taxonomy_fields: This parameter indicates whether multi value
17
+ filtering is allowed for taxonomy fields.
18
+ :param bool audience_target:
19
+ :param bool dates_in_utc: Specifies if the DateTime field is returned in UTC or local time.
20
+ :param bool expand_groups: Specifies whether to expand the grouping or not.
21
+ :param bool expand_user_field:
22
+ :param bool filter_out_channel_folders_in_default_doc_lib:
11
23
  """
12
24
  self.AddAllFields = add_all_fields
25
+ self.AddAllViewFields = add_all_view_fields
26
+ self.AddRegionalSettings = add_regional_settings
13
27
  self.AddRequiredFields = add_required_fields
28
+ self.AllowMultipleValueFilterForTaxonomyFields = allow_multiple_value_filter_for_taxonomy_fields
29
+ self.AudienceTarget = audience_target
30
+ self.DatesInUtc = dates_in_utc
31
+ self.ExpandGroups = expand_groups
32
+ self.ExpandUserField = expand_user_field
33
+ self.FilterOutChannelFoldersInDefaultDocLib = filter_out_channel_folders_in_default_doc_lib
14
34
 
15
35
  @property
16
36
  def entity_type_name(self):
@@ -19,27 +19,37 @@ class ListTemplateType:
19
19
  """Specifies a survey list."""
20
20
 
21
21
  Links = 103
22
+ """Specifies a links list."""
22
23
 
23
24
  Announcements = 104
25
+ """Specifies an announcements list."""
24
26
 
25
27
  Contacts = 105
26
28
  """Specifies a contacts list."""
27
29
 
28
30
  Events = 106
31
+ """Specifies a calendar list."""
29
32
 
30
33
  Tasks = 107
34
+ """Specifies a task list."""
31
35
 
32
36
  DiscussionBoard = 108
37
+ """Specifies a discussion board."""
33
38
 
34
39
  PictureLibrary = 109
40
+ """Specifies a picture library."""
35
41
 
36
42
  DataSources = 110
43
+ """Specifies a list of data sources for a site """
37
44
 
38
45
  WebTemplateCatalog = 111
46
+ """Specifies a list template gallery."""
39
47
 
40
48
  UserInformation = 112
49
+ """Specifies a user information list"""
41
50
 
42
51
  WebPartCatalog = 113
52
+ """"""
43
53
 
44
54
  ListTemplateCatalog = 114
45
55
 
@@ -1,6 +1,30 @@
1
1
  from office365.runtime.client_value import ClientValue
2
+ from office365.runtime.client_value_collection import ClientValueCollection
3
+
4
+
5
+ class ConfiguredMetadataNavigationItem(ClientValue):
6
+ """Represents a configured metadata navigation item."""
7
+
8
+ def __init__(self, field_display_name=None, field_title=None, field_type_as_string=None,
9
+ is_content_type_field=None, is_folder_hierarchy=None, is_hierarchy=None):
10
+ """
11
+ :param str field_display_name: The display name of the field that this item refers to.
12
+ :param str field_title: The internal name of the field that this item refers to.
13
+ :param str field_type_as_string: The type of the field that this item refers to.
14
+ :param bool is_content_type_field: Indicates whether the type of this field is a content type.
15
+ :param bool is_folder_hierarchy: Indicates whether this item is a folder hierarchy.
16
+ :param bool is_hierarchy: Indicates whether this item is hierarchical.
17
+ """
18
+ self.FieldDisplayName = field_display_name
19
+ self.FieldTitle = field_title
20
+ self.FieldTypeAsString = field_type_as_string
21
+ self.IsContentTypeField = is_content_type_field
22
+ self.IsFolderHierarchy = is_folder_hierarchy
23
+ self.IsHierarchy = is_hierarchy
2
24
 
3
25
 
4
26
  class ConfiguredMetadataNavigationItemCollection(ClientValue):
5
27
  """A collection of configured metadata navigation items."""
6
- pass
28
+
29
+ def __init__(self, items=None):
30
+ self.Items = ClientValueCollection(ConfiguredMetadataNavigationItem, items)