Files.com 1.6.337__tar.gz → 1.6.338__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 (260) hide show
  1. {files_com-1.6.337/files_com.egg-info → files_com-1.6.338}/PKG-INFO +1 -1
  2. files_com-1.6.338/_VERSION +1 -0
  3. {files_com-1.6.337 → files_com-1.6.338/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/__init__.py +1 -1
  5. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync.py +218 -136
  6. {files_com-1.6.337 → files_com-1.6.338}/pyproject.toml +1 -1
  7. files_com-1.6.337/_VERSION +0 -1
  8. {files_com-1.6.337 → files_com-1.6.338}/LICENSE +0 -0
  9. {files_com-1.6.337 → files_com-1.6.338}/README.md +0 -0
  10. {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/SOURCES.txt +0 -0
  11. {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/dependency_links.txt +0 -0
  12. {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/requires.txt +0 -0
  13. {files_com-1.6.337 → files_com-1.6.338}/files_com.egg-info/top_level.txt +0 -0
  14. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/api.py +0 -0
  15. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/api_client.py +0 -0
  16. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/error.py +0 -0
  17. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/list_obj.py +0 -0
  18. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/__init__.py +0 -0
  19. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/account_line_item.py +0 -0
  20. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action.py +0 -0
  21. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_log.py +0 -0
  22. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_notification_export.py +0 -0
  23. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/action_notification_export_result.py +0 -0
  24. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/agent_push_update.py +0 -0
  25. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/api_key.py +0 -0
  26. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/api_request_log.py +0 -0
  27. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/app.py +0 -0
  28. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_incoming_message.py +0 -0
  29. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_outgoing_message.py +0 -0
  30. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_partner.py +0 -0
  31. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/as2_station.py +0 -0
  32. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/auto.py +0 -0
  33. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation.py +0 -0
  34. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation_log.py +0 -0
  35. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/automation_run.py +0 -0
  36. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bandwidth_snapshot.py +0 -0
  37. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/behavior.py +0 -0
  38. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle.py +0 -0
  39. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_action.py +0 -0
  40. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_download.py +0 -0
  41. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_notification.py +0 -0
  42. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_path.py +0 -0
  43. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_recipient.py +0 -0
  44. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/bundle_registration.py +0 -0
  45. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/child_site_management_policy.py +0 -0
  46. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/clickwrap.py +0 -0
  47. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/desktop_configuration_profile.py +0 -0
  48. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/dns_record.py +0 -0
  49. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/email_incoming_message.py +0 -0
  50. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/email_log.py +0 -0
  51. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/errors.py +0 -0
  52. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/exavault_api_request_log.py +0 -0
  53. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation.py +0 -0
  54. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation_evaluation.py +0 -0
  55. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/expectation_incident.py +0 -0
  56. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/external_event.py +0 -0
  57. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file.py +0 -0
  58. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_action.py +0 -0
  59. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_comment.py +0 -0
  60. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_comment_reaction.py +0 -0
  61. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_migration.py +0 -0
  62. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_migration_log.py +0 -0
  63. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/file_upload_part.py +0 -0
  64. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/folder.py +0 -0
  65. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/form_field.py +0 -0
  66. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/form_field_set.py +0 -0
  67. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/ftp_action_log.py +0 -0
  68. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/gpg_key.py +0 -0
  69. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/group.py +0 -0
  70. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/group_user.py +0 -0
  71. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history.py +0 -0
  72. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history_export.py +0 -0
  73. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/history_export_result.py +0 -0
  74. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/holiday_region.py +0 -0
  75. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/image.py +0 -0
  76. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbound_s3_log.py +0 -0
  77. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_recipient.py +0 -0
  78. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_registration.py +0 -0
  79. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/inbox_upload.py +0 -0
  80. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/invoice.py +0 -0
  81. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/invoice_line_item.py +0 -0
  82. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/ip_address.py +0 -0
  83. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/key_lifecycle_rule.py +0 -0
  84. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/lock.py +0 -0
  85. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message.py +0 -0
  86. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_comment.py +0 -0
  87. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_comment_reaction.py +0 -0
  88. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/message_reaction.py +0 -0
  89. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/notification.py +0 -0
  90. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/outbound_connection_log.py +0 -0
  91. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner.py +0 -0
  92. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner_site.py +0 -0
  93. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/partner_site_request.py +0 -0
  94. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/payment.py +0 -0
  95. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/payment_line_item.py +0 -0
  96. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/permission.py +0 -0
  97. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/preview.py +0 -0
  98. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/project.py +0 -0
  99. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_hosting_request_log.py +0 -0
  100. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_ip_address.py +0 -0
  101. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/public_key.py +0 -0
  102. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  103. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_mount_backend.py +0 -0
  104. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server.py +0 -0
  105. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server_configuration_file.py +0 -0
  106. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/remote_server_credential.py +0 -0
  107. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/request.py +0 -0
  108. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/restore.py +0 -0
  109. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/scim_log.py +0 -0
  110. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/session.py +0 -0
  111. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/settings_change.py +0 -0
  112. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sftp_action_log.py +0 -0
  113. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sftp_host_key.py +0 -0
  114. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/share_group.py +0 -0
  115. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/share_group_member.py +0 -0
  116. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/siem_http_destination.py +0 -0
  117. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/site.py +0 -0
  118. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/snapshot.py +0 -0
  119. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sso_strategy.py +0 -0
  120. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/status.py +0 -0
  121. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/style.py +0 -0
  122. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync_log.py +0 -0
  123. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/sync_run.py +0 -0
  124. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  125. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_daily_snapshot.py +0 -0
  126. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/usage_snapshot.py +0 -0
  127. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user.py +0 -0
  128. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_cipher_use.py +0 -0
  129. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_lifecycle_rule.py +0 -0
  130. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_request.py +0 -0
  131. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/user_sftp_client_use.py +0 -0
  132. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/web_dav_action_log.py +0 -0
  133. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/webhook_test.py +0 -0
  134. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/workspace.py +0 -0
  135. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/models/zip_list_entry.py +0 -0
  136. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/path_util.py +0 -0
  137. {files_com-1.6.337 → files_com-1.6.338}/files_sdk/util.py +0 -0
  138. {files_com-1.6.337 → files_com-1.6.338}/setup.cfg +0 -0
  139. {files_com-1.6.337 → files_com-1.6.338}/tests/test_account_line_item.py +0 -0
  140. {files_com-1.6.337 → files_com-1.6.338}/tests/test_action.py +0 -0
  141. {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_log.py +0 -0
  142. {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_notification_export.py +0 -0
  143. {files_com-1.6.337 → files_com-1.6.338}/tests/test_action_notification_export_result.py +0 -0
  144. {files_com-1.6.337 → files_com-1.6.338}/tests/test_agent_push_update.py +0 -0
  145. {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_errors.py +0 -0
  146. {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_key.py +0 -0
  147. {files_com-1.6.337 → files_com-1.6.338}/tests/test_api_request_log.py +0 -0
  148. {files_com-1.6.337 → files_com-1.6.338}/tests/test_app.py +0 -0
  149. {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_incoming_message.py +0 -0
  150. {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_outgoing_message.py +0 -0
  151. {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_partner.py +0 -0
  152. {files_com-1.6.337 → files_com-1.6.338}/tests/test_as2_station.py +0 -0
  153. {files_com-1.6.337 → files_com-1.6.338}/tests/test_auto.py +0 -0
  154. {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation.py +0 -0
  155. {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation_log.py +0 -0
  156. {files_com-1.6.337 → files_com-1.6.338}/tests/test_automation_run.py +0 -0
  157. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bandwidth_snapshot.py +0 -0
  158. {files_com-1.6.337 → files_com-1.6.338}/tests/test_behavior.py +0 -0
  159. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle.py +0 -0
  160. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_action.py +0 -0
  161. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_download.py +0 -0
  162. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_notification.py +0 -0
  163. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_path.py +0 -0
  164. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_recipient.py +0 -0
  165. {files_com-1.6.337 → files_com-1.6.338}/tests/test_bundle_registration.py +0 -0
  166. {files_com-1.6.337 → files_com-1.6.338}/tests/test_child_site_management_policy.py +0 -0
  167. {files_com-1.6.337 → files_com-1.6.338}/tests/test_clickwrap.py +0 -0
  168. {files_com-1.6.337 → files_com-1.6.338}/tests/test_connection_adapter.py +0 -0
  169. {files_com-1.6.337 → files_com-1.6.338}/tests/test_decimal_contract.py +0 -0
  170. {files_com-1.6.337 → files_com-1.6.338}/tests/test_desktop_configuration_profile.py +0 -0
  171. {files_com-1.6.337 → files_com-1.6.338}/tests/test_dns_record.py +0 -0
  172. {files_com-1.6.337 → files_com-1.6.338}/tests/test_email_incoming_message.py +0 -0
  173. {files_com-1.6.337 → files_com-1.6.338}/tests/test_email_log.py +0 -0
  174. {files_com-1.6.337 → files_com-1.6.338}/tests/test_errors.py +0 -0
  175. {files_com-1.6.337 → files_com-1.6.338}/tests/test_exavault_api_request_log.py +0 -0
  176. {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation.py +0 -0
  177. {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation_evaluation.py +0 -0
  178. {files_com-1.6.337 → files_com-1.6.338}/tests/test_expectation_incident.py +0 -0
  179. {files_com-1.6.337 → files_com-1.6.338}/tests/test_external_event.py +0 -0
  180. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file.py +0 -0
  181. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_action.py +0 -0
  182. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_comment.py +0 -0
  183. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_comment_reaction.py +0 -0
  184. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_migration.py +0 -0
  185. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_migration_log.py +0 -0
  186. {files_com-1.6.337 → files_com-1.6.338}/tests/test_file_upload_part.py +0 -0
  187. {files_com-1.6.337 → files_com-1.6.338}/tests/test_folder.py +0 -0
  188. {files_com-1.6.337 → files_com-1.6.338}/tests/test_form_field.py +0 -0
  189. {files_com-1.6.337 → files_com-1.6.338}/tests/test_form_field_set.py +0 -0
  190. {files_com-1.6.337 → files_com-1.6.338}/tests/test_ftp_action_log.py +0 -0
  191. {files_com-1.6.337 → files_com-1.6.338}/tests/test_gpg_key.py +0 -0
  192. {files_com-1.6.337 → files_com-1.6.338}/tests/test_group.py +0 -0
  193. {files_com-1.6.337 → files_com-1.6.338}/tests/test_group_user.py +0 -0
  194. {files_com-1.6.337 → files_com-1.6.338}/tests/test_history.py +0 -0
  195. {files_com-1.6.337 → files_com-1.6.338}/tests/test_history_export.py +0 -0
  196. {files_com-1.6.337 → files_com-1.6.338}/tests/test_history_export_result.py +0 -0
  197. {files_com-1.6.337 → files_com-1.6.338}/tests/test_holiday_region.py +0 -0
  198. {files_com-1.6.337 → files_com-1.6.338}/tests/test_image.py +0 -0
  199. {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbound_s3_log.py +0 -0
  200. {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_recipient.py +0 -0
  201. {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_registration.py +0 -0
  202. {files_com-1.6.337 → files_com-1.6.338}/tests/test_inbox_upload.py +0 -0
  203. {files_com-1.6.337 → files_com-1.6.338}/tests/test_invoice.py +0 -0
  204. {files_com-1.6.337 → files_com-1.6.338}/tests/test_invoice_line_item.py +0 -0
  205. {files_com-1.6.337 → files_com-1.6.338}/tests/test_ip_address.py +0 -0
  206. {files_com-1.6.337 → files_com-1.6.338}/tests/test_key_lifecycle_rule.py +0 -0
  207. {files_com-1.6.337 → files_com-1.6.338}/tests/test_lock.py +0 -0
  208. {files_com-1.6.337 → files_com-1.6.338}/tests/test_message.py +0 -0
  209. {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_comment.py +0 -0
  210. {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_comment_reaction.py +0 -0
  211. {files_com-1.6.337 → files_com-1.6.338}/tests/test_message_reaction.py +0 -0
  212. {files_com-1.6.337 → files_com-1.6.338}/tests/test_notification.py +0 -0
  213. {files_com-1.6.337 → files_com-1.6.338}/tests/test_outbound_connection_log.py +0 -0
  214. {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner.py +0 -0
  215. {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner_site.py +0 -0
  216. {files_com-1.6.337 → files_com-1.6.338}/tests/test_partner_site_request.py +0 -0
  217. {files_com-1.6.337 → files_com-1.6.338}/tests/test_path_util.py +0 -0
  218. {files_com-1.6.337 → files_com-1.6.338}/tests/test_payment.py +0 -0
  219. {files_com-1.6.337 → files_com-1.6.338}/tests/test_payment_line_item.py +0 -0
  220. {files_com-1.6.337 → files_com-1.6.338}/tests/test_permission.py +0 -0
  221. {files_com-1.6.337 → files_com-1.6.338}/tests/test_preview.py +0 -0
  222. {files_com-1.6.337 → files_com-1.6.338}/tests/test_project.py +0 -0
  223. {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_hosting_request_log.py +0 -0
  224. {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_ip_address.py +0 -0
  225. {files_com-1.6.337 → files_com-1.6.338}/tests/test_public_key.py +0 -0
  226. {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_bandwidth_snapshot.py +0 -0
  227. {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_mount_backend.py +0 -0
  228. {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server.py +0 -0
  229. {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server_configuration_file.py +0 -0
  230. {files_com-1.6.337 → files_com-1.6.338}/tests/test_remote_server_credential.py +0 -0
  231. {files_com-1.6.337 → files_com-1.6.338}/tests/test_request.py +0 -0
  232. {files_com-1.6.337 → files_com-1.6.338}/tests/test_restore.py +0 -0
  233. {files_com-1.6.337 → files_com-1.6.338}/tests/test_scim_log.py +0 -0
  234. {files_com-1.6.337 → files_com-1.6.338}/tests/test_session.py +0 -0
  235. {files_com-1.6.337 → files_com-1.6.338}/tests/test_settings_change.py +0 -0
  236. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sftp_action_log.py +0 -0
  237. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sftp_host_key.py +0 -0
  238. {files_com-1.6.337 → files_com-1.6.338}/tests/test_share_group.py +0 -0
  239. {files_com-1.6.337 → files_com-1.6.338}/tests/test_share_group_member.py +0 -0
  240. {files_com-1.6.337 → files_com-1.6.338}/tests/test_siem_http_destination.py +0 -0
  241. {files_com-1.6.337 → files_com-1.6.338}/tests/test_site.py +0 -0
  242. {files_com-1.6.337 → files_com-1.6.338}/tests/test_snapshot.py +0 -0
  243. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sso_strategy.py +0 -0
  244. {files_com-1.6.337 → files_com-1.6.338}/tests/test_status.py +0 -0
  245. {files_com-1.6.337 → files_com-1.6.338}/tests/test_style.py +0 -0
  246. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync.py +0 -0
  247. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync_log.py +0 -0
  248. {files_com-1.6.337 → files_com-1.6.338}/tests/test_sync_run.py +0 -0
  249. {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_by_top_level_dir.py +0 -0
  250. {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_daily_snapshot.py +0 -0
  251. {files_com-1.6.337 → files_com-1.6.338}/tests/test_usage_snapshot.py +0 -0
  252. {files_com-1.6.337 → files_com-1.6.338}/tests/test_user.py +0 -0
  253. {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_cipher_use.py +0 -0
  254. {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_lifecycle_rule.py +0 -0
  255. {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_request.py +0 -0
  256. {files_com-1.6.337 → files_com-1.6.338}/tests/test_user_sftp_client_use.py +0 -0
  257. {files_com-1.6.337 → files_com-1.6.338}/tests/test_web_dav_action_log.py +0 -0
  258. {files_com-1.6.337 → files_com-1.6.338}/tests/test_webhook_test.py +0 -0
  259. {files_com-1.6.337 → files_com-1.6.338}/tests/test_workspace.py +0 -0
  260. {files_com-1.6.337 → files_com-1.6.338}/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.337
3
+ Version: 1.6.338
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.338
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.337
3
+ Version: 1.6.338
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -257,7 +257,7 @@ session_id = None
257
257
  source_ip = None
258
258
  base_url = "https://app.files.com"
259
259
  base_path = "api/rest/v1"
260
- version = "1.6.337"
260
+ version = "1.6.338"
261
261
 
262
262
  __version__ = version
263
263
 
@@ -20,6 +20,8 @@ class Sync:
20
20
  "dest_path": None, # string - Absolute destination path for the sync
21
21
  "src_remote_server_id": None, # int64 - Remote server ID for the source (if remote)
22
22
  "dest_remote_server_id": None, # int64 - Remote server ID for the destination (if remote)
23
+ "src_site_id": None, # int64 - Source site ID if syncing from a child or partner site
24
+ "dest_site_id": None, # int64 - Destination site ID if syncing to a child or partner site
23
25
  "two_way": None, # boolean - Is this a two-way sync?
24
26
  "keep_after_copy": None, # boolean - Keep files after copying?
25
27
  "delete_empty_folders": None, # boolean - Delete empty folders after sync?
@@ -102,24 +104,28 @@ class Sync:
102
104
  )
103
105
 
104
106
  # Parameters:
105
- # name - string - Name for this sync job
106
- # description - string - Description for this sync job
107
- # src_path - string - Absolute source path
108
- # dest_path - string - Absolute destination path
109
- # src_remote_server_id - int64 - Remote server ID for the source
110
- # dest_remote_server_id - int64 - Remote server ID for the destination
111
- # keep_after_copy - boolean - Keep files after copying?
112
107
  # delete_empty_folders - boolean - Delete empty folders after sync?
108
+ # description - string - Description for this sync job
109
+ # dest_path - string - Absolute destination path for the sync
110
+ # dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
111
+ # dest_site_id - int64 - Destination site ID if syncing to a child or partner site
113
112
  # disabled - boolean - Is this sync disabled?
114
- # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
115
- # trigger - string - Trigger type: daily, custom_schedule, or manual
116
- # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
113
+ # exclude_patterns - array(string) - Array of glob patterns to exclude
117
114
  # holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
118
- # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
115
+ # include_patterns - array(string) - Array of glob patterns to include
116
+ # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
117
+ # keep_after_copy - boolean - Keep files after copying?
118
+ # name - string - Name for this sync job
119
119
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
120
- # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
121
120
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
121
+ # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
122
122
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
123
+ # src_path - string - Absolute source path for the sync
124
+ # src_remote_server_id - int64 - Remote server ID for the source (if remote)
125
+ # src_site_id - int64 - Source site ID if syncing from a child or partner site
126
+ # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
127
+ # trigger - string - Trigger type: daily, custom_schedule, or manual
128
+ # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
123
129
  def update(self, params=None):
124
130
  if not isinstance(params, dict):
125
131
  params = {}
@@ -132,47 +138,33 @@ class Sync:
132
138
  raise MissingParameterError("Parameter missing: id")
133
139
  if "id" in params and not isinstance(params["id"], int):
134
140
  raise InvalidParameterError("Bad parameter: id must be an int")
135
- if "name" in params and not isinstance(params["name"], str):
136
- raise InvalidParameterError("Bad parameter: name must be an str")
137
141
  if "description" in params and not isinstance(
138
142
  params["description"], str
139
143
  ):
140
144
  raise InvalidParameterError(
141
145
  "Bad parameter: description must be an str"
142
146
  )
143
- if "src_path" in params and not isinstance(params["src_path"], str):
144
- raise InvalidParameterError(
145
- "Bad parameter: src_path must be an str"
146
- )
147
147
  if "dest_path" in params and not isinstance(params["dest_path"], str):
148
148
  raise InvalidParameterError(
149
149
  "Bad parameter: dest_path must be an str"
150
150
  )
151
- if "src_remote_server_id" in params and not isinstance(
152
- params["src_remote_server_id"], int
153
- ):
154
- raise InvalidParameterError(
155
- "Bad parameter: src_remote_server_id must be an int"
156
- )
157
151
  if "dest_remote_server_id" in params and not isinstance(
158
152
  params["dest_remote_server_id"], int
159
153
  ):
160
154
  raise InvalidParameterError(
161
155
  "Bad parameter: dest_remote_server_id must be an int"
162
156
  )
163
- if "interval" in params and not isinstance(params["interval"], str):
164
- raise InvalidParameterError(
165
- "Bad parameter: interval must be an str"
166
- )
167
- if "trigger" in params and not isinstance(params["trigger"], str):
157
+ if "dest_site_id" in params and not isinstance(
158
+ params["dest_site_id"], int
159
+ ):
168
160
  raise InvalidParameterError(
169
- "Bad parameter: trigger must be an str"
161
+ "Bad parameter: dest_site_id must be an int"
170
162
  )
171
- if "trigger_file" in params and not isinstance(
172
- params["trigger_file"], str
163
+ if "exclude_patterns" in params and not isinstance(
164
+ params["exclude_patterns"], builtins.list
173
165
  ):
174
166
  raise InvalidParameterError(
175
- "Bad parameter: trigger_file must be an str"
167
+ "Bad parameter: exclude_patterns must be an list"
176
168
  )
177
169
  if "holiday_region" in params and not isinstance(
178
170
  params["holiday_region"], str
@@ -180,36 +172,74 @@ class Sync:
180
172
  raise InvalidParameterError(
181
173
  "Bad parameter: holiday_region must be an str"
182
174
  )
183
- if "sync_interval_minutes" in params and not isinstance(
184
- params["sync_interval_minutes"], int
175
+ if "include_patterns" in params and not isinstance(
176
+ params["include_patterns"], builtins.list
185
177
  ):
186
178
  raise InvalidParameterError(
187
- "Bad parameter: sync_interval_minutes must be an int"
179
+ "Bad parameter: include_patterns must be an list"
180
+ )
181
+ if "interval" in params and not isinstance(params["interval"], str):
182
+ raise InvalidParameterError(
183
+ "Bad parameter: interval must be an str"
188
184
  )
185
+ if "name" in params and not isinstance(params["name"], str):
186
+ raise InvalidParameterError("Bad parameter: name must be an str")
189
187
  if "recurring_day" in params and not isinstance(
190
188
  params["recurring_day"], int
191
189
  ):
192
190
  raise InvalidParameterError(
193
191
  "Bad parameter: recurring_day must be an int"
194
192
  )
195
- if "schedule_time_zone" in params and not isinstance(
196
- params["schedule_time_zone"], str
197
- ):
198
- raise InvalidParameterError(
199
- "Bad parameter: schedule_time_zone must be an str"
200
- )
201
193
  if "schedule_days_of_week" in params and not isinstance(
202
194
  params["schedule_days_of_week"], builtins.list
203
195
  ):
204
196
  raise InvalidParameterError(
205
197
  "Bad parameter: schedule_days_of_week must be an list"
206
198
  )
199
+ if "schedule_time_zone" in params and not isinstance(
200
+ params["schedule_time_zone"], str
201
+ ):
202
+ raise InvalidParameterError(
203
+ "Bad parameter: schedule_time_zone must be an str"
204
+ )
207
205
  if "schedule_times_of_day" in params and not isinstance(
208
206
  params["schedule_times_of_day"], builtins.list
209
207
  ):
210
208
  raise InvalidParameterError(
211
209
  "Bad parameter: schedule_times_of_day must be an list"
212
210
  )
211
+ if "src_path" in params and not isinstance(params["src_path"], str):
212
+ raise InvalidParameterError(
213
+ "Bad parameter: src_path must be an str"
214
+ )
215
+ if "src_remote_server_id" in params and not isinstance(
216
+ params["src_remote_server_id"], int
217
+ ):
218
+ raise InvalidParameterError(
219
+ "Bad parameter: src_remote_server_id must be an int"
220
+ )
221
+ if "src_site_id" in params and not isinstance(
222
+ params["src_site_id"], int
223
+ ):
224
+ raise InvalidParameterError(
225
+ "Bad parameter: src_site_id must be an int"
226
+ )
227
+ if "sync_interval_minutes" in params and not isinstance(
228
+ params["sync_interval_minutes"], int
229
+ ):
230
+ raise InvalidParameterError(
231
+ "Bad parameter: sync_interval_minutes must be an int"
232
+ )
233
+ if "trigger" in params and not isinstance(params["trigger"], str):
234
+ raise InvalidParameterError(
235
+ "Bad parameter: trigger must be an str"
236
+ )
237
+ if "trigger_file" in params and not isinstance(
238
+ params["trigger_file"], str
239
+ ):
240
+ raise InvalidParameterError(
241
+ "Bad parameter: trigger_file must be an str"
242
+ )
213
243
  response, _options = Api.send_request(
214
244
  "PATCH",
215
245
  "/syncs/{id}".format(id=params["id"]),
@@ -299,75 +329,65 @@ def get(id, params=None, options=None):
299
329
 
300
330
 
301
331
  # Parameters:
302
- # name - string - Name for this sync job
303
- # description - string - Description for this sync job
304
- # src_path - string - Absolute source path
305
- # dest_path - string - Absolute destination path
306
- # src_remote_server_id - int64 - Remote server ID for the source
307
- # dest_remote_server_id - int64 - Remote server ID for the destination
308
- # keep_after_copy - boolean - Keep files after copying?
309
332
  # delete_empty_folders - boolean - Delete empty folders after sync?
333
+ # description - string - Description for this sync job
334
+ # dest_path - string - Absolute destination path for the sync
335
+ # dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
336
+ # dest_site_id - int64 - Destination site ID if syncing to a child or partner site
310
337
  # disabled - boolean - Is this sync disabled?
311
- # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
312
- # trigger - string - Trigger type: daily, custom_schedule, or manual
313
- # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
338
+ # exclude_patterns - array(string) - Array of glob patterns to exclude
314
339
  # holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
315
- # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
340
+ # include_patterns - array(string) - Array of glob patterns to include
341
+ # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
342
+ # keep_after_copy - boolean - Keep files after copying?
343
+ # name - string - Name for this sync job
316
344
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
317
- # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
318
345
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
346
+ # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
319
347
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
348
+ # src_path - string - Absolute source path for the sync
349
+ # src_remote_server_id - int64 - Remote server ID for the source (if remote)
350
+ # src_site_id - int64 - Source site ID if syncing from a child or partner site
351
+ # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
352
+ # trigger - string - Trigger type: daily, custom_schedule, or manual
353
+ # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
320
354
  # workspace_id - int64 - Workspace ID this sync belongs to
321
355
  def create(params=None, options=None):
322
356
  if not isinstance(params, dict):
323
357
  params = {}
324
358
  if not isinstance(options, dict):
325
359
  options = {}
326
- if "name" in params and not isinstance(params["name"], str):
327
- raise InvalidParameterError("Bad parameter: name must be an str")
360
+ if "delete_empty_folders" in params and not isinstance(
361
+ params["delete_empty_folders"], bool
362
+ ):
363
+ raise InvalidParameterError(
364
+ "Bad parameter: delete_empty_folders must be an bool"
365
+ )
328
366
  if "description" in params and not isinstance(params["description"], str):
329
367
  raise InvalidParameterError(
330
368
  "Bad parameter: description must be an str"
331
369
  )
332
- if "src_path" in params and not isinstance(params["src_path"], str):
333
- raise InvalidParameterError("Bad parameter: src_path must be an str")
334
370
  if "dest_path" in params and not isinstance(params["dest_path"], str):
335
371
  raise InvalidParameterError("Bad parameter: dest_path must be an str")
336
- if "src_remote_server_id" in params and not isinstance(
337
- params["src_remote_server_id"], int
338
- ):
339
- raise InvalidParameterError(
340
- "Bad parameter: src_remote_server_id must be an int"
341
- )
342
372
  if "dest_remote_server_id" in params and not isinstance(
343
373
  params["dest_remote_server_id"], int
344
374
  ):
345
375
  raise InvalidParameterError(
346
376
  "Bad parameter: dest_remote_server_id must be an int"
347
377
  )
348
- if "keep_after_copy" in params and not isinstance(
349
- params["keep_after_copy"], bool
378
+ if "dest_site_id" in params and not isinstance(
379
+ params["dest_site_id"], int
350
380
  ):
351
381
  raise InvalidParameterError(
352
- "Bad parameter: keep_after_copy must be an bool"
353
- )
354
- if "delete_empty_folders" in params and not isinstance(
355
- params["delete_empty_folders"], bool
356
- ):
357
- raise InvalidParameterError(
358
- "Bad parameter: delete_empty_folders must be an bool"
382
+ "Bad parameter: dest_site_id must be an int"
359
383
  )
360
384
  if "disabled" in params and not isinstance(params["disabled"], bool):
361
385
  raise InvalidParameterError("Bad parameter: disabled must be an bool")
362
- if "interval" in params and not isinstance(params["interval"], str):
363
- raise InvalidParameterError("Bad parameter: interval must be an str")
364
- if "trigger" in params and not isinstance(params["trigger"], str):
365
- raise InvalidParameterError("Bad parameter: trigger must be an str")
366
- if "trigger_file" in params and not isinstance(
367
- params["trigger_file"], str
386
+ if "exclude_patterns" in params and not isinstance(
387
+ params["exclude_patterns"], builtins.list
368
388
  ):
369
389
  raise InvalidParameterError(
370
- "Bad parameter: trigger_file must be an str"
390
+ "Bad parameter: exclude_patterns must be an list"
371
391
  )
372
392
  if "holiday_region" in params and not isinstance(
373
393
  params["holiday_region"], str
@@ -375,23 +395,27 @@ def create(params=None, options=None):
375
395
  raise InvalidParameterError(
376
396
  "Bad parameter: holiday_region must be an str"
377
397
  )
378
- if "sync_interval_minutes" in params and not isinstance(
379
- params["sync_interval_minutes"], int
398
+ if "include_patterns" in params and not isinstance(
399
+ params["include_patterns"], builtins.list
380
400
  ):
381
401
  raise InvalidParameterError(
382
- "Bad parameter: sync_interval_minutes must be an int"
402
+ "Bad parameter: include_patterns must be an list"
383
403
  )
384
- if "recurring_day" in params and not isinstance(
385
- params["recurring_day"], int
404
+ if "interval" in params and not isinstance(params["interval"], str):
405
+ raise InvalidParameterError("Bad parameter: interval must be an str")
406
+ if "keep_after_copy" in params and not isinstance(
407
+ params["keep_after_copy"], bool
386
408
  ):
387
409
  raise InvalidParameterError(
388
- "Bad parameter: recurring_day must be an int"
410
+ "Bad parameter: keep_after_copy must be an bool"
389
411
  )
390
- if "schedule_time_zone" in params and not isinstance(
391
- params["schedule_time_zone"], str
412
+ if "name" in params and not isinstance(params["name"], str):
413
+ raise InvalidParameterError("Bad parameter: name must be an str")
414
+ if "recurring_day" in params and not isinstance(
415
+ params["recurring_day"], int
392
416
  ):
393
417
  raise InvalidParameterError(
394
- "Bad parameter: schedule_time_zone must be an str"
418
+ "Bad parameter: recurring_day must be an int"
395
419
  )
396
420
  if "schedule_days_of_week" in params and not isinstance(
397
421
  params["schedule_days_of_week"], builtins.list
@@ -399,12 +423,44 @@ def create(params=None, options=None):
399
423
  raise InvalidParameterError(
400
424
  "Bad parameter: schedule_days_of_week must be an list"
401
425
  )
426
+ if "schedule_time_zone" in params and not isinstance(
427
+ params["schedule_time_zone"], str
428
+ ):
429
+ raise InvalidParameterError(
430
+ "Bad parameter: schedule_time_zone must be an str"
431
+ )
402
432
  if "schedule_times_of_day" in params and not isinstance(
403
433
  params["schedule_times_of_day"], builtins.list
404
434
  ):
405
435
  raise InvalidParameterError(
406
436
  "Bad parameter: schedule_times_of_day must be an list"
407
437
  )
438
+ if "src_path" in params and not isinstance(params["src_path"], str):
439
+ raise InvalidParameterError("Bad parameter: src_path must be an str")
440
+ if "src_remote_server_id" in params and not isinstance(
441
+ params["src_remote_server_id"], int
442
+ ):
443
+ raise InvalidParameterError(
444
+ "Bad parameter: src_remote_server_id must be an int"
445
+ )
446
+ if "src_site_id" in params and not isinstance(params["src_site_id"], int):
447
+ raise InvalidParameterError(
448
+ "Bad parameter: src_site_id must be an int"
449
+ )
450
+ if "sync_interval_minutes" in params and not isinstance(
451
+ params["sync_interval_minutes"], int
452
+ ):
453
+ raise InvalidParameterError(
454
+ "Bad parameter: sync_interval_minutes must be an int"
455
+ )
456
+ if "trigger" in params and not isinstance(params["trigger"], str):
457
+ raise InvalidParameterError("Bad parameter: trigger must be an str")
458
+ if "trigger_file" in params and not isinstance(
459
+ params["trigger_file"], str
460
+ ):
461
+ raise InvalidParameterError(
462
+ "Bad parameter: trigger_file must be an str"
463
+ )
408
464
  if "workspace_id" in params and not isinstance(
409
465
  params["workspace_id"], int
410
466
  ):
@@ -451,24 +507,28 @@ def manual_run(id, params=None, options=None):
451
507
 
452
508
 
453
509
  # Parameters:
454
- # name - string - Name for this sync job
455
- # description - string - Description for this sync job
456
- # src_path - string - Absolute source path
457
- # dest_path - string - Absolute destination path
458
- # src_remote_server_id - int64 - Remote server ID for the source
459
- # dest_remote_server_id - int64 - Remote server ID for the destination
460
- # keep_after_copy - boolean - Keep files after copying?
461
510
  # delete_empty_folders - boolean - Delete empty folders after sync?
511
+ # description - string - Description for this sync job
512
+ # dest_path - string - Absolute destination path for the sync
513
+ # dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
514
+ # dest_site_id - int64 - Destination site ID if syncing to a child or partner site
462
515
  # disabled - boolean - Is this sync disabled?
463
- # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
464
- # trigger - string - Trigger type: daily, custom_schedule, or manual
465
- # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
516
+ # exclude_patterns - array(string) - Array of glob patterns to exclude
466
517
  # holiday_region - string - If trigger is `custom_schedule`, the sync will check if there is a formal, observed holiday for the region, and if so, it will not run.
467
- # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
518
+ # include_patterns - array(string) - Array of glob patterns to include
519
+ # interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
520
+ # keep_after_copy - boolean - Keep files after copying?
521
+ # name - string - Name for this sync job
468
522
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
469
- # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
470
523
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
524
+ # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
471
525
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
526
+ # src_path - string - Absolute source path for the sync
527
+ # src_remote_server_id - int64 - Remote server ID for the source (if remote)
528
+ # src_site_id - int64 - Source site ID if syncing from a child or partner site
529
+ # sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
530
+ # trigger - string - Trigger type: daily, custom_schedule, or manual
531
+ # trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
472
532
  def update(id, params=None, options=None):
473
533
  if not isinstance(params, dict):
474
534
  params = {}
@@ -477,51 +537,37 @@ def update(id, params=None, options=None):
477
537
  params["id"] = id
478
538
  if "id" in params and not isinstance(params["id"], int):
479
539
  raise InvalidParameterError("Bad parameter: id must be an int")
480
- if "name" in params and not isinstance(params["name"], str):
481
- raise InvalidParameterError("Bad parameter: name must be an str")
540
+ if "delete_empty_folders" in params and not isinstance(
541
+ params["delete_empty_folders"], bool
542
+ ):
543
+ raise InvalidParameterError(
544
+ "Bad parameter: delete_empty_folders must be an bool"
545
+ )
482
546
  if "description" in params and not isinstance(params["description"], str):
483
547
  raise InvalidParameterError(
484
548
  "Bad parameter: description must be an str"
485
549
  )
486
- if "src_path" in params and not isinstance(params["src_path"], str):
487
- raise InvalidParameterError("Bad parameter: src_path must be an str")
488
550
  if "dest_path" in params and not isinstance(params["dest_path"], str):
489
551
  raise InvalidParameterError("Bad parameter: dest_path must be an str")
490
- if "src_remote_server_id" in params and not isinstance(
491
- params["src_remote_server_id"], int
492
- ):
493
- raise InvalidParameterError(
494
- "Bad parameter: src_remote_server_id must be an int"
495
- )
496
552
  if "dest_remote_server_id" in params and not isinstance(
497
553
  params["dest_remote_server_id"], int
498
554
  ):
499
555
  raise InvalidParameterError(
500
556
  "Bad parameter: dest_remote_server_id must be an int"
501
557
  )
502
- if "keep_after_copy" in params and not isinstance(
503
- params["keep_after_copy"], bool
504
- ):
505
- raise InvalidParameterError(
506
- "Bad parameter: keep_after_copy must be an bool"
507
- )
508
- if "delete_empty_folders" in params and not isinstance(
509
- params["delete_empty_folders"], bool
558
+ if "dest_site_id" in params and not isinstance(
559
+ params["dest_site_id"], int
510
560
  ):
511
561
  raise InvalidParameterError(
512
- "Bad parameter: delete_empty_folders must be an bool"
562
+ "Bad parameter: dest_site_id must be an int"
513
563
  )
514
564
  if "disabled" in params and not isinstance(params["disabled"], bool):
515
565
  raise InvalidParameterError("Bad parameter: disabled must be an bool")
516
- if "interval" in params and not isinstance(params["interval"], str):
517
- raise InvalidParameterError("Bad parameter: interval must be an str")
518
- if "trigger" in params and not isinstance(params["trigger"], str):
519
- raise InvalidParameterError("Bad parameter: trigger must be an str")
520
- if "trigger_file" in params and not isinstance(
521
- params["trigger_file"], str
566
+ if "exclude_patterns" in params and not isinstance(
567
+ params["exclude_patterns"], builtins.list
522
568
  ):
523
569
  raise InvalidParameterError(
524
- "Bad parameter: trigger_file must be an str"
570
+ "Bad parameter: exclude_patterns must be an list"
525
571
  )
526
572
  if "holiday_region" in params and not isinstance(
527
573
  params["holiday_region"], str
@@ -529,23 +575,27 @@ def update(id, params=None, options=None):
529
575
  raise InvalidParameterError(
530
576
  "Bad parameter: holiday_region must be an str"
531
577
  )
532
- if "sync_interval_minutes" in params and not isinstance(
533
- params["sync_interval_minutes"], int
578
+ if "include_patterns" in params and not isinstance(
579
+ params["include_patterns"], builtins.list
534
580
  ):
535
581
  raise InvalidParameterError(
536
- "Bad parameter: sync_interval_minutes must be an int"
582
+ "Bad parameter: include_patterns must be an list"
537
583
  )
538
- if "recurring_day" in params and not isinstance(
539
- params["recurring_day"], int
584
+ if "interval" in params and not isinstance(params["interval"], str):
585
+ raise InvalidParameterError("Bad parameter: interval must be an str")
586
+ if "keep_after_copy" in params and not isinstance(
587
+ params["keep_after_copy"], bool
540
588
  ):
541
589
  raise InvalidParameterError(
542
- "Bad parameter: recurring_day must be an int"
590
+ "Bad parameter: keep_after_copy must be an bool"
543
591
  )
544
- if "schedule_time_zone" in params and not isinstance(
545
- params["schedule_time_zone"], str
592
+ if "name" in params and not isinstance(params["name"], str):
593
+ raise InvalidParameterError("Bad parameter: name must be an str")
594
+ if "recurring_day" in params and not isinstance(
595
+ params["recurring_day"], int
546
596
  ):
547
597
  raise InvalidParameterError(
548
- "Bad parameter: schedule_time_zone must be an str"
598
+ "Bad parameter: recurring_day must be an int"
549
599
  )
550
600
  if "schedule_days_of_week" in params and not isinstance(
551
601
  params["schedule_days_of_week"], builtins.list
@@ -553,12 +603,44 @@ def update(id, params=None, options=None):
553
603
  raise InvalidParameterError(
554
604
  "Bad parameter: schedule_days_of_week must be an list"
555
605
  )
606
+ if "schedule_time_zone" in params and not isinstance(
607
+ params["schedule_time_zone"], str
608
+ ):
609
+ raise InvalidParameterError(
610
+ "Bad parameter: schedule_time_zone must be an str"
611
+ )
556
612
  if "schedule_times_of_day" in params and not isinstance(
557
613
  params["schedule_times_of_day"], builtins.list
558
614
  ):
559
615
  raise InvalidParameterError(
560
616
  "Bad parameter: schedule_times_of_day must be an list"
561
617
  )
618
+ if "src_path" in params and not isinstance(params["src_path"], str):
619
+ raise InvalidParameterError("Bad parameter: src_path must be an str")
620
+ if "src_remote_server_id" in params and not isinstance(
621
+ params["src_remote_server_id"], int
622
+ ):
623
+ raise InvalidParameterError(
624
+ "Bad parameter: src_remote_server_id must be an int"
625
+ )
626
+ if "src_site_id" in params and not isinstance(params["src_site_id"], int):
627
+ raise InvalidParameterError(
628
+ "Bad parameter: src_site_id must be an int"
629
+ )
630
+ if "sync_interval_minutes" in params and not isinstance(
631
+ params["sync_interval_minutes"], int
632
+ ):
633
+ raise InvalidParameterError(
634
+ "Bad parameter: sync_interval_minutes must be an int"
635
+ )
636
+ if "trigger" in params and not isinstance(params["trigger"], str):
637
+ raise InvalidParameterError("Bad parameter: trigger must be an str")
638
+ if "trigger_file" in params and not isinstance(
639
+ params["trigger_file"], str
640
+ ):
641
+ raise InvalidParameterError(
642
+ "Bad parameter: trigger_file must be an str"
643
+ )
562
644
  if "id" not in params:
563
645
  raise MissingParameterError("Parameter missing: id")
564
646
  response, options = Api.send_request(
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.337"
7
+ version = "1.6.338"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -1 +0,0 @@
1
- 1.6.337
File without changes
File without changes