Files.com 1.6.266__tar.gz → 1.6.277__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 (251) hide show
  1. {files_com-1.6.266/files_com.egg-info → files_com-1.6.277}/PKG-INFO +1 -1
  2. files_com-1.6.277/_VERSION +1 -0
  3. {files_com-1.6.266 → files_com-1.6.277/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.266 → files_com-1.6.277}/files_com.egg-info/SOURCES.txt +3 -1
  5. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/__init__.py +3 -1
  6. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/__init__.py +1 -0
  7. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/automation_run.py +1 -1
  8. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file.py +138 -0
  9. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/remote_server.py +16 -0
  10. files_com-1.6.277/files_sdk/models/zip_list_entry.py +40 -0
  11. {files_com-1.6.266 → files_com-1.6.277}/pyproject.toml +1 -1
  12. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file.py +42 -0
  13. files_com-1.6.277/tests/test_zip_list_entry.py +14 -0
  14. files_com-1.6.266/_VERSION +0 -1
  15. {files_com-1.6.266 → files_com-1.6.277}/LICENSE +0 -0
  16. {files_com-1.6.266 → files_com-1.6.277}/README.md +0 -0
  17. {files_com-1.6.266 → files_com-1.6.277}/files_com.egg-info/dependency_links.txt +0 -0
  18. {files_com-1.6.266 → files_com-1.6.277}/files_com.egg-info/requires.txt +0 -0
  19. {files_com-1.6.266 → files_com-1.6.277}/files_com.egg-info/top_level.txt +0 -0
  20. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/api.py +0 -0
  21. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/api_client.py +0 -0
  22. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/error.py +0 -0
  23. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/list_obj.py +0 -0
  24. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/account_line_item.py +0 -0
  25. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/action.py +0 -0
  26. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/action_notification_export.py +0 -0
  27. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/action_notification_export_result.py +0 -0
  28. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/agent_push_update.py +0 -0
  29. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/api_key.py +0 -0
  30. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/api_request_log.py +0 -0
  31. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/app.py +0 -0
  32. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/as2_incoming_message.py +0 -0
  33. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/as2_outgoing_message.py +0 -0
  34. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/as2_partner.py +0 -0
  35. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/as2_station.py +0 -0
  36. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/auto.py +0 -0
  37. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/automation.py +0 -0
  38. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/automation_log.py +0 -0
  39. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bandwidth_snapshot.py +0 -0
  40. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/behavior.py +0 -0
  41. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle.py +0 -0
  42. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_action.py +0 -0
  43. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_download.py +0 -0
  44. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_notification.py +0 -0
  45. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_path.py +0 -0
  46. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_recipient.py +0 -0
  47. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/bundle_registration.py +0 -0
  48. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/child_site_management_policy.py +0 -0
  49. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/clickwrap.py +0 -0
  50. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/dns_record.py +0 -0
  51. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/email_incoming_message.py +0 -0
  52. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/email_log.py +0 -0
  53. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/errors.py +0 -0
  54. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/exavault_api_request_log.py +0 -0
  55. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/external_event.py +0 -0
  56. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_action.py +0 -0
  57. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_comment.py +0 -0
  58. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_comment_reaction.py +0 -0
  59. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_migration.py +0 -0
  60. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_migration_log.py +0 -0
  61. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/file_upload_part.py +0 -0
  62. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/folder.py +0 -0
  63. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/form_field.py +0 -0
  64. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/form_field_set.py +0 -0
  65. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/ftp_action_log.py +0 -0
  66. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/gpg_key.py +0 -0
  67. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/group.py +0 -0
  68. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/group_user.py +0 -0
  69. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/history.py +0 -0
  70. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/history_export.py +0 -0
  71. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/history_export_result.py +0 -0
  72. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/holiday_region.py +0 -0
  73. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/image.py +0 -0
  74. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/inbound_s3_log.py +0 -0
  75. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/inbox_recipient.py +0 -0
  76. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/inbox_registration.py +0 -0
  77. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/inbox_upload.py +0 -0
  78. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/invoice.py +0 -0
  79. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/invoice_line_item.py +0 -0
  80. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/ip_address.py +0 -0
  81. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/key_lifecycle_rule.py +0 -0
  82. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/lock.py +0 -0
  83. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/message.py +0 -0
  84. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/message_comment.py +0 -0
  85. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/message_comment_reaction.py +0 -0
  86. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/message_reaction.py +0 -0
  87. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/notification.py +0 -0
  88. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/outbound_connection_log.py +0 -0
  89. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/partner.py +0 -0
  90. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/partner_site.py +0 -0
  91. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/partner_site_request.py +0 -0
  92. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/payment.py +0 -0
  93. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/payment_line_item.py +0 -0
  94. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/permission.py +0 -0
  95. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/preview.py +0 -0
  96. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/priority.py +0 -0
  97. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/project.py +0 -0
  98. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/public_hosting_request_log.py +0 -0
  99. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/public_ip_address.py +0 -0
  100. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/public_key.py +0 -0
  101. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  102. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/remote_mount_backend.py +0 -0
  103. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/remote_server_configuration_file.py +0 -0
  104. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/remote_server_credential.py +0 -0
  105. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/request.py +0 -0
  106. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/restore.py +0 -0
  107. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/scim_log.py +0 -0
  108. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/session.py +0 -0
  109. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/settings_change.py +0 -0
  110. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sftp_action_log.py +0 -0
  111. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sftp_host_key.py +0 -0
  112. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/share_group.py +0 -0
  113. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/share_group_member.py +0 -0
  114. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/siem_http_destination.py +0 -0
  115. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/site.py +0 -0
  116. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/snapshot.py +0 -0
  117. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sso_strategy.py +0 -0
  118. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/status.py +0 -0
  119. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/style.py +0 -0
  120. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sync.py +0 -0
  121. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sync_log.py +0 -0
  122. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/sync_run.py +0 -0
  123. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  124. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/usage_daily_snapshot.py +0 -0
  125. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/usage_snapshot.py +0 -0
  126. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/user.py +0 -0
  127. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/user_cipher_use.py +0 -0
  128. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/user_lifecycle_rule.py +0 -0
  129. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/user_request.py +0 -0
  130. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/user_sftp_client_use.py +0 -0
  131. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/web_dav_action_log.py +0 -0
  132. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/webhook_test.py +0 -0
  133. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/models/workspace.py +0 -0
  134. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/path_util.py +0 -0
  135. {files_com-1.6.266 → files_com-1.6.277}/files_sdk/util.py +0 -0
  136. {files_com-1.6.266 → files_com-1.6.277}/setup.cfg +0 -0
  137. {files_com-1.6.266 → files_com-1.6.277}/tests/test_account_line_item.py +0 -0
  138. {files_com-1.6.266 → files_com-1.6.277}/tests/test_action.py +0 -0
  139. {files_com-1.6.266 → files_com-1.6.277}/tests/test_action_notification_export.py +0 -0
  140. {files_com-1.6.266 → files_com-1.6.277}/tests/test_action_notification_export_result.py +0 -0
  141. {files_com-1.6.266 → files_com-1.6.277}/tests/test_agent_push_update.py +0 -0
  142. {files_com-1.6.266 → files_com-1.6.277}/tests/test_api_errors.py +0 -0
  143. {files_com-1.6.266 → files_com-1.6.277}/tests/test_api_key.py +0 -0
  144. {files_com-1.6.266 → files_com-1.6.277}/tests/test_api_request_log.py +0 -0
  145. {files_com-1.6.266 → files_com-1.6.277}/tests/test_app.py +0 -0
  146. {files_com-1.6.266 → files_com-1.6.277}/tests/test_as2_incoming_message.py +0 -0
  147. {files_com-1.6.266 → files_com-1.6.277}/tests/test_as2_outgoing_message.py +0 -0
  148. {files_com-1.6.266 → files_com-1.6.277}/tests/test_as2_partner.py +0 -0
  149. {files_com-1.6.266 → files_com-1.6.277}/tests/test_as2_station.py +0 -0
  150. {files_com-1.6.266 → files_com-1.6.277}/tests/test_auto.py +0 -0
  151. {files_com-1.6.266 → files_com-1.6.277}/tests/test_automation.py +0 -0
  152. {files_com-1.6.266 → files_com-1.6.277}/tests/test_automation_log.py +0 -0
  153. {files_com-1.6.266 → files_com-1.6.277}/tests/test_automation_run.py +0 -0
  154. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bandwidth_snapshot.py +0 -0
  155. {files_com-1.6.266 → files_com-1.6.277}/tests/test_behavior.py +0 -0
  156. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle.py +0 -0
  157. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_action.py +0 -0
  158. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_download.py +0 -0
  159. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_notification.py +0 -0
  160. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_path.py +0 -0
  161. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_recipient.py +0 -0
  162. {files_com-1.6.266 → files_com-1.6.277}/tests/test_bundle_registration.py +0 -0
  163. {files_com-1.6.266 → files_com-1.6.277}/tests/test_child_site_management_policy.py +0 -0
  164. {files_com-1.6.266 → files_com-1.6.277}/tests/test_clickwrap.py +0 -0
  165. {files_com-1.6.266 → files_com-1.6.277}/tests/test_connection_adapter.py +0 -0
  166. {files_com-1.6.266 → files_com-1.6.277}/tests/test_dns_record.py +0 -0
  167. {files_com-1.6.266 → files_com-1.6.277}/tests/test_email_incoming_message.py +0 -0
  168. {files_com-1.6.266 → files_com-1.6.277}/tests/test_email_log.py +0 -0
  169. {files_com-1.6.266 → files_com-1.6.277}/tests/test_errors.py +0 -0
  170. {files_com-1.6.266 → files_com-1.6.277}/tests/test_exavault_api_request_log.py +0 -0
  171. {files_com-1.6.266 → files_com-1.6.277}/tests/test_external_event.py +0 -0
  172. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_action.py +0 -0
  173. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_comment.py +0 -0
  174. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_comment_reaction.py +0 -0
  175. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_migration.py +0 -0
  176. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_migration_log.py +0 -0
  177. {files_com-1.6.266 → files_com-1.6.277}/tests/test_file_upload_part.py +0 -0
  178. {files_com-1.6.266 → files_com-1.6.277}/tests/test_folder.py +0 -0
  179. {files_com-1.6.266 → files_com-1.6.277}/tests/test_form_field.py +0 -0
  180. {files_com-1.6.266 → files_com-1.6.277}/tests/test_form_field_set.py +0 -0
  181. {files_com-1.6.266 → files_com-1.6.277}/tests/test_ftp_action_log.py +0 -0
  182. {files_com-1.6.266 → files_com-1.6.277}/tests/test_gpg_key.py +0 -0
  183. {files_com-1.6.266 → files_com-1.6.277}/tests/test_group.py +0 -0
  184. {files_com-1.6.266 → files_com-1.6.277}/tests/test_group_user.py +0 -0
  185. {files_com-1.6.266 → files_com-1.6.277}/tests/test_history.py +0 -0
  186. {files_com-1.6.266 → files_com-1.6.277}/tests/test_history_export.py +0 -0
  187. {files_com-1.6.266 → files_com-1.6.277}/tests/test_history_export_result.py +0 -0
  188. {files_com-1.6.266 → files_com-1.6.277}/tests/test_holiday_region.py +0 -0
  189. {files_com-1.6.266 → files_com-1.6.277}/tests/test_image.py +0 -0
  190. {files_com-1.6.266 → files_com-1.6.277}/tests/test_inbound_s3_log.py +0 -0
  191. {files_com-1.6.266 → files_com-1.6.277}/tests/test_inbox_recipient.py +0 -0
  192. {files_com-1.6.266 → files_com-1.6.277}/tests/test_inbox_registration.py +0 -0
  193. {files_com-1.6.266 → files_com-1.6.277}/tests/test_inbox_upload.py +0 -0
  194. {files_com-1.6.266 → files_com-1.6.277}/tests/test_invoice.py +0 -0
  195. {files_com-1.6.266 → files_com-1.6.277}/tests/test_invoice_line_item.py +0 -0
  196. {files_com-1.6.266 → files_com-1.6.277}/tests/test_ip_address.py +0 -0
  197. {files_com-1.6.266 → files_com-1.6.277}/tests/test_key_lifecycle_rule.py +0 -0
  198. {files_com-1.6.266 → files_com-1.6.277}/tests/test_lock.py +0 -0
  199. {files_com-1.6.266 → files_com-1.6.277}/tests/test_message.py +0 -0
  200. {files_com-1.6.266 → files_com-1.6.277}/tests/test_message_comment.py +0 -0
  201. {files_com-1.6.266 → files_com-1.6.277}/tests/test_message_comment_reaction.py +0 -0
  202. {files_com-1.6.266 → files_com-1.6.277}/tests/test_message_reaction.py +0 -0
  203. {files_com-1.6.266 → files_com-1.6.277}/tests/test_notification.py +0 -0
  204. {files_com-1.6.266 → files_com-1.6.277}/tests/test_outbound_connection_log.py +0 -0
  205. {files_com-1.6.266 → files_com-1.6.277}/tests/test_partner.py +0 -0
  206. {files_com-1.6.266 → files_com-1.6.277}/tests/test_partner_site.py +0 -0
  207. {files_com-1.6.266 → files_com-1.6.277}/tests/test_partner_site_request.py +0 -0
  208. {files_com-1.6.266 → files_com-1.6.277}/tests/test_path_util.py +0 -0
  209. {files_com-1.6.266 → files_com-1.6.277}/tests/test_payment.py +0 -0
  210. {files_com-1.6.266 → files_com-1.6.277}/tests/test_payment_line_item.py +0 -0
  211. {files_com-1.6.266 → files_com-1.6.277}/tests/test_permission.py +0 -0
  212. {files_com-1.6.266 → files_com-1.6.277}/tests/test_preview.py +0 -0
  213. {files_com-1.6.266 → files_com-1.6.277}/tests/test_priority.py +0 -0
  214. {files_com-1.6.266 → files_com-1.6.277}/tests/test_project.py +0 -0
  215. {files_com-1.6.266 → files_com-1.6.277}/tests/test_public_hosting_request_log.py +0 -0
  216. {files_com-1.6.266 → files_com-1.6.277}/tests/test_public_ip_address.py +0 -0
  217. {files_com-1.6.266 → files_com-1.6.277}/tests/test_public_key.py +0 -0
  218. {files_com-1.6.266 → files_com-1.6.277}/tests/test_remote_bandwidth_snapshot.py +0 -0
  219. {files_com-1.6.266 → files_com-1.6.277}/tests/test_remote_mount_backend.py +0 -0
  220. {files_com-1.6.266 → files_com-1.6.277}/tests/test_remote_server.py +0 -0
  221. {files_com-1.6.266 → files_com-1.6.277}/tests/test_remote_server_configuration_file.py +0 -0
  222. {files_com-1.6.266 → files_com-1.6.277}/tests/test_remote_server_credential.py +0 -0
  223. {files_com-1.6.266 → files_com-1.6.277}/tests/test_request.py +0 -0
  224. {files_com-1.6.266 → files_com-1.6.277}/tests/test_restore.py +0 -0
  225. {files_com-1.6.266 → files_com-1.6.277}/tests/test_scim_log.py +0 -0
  226. {files_com-1.6.266 → files_com-1.6.277}/tests/test_session.py +0 -0
  227. {files_com-1.6.266 → files_com-1.6.277}/tests/test_settings_change.py +0 -0
  228. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sftp_action_log.py +0 -0
  229. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sftp_host_key.py +0 -0
  230. {files_com-1.6.266 → files_com-1.6.277}/tests/test_share_group.py +0 -0
  231. {files_com-1.6.266 → files_com-1.6.277}/tests/test_share_group_member.py +0 -0
  232. {files_com-1.6.266 → files_com-1.6.277}/tests/test_siem_http_destination.py +0 -0
  233. {files_com-1.6.266 → files_com-1.6.277}/tests/test_site.py +0 -0
  234. {files_com-1.6.266 → files_com-1.6.277}/tests/test_snapshot.py +0 -0
  235. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sso_strategy.py +0 -0
  236. {files_com-1.6.266 → files_com-1.6.277}/tests/test_status.py +0 -0
  237. {files_com-1.6.266 → files_com-1.6.277}/tests/test_style.py +0 -0
  238. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sync.py +0 -0
  239. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sync_log.py +0 -0
  240. {files_com-1.6.266 → files_com-1.6.277}/tests/test_sync_run.py +0 -0
  241. {files_com-1.6.266 → files_com-1.6.277}/tests/test_usage_by_top_level_dir.py +0 -0
  242. {files_com-1.6.266 → files_com-1.6.277}/tests/test_usage_daily_snapshot.py +0 -0
  243. {files_com-1.6.266 → files_com-1.6.277}/tests/test_usage_snapshot.py +0 -0
  244. {files_com-1.6.266 → files_com-1.6.277}/tests/test_user.py +0 -0
  245. {files_com-1.6.266 → files_com-1.6.277}/tests/test_user_cipher_use.py +0 -0
  246. {files_com-1.6.266 → files_com-1.6.277}/tests/test_user_lifecycle_rule.py +0 -0
  247. {files_com-1.6.266 → files_com-1.6.277}/tests/test_user_request.py +0 -0
  248. {files_com-1.6.266 → files_com-1.6.277}/tests/test_user_sftp_client_use.py +0 -0
  249. {files_com-1.6.266 → files_com-1.6.277}/tests/test_web_dav_action_log.py +0 -0
  250. {files_com-1.6.266 → files_com-1.6.277}/tests/test_webhook_test.py +0 -0
  251. {files_com-1.6.266 → files_com-1.6.277}/tests/test_workspace.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.266
3
+ Version: 1.6.277
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.277
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.266
3
+ Version: 1.6.277
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -129,6 +129,7 @@ files_sdk/models/user_sftp_client_use.py
129
129
  files_sdk/models/web_dav_action_log.py
130
130
  files_sdk/models/webhook_test.py
131
131
  files_sdk/models/workspace.py
132
+ files_sdk/models/zip_list_entry.py
132
133
  tests/test_account_line_item.py
133
134
  tests/test_action.py
134
135
  tests/test_action_notification_export.py
@@ -244,4 +245,5 @@ tests/test_user_request.py
244
245
  tests/test_user_sftp_client_use.py
245
246
  tests/test_web_dav_action_log.py
246
247
  tests/test_webhook_test.py
247
- tests/test_workspace.py
248
+ tests/test_workspace.py
249
+ tests/test_zip_list_entry.py
@@ -112,6 +112,7 @@ import files_sdk.models.user_sftp_client_use as user_sftp_client_use
112
112
  import files_sdk.models.web_dav_action_log as web_dav_action_log
113
113
  import files_sdk.models.webhook_test as webhook_test
114
114
  import files_sdk.models.workspace as workspace
115
+ import files_sdk.models.zip_list_entry as zip_list_entry
115
116
 
116
117
  from files_sdk.models.account_line_item import AccountLineItem
117
118
  from files_sdk.models.action import Action
@@ -234,6 +235,7 @@ from files_sdk.models.user_sftp_client_use import UserSftpClientUse
234
235
  from files_sdk.models.web_dav_action_log import WebDavActionLog
235
236
  from files_sdk.models.webhook_test import WebhookTest
236
237
  from files_sdk.models.workspace import Workspace
238
+ from files_sdk.models.zip_list_entry import ZipListEntry
237
239
 
238
240
  import files_sdk.path_util
239
241
  import socket
@@ -245,7 +247,7 @@ session_id = None
245
247
  source_ip = None
246
248
  base_url = "https://app.files.com"
247
249
  base_path = "api/rest/v1"
248
- version = "1.6.266"
250
+ version = "1.6.277"
249
251
 
250
252
  __version__ = version
251
253
 
@@ -119,3 +119,4 @@ from files_sdk.models.user_sftp_client_use import UserSftpClientUse
119
119
  from files_sdk.models.web_dav_action_log import WebDavActionLog
120
120
  from files_sdk.models.webhook_test import WebhookTest
121
121
  from files_sdk.models.workspace import Workspace
122
+ from files_sdk.models.zip_list_entry import ZipListEntry
@@ -54,7 +54,7 @@ class AutomationRun:
54
54
  # 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.
55
55
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
57
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
57
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
58
58
  # automation_id (required) - int64 - ID of the associated Automation.
59
59
  def list(params=None, options=None):
60
60
  if not isinstance(params, dict):
@@ -3,6 +3,7 @@ from builtins import open as builtin_open
3
3
  from datetime import datetime
4
4
  import io
5
5
  from pathlib import Path
6
+ from files_sdk.models.zip_list_entry import ZipListEntry
6
7
  from files_sdk.models.file_action import FileAction
7
8
  from files_sdk.models.file_upload_part import FileUploadPart
8
9
  from files_sdk.api import Api # noqa: F401
@@ -305,6 +306,27 @@ class File:
305
306
  def destroy(self, params=None):
306
307
  self.delete(params)
307
308
 
309
+ # List the contents of a ZIP file
310
+ def zip_list_contents(self, params=None):
311
+ if not isinstance(params, dict):
312
+ params = {}
313
+
314
+ if hasattr(self, "path") and self.path:
315
+ params["path"] = self.path
316
+ else:
317
+ raise MissingParameterError("Current object doesn't have a path")
318
+ if "path" not in params:
319
+ raise MissingParameterError("Parameter missing: path")
320
+ if "path" in params and not isinstance(params["path"], str):
321
+ raise InvalidParameterError("Bad parameter: path must be an str")
322
+ response, _options = Api.send_request(
323
+ "GET",
324
+ "/file_actions/zip_list/{path}".format(path=params["path"]),
325
+ params,
326
+ self.options,
327
+ )
328
+ return response.data
329
+
308
330
  # Copy File/Folder
309
331
  #
310
332
  # Parameters:
@@ -372,6 +394,41 @@ class File:
372
394
  )
373
395
  return response.data
374
396
 
397
+ # Extract a ZIP file to a destination folder
398
+ #
399
+ # Parameters:
400
+ # destination (required) - string - Destination folder path for extracted files.
401
+ # filename - string - Optional single entry filename to extract.
402
+ # overwrite - boolean - Overwrite existing files in the destination?
403
+ def unzip(self, params=None):
404
+ if not isinstance(params, dict):
405
+ params = {}
406
+
407
+ if hasattr(self, "path") and self.path:
408
+ params["path"] = self.path
409
+ else:
410
+ raise MissingParameterError("Current object doesn't have a path")
411
+ if "path" not in params:
412
+ raise MissingParameterError("Parameter missing: path")
413
+ if "destination" not in params:
414
+ raise MissingParameterError("Parameter missing: destination")
415
+ if "path" in params and not isinstance(params["path"], str):
416
+ raise InvalidParameterError("Bad parameter: path must be an str")
417
+ if "destination" in params and not isinstance(
418
+ params["destination"], str
419
+ ):
420
+ raise InvalidParameterError(
421
+ "Bad parameter: destination must be an str"
422
+ )
423
+ if "filename" in params and not isinstance(params["filename"], str):
424
+ raise InvalidParameterError(
425
+ "Bad parameter: filename must be an str"
426
+ )
427
+ response, _options = Api.send_request(
428
+ "POST", "/file_actions/unzip", params, self.options
429
+ )
430
+ return response.data
431
+
375
432
  # Begin File Upload
376
433
  #
377
434
  # Parameters:
@@ -640,6 +697,28 @@ def get(path, params=None, options=None):
640
697
  find(path, params, options)
641
698
 
642
699
 
700
+ # List the contents of a ZIP file
701
+ def zip_list_contents(path, params=None, options=None):
702
+ if not isinstance(params, dict):
703
+ params = {}
704
+ if not isinstance(options, dict):
705
+ options = {}
706
+ params["path"] = path
707
+ if "path" in params and not isinstance(params["path"], str):
708
+ raise InvalidParameterError("Bad parameter: path must be an str")
709
+ if "path" not in params:
710
+ raise MissingParameterError("Parameter missing: path")
711
+ response, options = Api.send_request(
712
+ "GET",
713
+ "/file_actions/zip_list/{path}".format(path=params["path"]),
714
+ params,
715
+ options,
716
+ )
717
+ return [
718
+ ZipListEntry(entity_data, options) for entity_data in response.data
719
+ ]
720
+
721
+
643
722
  # Copy File/Folder
644
723
  #
645
724
  # Parameters:
@@ -707,6 +786,65 @@ def move(path, params=None, options=None):
707
786
  return FileAction(response.data, options)
708
787
 
709
788
 
789
+ # Extract a ZIP file to a destination folder
790
+ #
791
+ # Parameters:
792
+ # destination (required) - string - Destination folder path for extracted files.
793
+ # filename - string - Optional single entry filename to extract.
794
+ # overwrite - boolean - Overwrite existing files in the destination?
795
+ def unzip(path, params=None, options=None):
796
+ if not isinstance(params, dict):
797
+ params = {}
798
+ if not isinstance(options, dict):
799
+ options = {}
800
+ params["path"] = path
801
+ if "path" in params and not isinstance(params["path"], str):
802
+ raise InvalidParameterError("Bad parameter: path must be an str")
803
+ if "destination" in params and not isinstance(params["destination"], str):
804
+ raise InvalidParameterError(
805
+ "Bad parameter: destination must be an str"
806
+ )
807
+ if "filename" in params and not isinstance(params["filename"], str):
808
+ raise InvalidParameterError("Bad parameter: filename must be an str")
809
+ if "overwrite" in params and not isinstance(params["overwrite"], bool):
810
+ raise InvalidParameterError("Bad parameter: overwrite must be an bool")
811
+ if "path" not in params:
812
+ raise MissingParameterError("Parameter missing: path")
813
+ if "destination" not in params:
814
+ raise MissingParameterError("Parameter missing: destination")
815
+ response, options = Api.send_request(
816
+ "POST", "/file_actions/unzip", params, options
817
+ )
818
+ return FileAction(response.data, options)
819
+
820
+
821
+ # Parameters:
822
+ # paths (required) - array(string) - Paths to include in the ZIP.
823
+ # destination (required) - string - Destination file path for the ZIP.
824
+ # overwrite - boolean - Overwrite existing file in the destination?
825
+ def zip(params=None, options=None):
826
+ if not isinstance(params, dict):
827
+ params = {}
828
+ if not isinstance(options, dict):
829
+ options = {}
830
+ if "paths" in params and not isinstance(params["paths"], builtins.list):
831
+ raise InvalidParameterError("Bad parameter: paths must be an list")
832
+ if "destination" in params and not isinstance(params["destination"], str):
833
+ raise InvalidParameterError(
834
+ "Bad parameter: destination must be an str"
835
+ )
836
+ if "overwrite" in params and not isinstance(params["overwrite"], bool):
837
+ raise InvalidParameterError("Bad parameter: overwrite must be an bool")
838
+ if "paths" not in params:
839
+ raise MissingParameterError("Parameter missing: paths")
840
+ if "destination" not in params:
841
+ raise MissingParameterError("Parameter missing: destination")
842
+ response, options = Api.send_request(
843
+ "POST", "/file_actions/zip", params, options
844
+ )
845
+ return FileAction(response.data, options)
846
+
847
+
710
848
  # Begin File Upload
711
849
  #
712
850
  # Parameters:
@@ -20,6 +20,7 @@ class RemoteServer:
20
20
  "hostname": None, # string - Hostname or IP address
21
21
  "remote_home_path": None, # string - Initial home folder on remote server
22
22
  "upload_staging_path": None, # string - Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
23
+ "allow_relative_paths": None, # boolean - Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
23
24
  "name": None, # string - Internal name for your reference
24
25
  "description": None, # string - Internal description for your reference
25
26
  "port": None, # int64 - Port for remote server.
@@ -244,6 +245,7 @@ class RemoteServer:
244
245
  # linode_secret_key - string - Linode: Secret Key
245
246
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
246
247
  # wasabi_secret_key - string - Wasabi: Secret Key
248
+ # allow_relative_paths - boolean - Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
247
249
  # aws_access_key - string - AWS Access Key.
248
250
  # azure_blob_storage_account - string - Azure Blob Storage: Account name
249
251
  # azure_blob_storage_container - string - Azure Blob Storage: Container name
@@ -820,6 +822,7 @@ def find_configuration_file(id, params=None, options=None):
820
822
  # linode_secret_key - string - Linode: Secret Key
821
823
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
822
824
  # wasabi_secret_key - string - Wasabi: Secret Key
825
+ # allow_relative_paths - boolean - Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
823
826
  # aws_access_key - string - AWS Access Key.
824
827
  # azure_blob_storage_account - string - Azure Blob Storage: Account name
825
828
  # azure_blob_storage_container - string - Azure Blob Storage: Container name
@@ -988,6 +991,12 @@ def create(params=None, options=None):
988
991
  raise InvalidParameterError(
989
992
  "Bad parameter: wasabi_secret_key must be an str"
990
993
  )
994
+ if "allow_relative_paths" in params and not isinstance(
995
+ params["allow_relative_paths"], bool
996
+ ):
997
+ raise InvalidParameterError(
998
+ "Bad parameter: allow_relative_paths must be an bool"
999
+ )
991
1000
  if "aws_access_key" in params and not isinstance(
992
1001
  params["aws_access_key"], str
993
1002
  ):
@@ -1389,6 +1398,7 @@ def configuration_file(id, params=None, options=None):
1389
1398
  # linode_secret_key - string - Linode: Secret Key
1390
1399
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
1391
1400
  # wasabi_secret_key - string - Wasabi: Secret Key
1401
+ # allow_relative_paths - boolean - Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
1392
1402
  # aws_access_key - string - AWS Access Key.
1393
1403
  # azure_blob_storage_account - string - Azure Blob Storage: Account name
1394
1404
  # azure_blob_storage_container - string - Azure Blob Storage: Container name
@@ -1559,6 +1569,12 @@ def update(id, params=None, options=None):
1559
1569
  raise InvalidParameterError(
1560
1570
  "Bad parameter: wasabi_secret_key must be an str"
1561
1571
  )
1572
+ if "allow_relative_paths" in params and not isinstance(
1573
+ params["allow_relative_paths"], bool
1574
+ ):
1575
+ raise InvalidParameterError(
1576
+ "Bad parameter: allow_relative_paths must be an bool"
1577
+ )
1562
1578
  if "aws_access_key" in params and not isinstance(
1563
1579
  params["aws_access_key"], str
1564
1580
  ):
@@ -0,0 +1,40 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.error import ( # noqa: F401
4
+ InvalidParameterError,
5
+ MissingParameterError,
6
+ NotImplementedError,
7
+ )
8
+
9
+
10
+ class ZipListEntry:
11
+ default_attributes = {
12
+ "path": None, # string - Entry path inside the ZIP. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
13
+ "size": None, # int64 - Uncompressed size in bytes.
14
+ }
15
+
16
+ def __init__(self, attributes=None, options=None):
17
+ if not isinstance(attributes, dict):
18
+ attributes = {}
19
+ if not isinstance(options, dict):
20
+ options = {}
21
+ self.set_attributes(attributes)
22
+ self.options = options
23
+
24
+ def set_attributes(self, attributes):
25
+ for (
26
+ attribute,
27
+ default_value,
28
+ ) in ZipListEntry.default_attributes.items():
29
+ setattr(self, attribute, attributes.get(attribute, default_value))
30
+
31
+ def get_attributes(self):
32
+ return {
33
+ k: getattr(self, k, None)
34
+ for k in ZipListEntry.default_attributes
35
+ if getattr(self, k, None) is not None
36
+ }
37
+
38
+
39
+ def new(*args, **kwargs):
40
+ return ZipListEntry(*args, **kwargs)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.266"
7
+ version = "1.6.277"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -35,6 +35,14 @@ class FileTest(TestBase):
35
35
  # Alias of delete
36
36
  def test_destroy(self):
37
37
  pass
38
+ @unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/file_actions/zip_list/{path}"), "Mock path does not exist")
39
+ def test_zip_list_contents(self):
40
+ params = {
41
+ "path" : "foo",
42
+ }
43
+ file = File(params)
44
+ file.zip_list_contents(params)
45
+
38
46
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/copy/{path}"), "Mock path does not exist")
39
47
  def test_copy(self):
40
48
  params = {
@@ -53,6 +61,15 @@ class FileTest(TestBase):
53
61
  file = File(params)
54
62
  file.move(params)
55
63
 
64
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/unzip"), "Mock path does not exist")
65
+ def test_unzip(self):
66
+ params = {
67
+ "path" : "foo",
68
+ "destination" : "foo",
69
+ }
70
+ file = File(params)
71
+ file.unzip(params)
72
+
56
73
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/begin_upload/{path}"), "Mock path does not exist")
57
74
  def test_begin_upload(self):
58
75
  params = {
@@ -103,6 +120,14 @@ class FileTest(TestBase):
103
120
  }
104
121
  file.find(path, params)
105
122
 
123
+ @unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/file_actions/zip_list/{path}"), "Mock path does not exist")
124
+ def test_zip_list_contents(self):
125
+ path = "foo"
126
+ params = {
127
+ "path" : "foo",
128
+ }
129
+ file.zip_list_contents(path, params)
130
+
106
131
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/copy/{path}"), "Mock path does not exist")
107
132
  def test_copy(self):
108
133
  path = "foo"
@@ -121,6 +146,23 @@ class FileTest(TestBase):
121
146
  }
122
147
  file.move(path, params)
123
148
 
149
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/unzip"), "Mock path does not exist")
150
+ def test_unzip(self):
151
+ path = "foo"
152
+ params = {
153
+ "path" : "foo",
154
+ "destination" : "foo",
155
+ }
156
+ file.unzip(path, params)
157
+
158
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/zip"), "Mock path does not exist")
159
+ def test_zip(self):
160
+ params = {
161
+ "paths" : ["foo1"],
162
+ "destination" : "foo",
163
+ }
164
+ file.zip(params)
165
+
124
166
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/begin_upload/{path}"), "Mock path does not exist")
125
167
  def test_begin_upload(self):
126
168
  path = "foo"
@@ -0,0 +1,14 @@
1
+ import unittest
2
+ import inspect
3
+ import files_sdk
4
+ from tests.base import TestBase
5
+ from files_sdk.models import ZipListEntry
6
+ from files_sdk import zip_list_entry
7
+
8
+ class ZipListEntryTest(TestBase):
9
+ pass
10
+ # Instance Methods
11
+
12
+ # Static Methods
13
+ if __name__ == '__main__':
14
+ unittest.main()
@@ -1 +0,0 @@
1
- 1.6.266
File without changes
File without changes