Files.com 1.6.393__tar.gz → 1.6.394__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 (289) hide show
  1. {files_com-1.6.393/files_com.egg-info → files_com-1.6.394}/PKG-INFO +1 -1
  2. files_com-1.6.394/_VERSION +1 -0
  3. {files_com-1.6.393 → files_com-1.6.394/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/__init__.py +1 -1
  5. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file.py +220 -0
  6. {files_com-1.6.393 → files_com-1.6.394}/pyproject.toml +1 -1
  7. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file.py +36 -0
  8. files_com-1.6.393/_VERSION +0 -1
  9. {files_com-1.6.393 → files_com-1.6.394}/LICENSE +0 -0
  10. {files_com-1.6.393 → files_com-1.6.394}/README.md +0 -0
  11. {files_com-1.6.393 → files_com-1.6.394}/files_com.egg-info/SOURCES.txt +0 -0
  12. {files_com-1.6.393 → files_com-1.6.394}/files_com.egg-info/dependency_links.txt +0 -0
  13. {files_com-1.6.393 → files_com-1.6.394}/files_com.egg-info/requires.txt +0 -0
  14. {files_com-1.6.393 → files_com-1.6.394}/files_com.egg-info/top_level.txt +0 -0
  15. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/api.py +0 -0
  16. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/api_client.py +0 -0
  17. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/error.py +0 -0
  18. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/list_obj.py +0 -0
  19. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/__init__.py +0 -0
  20. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/account_line_item.py +0 -0
  21. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/action.py +0 -0
  22. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/action_log.py +0 -0
  23. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/action_notification_export.py +0 -0
  24. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/action_notification_export_result.py +0 -0
  25. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/agent_push_update.py +0 -0
  26. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/api_key.py +0 -0
  27. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/api_request_log.py +0 -0
  28. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/app.py +0 -0
  29. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/as2_incoming_message.py +0 -0
  30. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/as2_outgoing_message.py +0 -0
  31. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/as2_partner.py +0 -0
  32. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/as2_station.py +0 -0
  33. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/auto.py +0 -0
  34. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/automation.py +0 -0
  35. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/automation_log.py +0 -0
  36. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/automation_run.py +0 -0
  37. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bandwidth_snapshot.py +0 -0
  38. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/behavior.py +0 -0
  39. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle.py +0 -0
  40. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_action.py +0 -0
  41. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_download.py +0 -0
  42. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_notification.py +0 -0
  43. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_path.py +0 -0
  44. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_recipient.py +0 -0
  45. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/bundle_registration.py +0 -0
  46. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/child_site_management_policy.py +0 -0
  47. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/clickwrap.py +0 -0
  48. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/custom_domain.py +0 -0
  49. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/desktop_configuration_profile.py +0 -0
  50. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/dns_record.py +0 -0
  51. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/email_incoming_message.py +0 -0
  52. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/email_log.py +0 -0
  53. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/errors.py +0 -0
  54. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/event_channel.py +0 -0
  55. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/event_delivery_attempt.py +0 -0
  56. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/event_record.py +0 -0
  57. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/event_subscription.py +0 -0
  58. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/event_target.py +0 -0
  59. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/exavault_api_request_log.py +0 -0
  60. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/expectation.py +0 -0
  61. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/expectation_evaluation.py +0 -0
  62. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/expectation_incident.py +0 -0
  63. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/external_event.py +0 -0
  64. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_action.py +0 -0
  65. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_comment.py +0 -0
  66. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_comment_reaction.py +0 -0
  67. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_migration.py +0 -0
  68. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_migration_log.py +0 -0
  69. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/file_upload_part.py +0 -0
  70. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/folder.py +0 -0
  71. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/form_field.py +0 -0
  72. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/form_field_set.py +0 -0
  73. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/ftp_action_log.py +0 -0
  74. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/gpg_key.py +0 -0
  75. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/group.py +0 -0
  76. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/group_user.py +0 -0
  77. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/history.py +0 -0
  78. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/history_export.py +0 -0
  79. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/history_export_result.py +0 -0
  80. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/holiday_region.py +0 -0
  81. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/image.py +0 -0
  82. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/inbound_s3_log.py +0 -0
  83. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/inbox_recipient.py +0 -0
  84. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/inbox_registration.py +0 -0
  85. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/inbox_upload.py +0 -0
  86. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/invoice.py +0 -0
  87. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/invoice_line_item.py +0 -0
  88. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/ip_address.py +0 -0
  89. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/key_lifecycle_rule.py +0 -0
  90. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/lock.py +0 -0
  91. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/message.py +0 -0
  92. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/message_comment.py +0 -0
  93. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/message_comment_reaction.py +0 -0
  94. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/message_reaction.py +0 -0
  95. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/metadata_category.py +0 -0
  96. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/notification.py +0 -0
  97. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/outbound_connection_log.py +0 -0
  98. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/partner.py +0 -0
  99. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/partner_site.py +0 -0
  100. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/partner_site_request.py +0 -0
  101. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/payment.py +0 -0
  102. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/payment_line_item.py +0 -0
  103. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/pending_work_event.py +0 -0
  104. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/permission.py +0 -0
  105. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/preview.py +0 -0
  106. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/project.py +0 -0
  107. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/public_hosting_request_log.py +0 -0
  108. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/public_ip_address.py +0 -0
  109. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/public_key.py +0 -0
  110. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  111. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/remote_mount_backend.py +0 -0
  112. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/remote_server.py +0 -0
  113. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/remote_server_configuration_file.py +0 -0
  114. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/remote_server_credential.py +0 -0
  115. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/request.py +0 -0
  116. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/restore.py +0 -0
  117. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/scheduled_export.py +0 -0
  118. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/scim_log.py +0 -0
  119. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/session.py +0 -0
  120. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/settings_change.py +0 -0
  121. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sftp_action_log.py +0 -0
  122. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sftp_host_key.py +0 -0
  123. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/share_group.py +0 -0
  124. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/share_group_member.py +0 -0
  125. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/siem_http_destination.py +0 -0
  126. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/siem_http_destination_event.py +0 -0
  127. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/site.py +0 -0
  128. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/site_subdomain_redirect.py +0 -0
  129. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/snapshot.py +0 -0
  130. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sso_event.py +0 -0
  131. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sso_strategy.py +0 -0
  132. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/status.py +0 -0
  133. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/style.py +0 -0
  134. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sync.py +0 -0
  135. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sync_log.py +0 -0
  136. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sync_run.py +0 -0
  137. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/sync_run_live_transfer.py +0 -0
  138. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  139. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/usage_daily_snapshot.py +0 -0
  140. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/usage_snapshot.py +0 -0
  141. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user.py +0 -0
  142. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user_cipher_use.py +0 -0
  143. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user_lifecycle_rule.py +0 -0
  144. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user_request.py +0 -0
  145. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user_security_event.py +0 -0
  146. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/user_sftp_client_use.py +0 -0
  147. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/web_dav_action_log.py +0 -0
  148. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/webhook_test.py +0 -0
  149. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/workspace.py +0 -0
  150. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/models/zip_list_entry.py +0 -0
  151. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/path_util.py +0 -0
  152. {files_com-1.6.393 → files_com-1.6.394}/files_sdk/util.py +0 -0
  153. {files_com-1.6.393 → files_com-1.6.394}/setup.cfg +0 -0
  154. {files_com-1.6.393 → files_com-1.6.394}/tests/test_account_line_item.py +0 -0
  155. {files_com-1.6.393 → files_com-1.6.394}/tests/test_action.py +0 -0
  156. {files_com-1.6.393 → files_com-1.6.394}/tests/test_action_log.py +0 -0
  157. {files_com-1.6.393 → files_com-1.6.394}/tests/test_action_notification_export.py +0 -0
  158. {files_com-1.6.393 → files_com-1.6.394}/tests/test_action_notification_export_result.py +0 -0
  159. {files_com-1.6.393 → files_com-1.6.394}/tests/test_agent_push_update.py +0 -0
  160. {files_com-1.6.393 → files_com-1.6.394}/tests/test_api_errors.py +0 -0
  161. {files_com-1.6.393 → files_com-1.6.394}/tests/test_api_key.py +0 -0
  162. {files_com-1.6.393 → files_com-1.6.394}/tests/test_api_request_log.py +0 -0
  163. {files_com-1.6.393 → files_com-1.6.394}/tests/test_app.py +0 -0
  164. {files_com-1.6.393 → files_com-1.6.394}/tests/test_as2_incoming_message.py +0 -0
  165. {files_com-1.6.393 → files_com-1.6.394}/tests/test_as2_outgoing_message.py +0 -0
  166. {files_com-1.6.393 → files_com-1.6.394}/tests/test_as2_partner.py +0 -0
  167. {files_com-1.6.393 → files_com-1.6.394}/tests/test_as2_station.py +0 -0
  168. {files_com-1.6.393 → files_com-1.6.394}/tests/test_auto.py +0 -0
  169. {files_com-1.6.393 → files_com-1.6.394}/tests/test_automation.py +0 -0
  170. {files_com-1.6.393 → files_com-1.6.394}/tests/test_automation_log.py +0 -0
  171. {files_com-1.6.393 → files_com-1.6.394}/tests/test_automation_run.py +0 -0
  172. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bandwidth_snapshot.py +0 -0
  173. {files_com-1.6.393 → files_com-1.6.394}/tests/test_behavior.py +0 -0
  174. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle.py +0 -0
  175. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_action.py +0 -0
  176. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_download.py +0 -0
  177. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_notification.py +0 -0
  178. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_path.py +0 -0
  179. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_recipient.py +0 -0
  180. {files_com-1.6.393 → files_com-1.6.394}/tests/test_bundle_registration.py +0 -0
  181. {files_com-1.6.393 → files_com-1.6.394}/tests/test_child_site_management_policy.py +0 -0
  182. {files_com-1.6.393 → files_com-1.6.394}/tests/test_clickwrap.py +0 -0
  183. {files_com-1.6.393 → files_com-1.6.394}/tests/test_connection_adapter.py +0 -0
  184. {files_com-1.6.393 → files_com-1.6.394}/tests/test_custom_domain.py +0 -0
  185. {files_com-1.6.393 → files_com-1.6.394}/tests/test_decimal_contract.py +0 -0
  186. {files_com-1.6.393 → files_com-1.6.394}/tests/test_desktop_configuration_profile.py +0 -0
  187. {files_com-1.6.393 → files_com-1.6.394}/tests/test_dns_record.py +0 -0
  188. {files_com-1.6.393 → files_com-1.6.394}/tests/test_email_incoming_message.py +0 -0
  189. {files_com-1.6.393 → files_com-1.6.394}/tests/test_email_log.py +0 -0
  190. {files_com-1.6.393 → files_com-1.6.394}/tests/test_errors.py +0 -0
  191. {files_com-1.6.393 → files_com-1.6.394}/tests/test_event_channel.py +0 -0
  192. {files_com-1.6.393 → files_com-1.6.394}/tests/test_event_delivery_attempt.py +0 -0
  193. {files_com-1.6.393 → files_com-1.6.394}/tests/test_event_record.py +0 -0
  194. {files_com-1.6.393 → files_com-1.6.394}/tests/test_event_subscription.py +0 -0
  195. {files_com-1.6.393 → files_com-1.6.394}/tests/test_event_target.py +0 -0
  196. {files_com-1.6.393 → files_com-1.6.394}/tests/test_exavault_api_request_log.py +0 -0
  197. {files_com-1.6.393 → files_com-1.6.394}/tests/test_expectation.py +0 -0
  198. {files_com-1.6.393 → files_com-1.6.394}/tests/test_expectation_evaluation.py +0 -0
  199. {files_com-1.6.393 → files_com-1.6.394}/tests/test_expectation_incident.py +0 -0
  200. {files_com-1.6.393 → files_com-1.6.394}/tests/test_external_event.py +0 -0
  201. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_action.py +0 -0
  202. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_comment.py +0 -0
  203. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_comment_reaction.py +0 -0
  204. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_migration.py +0 -0
  205. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_migration_log.py +0 -0
  206. {files_com-1.6.393 → files_com-1.6.394}/tests/test_file_upload_part.py +0 -0
  207. {files_com-1.6.393 → files_com-1.6.394}/tests/test_folder.py +0 -0
  208. {files_com-1.6.393 → files_com-1.6.394}/tests/test_form_field.py +0 -0
  209. {files_com-1.6.393 → files_com-1.6.394}/tests/test_form_field_set.py +0 -0
  210. {files_com-1.6.393 → files_com-1.6.394}/tests/test_ftp_action_log.py +0 -0
  211. {files_com-1.6.393 → files_com-1.6.394}/tests/test_gpg_key.py +0 -0
  212. {files_com-1.6.393 → files_com-1.6.394}/tests/test_group.py +0 -0
  213. {files_com-1.6.393 → files_com-1.6.394}/tests/test_group_user.py +0 -0
  214. {files_com-1.6.393 → files_com-1.6.394}/tests/test_history.py +0 -0
  215. {files_com-1.6.393 → files_com-1.6.394}/tests/test_history_export.py +0 -0
  216. {files_com-1.6.393 → files_com-1.6.394}/tests/test_history_export_result.py +0 -0
  217. {files_com-1.6.393 → files_com-1.6.394}/tests/test_holiday_region.py +0 -0
  218. {files_com-1.6.393 → files_com-1.6.394}/tests/test_image.py +0 -0
  219. {files_com-1.6.393 → files_com-1.6.394}/tests/test_inbound_s3_log.py +0 -0
  220. {files_com-1.6.393 → files_com-1.6.394}/tests/test_inbox_recipient.py +0 -0
  221. {files_com-1.6.393 → files_com-1.6.394}/tests/test_inbox_registration.py +0 -0
  222. {files_com-1.6.393 → files_com-1.6.394}/tests/test_inbox_upload.py +0 -0
  223. {files_com-1.6.393 → files_com-1.6.394}/tests/test_invoice.py +0 -0
  224. {files_com-1.6.393 → files_com-1.6.394}/tests/test_invoice_line_item.py +0 -0
  225. {files_com-1.6.393 → files_com-1.6.394}/tests/test_ip_address.py +0 -0
  226. {files_com-1.6.393 → files_com-1.6.394}/tests/test_key_lifecycle_rule.py +0 -0
  227. {files_com-1.6.393 → files_com-1.6.394}/tests/test_lock.py +0 -0
  228. {files_com-1.6.393 → files_com-1.6.394}/tests/test_message.py +0 -0
  229. {files_com-1.6.393 → files_com-1.6.394}/tests/test_message_comment.py +0 -0
  230. {files_com-1.6.393 → files_com-1.6.394}/tests/test_message_comment_reaction.py +0 -0
  231. {files_com-1.6.393 → files_com-1.6.394}/tests/test_message_reaction.py +0 -0
  232. {files_com-1.6.393 → files_com-1.6.394}/tests/test_metadata_category.py +0 -0
  233. {files_com-1.6.393 → files_com-1.6.394}/tests/test_notification.py +0 -0
  234. {files_com-1.6.393 → files_com-1.6.394}/tests/test_outbound_connection_log.py +0 -0
  235. {files_com-1.6.393 → files_com-1.6.394}/tests/test_partner.py +0 -0
  236. {files_com-1.6.393 → files_com-1.6.394}/tests/test_partner_site.py +0 -0
  237. {files_com-1.6.393 → files_com-1.6.394}/tests/test_partner_site_request.py +0 -0
  238. {files_com-1.6.393 → files_com-1.6.394}/tests/test_path_util.py +0 -0
  239. {files_com-1.6.393 → files_com-1.6.394}/tests/test_payment.py +0 -0
  240. {files_com-1.6.393 → files_com-1.6.394}/tests/test_payment_line_item.py +0 -0
  241. {files_com-1.6.393 → files_com-1.6.394}/tests/test_pending_work_event.py +0 -0
  242. {files_com-1.6.393 → files_com-1.6.394}/tests/test_permission.py +0 -0
  243. {files_com-1.6.393 → files_com-1.6.394}/tests/test_preview.py +0 -0
  244. {files_com-1.6.393 → files_com-1.6.394}/tests/test_project.py +0 -0
  245. {files_com-1.6.393 → files_com-1.6.394}/tests/test_public_hosting_request_log.py +0 -0
  246. {files_com-1.6.393 → files_com-1.6.394}/tests/test_public_ip_address.py +0 -0
  247. {files_com-1.6.393 → files_com-1.6.394}/tests/test_public_key.py +0 -0
  248. {files_com-1.6.393 → files_com-1.6.394}/tests/test_remote_bandwidth_snapshot.py +0 -0
  249. {files_com-1.6.393 → files_com-1.6.394}/tests/test_remote_mount_backend.py +0 -0
  250. {files_com-1.6.393 → files_com-1.6.394}/tests/test_remote_server.py +0 -0
  251. {files_com-1.6.393 → files_com-1.6.394}/tests/test_remote_server_configuration_file.py +0 -0
  252. {files_com-1.6.393 → files_com-1.6.394}/tests/test_remote_server_credential.py +0 -0
  253. {files_com-1.6.393 → files_com-1.6.394}/tests/test_request.py +0 -0
  254. {files_com-1.6.393 → files_com-1.6.394}/tests/test_restore.py +0 -0
  255. {files_com-1.6.393 → files_com-1.6.394}/tests/test_scheduled_export.py +0 -0
  256. {files_com-1.6.393 → files_com-1.6.394}/tests/test_scim_log.py +0 -0
  257. {files_com-1.6.393 → files_com-1.6.394}/tests/test_session.py +0 -0
  258. {files_com-1.6.393 → files_com-1.6.394}/tests/test_settings_change.py +0 -0
  259. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sftp_action_log.py +0 -0
  260. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sftp_host_key.py +0 -0
  261. {files_com-1.6.393 → files_com-1.6.394}/tests/test_share_group.py +0 -0
  262. {files_com-1.6.393 → files_com-1.6.394}/tests/test_share_group_member.py +0 -0
  263. {files_com-1.6.393 → files_com-1.6.394}/tests/test_siem_http_destination.py +0 -0
  264. {files_com-1.6.393 → files_com-1.6.394}/tests/test_siem_http_destination_event.py +0 -0
  265. {files_com-1.6.393 → files_com-1.6.394}/tests/test_site.py +0 -0
  266. {files_com-1.6.393 → files_com-1.6.394}/tests/test_site_subdomain_redirect.py +0 -0
  267. {files_com-1.6.393 → files_com-1.6.394}/tests/test_snapshot.py +0 -0
  268. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sso_event.py +0 -0
  269. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sso_strategy.py +0 -0
  270. {files_com-1.6.393 → files_com-1.6.394}/tests/test_status.py +0 -0
  271. {files_com-1.6.393 → files_com-1.6.394}/tests/test_style.py +0 -0
  272. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sync.py +0 -0
  273. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sync_log.py +0 -0
  274. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sync_run.py +0 -0
  275. {files_com-1.6.393 → files_com-1.6.394}/tests/test_sync_run_live_transfer.py +0 -0
  276. {files_com-1.6.393 → files_com-1.6.394}/tests/test_usage_by_top_level_dir.py +0 -0
  277. {files_com-1.6.393 → files_com-1.6.394}/tests/test_usage_daily_snapshot.py +0 -0
  278. {files_com-1.6.393 → files_com-1.6.394}/tests/test_usage_snapshot.py +0 -0
  279. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user.py +0 -0
  280. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user_cipher_use.py +0 -0
  281. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user_lifecycle_rule.py +0 -0
  282. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user_request.py +0 -0
  283. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user_security_event.py +0 -0
  284. {files_com-1.6.393 → files_com-1.6.394}/tests/test_user_sftp_client_use.py +0 -0
  285. {files_com-1.6.393 → files_com-1.6.394}/tests/test_web_dav_action_log.py +0 -0
  286. {files_com-1.6.393 → files_com-1.6.394}/tests/test_webhook_test.py +0 -0
  287. {files_com-1.6.393 → files_com-1.6.394}/tests/test_workspace.py +0 -0
  288. {files_com-1.6.393 → files_com-1.6.394}/tests/test_workspace_id.py +0 -0
  289. {files_com-1.6.393 → files_com-1.6.394}/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.393
3
+ Version: 1.6.394
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.394
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.393
3
+ Version: 1.6.394
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -288,7 +288,7 @@ source_ip = None
288
288
  workspace_id = None
289
289
  base_url = "https://app.files.com"
290
290
  base_path = "api/rest/v1"
291
- version = "1.6.393"
291
+ version = "1.6.394"
292
292
 
293
293
  __version__ = version
294
294
 
@@ -398,6 +398,110 @@ class File:
398
398
  )
399
399
  return response.data
400
400
 
401
+ # Decrypt a GPG-encrypted file and save it to a destination path
402
+ #
403
+ # Parameters:
404
+ # destination (required) - string - Destination file path for the decrypted file.
405
+ # gpg_key_ids - array(int64) - GPG Key IDs to decrypt with. If omitted, every accessible private GPG key in the source workspace is used.
406
+ # gpg_key_partner_id - int64 - Partner ID whose GPG keys should be used for decryption.
407
+ # use_all_private_keys - boolean - Use every accessible private GPG key in the source workspace for decryption.
408
+ # ignore_mdc_error - boolean - Ignore errors from the MDC (modification detection code) check.
409
+ # overwrite - boolean - Overwrite existing file in the destination?
410
+ def gpg_decrypt(self, params=None):
411
+ if not isinstance(params, dict):
412
+ params = {}
413
+
414
+ if hasattr(self, "path") and self.path:
415
+ params["path"] = self.path
416
+ else:
417
+ raise MissingParameterError("Current object doesn't have a path")
418
+ if "path" not in params:
419
+ raise MissingParameterError("Parameter missing: path")
420
+ if "destination" not in params:
421
+ raise MissingParameterError("Parameter missing: destination")
422
+ if "path" in params and not isinstance(params["path"], str):
423
+ raise InvalidParameterError("Bad parameter: path must be an str")
424
+ if "destination" in params and not isinstance(
425
+ params["destination"], str
426
+ ):
427
+ raise InvalidParameterError(
428
+ "Bad parameter: destination must be an str"
429
+ )
430
+ if "gpg_key_ids" in params and not isinstance(
431
+ params["gpg_key_ids"], builtins.list
432
+ ):
433
+ raise InvalidParameterError(
434
+ "Bad parameter: gpg_key_ids must be an list"
435
+ )
436
+ if "gpg_key_partner_id" in params and not isinstance(
437
+ params["gpg_key_partner_id"], int
438
+ ):
439
+ raise InvalidParameterError(
440
+ "Bad parameter: gpg_key_partner_id must be an int"
441
+ )
442
+ response, _options = Api.send_request(
443
+ "POST",
444
+ "/file_actions/gpg_decrypt/{path}".format(path=params["path"]),
445
+ params,
446
+ self.options,
447
+ )
448
+ return response.data
449
+
450
+ # Encrypt a file with GPG and save it to a destination path
451
+ #
452
+ # Parameters:
453
+ # destination (required) - string - Destination file path for the encrypted file.
454
+ # gpg_key_ids - array(int64) - GPG Key IDs to encrypt with.
455
+ # gpg_key_partner_id - int64 - Partner ID whose GPG keys should be used for encryption.
456
+ # signing_key_id - int64 - Optional GPG Key ID to sign with.
457
+ # armor - boolean - Output ASCII-armored encrypted data.
458
+ # overwrite - boolean - Overwrite existing file in the destination?
459
+ def gpg_encrypt(self, params=None):
460
+ if not isinstance(params, dict):
461
+ params = {}
462
+
463
+ if hasattr(self, "path") and self.path:
464
+ params["path"] = self.path
465
+ else:
466
+ raise MissingParameterError("Current object doesn't have a path")
467
+ if "path" not in params:
468
+ raise MissingParameterError("Parameter missing: path")
469
+ if "destination" not in params:
470
+ raise MissingParameterError("Parameter missing: destination")
471
+ if "path" in params and not isinstance(params["path"], str):
472
+ raise InvalidParameterError("Bad parameter: path must be an str")
473
+ if "destination" in params and not isinstance(
474
+ params["destination"], str
475
+ ):
476
+ raise InvalidParameterError(
477
+ "Bad parameter: destination must be an str"
478
+ )
479
+ if "gpg_key_ids" in params and not isinstance(
480
+ params["gpg_key_ids"], builtins.list
481
+ ):
482
+ raise InvalidParameterError(
483
+ "Bad parameter: gpg_key_ids must be an list"
484
+ )
485
+ if "gpg_key_partner_id" in params and not isinstance(
486
+ params["gpg_key_partner_id"], int
487
+ ):
488
+ raise InvalidParameterError(
489
+ "Bad parameter: gpg_key_partner_id must be an int"
490
+ )
491
+ if "signing_key_id" in params and not isinstance(
492
+ params["signing_key_id"], int
493
+ ):
494
+ raise InvalidParameterError(
495
+ "Bad parameter: signing_key_id must be an int"
496
+ )
497
+ response, _options = Api.send_request(
498
+ "POST",
499
+ "/file_actions/gpg_encrypt/{path}".format(path=params["path"]),
500
+ params,
501
+ self.options,
502
+ )
503
+ return response.data
504
+
401
505
  # Extract a ZIP file to a destination folder
402
506
  #
403
507
  # Parameters:
@@ -805,6 +909,122 @@ def move(path, params=None, options=None):
805
909
  return FileAction(response.data, options)
806
910
 
807
911
 
912
+ # Decrypt a GPG-encrypted file and save it to a destination path
913
+ #
914
+ # Parameters:
915
+ # destination (required) - string - Destination file path for the decrypted file.
916
+ # gpg_key_ids - array(int64) - GPG Key IDs to decrypt with. If omitted, every accessible private GPG key in the source workspace is used.
917
+ # gpg_key_partner_id - int64 - Partner ID whose GPG keys should be used for decryption.
918
+ # use_all_private_keys - boolean - Use every accessible private GPG key in the source workspace for decryption.
919
+ # ignore_mdc_error - boolean - Ignore errors from the MDC (modification detection code) check.
920
+ # overwrite - boolean - Overwrite existing file in the destination?
921
+ def gpg_decrypt(path, params=None, options=None):
922
+ if not isinstance(params, dict):
923
+ params = {}
924
+ if not isinstance(options, dict):
925
+ options = {}
926
+ params["path"] = path
927
+ if "path" in params and not isinstance(params["path"], str):
928
+ raise InvalidParameterError("Bad parameter: path must be an str")
929
+ if "destination" in params and not isinstance(params["destination"], str):
930
+ raise InvalidParameterError(
931
+ "Bad parameter: destination must be an str"
932
+ )
933
+ if "gpg_key_ids" in params and not isinstance(
934
+ params["gpg_key_ids"], builtins.list
935
+ ):
936
+ raise InvalidParameterError(
937
+ "Bad parameter: gpg_key_ids must be an list"
938
+ )
939
+ if "gpg_key_partner_id" in params and not isinstance(
940
+ params["gpg_key_partner_id"], int
941
+ ):
942
+ raise InvalidParameterError(
943
+ "Bad parameter: gpg_key_partner_id must be an int"
944
+ )
945
+ if "use_all_private_keys" in params and not isinstance(
946
+ params["use_all_private_keys"], bool
947
+ ):
948
+ raise InvalidParameterError(
949
+ "Bad parameter: use_all_private_keys must be an bool"
950
+ )
951
+ if "ignore_mdc_error" in params and not isinstance(
952
+ params["ignore_mdc_error"], bool
953
+ ):
954
+ raise InvalidParameterError(
955
+ "Bad parameter: ignore_mdc_error must be an bool"
956
+ )
957
+ if "overwrite" in params and not isinstance(params["overwrite"], bool):
958
+ raise InvalidParameterError("Bad parameter: overwrite must be an bool")
959
+ if "path" not in params:
960
+ raise MissingParameterError("Parameter missing: path")
961
+ if "destination" not in params:
962
+ raise MissingParameterError("Parameter missing: destination")
963
+ response, options = Api.send_request(
964
+ "POST",
965
+ "/file_actions/gpg_decrypt/{path}".format(path=params["path"]),
966
+ params,
967
+ options,
968
+ )
969
+ return FileAction(response.data, options)
970
+
971
+
972
+ # Encrypt a file with GPG and save it to a destination path
973
+ #
974
+ # Parameters:
975
+ # destination (required) - string - Destination file path for the encrypted file.
976
+ # gpg_key_ids - array(int64) - GPG Key IDs to encrypt with.
977
+ # gpg_key_partner_id - int64 - Partner ID whose GPG keys should be used for encryption.
978
+ # signing_key_id - int64 - Optional GPG Key ID to sign with.
979
+ # armor - boolean - Output ASCII-armored encrypted data.
980
+ # overwrite - boolean - Overwrite existing file in the destination?
981
+ def gpg_encrypt(path, params=None, options=None):
982
+ if not isinstance(params, dict):
983
+ params = {}
984
+ if not isinstance(options, dict):
985
+ options = {}
986
+ params["path"] = path
987
+ if "path" in params and not isinstance(params["path"], str):
988
+ raise InvalidParameterError("Bad parameter: path must be an str")
989
+ if "destination" in params and not isinstance(params["destination"], str):
990
+ raise InvalidParameterError(
991
+ "Bad parameter: destination must be an str"
992
+ )
993
+ if "gpg_key_ids" in params and not isinstance(
994
+ params["gpg_key_ids"], builtins.list
995
+ ):
996
+ raise InvalidParameterError(
997
+ "Bad parameter: gpg_key_ids must be an list"
998
+ )
999
+ if "gpg_key_partner_id" in params and not isinstance(
1000
+ params["gpg_key_partner_id"], int
1001
+ ):
1002
+ raise InvalidParameterError(
1003
+ "Bad parameter: gpg_key_partner_id must be an int"
1004
+ )
1005
+ if "signing_key_id" in params and not isinstance(
1006
+ params["signing_key_id"], int
1007
+ ):
1008
+ raise InvalidParameterError(
1009
+ "Bad parameter: signing_key_id must be an int"
1010
+ )
1011
+ if "armor" in params and not isinstance(params["armor"], bool):
1012
+ raise InvalidParameterError("Bad parameter: armor must be an bool")
1013
+ if "overwrite" in params and not isinstance(params["overwrite"], bool):
1014
+ raise InvalidParameterError("Bad parameter: overwrite must be an bool")
1015
+ if "path" not in params:
1016
+ raise MissingParameterError("Parameter missing: path")
1017
+ if "destination" not in params:
1018
+ raise MissingParameterError("Parameter missing: destination")
1019
+ response, options = Api.send_request(
1020
+ "POST",
1021
+ "/file_actions/gpg_encrypt/{path}".format(path=params["path"]),
1022
+ params,
1023
+ options,
1024
+ )
1025
+ return FileAction(response.data, options)
1026
+
1027
+
808
1028
  # Extract a ZIP file to a destination folder
809
1029
  #
810
1030
  # Parameters:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.393"
7
+ version = "1.6.394"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -61,6 +61,24 @@ class FileTest(TestBase):
61
61
  file = File(params)
62
62
  file.move(params)
63
63
 
64
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/gpg_decrypt/{path}"), "Mock path does not exist")
65
+ def test_gpg_decrypt(self):
66
+ params = {
67
+ "path" : "foo",
68
+ "destination" : "foo",
69
+ }
70
+ file = File(params)
71
+ file.gpg_decrypt(params)
72
+
73
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/gpg_encrypt/{path}"), "Mock path does not exist")
74
+ def test_gpg_encrypt(self):
75
+ params = {
76
+ "path" : "foo",
77
+ "destination" : "foo",
78
+ }
79
+ file = File(params)
80
+ file.gpg_encrypt(params)
81
+
64
82
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/unzip"), "Mock path does not exist")
65
83
  def test_unzip(self):
66
84
  params = {
@@ -146,6 +164,24 @@ class FileTest(TestBase):
146
164
  }
147
165
  file.move(path, params)
148
166
 
167
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/gpg_decrypt/{path}"), "Mock path does not exist")
168
+ def test_gpg_decrypt(self):
169
+ path = "foo"
170
+ params = {
171
+ "path" : "foo",
172
+ "destination" : "foo",
173
+ }
174
+ file.gpg_decrypt(path, params)
175
+
176
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/gpg_encrypt/{path}"), "Mock path does not exist")
177
+ def test_gpg_encrypt(self):
178
+ path = "foo"
179
+ params = {
180
+ "path" : "foo",
181
+ "destination" : "foo",
182
+ }
183
+ file.gpg_encrypt(path, params)
184
+
149
185
  @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/file_actions/unzip"), "Mock path does not exist")
150
186
  def test_unzip(self):
151
187
  path = "foo"
@@ -1 +0,0 @@
1
- 1.6.393
File without changes
File without changes