files-com 1.6.28__tar.gz → 1.6.30__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.

Potentially problematic release.


This version of files-com might be problematic. Click here for more details.

Files changed (229) hide show
  1. {files_com-1.6.28/files_com.egg-info → files_com-1.6.30}/PKG-INFO +1 -1
  2. files_com-1.6.30/_VERSION +1 -0
  3. {files_com-1.6.28 → files_com-1.6.30/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.28 → files_com-1.6.30}/files_com.egg-info/SOURCES.txt +2 -0
  5. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/__init__.py +3 -1
  6. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/__init__.py +1 -0
  7. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/automation.py +1 -0
  8. files_com-1.6.30/files_sdk/models/holiday_region.py +58 -0
  9. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/site.py +0 -8
  10. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sync.py +1 -0
  11. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/user_lifecycle_rule.py +14 -0
  12. {files_com-1.6.28 → files_com-1.6.30}/pyproject.toml +1 -1
  13. files_com-1.6.30/tests/test_holiday_region.py +18 -0
  14. files_com-1.6.28/_VERSION +0 -1
  15. {files_com-1.6.28 → files_com-1.6.30}/LICENSE +0 -0
  16. {files_com-1.6.28 → files_com-1.6.30}/README.md +0 -0
  17. {files_com-1.6.28 → files_com-1.6.30}/files_com.egg-info/dependency_links.txt +0 -0
  18. {files_com-1.6.28 → files_com-1.6.30}/files_com.egg-info/requires.txt +0 -0
  19. {files_com-1.6.28 → files_com-1.6.30}/files_com.egg-info/top_level.txt +0 -0
  20. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/api.py +0 -0
  21. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/api_client.py +0 -0
  22. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/error.py +0 -0
  23. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/list_obj.py +0 -0
  24. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/account_line_item.py +0 -0
  25. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/action.py +0 -0
  26. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/action_notification_export.py +0 -0
  27. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/action_notification_export_result.py +0 -0
  28. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/api_key.py +0 -0
  29. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/api_request_log.py +0 -0
  30. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/app.py +0 -0
  31. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/as2_incoming_message.py +0 -0
  32. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/as2_outgoing_message.py +0 -0
  33. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/as2_partner.py +0 -0
  34. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/as2_station.py +0 -0
  35. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/auto.py +0 -0
  36. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/automation_log.py +0 -0
  37. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/automation_run.py +0 -0
  38. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bandwidth_snapshot.py +0 -0
  39. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/behavior.py +0 -0
  40. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle.py +0 -0
  41. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_action.py +0 -0
  42. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_download.py +0 -0
  43. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_notification.py +0 -0
  44. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_path.py +0 -0
  45. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_recipient.py +0 -0
  46. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/bundle_registration.py +0 -0
  47. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/clickwrap.py +0 -0
  48. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/dns_record.py +0 -0
  49. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/email_incoming_message.py +0 -0
  50. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/email_log.py +0 -0
  51. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/errors.py +0 -0
  52. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/exavault_api_request_log.py +0 -0
  53. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/external_event.py +0 -0
  54. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file.py +0 -0
  55. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_action.py +0 -0
  56. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_comment.py +0 -0
  57. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_comment_reaction.py +0 -0
  58. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_migration.py +0 -0
  59. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_migration_log.py +0 -0
  60. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/file_upload_part.py +0 -0
  61. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/folder.py +0 -0
  62. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/form_field.py +0 -0
  63. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/form_field_set.py +0 -0
  64. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/ftp_action_log.py +0 -0
  65. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/gpg_key.py +0 -0
  66. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/group.py +0 -0
  67. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/group_user.py +0 -0
  68. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/history.py +0 -0
  69. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/history_export.py +0 -0
  70. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/history_export_result.py +0 -0
  71. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/image.py +0 -0
  72. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/inbox_recipient.py +0 -0
  73. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/inbox_registration.py +0 -0
  74. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/inbox_upload.py +0 -0
  75. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/invoice.py +0 -0
  76. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/invoice_line_item.py +0 -0
  77. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/ip_address.py +0 -0
  78. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/lock.py +0 -0
  79. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/message.py +0 -0
  80. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/message_comment.py +0 -0
  81. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/message_comment_reaction.py +0 -0
  82. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/message_reaction.py +0 -0
  83. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/notification.py +0 -0
  84. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/outbound_connection_log.py +0 -0
  85. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/payment.py +0 -0
  86. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/payment_line_item.py +0 -0
  87. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/permission.py +0 -0
  88. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/preview.py +0 -0
  89. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/priority.py +0 -0
  90. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/project.py +0 -0
  91. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/public_hosting_request_log.py +0 -0
  92. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/public_ip_address.py +0 -0
  93. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/public_key.py +0 -0
  94. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  95. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/remote_mount_backend.py +0 -0
  96. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/remote_server.py +0 -0
  97. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/remote_server_configuration_file.py +0 -0
  98. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/request.py +0 -0
  99. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/restore.py +0 -0
  100. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/session.py +0 -0
  101. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/settings_change.py +0 -0
  102. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sftp_action_log.py +0 -0
  103. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sftp_host_key.py +0 -0
  104. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/share_group.py +0 -0
  105. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/share_group_member.py +0 -0
  106. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/siem_http_destination.py +0 -0
  107. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/snapshot.py +0 -0
  108. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sso_strategy.py +0 -0
  109. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/status.py +0 -0
  110. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/style.py +0 -0
  111. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sync_log.py +0 -0
  112. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/sync_run.py +0 -0
  113. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  114. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/usage_daily_snapshot.py +0 -0
  115. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/usage_snapshot.py +0 -0
  116. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/user.py +0 -0
  117. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/user_cipher_use.py +0 -0
  118. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/user_request.py +0 -0
  119. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/user_sftp_client_use.py +0 -0
  120. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/web_dav_action_log.py +0 -0
  121. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/models/webhook_test.py +0 -0
  122. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/path_util.py +0 -0
  123. {files_com-1.6.28 → files_com-1.6.30}/files_sdk/util.py +0 -0
  124. {files_com-1.6.28 → files_com-1.6.30}/setup.cfg +0 -0
  125. {files_com-1.6.28 → files_com-1.6.30}/tests/test_account_line_item.py +0 -0
  126. {files_com-1.6.28 → files_com-1.6.30}/tests/test_action.py +0 -0
  127. {files_com-1.6.28 → files_com-1.6.30}/tests/test_action_notification_export.py +0 -0
  128. {files_com-1.6.28 → files_com-1.6.30}/tests/test_action_notification_export_result.py +0 -0
  129. {files_com-1.6.28 → files_com-1.6.30}/tests/test_api_errors.py +0 -0
  130. {files_com-1.6.28 → files_com-1.6.30}/tests/test_api_key.py +0 -0
  131. {files_com-1.6.28 → files_com-1.6.30}/tests/test_api_request_log.py +0 -0
  132. {files_com-1.6.28 → files_com-1.6.30}/tests/test_app.py +0 -0
  133. {files_com-1.6.28 → files_com-1.6.30}/tests/test_as2_incoming_message.py +0 -0
  134. {files_com-1.6.28 → files_com-1.6.30}/tests/test_as2_outgoing_message.py +0 -0
  135. {files_com-1.6.28 → files_com-1.6.30}/tests/test_as2_partner.py +0 -0
  136. {files_com-1.6.28 → files_com-1.6.30}/tests/test_as2_station.py +0 -0
  137. {files_com-1.6.28 → files_com-1.6.30}/tests/test_auto.py +0 -0
  138. {files_com-1.6.28 → files_com-1.6.30}/tests/test_automation.py +0 -0
  139. {files_com-1.6.28 → files_com-1.6.30}/tests/test_automation_log.py +0 -0
  140. {files_com-1.6.28 → files_com-1.6.30}/tests/test_automation_run.py +0 -0
  141. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bandwidth_snapshot.py +0 -0
  142. {files_com-1.6.28 → files_com-1.6.30}/tests/test_behavior.py +0 -0
  143. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle.py +0 -0
  144. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_action.py +0 -0
  145. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_download.py +0 -0
  146. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_notification.py +0 -0
  147. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_path.py +0 -0
  148. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_recipient.py +0 -0
  149. {files_com-1.6.28 → files_com-1.6.30}/tests/test_bundle_registration.py +0 -0
  150. {files_com-1.6.28 → files_com-1.6.30}/tests/test_clickwrap.py +0 -0
  151. {files_com-1.6.28 → files_com-1.6.30}/tests/test_connection_adapter.py +0 -0
  152. {files_com-1.6.28 → files_com-1.6.30}/tests/test_dns_record.py +0 -0
  153. {files_com-1.6.28 → files_com-1.6.30}/tests/test_email_incoming_message.py +0 -0
  154. {files_com-1.6.28 → files_com-1.6.30}/tests/test_email_log.py +0 -0
  155. {files_com-1.6.28 → files_com-1.6.30}/tests/test_errors.py +0 -0
  156. {files_com-1.6.28 → files_com-1.6.30}/tests/test_exavault_api_request_log.py +0 -0
  157. {files_com-1.6.28 → files_com-1.6.30}/tests/test_external_event.py +0 -0
  158. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file.py +0 -0
  159. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_action.py +0 -0
  160. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_comment.py +0 -0
  161. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_comment_reaction.py +0 -0
  162. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_migration.py +0 -0
  163. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_migration_log.py +0 -0
  164. {files_com-1.6.28 → files_com-1.6.30}/tests/test_file_upload_part.py +0 -0
  165. {files_com-1.6.28 → files_com-1.6.30}/tests/test_folder.py +0 -0
  166. {files_com-1.6.28 → files_com-1.6.30}/tests/test_form_field.py +0 -0
  167. {files_com-1.6.28 → files_com-1.6.30}/tests/test_form_field_set.py +0 -0
  168. {files_com-1.6.28 → files_com-1.6.30}/tests/test_ftp_action_log.py +0 -0
  169. {files_com-1.6.28 → files_com-1.6.30}/tests/test_gpg_key.py +0 -0
  170. {files_com-1.6.28 → files_com-1.6.30}/tests/test_group.py +0 -0
  171. {files_com-1.6.28 → files_com-1.6.30}/tests/test_group_user.py +0 -0
  172. {files_com-1.6.28 → files_com-1.6.30}/tests/test_history.py +0 -0
  173. {files_com-1.6.28 → files_com-1.6.30}/tests/test_history_export.py +0 -0
  174. {files_com-1.6.28 → files_com-1.6.30}/tests/test_history_export_result.py +0 -0
  175. {files_com-1.6.28 → files_com-1.6.30}/tests/test_image.py +0 -0
  176. {files_com-1.6.28 → files_com-1.6.30}/tests/test_inbox_recipient.py +0 -0
  177. {files_com-1.6.28 → files_com-1.6.30}/tests/test_inbox_registration.py +0 -0
  178. {files_com-1.6.28 → files_com-1.6.30}/tests/test_inbox_upload.py +0 -0
  179. {files_com-1.6.28 → files_com-1.6.30}/tests/test_invoice.py +0 -0
  180. {files_com-1.6.28 → files_com-1.6.30}/tests/test_invoice_line_item.py +0 -0
  181. {files_com-1.6.28 → files_com-1.6.30}/tests/test_ip_address.py +0 -0
  182. {files_com-1.6.28 → files_com-1.6.30}/tests/test_lock.py +0 -0
  183. {files_com-1.6.28 → files_com-1.6.30}/tests/test_message.py +0 -0
  184. {files_com-1.6.28 → files_com-1.6.30}/tests/test_message_comment.py +0 -0
  185. {files_com-1.6.28 → files_com-1.6.30}/tests/test_message_comment_reaction.py +0 -0
  186. {files_com-1.6.28 → files_com-1.6.30}/tests/test_message_reaction.py +0 -0
  187. {files_com-1.6.28 → files_com-1.6.30}/tests/test_notification.py +0 -0
  188. {files_com-1.6.28 → files_com-1.6.30}/tests/test_outbound_connection_log.py +0 -0
  189. {files_com-1.6.28 → files_com-1.6.30}/tests/test_path_util.py +0 -0
  190. {files_com-1.6.28 → files_com-1.6.30}/tests/test_payment.py +0 -0
  191. {files_com-1.6.28 → files_com-1.6.30}/tests/test_payment_line_item.py +0 -0
  192. {files_com-1.6.28 → files_com-1.6.30}/tests/test_permission.py +0 -0
  193. {files_com-1.6.28 → files_com-1.6.30}/tests/test_preview.py +0 -0
  194. {files_com-1.6.28 → files_com-1.6.30}/tests/test_priority.py +0 -0
  195. {files_com-1.6.28 → files_com-1.6.30}/tests/test_project.py +0 -0
  196. {files_com-1.6.28 → files_com-1.6.30}/tests/test_public_hosting_request_log.py +0 -0
  197. {files_com-1.6.28 → files_com-1.6.30}/tests/test_public_ip_address.py +0 -0
  198. {files_com-1.6.28 → files_com-1.6.30}/tests/test_public_key.py +0 -0
  199. {files_com-1.6.28 → files_com-1.6.30}/tests/test_remote_bandwidth_snapshot.py +0 -0
  200. {files_com-1.6.28 → files_com-1.6.30}/tests/test_remote_mount_backend.py +0 -0
  201. {files_com-1.6.28 → files_com-1.6.30}/tests/test_remote_server.py +0 -0
  202. {files_com-1.6.28 → files_com-1.6.30}/tests/test_remote_server_configuration_file.py +0 -0
  203. {files_com-1.6.28 → files_com-1.6.30}/tests/test_request.py +0 -0
  204. {files_com-1.6.28 → files_com-1.6.30}/tests/test_restore.py +0 -0
  205. {files_com-1.6.28 → files_com-1.6.30}/tests/test_session.py +0 -0
  206. {files_com-1.6.28 → files_com-1.6.30}/tests/test_settings_change.py +0 -0
  207. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sftp_action_log.py +0 -0
  208. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sftp_host_key.py +0 -0
  209. {files_com-1.6.28 → files_com-1.6.30}/tests/test_share_group.py +0 -0
  210. {files_com-1.6.28 → files_com-1.6.30}/tests/test_share_group_member.py +0 -0
  211. {files_com-1.6.28 → files_com-1.6.30}/tests/test_siem_http_destination.py +0 -0
  212. {files_com-1.6.28 → files_com-1.6.30}/tests/test_site.py +0 -0
  213. {files_com-1.6.28 → files_com-1.6.30}/tests/test_snapshot.py +0 -0
  214. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sso_strategy.py +0 -0
  215. {files_com-1.6.28 → files_com-1.6.30}/tests/test_status.py +0 -0
  216. {files_com-1.6.28 → files_com-1.6.30}/tests/test_style.py +0 -0
  217. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sync.py +0 -0
  218. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sync_log.py +0 -0
  219. {files_com-1.6.28 → files_com-1.6.30}/tests/test_sync_run.py +0 -0
  220. {files_com-1.6.28 → files_com-1.6.30}/tests/test_usage_by_top_level_dir.py +0 -0
  221. {files_com-1.6.28 → files_com-1.6.30}/tests/test_usage_daily_snapshot.py +0 -0
  222. {files_com-1.6.28 → files_com-1.6.30}/tests/test_usage_snapshot.py +0 -0
  223. {files_com-1.6.28 → files_com-1.6.30}/tests/test_user.py +0 -0
  224. {files_com-1.6.28 → files_com-1.6.30}/tests/test_user_cipher_use.py +0 -0
  225. {files_com-1.6.28 → files_com-1.6.30}/tests/test_user_lifecycle_rule.py +0 -0
  226. {files_com-1.6.28 → files_com-1.6.30}/tests/test_user_request.py +0 -0
  227. {files_com-1.6.28 → files_com-1.6.30}/tests/test_user_sftp_client_use.py +0 -0
  228. {files_com-1.6.28 → files_com-1.6.30}/tests/test_web_dav_action_log.py +0 -0
  229. {files_com-1.6.28 → files_com-1.6.30}/tests/test_webhook_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.28
3
+ Version: 1.6.30
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.30
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.28
3
+ Version: 1.6.30
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -64,6 +64,7 @@ files_sdk/models/group_user.py
64
64
  files_sdk/models/history.py
65
65
  files_sdk/models/history_export.py
66
66
  files_sdk/models/history_export_result.py
67
+ files_sdk/models/holiday_region.py
67
68
  files_sdk/models/image.py
68
69
  files_sdk/models/inbox_recipient.py
69
70
  files_sdk/models/inbox_registration.py
@@ -168,6 +169,7 @@ tests/test_group_user.py
168
169
  tests/test_history.py
169
170
  tests/test_history_export.py
170
171
  tests/test_history_export_result.py
172
+ tests/test_holiday_region.py
171
173
  tests/test_image.py
172
174
  tests/test_inbox_recipient.py
173
175
  tests/test_inbox_registration.py
@@ -47,6 +47,7 @@ import files_sdk.models.group_user as group_user
47
47
  import files_sdk.models.history as history
48
48
  import files_sdk.models.history_export as history_export
49
49
  import files_sdk.models.history_export_result as history_export_result
50
+ import files_sdk.models.holiday_region as holiday_region
50
51
  import files_sdk.models.image as image
51
52
  import files_sdk.models.inbox_recipient as inbox_recipient
52
53
  import files_sdk.models.inbox_registration as inbox_registration
@@ -154,6 +155,7 @@ from files_sdk.models.group_user import GroupUser
154
155
  from files_sdk.models.history import History
155
156
  from files_sdk.models.history_export import HistoryExport
156
157
  from files_sdk.models.history_export_result import HistoryExportResult
158
+ from files_sdk.models.holiday_region import HolidayRegion
157
159
  from files_sdk.models.image import Image
158
160
  from files_sdk.models.inbox_recipient import InboxRecipient
159
161
  from files_sdk.models.inbox_registration import InboxRegistration
@@ -221,7 +223,7 @@ session_id = None
221
223
  source_ip = None
222
224
  base_url = "https://app.files.com"
223
225
  base_path = "api/rest/v1"
224
- version = "1.6.28"
226
+ version = "1.6.30"
225
227
 
226
228
  __version__ = version
227
229
 
@@ -50,6 +50,7 @@ from files_sdk.models.group_user import GroupUser
50
50
  from files_sdk.models.history import History
51
51
  from files_sdk.models.history_export import HistoryExport
52
52
  from files_sdk.models.history_export_result import HistoryExportResult
53
+ from files_sdk.models.holiday_region import HolidayRegion
53
54
  from files_sdk.models.image import Image
54
55
  from files_sdk.models.inbox_recipient import InboxRecipient
55
56
  from files_sdk.models.inbox_registration import InboxRegistration
@@ -48,6 +48,7 @@ class Automation:
48
48
  "user_ids": None, # array(int64) - IDs of Users for the Automation (i.e. who to Request File from)
49
49
  "value": None, # object - A Hash of attributes specific to the automation type.
50
50
  "webhook_url": None, # string - If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
51
+ "holiday_region": None, # string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
51
52
  }
52
53
 
53
54
  def __init__(self, attributes=None, options=None):
@@ -0,0 +1,58 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.list_obj import ListObj
4
+ from files_sdk.error import ( # noqa: F401
5
+ InvalidParameterError,
6
+ MissingParameterError,
7
+ NotImplementedError,
8
+ )
9
+
10
+
11
+ class HolidayRegion:
12
+ default_attributes = {
13
+ "code": None, # string - The code representing a region
14
+ "name": None, # string - The name of the region
15
+ }
16
+
17
+ def __init__(self, attributes=None, options=None):
18
+ if not isinstance(attributes, dict):
19
+ attributes = {}
20
+ if not isinstance(options, dict):
21
+ options = {}
22
+ self.set_attributes(attributes)
23
+ self.options = options
24
+
25
+ def set_attributes(self, attributes):
26
+ for (
27
+ attribute,
28
+ default_value,
29
+ ) in HolidayRegion.default_attributes.items():
30
+ setattr(self, attribute, attributes.get(attribute, default_value))
31
+
32
+ def get_attributes(self):
33
+ return {
34
+ k: getattr(self, k, None)
35
+ for k in HolidayRegion.default_attributes
36
+ if getattr(self, k, None) is not None
37
+ }
38
+
39
+
40
+ # Parameters:
41
+ # 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.
42
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
43
+ def get_supported(params=None, options=None):
44
+ if not isinstance(params, dict):
45
+ params = {}
46
+ if not isinstance(options, dict):
47
+ options = {}
48
+ if "cursor" in params and not isinstance(params["cursor"], str):
49
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
50
+ if "per_page" in params and not isinstance(params["per_page"], int):
51
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
52
+ return ListObj(
53
+ HolidayRegion, "GET", "/holiday_regions/supported", params, options
54
+ )
55
+
56
+
57
+ def new(*args, **kwargs):
58
+ return HolidayRegion(*args, **kwargs)
@@ -57,7 +57,6 @@ class Site:
57
57
  "custom_namespace": None, # boolean - Is this site using a custom namespace for users?
58
58
  "dav_enabled": None, # boolean - Is WebDAV enabled?
59
59
  "dav_user_root_enabled": None, # boolean - Use user FTP roots also for WebDAV?
60
- "days_before_deleting_disabled_users": None, # int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
61
60
  "days_to_retain_backups": None, # int64 - Number of days to keep deleted files
62
61
  "document_edits_in_bundle_allowed": None, # boolean - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
63
62
  "default_time_zone": None, # string - Site default time zone
@@ -279,7 +278,6 @@ def get_usage(params=None, options=None):
279
278
  # allowed_countries - string - Comma separated list of allowed Country codes
280
279
  # allowed_ips - string - List of allowed IP addresses
281
280
  # disallowed_countries - string - Comma separated list of disallowed Country codes
282
- # days_before_deleting_disabled_users - int64 - Number of days to keep disabled users before deleting them. If set to 0, disabled users will not be deleted.
283
281
  # days_to_retain_backups - int64 - Number of days to keep deleted files
284
282
  # max_prior_passwords - int64 - Number of prior passwords to disallow
285
283
  # password_validity_days - int64 - Number of days password is valid
@@ -704,12 +702,6 @@ def update(params=None, options=None):
704
702
  raise InvalidParameterError(
705
703
  "Bad parameter: disallowed_countries must be an str"
706
704
  )
707
- if "days_before_deleting_disabled_users" in params and not isinstance(
708
- params["days_before_deleting_disabled_users"], int
709
- ):
710
- raise InvalidParameterError(
711
- "Bad parameter: days_before_deleting_disabled_users must be an int"
712
- )
713
705
  if "days_to_retain_backups" in params and not isinstance(
714
706
  params["days_to_retain_backups"], int
715
707
  ):
@@ -35,6 +35,7 @@ class Sync:
35
35
  "schedule_days_of_week": None, # 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.
36
36
  "schedule_times_of_day": None, # array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
37
37
  "schedule_time_zone": None, # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
38
+ "holiday_region": None, # string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
38
39
  }
39
40
 
40
41
  def __init__(self, attributes=None, options=None):
@@ -16,6 +16,7 @@ class UserLifecycleRule:
16
16
  "include_folder_admins": None, # boolean - Include folder admins in the rule
17
17
  "include_site_admins": None, # boolean - Include site admins in the rule
18
18
  "action": None, # string - Action to take on inactive users (disable or delete)
19
+ "user_state": None, # string - State of the users to apply the rule to (inactive or disabled)
19
20
  "site_id": None, # int64 - Site ID
20
21
  }
21
22
 
@@ -47,6 +48,7 @@ class UserLifecycleRule:
47
48
  # inactivity_days (required) - int64 - Number of days of inactivity before the rule applies
48
49
  # include_site_admins - boolean - Include site admins in the rule
49
50
  # include_folder_admins - boolean - Include folder admins in the rule
51
+ # user_state - string - State of the users to apply the rule to (inactive or disabled)
50
52
  def update(self, params=None):
51
53
  if not isinstance(params, dict):
52
54
  params = {}
@@ -81,6 +83,12 @@ class UserLifecycleRule:
81
83
  raise InvalidParameterError(
82
84
  "Bad parameter: inactivity_days must be an int"
83
85
  )
86
+ if "user_state" in params and not isinstance(
87
+ params["user_state"], str
88
+ ):
89
+ raise InvalidParameterError(
90
+ "Bad parameter: user_state must be an str"
91
+ )
84
92
  response, _options = Api.send_request(
85
93
  "PATCH",
86
94
  "/user_lifecycle_rules/{id}".format(id=params["id"]),
@@ -174,6 +182,7 @@ def get(id, params=None, options=None):
174
182
  # inactivity_days (required) - int64 - Number of days of inactivity before the rule applies
175
183
  # include_site_admins - boolean - Include site admins in the rule
176
184
  # include_folder_admins - boolean - Include folder admins in the rule
185
+ # user_state - string - State of the users to apply the rule to (inactive or disabled)
177
186
  def create(params=None, options=None):
178
187
  if not isinstance(params, dict):
179
188
  params = {}
@@ -205,6 +214,8 @@ def create(params=None, options=None):
205
214
  raise InvalidParameterError(
206
215
  "Bad parameter: include_folder_admins must be an bool"
207
216
  )
217
+ if "user_state" in params and not isinstance(params["user_state"], str):
218
+ raise InvalidParameterError("Bad parameter: user_state must be an str")
208
219
  if "action" not in params:
209
220
  raise MissingParameterError("Parameter missing: action")
210
221
  if "authentication_method" not in params:
@@ -223,6 +234,7 @@ def create(params=None, options=None):
223
234
  # inactivity_days (required) - int64 - Number of days of inactivity before the rule applies
224
235
  # include_site_admins - boolean - Include site admins in the rule
225
236
  # include_folder_admins - boolean - Include folder admins in the rule
237
+ # user_state - string - State of the users to apply the rule to (inactive or disabled)
226
238
  def update(id, params=None, options=None):
227
239
  if not isinstance(params, dict):
228
240
  params = {}
@@ -257,6 +269,8 @@ def update(id, params=None, options=None):
257
269
  raise InvalidParameterError(
258
270
  "Bad parameter: include_folder_admins must be an bool"
259
271
  )
272
+ if "user_state" in params and not isinstance(params["user_state"], str):
273
+ raise InvalidParameterError("Bad parameter: user_state must be an str")
260
274
  if "id" not in params:
261
275
  raise MissingParameterError("Parameter missing: id")
262
276
  if "action" not in params:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.28"
7
+ version = "1.6.30"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -0,0 +1,18 @@
1
+ import unittest
2
+ import inspect
3
+ import files_sdk
4
+ from tests.base import TestBase
5
+ from files_sdk.models import HolidayRegion
6
+ from files_sdk import holiday_region
7
+
8
+ class HolidayRegionTest(TestBase):
9
+ pass
10
+ # Instance Methods
11
+
12
+ # Static Methods
13
+ @unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/holiday_regions/supported"), "Mock path does not exist")
14
+ def test_get_supported(self):
15
+ resp = holiday_region.get_supported()
16
+
17
+ if __name__ == '__main__':
18
+ unittest.main()
files_com-1.6.28/_VERSION DELETED
@@ -1 +0,0 @@
1
- 1.6.28
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes