Files.com 1.6.431__tar.gz → 1.6.433__tar.gz

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 (317) hide show
  1. {files_com-1.6.431/files_com.egg-info → files_com-1.6.433}/PKG-INFO +1 -1
  2. files_com-1.6.433/_VERSION +1 -0
  3. {files_com-1.6.431 → files_com-1.6.433/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/SOURCES.txt +4 -0
  5. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/__init__.py +7 -1
  6. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/__init__.py +4 -0
  7. files_com-1.6.433/files_sdk/models/holiday_calendar.py +218 -0
  8. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server.py +112 -0
  9. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server_credential.py +89 -0
  10. files_com-1.6.433/files_sdk/models/user_additional_email_recipient.py +244 -0
  11. {files_com-1.6.431 → files_com-1.6.433}/pyproject.toml +1 -1
  12. files_com-1.6.433/tests/test_holiday_calendar.py +68 -0
  13. files_com-1.6.433/tests/test_user_additional_email_recipient.py +68 -0
  14. files_com-1.6.431/_VERSION +0 -1
  15. {files_com-1.6.431 → files_com-1.6.433}/LICENSE +0 -0
  16. {files_com-1.6.431 → files_com-1.6.433}/README.md +0 -0
  17. {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/dependency_links.txt +0 -0
  18. {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/requires.txt +0 -0
  19. {files_com-1.6.431 → files_com-1.6.433}/files_com.egg-info/top_level.txt +0 -0
  20. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/api.py +0 -0
  21. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/api_client.py +0 -0
  22. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/error.py +0 -0
  23. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/list_obj.py +0 -0
  24. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/account_line_item.py +0 -0
  25. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action.py +0 -0
  26. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_log.py +0 -0
  27. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_notification_export.py +0 -0
  28. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/action_notification_export_result.py +0 -0
  29. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/agent_push_update.py +0 -0
  30. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ai_assistant_personality.py +0 -0
  31. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ai_task.py +0 -0
  32. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/api_key.py +0 -0
  33. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/api_request_log.py +0 -0
  34. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/app.py +0 -0
  35. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_incoming_message.py +0 -0
  36. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_outgoing_message.py +0 -0
  37. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_partner.py +0 -0
  38. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/as2_station.py +0 -0
  39. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/auto.py +0 -0
  40. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation.py +0 -0
  41. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_authoring_schema.py +0 -0
  42. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_execution_node.py +0 -0
  43. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_log.py +0 -0
  44. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/automation_run.py +0 -0
  45. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bandwidth_snapshot.py +0 -0
  46. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/behavior.py +0 -0
  47. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle.py +0 -0
  48. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_action.py +0 -0
  49. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_download.py +0 -0
  50. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_notification.py +0 -0
  51. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_path.py +0 -0
  52. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_recipient.py +0 -0
  53. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/bundle_registration.py +0 -0
  54. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/chat_message.py +0 -0
  55. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/chat_session.py +0 -0
  56. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/child_site_management_policy.py +0 -0
  57. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/clickwrap.py +0 -0
  58. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/custom_domain.py +0 -0
  59. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/desktop_configuration_profile.py +0 -0
  60. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/direct_connection_info.py +0 -0
  61. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/dns_record.py +0 -0
  62. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/email_incoming_message.py +0 -0
  63. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/email_log.py +0 -0
  64. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/errors.py +0 -0
  65. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_channel.py +0 -0
  66. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_delivery_attempt.py +0 -0
  67. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_record.py +0 -0
  68. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_subscription.py +0 -0
  69. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/event_target.py +0 -0
  70. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/exavault_api_request_log.py +0 -0
  71. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation.py +0 -0
  72. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation_evaluation.py +0 -0
  73. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/expectation_incident.py +0 -0
  74. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/external_event.py +0 -0
  75. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file.py +0 -0
  76. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_action.py +0 -0
  77. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_comment.py +0 -0
  78. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_comment_reaction.py +0 -0
  79. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_migration.py +0 -0
  80. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_migration_log.py +0 -0
  81. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/file_upload_part.py +0 -0
  82. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/folder.py +0 -0
  83. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/form_field.py +0 -0
  84. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/form_field_set.py +0 -0
  85. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ftp_action_log.py +0 -0
  86. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/gpg_key.py +0 -0
  87. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/group.py +0 -0
  88. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/group_user.py +0 -0
  89. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history.py +0 -0
  90. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history_export.py +0 -0
  91. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/history_export_result.py +0 -0
  92. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/holiday_region.py +0 -0
  93. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/image.py +0 -0
  94. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbound_s3_log.py +0 -0
  95. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_recipient.py +0 -0
  96. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_registration.py +0 -0
  97. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/inbox_upload.py +0 -0
  98. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/integration_centric_profile.py +0 -0
  99. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/invoice.py +0 -0
  100. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/invoice_line_item.py +0 -0
  101. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/ip_address.py +0 -0
  102. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/key_lifecycle_rule.py +0 -0
  103. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/lock.py +0 -0
  104. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message.py +0 -0
  105. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_comment.py +0 -0
  106. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_comment_reaction.py +0 -0
  107. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/message_reaction.py +0 -0
  108. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/metadata_category.py +0 -0
  109. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/notification.py +0 -0
  110. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/outbound_connection_log.py +0 -0
  111. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner.py +0 -0
  112. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_channel.py +0 -0
  113. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_channel_template.py +0 -0
  114. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_site.py +0 -0
  115. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/partner_site_request.py +0 -0
  116. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/payment.py +0 -0
  117. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/payment_line_item.py +0 -0
  118. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/pending_work_event.py +0 -0
  119. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/permission.py +0 -0
  120. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/preview.py +0 -0
  121. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/project.py +0 -0
  122. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_hosting_request_log.py +0 -0
  123. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_ip_address.py +0 -0
  124. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/public_key.py +0 -0
  125. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  126. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_mount_backend.py +0 -0
  127. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/remote_server_configuration_file.py +0 -0
  128. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/request.py +0 -0
  129. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/restore.py +0 -0
  130. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/scheduled_export.py +0 -0
  131. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/scim_log.py +0 -0
  132. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/secret.py +0 -0
  133. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/session.py +0 -0
  134. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/settings_change.py +0 -0
  135. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sftp_action_log.py +0 -0
  136. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sftp_host_key.py +0 -0
  137. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/share_group.py +0 -0
  138. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/share_group_member.py +0 -0
  139. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/siem_http_destination.py +0 -0
  140. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/siem_http_destination_event.py +0 -0
  141. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/site.py +0 -0
  142. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/site_subdomain_redirect.py +0 -0
  143. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/snapshot.py +0 -0
  144. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sso_event.py +0 -0
  145. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sso_strategy.py +0 -0
  146. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/status.py +0 -0
  147. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/style.py +0 -0
  148. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync.py +0 -0
  149. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_log.py +0 -0
  150. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_run.py +0 -0
  151. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/sync_run_live_transfer.py +0 -0
  152. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  153. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_daily_snapshot.py +0 -0
  154. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/usage_snapshot.py +0 -0
  155. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user.py +0 -0
  156. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_cipher_use.py +0 -0
  157. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_lifecycle_rule.py +0 -0
  158. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_request.py +0 -0
  159. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_security_event.py +0 -0
  160. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/user_sftp_client_use.py +0 -0
  161. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/web_dav_action_log.py +0 -0
  162. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/webhook_test.py +0 -0
  163. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/workspace.py +0 -0
  164. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/models/zip_list_entry.py +0 -0
  165. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/path_util.py +0 -0
  166. {files_com-1.6.431 → files_com-1.6.433}/files_sdk/util.py +0 -0
  167. {files_com-1.6.431 → files_com-1.6.433}/setup.cfg +0 -0
  168. {files_com-1.6.431 → files_com-1.6.433}/tests/test_account_line_item.py +0 -0
  169. {files_com-1.6.431 → files_com-1.6.433}/tests/test_action.py +0 -0
  170. {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_log.py +0 -0
  171. {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_notification_export.py +0 -0
  172. {files_com-1.6.431 → files_com-1.6.433}/tests/test_action_notification_export_result.py +0 -0
  173. {files_com-1.6.431 → files_com-1.6.433}/tests/test_agent_push_update.py +0 -0
  174. {files_com-1.6.431 → files_com-1.6.433}/tests/test_ai_assistant_personality.py +0 -0
  175. {files_com-1.6.431 → files_com-1.6.433}/tests/test_ai_task.py +0 -0
  176. {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_errors.py +0 -0
  177. {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_key.py +0 -0
  178. {files_com-1.6.431 → files_com-1.6.433}/tests/test_api_request_log.py +0 -0
  179. {files_com-1.6.431 → files_com-1.6.433}/tests/test_app.py +0 -0
  180. {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_incoming_message.py +0 -0
  181. {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_outgoing_message.py +0 -0
  182. {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_partner.py +0 -0
  183. {files_com-1.6.431 → files_com-1.6.433}/tests/test_as2_station.py +0 -0
  184. {files_com-1.6.431 → files_com-1.6.433}/tests/test_auto.py +0 -0
  185. {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation.py +0 -0
  186. {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_authoring_schema.py +0 -0
  187. {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_execution_node.py +0 -0
  188. {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_log.py +0 -0
  189. {files_com-1.6.431 → files_com-1.6.433}/tests/test_automation_run.py +0 -0
  190. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bandwidth_snapshot.py +0 -0
  191. {files_com-1.6.431 → files_com-1.6.433}/tests/test_behavior.py +0 -0
  192. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle.py +0 -0
  193. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_action.py +0 -0
  194. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_download.py +0 -0
  195. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_notification.py +0 -0
  196. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_path.py +0 -0
  197. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_recipient.py +0 -0
  198. {files_com-1.6.431 → files_com-1.6.433}/tests/test_bundle_registration.py +0 -0
  199. {files_com-1.6.431 → files_com-1.6.433}/tests/test_chat_message.py +0 -0
  200. {files_com-1.6.431 → files_com-1.6.433}/tests/test_chat_session.py +0 -0
  201. {files_com-1.6.431 → files_com-1.6.433}/tests/test_child_site_management_policy.py +0 -0
  202. {files_com-1.6.431 → files_com-1.6.433}/tests/test_clickwrap.py +0 -0
  203. {files_com-1.6.431 → files_com-1.6.433}/tests/test_connection_adapter.py +0 -0
  204. {files_com-1.6.431 → files_com-1.6.433}/tests/test_custom_domain.py +0 -0
  205. {files_com-1.6.431 → files_com-1.6.433}/tests/test_decimal_contract.py +0 -0
  206. {files_com-1.6.431 → files_com-1.6.433}/tests/test_desktop_configuration_profile.py +0 -0
  207. {files_com-1.6.431 → files_com-1.6.433}/tests/test_direct_connection_info.py +0 -0
  208. {files_com-1.6.431 → files_com-1.6.433}/tests/test_dns_record.py +0 -0
  209. {files_com-1.6.431 → files_com-1.6.433}/tests/test_email_incoming_message.py +0 -0
  210. {files_com-1.6.431 → files_com-1.6.433}/tests/test_email_log.py +0 -0
  211. {files_com-1.6.431 → files_com-1.6.433}/tests/test_errors.py +0 -0
  212. {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_channel.py +0 -0
  213. {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_delivery_attempt.py +0 -0
  214. {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_record.py +0 -0
  215. {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_subscription.py +0 -0
  216. {files_com-1.6.431 → files_com-1.6.433}/tests/test_event_target.py +0 -0
  217. {files_com-1.6.431 → files_com-1.6.433}/tests/test_exavault_api_request_log.py +0 -0
  218. {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation.py +0 -0
  219. {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation_evaluation.py +0 -0
  220. {files_com-1.6.431 → files_com-1.6.433}/tests/test_expectation_incident.py +0 -0
  221. {files_com-1.6.431 → files_com-1.6.433}/tests/test_external_event.py +0 -0
  222. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file.py +0 -0
  223. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_action.py +0 -0
  224. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_comment.py +0 -0
  225. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_comment_reaction.py +0 -0
  226. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_migration.py +0 -0
  227. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_migration_log.py +0 -0
  228. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_underscore_destinations.py +0 -0
  229. {files_com-1.6.431 → files_com-1.6.433}/tests/test_file_upload_part.py +0 -0
  230. {files_com-1.6.431 → files_com-1.6.433}/tests/test_folder.py +0 -0
  231. {files_com-1.6.431 → files_com-1.6.433}/tests/test_form_field.py +0 -0
  232. {files_com-1.6.431 → files_com-1.6.433}/tests/test_form_field_set.py +0 -0
  233. {files_com-1.6.431 → files_com-1.6.433}/tests/test_ftp_action_log.py +0 -0
  234. {files_com-1.6.431 → files_com-1.6.433}/tests/test_gpg_key.py +0 -0
  235. {files_com-1.6.431 → files_com-1.6.433}/tests/test_group.py +0 -0
  236. {files_com-1.6.431 → files_com-1.6.433}/tests/test_group_user.py +0 -0
  237. {files_com-1.6.431 → files_com-1.6.433}/tests/test_history.py +0 -0
  238. {files_com-1.6.431 → files_com-1.6.433}/tests/test_history_export.py +0 -0
  239. {files_com-1.6.431 → files_com-1.6.433}/tests/test_history_export_result.py +0 -0
  240. {files_com-1.6.431 → files_com-1.6.433}/tests/test_holiday_region.py +0 -0
  241. {files_com-1.6.431 → files_com-1.6.433}/tests/test_image.py +0 -0
  242. {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbound_s3_log.py +0 -0
  243. {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_recipient.py +0 -0
  244. {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_registration.py +0 -0
  245. {files_com-1.6.431 → files_com-1.6.433}/tests/test_inbox_upload.py +0 -0
  246. {files_com-1.6.431 → files_com-1.6.433}/tests/test_integration_centric_profile.py +0 -0
  247. {files_com-1.6.431 → files_com-1.6.433}/tests/test_invoice.py +0 -0
  248. {files_com-1.6.431 → files_com-1.6.433}/tests/test_invoice_line_item.py +0 -0
  249. {files_com-1.6.431 → files_com-1.6.433}/tests/test_ip_address.py +0 -0
  250. {files_com-1.6.431 → files_com-1.6.433}/tests/test_key_lifecycle_rule.py +0 -0
  251. {files_com-1.6.431 → files_com-1.6.433}/tests/test_lock.py +0 -0
  252. {files_com-1.6.431 → files_com-1.6.433}/tests/test_message.py +0 -0
  253. {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_comment.py +0 -0
  254. {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_comment_reaction.py +0 -0
  255. {files_com-1.6.431 → files_com-1.6.433}/tests/test_message_reaction.py +0 -0
  256. {files_com-1.6.431 → files_com-1.6.433}/tests/test_metadata_category.py +0 -0
  257. {files_com-1.6.431 → files_com-1.6.433}/tests/test_notification.py +0 -0
  258. {files_com-1.6.431 → files_com-1.6.433}/tests/test_outbound_connection_log.py +0 -0
  259. {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner.py +0 -0
  260. {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_channel.py +0 -0
  261. {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_channel_template.py +0 -0
  262. {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_site.py +0 -0
  263. {files_com-1.6.431 → files_com-1.6.433}/tests/test_partner_site_request.py +0 -0
  264. {files_com-1.6.431 → files_com-1.6.433}/tests/test_path_parameter_encoding.py +0 -0
  265. {files_com-1.6.431 → files_com-1.6.433}/tests/test_path_util.py +0 -0
  266. {files_com-1.6.431 → files_com-1.6.433}/tests/test_payment.py +0 -0
  267. {files_com-1.6.431 → files_com-1.6.433}/tests/test_payment_line_item.py +0 -0
  268. {files_com-1.6.431 → files_com-1.6.433}/tests/test_pending_work_event.py +0 -0
  269. {files_com-1.6.431 → files_com-1.6.433}/tests/test_permission.py +0 -0
  270. {files_com-1.6.431 → files_com-1.6.433}/tests/test_preview.py +0 -0
  271. {files_com-1.6.431 → files_com-1.6.433}/tests/test_project.py +0 -0
  272. {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_hosting_request_log.py +0 -0
  273. {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_ip_address.py +0 -0
  274. {files_com-1.6.431 → files_com-1.6.433}/tests/test_public_key.py +0 -0
  275. {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_bandwidth_snapshot.py +0 -0
  276. {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_mount_backend.py +0 -0
  277. {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server.py +0 -0
  278. {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server_configuration_file.py +0 -0
  279. {files_com-1.6.431 → files_com-1.6.433}/tests/test_remote_server_credential.py +0 -0
  280. {files_com-1.6.431 → files_com-1.6.433}/tests/test_request.py +0 -0
  281. {files_com-1.6.431 → files_com-1.6.433}/tests/test_restore.py +0 -0
  282. {files_com-1.6.431 → files_com-1.6.433}/tests/test_scheduled_export.py +0 -0
  283. {files_com-1.6.431 → files_com-1.6.433}/tests/test_scim_log.py +0 -0
  284. {files_com-1.6.431 → files_com-1.6.433}/tests/test_secret.py +0 -0
  285. {files_com-1.6.431 → files_com-1.6.433}/tests/test_session.py +0 -0
  286. {files_com-1.6.431 → files_com-1.6.433}/tests/test_settings_change.py +0 -0
  287. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sftp_action_log.py +0 -0
  288. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sftp_host_key.py +0 -0
  289. {files_com-1.6.431 → files_com-1.6.433}/tests/test_share_group.py +0 -0
  290. {files_com-1.6.431 → files_com-1.6.433}/tests/test_share_group_member.py +0 -0
  291. {files_com-1.6.431 → files_com-1.6.433}/tests/test_siem_http_destination.py +0 -0
  292. {files_com-1.6.431 → files_com-1.6.433}/tests/test_siem_http_destination_event.py +0 -0
  293. {files_com-1.6.431 → files_com-1.6.433}/tests/test_site.py +0 -0
  294. {files_com-1.6.431 → files_com-1.6.433}/tests/test_site_subdomain_redirect.py +0 -0
  295. {files_com-1.6.431 → files_com-1.6.433}/tests/test_snapshot.py +0 -0
  296. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sso_event.py +0 -0
  297. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sso_strategy.py +0 -0
  298. {files_com-1.6.431 → files_com-1.6.433}/tests/test_status.py +0 -0
  299. {files_com-1.6.431 → files_com-1.6.433}/tests/test_style.py +0 -0
  300. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync.py +0 -0
  301. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_log.py +0 -0
  302. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_run.py +0 -0
  303. {files_com-1.6.431 → files_com-1.6.433}/tests/test_sync_run_live_transfer.py +0 -0
  304. {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_by_top_level_dir.py +0 -0
  305. {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_daily_snapshot.py +0 -0
  306. {files_com-1.6.431 → files_com-1.6.433}/tests/test_usage_snapshot.py +0 -0
  307. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user.py +0 -0
  308. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_cipher_use.py +0 -0
  309. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_lifecycle_rule.py +0 -0
  310. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_request.py +0 -0
  311. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_security_event.py +0 -0
  312. {files_com-1.6.431 → files_com-1.6.433}/tests/test_user_sftp_client_use.py +0 -0
  313. {files_com-1.6.431 → files_com-1.6.433}/tests/test_web_dav_action_log.py +0 -0
  314. {files_com-1.6.431 → files_com-1.6.433}/tests/test_webhook_test.py +0 -0
  315. {files_com-1.6.431 → files_com-1.6.433}/tests/test_workspace.py +0 -0
  316. {files_com-1.6.431 → files_com-1.6.433}/tests/test_workspace_id.py +0 -0
  317. {files_com-1.6.431 → files_com-1.6.433}/tests/test_zip_list_entry.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.431
3
+ Version: 1.6.433
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -0,0 +1 @@
1
+ 1.6.433
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.431
3
+ Version: 1.6.433
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -84,6 +84,7 @@ files_sdk/models/group_user.py
84
84
  files_sdk/models/history.py
85
85
  files_sdk/models/history_export.py
86
86
  files_sdk/models/history_export_result.py
87
+ files_sdk/models/holiday_calendar.py
87
88
  files_sdk/models/holiday_region.py
88
89
  files_sdk/models/image.py
89
90
  files_sdk/models/inbound_s3_log.py
@@ -150,6 +151,7 @@ files_sdk/models/usage_by_top_level_dir.py
150
151
  files_sdk/models/usage_daily_snapshot.py
151
152
  files_sdk/models/usage_snapshot.py
152
153
  files_sdk/models/user.py
154
+ files_sdk/models/user_additional_email_recipient.py
153
155
  files_sdk/models/user_cipher_use.py
154
156
  files_sdk/models/user_lifecycle_rule.py
155
157
  files_sdk/models/user_request.py
@@ -231,6 +233,7 @@ tests/test_group_user.py
231
233
  tests/test_history.py
232
234
  tests/test_history_export.py
233
235
  tests/test_history_export_result.py
236
+ tests/test_holiday_calendar.py
234
237
  tests/test_holiday_region.py
235
238
  tests/test_image.py
236
239
  tests/test_inbound_s3_log.py
@@ -299,6 +302,7 @@ tests/test_usage_by_top_level_dir.py
299
302
  tests/test_usage_daily_snapshot.py
300
303
  tests/test_usage_snapshot.py
301
304
  tests/test_user.py
305
+ tests/test_user_additional_email_recipient.py
302
306
  tests/test_user_cipher_use.py
303
307
  tests/test_user_lifecycle_rule.py
304
308
  tests/test_user_request.py
@@ -67,6 +67,7 @@ import files_sdk.models.group_user as group_user
67
67
  import files_sdk.models.history as history
68
68
  import files_sdk.models.history_export as history_export
69
69
  import files_sdk.models.history_export_result as history_export_result
70
+ import files_sdk.models.holiday_calendar as holiday_calendar
70
71
  import files_sdk.models.holiday_region as holiday_region
71
72
  import files_sdk.models.image as image
72
73
  import files_sdk.models.inbound_s3_log as inbound_s3_log
@@ -133,6 +134,7 @@ import files_sdk.models.usage_by_top_level_dir as usage_by_top_level_dir
133
134
  import files_sdk.models.usage_daily_snapshot as usage_daily_snapshot
134
135
  import files_sdk.models.usage_snapshot as usage_snapshot
135
136
  import files_sdk.models.user as user
137
+ import files_sdk.models.user_additional_email_recipient as user_additional_email_recipient
136
138
  import files_sdk.models.user_cipher_use as user_cipher_use
137
139
  import files_sdk.models.user_lifecycle_rule as user_lifecycle_rule
138
140
  import files_sdk.models.user_request as user_request
@@ -221,6 +223,7 @@ from files_sdk.models.group_user import GroupUser
221
223
  from files_sdk.models.history import History
222
224
  from files_sdk.models.history_export import HistoryExport
223
225
  from files_sdk.models.history_export_result import HistoryExportResult
226
+ from files_sdk.models.holiday_calendar import HolidayCalendar
224
227
  from files_sdk.models.holiday_region import HolidayRegion
225
228
  from files_sdk.models.image import Image
226
229
  from files_sdk.models.inbound_s3_log import InboundS3Log
@@ -293,6 +296,9 @@ from files_sdk.models.usage_by_top_level_dir import UsageByTopLevelDir
293
296
  from files_sdk.models.usage_daily_snapshot import UsageDailySnapshot
294
297
  from files_sdk.models.usage_snapshot import UsageSnapshot
295
298
  from files_sdk.models.user import User
299
+ from files_sdk.models.user_additional_email_recipient import (
300
+ UserAdditionalEmailRecipient,
301
+ )
296
302
  from files_sdk.models.user_cipher_use import UserCipherUse
297
303
  from files_sdk.models.user_lifecycle_rule import UserLifecycleRule
298
304
  from files_sdk.models.user_request import UserRequest
@@ -314,7 +320,7 @@ source_ip = None
314
320
  workspace_id = None
315
321
  base_url = "https://app.files.com"
316
322
  base_path = "api/rest/v1"
317
- version = "1.6.431"
323
+ version = "1.6.433"
318
324
 
319
325
  __version__ = version
320
326
 
@@ -76,6 +76,7 @@ from files_sdk.models.group_user import GroupUser
76
76
  from files_sdk.models.history import History
77
77
  from files_sdk.models.history_export import HistoryExport
78
78
  from files_sdk.models.history_export_result import HistoryExportResult
79
+ from files_sdk.models.holiday_calendar import HolidayCalendar
79
80
  from files_sdk.models.holiday_region import HolidayRegion
80
81
  from files_sdk.models.image import Image
81
82
  from files_sdk.models.inbound_s3_log import InboundS3Log
@@ -148,6 +149,9 @@ from files_sdk.models.usage_by_top_level_dir import UsageByTopLevelDir
148
149
  from files_sdk.models.usage_daily_snapshot import UsageDailySnapshot
149
150
  from files_sdk.models.usage_snapshot import UsageSnapshot
150
151
  from files_sdk.models.user import User
152
+ from files_sdk.models.user_additional_email_recipient import (
153
+ UserAdditionalEmailRecipient,
154
+ )
151
155
  from files_sdk.models.user_cipher_use import UserCipherUse
152
156
  from files_sdk.models.user_lifecycle_rule import UserLifecycleRule
153
157
  from files_sdk.models.user_request import UserRequest
@@ -0,0 +1,218 @@
1
+ import builtins # noqa: F401
2
+ from urllib.parse import quote
3
+ from files_sdk.api import Api # noqa: F401
4
+ from files_sdk.list_obj import ListObj
5
+ from files_sdk.error import ( # noqa: F401
6
+ InvalidParameterError,
7
+ MissingParameterError,
8
+ NotImplementedError,
9
+ )
10
+
11
+
12
+ class HolidayCalendar:
13
+ default_attributes = {
14
+ "id": None, # int64 - Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
15
+ "name": None, # string - Holiday Calendar name.
16
+ "definition": None, # object - Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
17
+ "created_at": None, # date-time - Creation time.
18
+ "updated_at": None, # date-time - Last update time.
19
+ }
20
+
21
+ def __init__(self, attributes=None, options=None):
22
+ if not isinstance(attributes, dict):
23
+ attributes = {}
24
+ if not isinstance(options, dict):
25
+ options = {}
26
+ self.set_attributes(attributes)
27
+ self.options = options
28
+
29
+ def set_attributes(self, attributes):
30
+ for (
31
+ attribute,
32
+ default_value,
33
+ ) in HolidayCalendar.default_attributes.items():
34
+ value = attributes.get(attribute, default_value)
35
+ setattr(self, attribute, value)
36
+
37
+ def get_attributes(self):
38
+ attrs = {
39
+ k: getattr(self, k, None)
40
+ for k in HolidayCalendar.default_attributes
41
+ if getattr(self, k, None) is not None
42
+ }
43
+ return attrs
44
+
45
+ # Parameters:
46
+ # name - string - Holiday Calendar name.
47
+ def update(self, params=None):
48
+ if not isinstance(params, dict):
49
+ params = {}
50
+
51
+ if hasattr(self, "id") and self.id:
52
+ params["id"] = self.id
53
+ else:
54
+ raise MissingParameterError("Current object doesn't have a id")
55
+ if "id" not in params:
56
+ raise MissingParameterError("Parameter missing: id")
57
+ if "id" in params and not isinstance(params["id"], int):
58
+ raise InvalidParameterError("Bad parameter: id must be an int")
59
+ if "name" in params and not isinstance(params["name"], str):
60
+ raise InvalidParameterError("Bad parameter: name must be an str")
61
+ response, _options = Api.send_request(
62
+ "PATCH",
63
+ "/holiday_calendars/{id}".format(
64
+ id=quote(str(params["id"]), safe="")
65
+ ),
66
+ params,
67
+ self.options,
68
+ )
69
+ return response.data
70
+
71
+ def delete(self, params=None):
72
+ if not isinstance(params, dict):
73
+ params = {}
74
+
75
+ if hasattr(self, "id") and self.id:
76
+ params["id"] = self.id
77
+ else:
78
+ raise MissingParameterError("Current object doesn't have a id")
79
+ if "id" not in params:
80
+ raise MissingParameterError("Parameter missing: id")
81
+ if "id" in params and not isinstance(params["id"], int):
82
+ raise InvalidParameterError("Bad parameter: id must be an int")
83
+ Api.send_request(
84
+ "DELETE",
85
+ "/holiday_calendars/{id}".format(
86
+ id=quote(str(params["id"]), safe="")
87
+ ),
88
+ params,
89
+ self.options,
90
+ )
91
+
92
+ def destroy(self, params=None):
93
+ self.delete(params)
94
+
95
+ def save(self):
96
+ if hasattr(self, "id") and self.id:
97
+ new_obj = self.update(self.get_attributes())
98
+ self.set_attributes(new_obj.get_attributes())
99
+ return True
100
+ else:
101
+ new_obj = create(self.get_attributes(), self.options)
102
+ self.set_attributes(new_obj.get_attributes())
103
+ return True
104
+
105
+
106
+ # Parameters:
107
+ # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
108
+ # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
109
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
110
+ def list(params=None, options=None):
111
+ if not isinstance(params, dict):
112
+ params = {}
113
+ if not isinstance(options, dict):
114
+ options = {}
115
+ if "cursor" in params and not isinstance(params["cursor"], str):
116
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
117
+ if "per_page" in params and not isinstance(params["per_page"], int):
118
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
119
+ if "sort_by" in params and not isinstance(params["sort_by"], dict):
120
+ raise InvalidParameterError("Bad parameter: sort_by must be an dict")
121
+ return ListObj(
122
+ HolidayCalendar, "GET", "/holiday_calendars", params, options
123
+ )
124
+
125
+
126
+ def all(params=None, options=None):
127
+ list(params, options)
128
+
129
+
130
+ # Parameters:
131
+ # id (required) - int64 - Holiday Calendar ID.
132
+ def find(id, params=None, options=None):
133
+ if not isinstance(params, dict):
134
+ params = {}
135
+ if not isinstance(options, dict):
136
+ options = {}
137
+ params["id"] = id
138
+ if "id" in params and not isinstance(params["id"], int):
139
+ raise InvalidParameterError("Bad parameter: id must be an int")
140
+ if "id" not in params:
141
+ raise MissingParameterError("Parameter missing: id")
142
+ response, options = Api.send_request(
143
+ "GET",
144
+ "/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
145
+ params,
146
+ options,
147
+ )
148
+ return HolidayCalendar(response.data, options)
149
+
150
+
151
+ def get(id, params=None, options=None):
152
+ find(id, params, options)
153
+
154
+
155
+ # Parameters:
156
+ # name (required) - string - Holiday Calendar name.
157
+ def create(params=None, options=None):
158
+ if not isinstance(params, dict):
159
+ params = {}
160
+ if not isinstance(options, dict):
161
+ options = {}
162
+ if "name" in params and not isinstance(params["name"], str):
163
+ raise InvalidParameterError("Bad parameter: name must be an str")
164
+ if "name" not in params:
165
+ raise MissingParameterError("Parameter missing: name")
166
+ response, options = Api.send_request(
167
+ "POST", "/holiday_calendars", params, options
168
+ )
169
+ return HolidayCalendar(response.data, options)
170
+
171
+
172
+ # Parameters:
173
+ # name - string - Holiday Calendar name.
174
+ def update(id, params=None, options=None):
175
+ if not isinstance(params, dict):
176
+ params = {}
177
+ if not isinstance(options, dict):
178
+ options = {}
179
+ params["id"] = id
180
+ if "id" in params and not isinstance(params["id"], int):
181
+ raise InvalidParameterError("Bad parameter: id must be an int")
182
+ if "name" in params and not isinstance(params["name"], str):
183
+ raise InvalidParameterError("Bad parameter: name must be an str")
184
+ if "id" not in params:
185
+ raise MissingParameterError("Parameter missing: id")
186
+ response, options = Api.send_request(
187
+ "PATCH",
188
+ "/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
189
+ params,
190
+ options,
191
+ )
192
+ return HolidayCalendar(response.data, options)
193
+
194
+
195
+ def delete(id, params=None, options=None):
196
+ if not isinstance(params, dict):
197
+ params = {}
198
+ if not isinstance(options, dict):
199
+ options = {}
200
+ params["id"] = id
201
+ if "id" in params and not isinstance(params["id"], int):
202
+ raise InvalidParameterError("Bad parameter: id must be an int")
203
+ if "id" not in params:
204
+ raise MissingParameterError("Parameter missing: id")
205
+ Api.send_request(
206
+ "DELETE",
207
+ "/holiday_calendars/{id}".format(id=quote(str(params["id"]), safe="")),
208
+ params,
209
+ options,
210
+ )
211
+
212
+
213
+ def destroy(id, params=None, options=None):
214
+ delete(id, params, options)
215
+
216
+
217
+ def new(*args, **kwargs):
218
+ return HolidayCalendar(*args, **kwargs)
@@ -55,6 +55,11 @@ class RemoteServer:
55
55
  "auth_status": None, # string - Either `in_setup` or `complete`
56
56
  "auth_account_name": None, # string - Describes the authorized account
57
57
  "one_drive_account_type": None, # string - OneDrive: Either personal or business_other account types
58
+ "sharepoint_tenant_id": None, # string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
59
+ "sharepoint_client_id": None, # string - SharePoint: Microsoft Entra application client ID for app-only authentication.
60
+ "sharepoint_app_authentication": None, # boolean - SharePoint: If true, this remote server uses Microsoft Entra app-only authentication.
61
+ "sharepoint_app_credential_type": None, # string - SharePoint: App-only credential type. Either secret or certificate.
62
+ "sharepoint_site_url": None, # string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
58
63
  "azure_blob_storage_account": None, # string - Azure Blob Storage: Account name
59
64
  "azure_blob_storage_container": None, # string - Azure Blob Storage: Container name
60
65
  "azure_blob_storage_hierarchical_namespace": None, # boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
@@ -92,6 +97,8 @@ class RemoteServer:
92
97
  "private_key": None, # string - Private key, if needed.
93
98
  "private_key_passphrase": None, # string - Passphrase for private key if needed.
94
99
  "reset_authentication": None, # boolean - Reset authenticated account?
100
+ "sharepoint_client_certificate": None, # string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
101
+ "sharepoint_client_secret": None, # string - SharePoint: Microsoft Entra application client secret for app-only authentication.
95
102
  "ssl_certificate": None, # string - SSL client certificate.
96
103
  "aws_secret_key": None, # string - AWS: secret key.
97
104
  "azure_blob_storage_access_key": None, # string - Azure Blob Storage: Access Key
@@ -246,6 +253,8 @@ class RemoteServer:
246
253
  # private_key - string - Private key, if needed.
247
254
  # private_key_passphrase - string - Passphrase for private key if needed.
248
255
  # reset_authentication - boolean - Reset authenticated account?
256
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
257
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
249
258
  # ssl_certificate - string - SSL client certificate.
250
259
  # aws_secret_key - string - AWS: secret key.
251
260
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -314,6 +323,9 @@ class RemoteServer:
314
323
  # server_certificate - string - Remote server certificate
315
324
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
316
325
  # server_type - string - Remote server type.
326
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
327
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
328
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
317
329
  # ssl - string - Should we require SSL?
318
330
  # username - string - Remote server username.
319
331
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -347,6 +359,18 @@ class RemoteServer:
347
359
  raise InvalidParameterError(
348
360
  "Bad parameter: private_key_passphrase must be an str"
349
361
  )
362
+ if "sharepoint_client_certificate" in params and not isinstance(
363
+ params["sharepoint_client_certificate"], str
364
+ ):
365
+ raise InvalidParameterError(
366
+ "Bad parameter: sharepoint_client_certificate must be an str"
367
+ )
368
+ if "sharepoint_client_secret" in params and not isinstance(
369
+ params["sharepoint_client_secret"], str
370
+ ):
371
+ raise InvalidParameterError(
372
+ "Bad parameter: sharepoint_client_secret must be an str"
373
+ )
350
374
  if "ssl_certificate" in params and not isinstance(
351
375
  params["ssl_certificate"], str
352
376
  ):
@@ -717,6 +741,24 @@ class RemoteServer:
717
741
  raise InvalidParameterError(
718
742
  "Bad parameter: server_type must be an str"
719
743
  )
744
+ if "sharepoint_client_id" in params and not isinstance(
745
+ params["sharepoint_client_id"], str
746
+ ):
747
+ raise InvalidParameterError(
748
+ "Bad parameter: sharepoint_client_id must be an str"
749
+ )
750
+ if "sharepoint_site_url" in params and not isinstance(
751
+ params["sharepoint_site_url"], str
752
+ ):
753
+ raise InvalidParameterError(
754
+ "Bad parameter: sharepoint_site_url must be an str"
755
+ )
756
+ if "sharepoint_tenant_id" in params and not isinstance(
757
+ params["sharepoint_tenant_id"], str
758
+ ):
759
+ raise InvalidParameterError(
760
+ "Bad parameter: sharepoint_tenant_id must be an str"
761
+ )
720
762
  if "ssl" in params and not isinstance(params["ssl"], str):
721
763
  raise InvalidParameterError("Bad parameter: ssl must be an str")
722
764
  if "username" in params and not isinstance(params["username"], str):
@@ -875,6 +917,8 @@ def find_configuration_file(id, params=None, options=None):
875
917
  # private_key - string - Private key, if needed.
876
918
  # private_key_passphrase - string - Passphrase for private key if needed.
877
919
  # reset_authentication - boolean - Reset authenticated account?
920
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
921
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
878
922
  # ssl_certificate - string - SSL client certificate.
879
923
  # aws_secret_key - string - AWS: secret key.
880
924
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -943,6 +987,9 @@ def find_configuration_file(id, params=None, options=None):
943
987
  # server_certificate - string - Remote server certificate
944
988
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
945
989
  # server_type - string - Remote server type.
990
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
991
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
992
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
946
993
  # ssl - string - Should we require SSL?
947
994
  # username - string - Remote server username.
948
995
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -974,6 +1021,18 @@ def create(params=None, options=None):
974
1021
  raise InvalidParameterError(
975
1022
  "Bad parameter: reset_authentication must be an bool"
976
1023
  )
1024
+ if "sharepoint_client_certificate" in params and not isinstance(
1025
+ params["sharepoint_client_certificate"], str
1026
+ ):
1027
+ raise InvalidParameterError(
1028
+ "Bad parameter: sharepoint_client_certificate must be an str"
1029
+ )
1030
+ if "sharepoint_client_secret" in params and not isinstance(
1031
+ params["sharepoint_client_secret"], str
1032
+ ):
1033
+ raise InvalidParameterError(
1034
+ "Bad parameter: sharepoint_client_secret must be an str"
1035
+ )
977
1036
  if "ssl_certificate" in params and not isinstance(
978
1037
  params["ssl_certificate"], str
979
1038
  ):
@@ -1370,6 +1429,24 @@ def create(params=None, options=None):
1370
1429
  raise InvalidParameterError(
1371
1430
  "Bad parameter: server_type must be an str"
1372
1431
  )
1432
+ if "sharepoint_client_id" in params and not isinstance(
1433
+ params["sharepoint_client_id"], str
1434
+ ):
1435
+ raise InvalidParameterError(
1436
+ "Bad parameter: sharepoint_client_id must be an str"
1437
+ )
1438
+ if "sharepoint_site_url" in params and not isinstance(
1439
+ params["sharepoint_site_url"], str
1440
+ ):
1441
+ raise InvalidParameterError(
1442
+ "Bad parameter: sharepoint_site_url must be an str"
1443
+ )
1444
+ if "sharepoint_tenant_id" in params and not isinstance(
1445
+ params["sharepoint_tenant_id"], str
1446
+ ):
1447
+ raise InvalidParameterError(
1448
+ "Bad parameter: sharepoint_tenant_id must be an str"
1449
+ )
1373
1450
  if "ssl" in params and not isinstance(params["ssl"], str):
1374
1451
  raise InvalidParameterError("Bad parameter: ssl must be an str")
1375
1452
  if "username" in params and not isinstance(params["username"], str):
@@ -1502,6 +1579,8 @@ def configuration_file(id, params=None, options=None):
1502
1579
  # private_key - string - Private key, if needed.
1503
1580
  # private_key_passphrase - string - Passphrase for private key if needed.
1504
1581
  # reset_authentication - boolean - Reset authenticated account?
1582
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
1583
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
1505
1584
  # ssl_certificate - string - SSL client certificate.
1506
1585
  # aws_secret_key - string - AWS: secret key.
1507
1586
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -1570,6 +1649,9 @@ def configuration_file(id, params=None, options=None):
1570
1649
  # server_certificate - string - Remote server certificate
1571
1650
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1572
1651
  # server_type - string - Remote server type.
1652
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1653
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
1654
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
1573
1655
  # ssl - string - Should we require SSL?
1574
1656
  # username - string - Remote server username.
1575
1657
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -1601,6 +1683,18 @@ def update(id, params=None, options=None):
1601
1683
  raise InvalidParameterError(
1602
1684
  "Bad parameter: reset_authentication must be an bool"
1603
1685
  )
1686
+ if "sharepoint_client_certificate" in params and not isinstance(
1687
+ params["sharepoint_client_certificate"], str
1688
+ ):
1689
+ raise InvalidParameterError(
1690
+ "Bad parameter: sharepoint_client_certificate must be an str"
1691
+ )
1692
+ if "sharepoint_client_secret" in params and not isinstance(
1693
+ params["sharepoint_client_secret"], str
1694
+ ):
1695
+ raise InvalidParameterError(
1696
+ "Bad parameter: sharepoint_client_secret must be an str"
1697
+ )
1604
1698
  if "ssl_certificate" in params and not isinstance(
1605
1699
  params["ssl_certificate"], str
1606
1700
  ):
@@ -1997,6 +2091,24 @@ def update(id, params=None, options=None):
1997
2091
  raise InvalidParameterError(
1998
2092
  "Bad parameter: server_type must be an str"
1999
2093
  )
2094
+ if "sharepoint_client_id" in params and not isinstance(
2095
+ params["sharepoint_client_id"], str
2096
+ ):
2097
+ raise InvalidParameterError(
2098
+ "Bad parameter: sharepoint_client_id must be an str"
2099
+ )
2100
+ if "sharepoint_site_url" in params and not isinstance(
2101
+ params["sharepoint_site_url"], str
2102
+ ):
2103
+ raise InvalidParameterError(
2104
+ "Bad parameter: sharepoint_site_url must be an str"
2105
+ )
2106
+ if "sharepoint_tenant_id" in params and not isinstance(
2107
+ params["sharepoint_tenant_id"], str
2108
+ ):
2109
+ raise InvalidParameterError(
2110
+ "Bad parameter: sharepoint_tenant_id must be an str"
2111
+ )
2000
2112
  if "ssl" in params and not isinstance(params["ssl"], str):
2001
2113
  raise InvalidParameterError("Bad parameter: ssl must be an str")
2002
2114
  if "username" in params and not isinstance(params["username"], str):