files-com 1.6.0__tar.gz → 1.6.2__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 (219) hide show
  1. {files_com-1.6.0/files_com.egg-info → files_com-1.6.2}/PKG-INFO +2 -2
  2. {files_com-1.6.0 → files_com-1.6.2}/README.md +1 -1
  3. files_com-1.6.2/_VERSION +1 -0
  4. {files_com-1.6.0 → files_com-1.6.2/files_com.egg-info}/PKG-INFO +2 -2
  5. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/__init__.py +1 -1
  6. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle.py +26 -0
  7. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_notification.py +15 -4
  8. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_recipient.py +7 -0
  9. {files_com-1.6.0 → files_com-1.6.2}/pyproject.toml +1 -1
  10. files_com-1.6.0/_VERSION +0 -1
  11. {files_com-1.6.0 → files_com-1.6.2}/LICENSE +0 -0
  12. {files_com-1.6.0 → files_com-1.6.2}/files_com.egg-info/SOURCES.txt +0 -0
  13. {files_com-1.6.0 → files_com-1.6.2}/files_com.egg-info/dependency_links.txt +0 -0
  14. {files_com-1.6.0 → files_com-1.6.2}/files_com.egg-info/requires.txt +0 -0
  15. {files_com-1.6.0 → files_com-1.6.2}/files_com.egg-info/top_level.txt +0 -0
  16. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/api.py +0 -0
  17. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/api_client.py +0 -0
  18. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/error.py +0 -0
  19. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/list_obj.py +0 -0
  20. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/__init__.py +0 -0
  21. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/account_line_item.py +0 -0
  22. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/action.py +0 -0
  23. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/action_notification_export.py +0 -0
  24. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/action_notification_export_result.py +0 -0
  25. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/api_key.py +0 -0
  26. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/api_request_log.py +0 -0
  27. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/app.py +0 -0
  28. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/as2_incoming_message.py +0 -0
  29. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/as2_outgoing_message.py +0 -0
  30. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/as2_partner.py +0 -0
  31. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/as2_station.py +0 -0
  32. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/auto.py +0 -0
  33. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/automation.py +0 -0
  34. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/automation_log.py +0 -0
  35. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/automation_run.py +0 -0
  36. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bandwidth_snapshot.py +0 -0
  37. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/behavior.py +0 -0
  38. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_action.py +0 -0
  39. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_download.py +0 -0
  40. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_path.py +0 -0
  41. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/bundle_registration.py +0 -0
  42. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/clickwrap.py +0 -0
  43. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/dns_record.py +0 -0
  44. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/email_incoming_message.py +0 -0
  45. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/email_log.py +0 -0
  46. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/errors.py +0 -0
  47. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/exavault_api_request_log.py +0 -0
  48. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/external_event.py +0 -0
  49. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file.py +0 -0
  50. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_action.py +0 -0
  51. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_comment.py +0 -0
  52. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_comment_reaction.py +0 -0
  53. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_migration.py +0 -0
  54. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_migration_log.py +0 -0
  55. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/file_upload_part.py +0 -0
  56. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/folder.py +0 -0
  57. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/form_field.py +0 -0
  58. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/form_field_set.py +0 -0
  59. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/ftp_action_log.py +0 -0
  60. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/gpg_key.py +0 -0
  61. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/group.py +0 -0
  62. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/group_user.py +0 -0
  63. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/history.py +0 -0
  64. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/history_export.py +0 -0
  65. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/history_export_result.py +0 -0
  66. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/image.py +0 -0
  67. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/inbox_recipient.py +0 -0
  68. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/inbox_registration.py +0 -0
  69. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/inbox_upload.py +0 -0
  70. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/invoice.py +0 -0
  71. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/invoice_line_item.py +0 -0
  72. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/ip_address.py +0 -0
  73. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/lock.py +0 -0
  74. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/message.py +0 -0
  75. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/message_comment.py +0 -0
  76. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/message_comment_reaction.py +0 -0
  77. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/message_reaction.py +0 -0
  78. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/notification.py +0 -0
  79. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/outbound_connection_log.py +0 -0
  80. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/payment.py +0 -0
  81. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/payment_line_item.py +0 -0
  82. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/permission.py +0 -0
  83. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/preview.py +0 -0
  84. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/priority.py +0 -0
  85. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/project.py +0 -0
  86. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/public_hosting_request_log.py +0 -0
  87. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/public_ip_address.py +0 -0
  88. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/public_key.py +0 -0
  89. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  90. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/remote_server.py +0 -0
  91. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/remote_server_configuration_file.py +0 -0
  92. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/request.py +0 -0
  93. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/restore.py +0 -0
  94. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/session.py +0 -0
  95. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/settings_change.py +0 -0
  96. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/sftp_action_log.py +0 -0
  97. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/sftp_host_key.py +0 -0
  98. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/share_group.py +0 -0
  99. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/share_group_member.py +0 -0
  100. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/siem_http_destination.py +0 -0
  101. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/site.py +0 -0
  102. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/snapshot.py +0 -0
  103. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/sso_strategy.py +0 -0
  104. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/status.py +0 -0
  105. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/style.py +0 -0
  106. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/sync_log.py +0 -0
  107. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  108. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/usage_daily_snapshot.py +0 -0
  109. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/usage_snapshot.py +0 -0
  110. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/user.py +0 -0
  111. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/user_cipher_use.py +0 -0
  112. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/user_request.py +0 -0
  113. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/user_sftp_client_use.py +0 -0
  114. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/web_dav_action_log.py +0 -0
  115. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/models/webhook_test.py +0 -0
  116. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/path_util.py +0 -0
  117. {files_com-1.6.0 → files_com-1.6.2}/files_sdk/util.py +0 -0
  118. {files_com-1.6.0 → files_com-1.6.2}/setup.cfg +0 -0
  119. {files_com-1.6.0 → files_com-1.6.2}/tests/test_account_line_item.py +0 -0
  120. {files_com-1.6.0 → files_com-1.6.2}/tests/test_action.py +0 -0
  121. {files_com-1.6.0 → files_com-1.6.2}/tests/test_action_notification_export.py +0 -0
  122. {files_com-1.6.0 → files_com-1.6.2}/tests/test_action_notification_export_result.py +0 -0
  123. {files_com-1.6.0 → files_com-1.6.2}/tests/test_api_errors.py +0 -0
  124. {files_com-1.6.0 → files_com-1.6.2}/tests/test_api_key.py +0 -0
  125. {files_com-1.6.0 → files_com-1.6.2}/tests/test_api_request_log.py +0 -0
  126. {files_com-1.6.0 → files_com-1.6.2}/tests/test_app.py +0 -0
  127. {files_com-1.6.0 → files_com-1.6.2}/tests/test_as2_incoming_message.py +0 -0
  128. {files_com-1.6.0 → files_com-1.6.2}/tests/test_as2_outgoing_message.py +0 -0
  129. {files_com-1.6.0 → files_com-1.6.2}/tests/test_as2_partner.py +0 -0
  130. {files_com-1.6.0 → files_com-1.6.2}/tests/test_as2_station.py +0 -0
  131. {files_com-1.6.0 → files_com-1.6.2}/tests/test_auto.py +0 -0
  132. {files_com-1.6.0 → files_com-1.6.2}/tests/test_automation.py +0 -0
  133. {files_com-1.6.0 → files_com-1.6.2}/tests/test_automation_log.py +0 -0
  134. {files_com-1.6.0 → files_com-1.6.2}/tests/test_automation_run.py +0 -0
  135. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bandwidth_snapshot.py +0 -0
  136. {files_com-1.6.0 → files_com-1.6.2}/tests/test_behavior.py +0 -0
  137. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle.py +0 -0
  138. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_action.py +0 -0
  139. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_download.py +0 -0
  140. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_notification.py +0 -0
  141. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_path.py +0 -0
  142. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_recipient.py +0 -0
  143. {files_com-1.6.0 → files_com-1.6.2}/tests/test_bundle_registration.py +0 -0
  144. {files_com-1.6.0 → files_com-1.6.2}/tests/test_clickwrap.py +0 -0
  145. {files_com-1.6.0 → files_com-1.6.2}/tests/test_connection_adapter.py +0 -0
  146. {files_com-1.6.0 → files_com-1.6.2}/tests/test_dns_record.py +0 -0
  147. {files_com-1.6.0 → files_com-1.6.2}/tests/test_email_incoming_message.py +0 -0
  148. {files_com-1.6.0 → files_com-1.6.2}/tests/test_email_log.py +0 -0
  149. {files_com-1.6.0 → files_com-1.6.2}/tests/test_errors.py +0 -0
  150. {files_com-1.6.0 → files_com-1.6.2}/tests/test_exavault_api_request_log.py +0 -0
  151. {files_com-1.6.0 → files_com-1.6.2}/tests/test_external_event.py +0 -0
  152. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file.py +0 -0
  153. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_action.py +0 -0
  154. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_comment.py +0 -0
  155. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_comment_reaction.py +0 -0
  156. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_migration.py +0 -0
  157. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_migration_log.py +0 -0
  158. {files_com-1.6.0 → files_com-1.6.2}/tests/test_file_upload_part.py +0 -0
  159. {files_com-1.6.0 → files_com-1.6.2}/tests/test_folder.py +0 -0
  160. {files_com-1.6.0 → files_com-1.6.2}/tests/test_form_field.py +0 -0
  161. {files_com-1.6.0 → files_com-1.6.2}/tests/test_form_field_set.py +0 -0
  162. {files_com-1.6.0 → files_com-1.6.2}/tests/test_ftp_action_log.py +0 -0
  163. {files_com-1.6.0 → files_com-1.6.2}/tests/test_gpg_key.py +0 -0
  164. {files_com-1.6.0 → files_com-1.6.2}/tests/test_group.py +0 -0
  165. {files_com-1.6.0 → files_com-1.6.2}/tests/test_group_user.py +0 -0
  166. {files_com-1.6.0 → files_com-1.6.2}/tests/test_history.py +0 -0
  167. {files_com-1.6.0 → files_com-1.6.2}/tests/test_history_export.py +0 -0
  168. {files_com-1.6.0 → files_com-1.6.2}/tests/test_history_export_result.py +0 -0
  169. {files_com-1.6.0 → files_com-1.6.2}/tests/test_image.py +0 -0
  170. {files_com-1.6.0 → files_com-1.6.2}/tests/test_inbox_recipient.py +0 -0
  171. {files_com-1.6.0 → files_com-1.6.2}/tests/test_inbox_registration.py +0 -0
  172. {files_com-1.6.0 → files_com-1.6.2}/tests/test_inbox_upload.py +0 -0
  173. {files_com-1.6.0 → files_com-1.6.2}/tests/test_invoice.py +0 -0
  174. {files_com-1.6.0 → files_com-1.6.2}/tests/test_invoice_line_item.py +0 -0
  175. {files_com-1.6.0 → files_com-1.6.2}/tests/test_ip_address.py +0 -0
  176. {files_com-1.6.0 → files_com-1.6.2}/tests/test_lock.py +0 -0
  177. {files_com-1.6.0 → files_com-1.6.2}/tests/test_message.py +0 -0
  178. {files_com-1.6.0 → files_com-1.6.2}/tests/test_message_comment.py +0 -0
  179. {files_com-1.6.0 → files_com-1.6.2}/tests/test_message_comment_reaction.py +0 -0
  180. {files_com-1.6.0 → files_com-1.6.2}/tests/test_message_reaction.py +0 -0
  181. {files_com-1.6.0 → files_com-1.6.2}/tests/test_notification.py +0 -0
  182. {files_com-1.6.0 → files_com-1.6.2}/tests/test_outbound_connection_log.py +0 -0
  183. {files_com-1.6.0 → files_com-1.6.2}/tests/test_path_util.py +0 -0
  184. {files_com-1.6.0 → files_com-1.6.2}/tests/test_payment.py +0 -0
  185. {files_com-1.6.0 → files_com-1.6.2}/tests/test_payment_line_item.py +0 -0
  186. {files_com-1.6.0 → files_com-1.6.2}/tests/test_permission.py +0 -0
  187. {files_com-1.6.0 → files_com-1.6.2}/tests/test_preview.py +0 -0
  188. {files_com-1.6.0 → files_com-1.6.2}/tests/test_priority.py +0 -0
  189. {files_com-1.6.0 → files_com-1.6.2}/tests/test_project.py +0 -0
  190. {files_com-1.6.0 → files_com-1.6.2}/tests/test_public_hosting_request_log.py +0 -0
  191. {files_com-1.6.0 → files_com-1.6.2}/tests/test_public_ip_address.py +0 -0
  192. {files_com-1.6.0 → files_com-1.6.2}/tests/test_public_key.py +0 -0
  193. {files_com-1.6.0 → files_com-1.6.2}/tests/test_remote_bandwidth_snapshot.py +0 -0
  194. {files_com-1.6.0 → files_com-1.6.2}/tests/test_remote_server.py +0 -0
  195. {files_com-1.6.0 → files_com-1.6.2}/tests/test_remote_server_configuration_file.py +0 -0
  196. {files_com-1.6.0 → files_com-1.6.2}/tests/test_request.py +0 -0
  197. {files_com-1.6.0 → files_com-1.6.2}/tests/test_restore.py +0 -0
  198. {files_com-1.6.0 → files_com-1.6.2}/tests/test_session.py +0 -0
  199. {files_com-1.6.0 → files_com-1.6.2}/tests/test_settings_change.py +0 -0
  200. {files_com-1.6.0 → files_com-1.6.2}/tests/test_sftp_action_log.py +0 -0
  201. {files_com-1.6.0 → files_com-1.6.2}/tests/test_sftp_host_key.py +0 -0
  202. {files_com-1.6.0 → files_com-1.6.2}/tests/test_share_group.py +0 -0
  203. {files_com-1.6.0 → files_com-1.6.2}/tests/test_share_group_member.py +0 -0
  204. {files_com-1.6.0 → files_com-1.6.2}/tests/test_siem_http_destination.py +0 -0
  205. {files_com-1.6.0 → files_com-1.6.2}/tests/test_site.py +0 -0
  206. {files_com-1.6.0 → files_com-1.6.2}/tests/test_snapshot.py +0 -0
  207. {files_com-1.6.0 → files_com-1.6.2}/tests/test_sso_strategy.py +0 -0
  208. {files_com-1.6.0 → files_com-1.6.2}/tests/test_status.py +0 -0
  209. {files_com-1.6.0 → files_com-1.6.2}/tests/test_style.py +0 -0
  210. {files_com-1.6.0 → files_com-1.6.2}/tests/test_sync_log.py +0 -0
  211. {files_com-1.6.0 → files_com-1.6.2}/tests/test_usage_by_top_level_dir.py +0 -0
  212. {files_com-1.6.0 → files_com-1.6.2}/tests/test_usage_daily_snapshot.py +0 -0
  213. {files_com-1.6.0 → files_com-1.6.2}/tests/test_usage_snapshot.py +0 -0
  214. {files_com-1.6.0 → files_com-1.6.2}/tests/test_user.py +0 -0
  215. {files_com-1.6.0 → files_com-1.6.2}/tests/test_user_cipher_use.py +0 -0
  216. {files_com-1.6.0 → files_com-1.6.2}/tests/test_user_request.py +0 -0
  217. {files_com-1.6.0 → files_com-1.6.2}/tests/test_user_sftp_client_use.py +0 -0
  218. {files_com-1.6.0 → files_com-1.6.2}/tests/test_web_dav_action_log.py +0 -0
  219. {files_com-1.6.0 → files_com-1.6.2}/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.0
3
+ Version: 1.6.2
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -369,7 +369,7 @@ except files_sdk.error.Error as err:
369
369
 
370
370
  ## Foreign Language Support
371
371
 
372
- The Files.com PHP SDK supports localized responses by using the `files_sdk.set_language` configuration method.
372
+ The Files.com Python SDK supports localized responses by using the `files_sdk.set_language` configuration method.
373
373
  When configured, this guides the API in selecting a preferred language for applicable response content.
374
374
 
375
375
  Language support currently applies to select human-facing fields only, such as notification messages
@@ -357,7 +357,7 @@ except files_sdk.error.Error as err:
357
357
 
358
358
  ## Foreign Language Support
359
359
 
360
- The Files.com PHP SDK supports localized responses by using the `files_sdk.set_language` configuration method.
360
+ The Files.com Python SDK supports localized responses by using the `files_sdk.set_language` configuration method.
361
361
  When configured, this guides the API in selecting a preferred language for applicable response content.
362
362
 
363
363
  Language support currently applies to select human-facing fields only, such as notification messages
@@ -0,0 +1 @@
1
+ 1.6.2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.0
3
+ Version: 1.6.2
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -369,7 +369,7 @@ except files_sdk.error.Error as err:
369
369
 
370
370
  ## Foreign Language Support
371
371
 
372
- The Files.com PHP SDK supports localized responses by using the `files_sdk.set_language` configuration method.
372
+ The Files.com Python SDK supports localized responses by using the `files_sdk.set_language` configuration method.
373
373
  When configured, this guides the API in selecting a preferred language for applicable response content.
374
374
 
375
375
  Language support currently applies to select human-facing fields only, such as notification messages
@@ -213,7 +213,7 @@ session_id = None
213
213
  source_ip = None
214
214
  base_url = "https://app.files.com"
215
215
  base_path = "api/rest/v1"
216
- version = "1.6.0"
216
+ version = "1.6.2"
217
217
 
218
218
  __version__ = version
219
219
 
@@ -264,6 +264,12 @@ class Bundle:
264
264
  # 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.
265
265
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
266
266
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
267
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
268
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
269
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
270
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
271
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
272
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
267
273
  def list(params=None, options=None):
268
274
  if not isinstance(params, dict):
269
275
  params = {}
@@ -277,6 +283,26 @@ def list(params=None, options=None):
277
283
  raise InvalidParameterError("Bad parameter: per_page must be an int")
278
284
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
279
285
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
286
+ if "filter" in params and not isinstance(params["filter"], dict):
287
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
288
+ if "filter_gt" in params and not isinstance(params["filter_gt"], dict):
289
+ raise InvalidParameterError("Bad parameter: filter_gt must be an dict")
290
+ if "filter_gteq" in params and not isinstance(params["filter_gteq"], dict):
291
+ raise InvalidParameterError(
292
+ "Bad parameter: filter_gteq must be an dict"
293
+ )
294
+ if "filter_prefix" in params and not isinstance(
295
+ params["filter_prefix"], dict
296
+ ):
297
+ raise InvalidParameterError(
298
+ "Bad parameter: filter_prefix must be an dict"
299
+ )
300
+ if "filter_lt" in params and not isinstance(params["filter_lt"], dict):
301
+ raise InvalidParameterError("Bad parameter: filter_lt must be an dict")
302
+ if "filter_lteq" in params and not isinstance(params["filter_lteq"], dict):
303
+ raise InvalidParameterError(
304
+ "Bad parameter: filter_lteq must be an dict"
305
+ )
280
306
  return ListObj(Bundle, "GET", "/bundles", params, options)
281
307
 
282
308
 
@@ -14,7 +14,8 @@ class BundleNotification:
14
14
  "id": None, # int64 - Bundle Notification ID
15
15
  "notify_on_registration": None, # boolean - Triggers bundle notification when a registration action occurs for it.
16
16
  "notify_on_upload": None, # boolean - Triggers bundle notification when a upload action occurs for it.
17
- "user_id": None, # int64 - The id of the user to notify.
17
+ "notify_user_id": None, # int64 - The id of the user to notify.
18
+ "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
18
19
  }
19
20
 
20
21
  def __init__(self, attributes=None, options=None):
@@ -96,6 +97,7 @@ class BundleNotification:
96
97
 
97
98
 
98
99
  # Parameters:
100
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
99
101
  # 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.
100
102
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
101
103
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
@@ -105,6 +107,8 @@ def list(params=None, options=None):
105
107
  params = {}
106
108
  if not isinstance(options, dict):
107
109
  options = {}
110
+ if "user_id" in params and not isinstance(params["user_id"], int):
111
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
108
112
  if "cursor" in params and not isinstance(params["cursor"], str):
109
113
  raise InvalidParameterError("Bad parameter: cursor must be an str")
110
114
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -148,8 +152,9 @@ def get(id, params=None, options=None):
148
152
 
149
153
 
150
154
  # Parameters:
155
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
151
156
  # bundle_id (required) - int64 - Bundle ID to notify on
152
- # user_id - int64 - The id of the user to notify.
157
+ # notify_user_id - int64 - The id of the user to notify.
153
158
  # notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
154
159
  # notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
155
160
  def create(params=None, options=None):
@@ -157,10 +162,16 @@ def create(params=None, options=None):
157
162
  params = {}
158
163
  if not isinstance(options, dict):
159
164
  options = {}
160
- if "bundle_id" in params and not isinstance(params["bundle_id"], int):
161
- raise InvalidParameterError("Bad parameter: bundle_id must be an int")
162
165
  if "user_id" in params and not isinstance(params["user_id"], int):
163
166
  raise InvalidParameterError("Bad parameter: user_id must be an int")
167
+ if "bundle_id" in params and not isinstance(params["bundle_id"], int):
168
+ raise InvalidParameterError("Bad parameter: bundle_id must be an int")
169
+ if "notify_user_id" in params and not isinstance(
170
+ params["notify_user_id"], int
171
+ ):
172
+ raise InvalidParameterError(
173
+ "Bad parameter: notify_user_id must be an int"
174
+ )
164
175
  if "notify_on_registration" in params and not isinstance(
165
176
  params["notify_on_registration"], bool
166
177
  ):
@@ -15,6 +15,7 @@ class BundleRecipient:
15
15
  "note": None, # string - A note sent to the recipient with the bundle.
16
16
  "recipient": None, # string - The recipient's email address.
17
17
  "sent_at": None, # date-time - When the Bundle was shared with this recipient.
18
+ "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
18
19
  "bundle_id": None, # int64 - Bundle to share.
19
20
  "share_after_create": None, # boolean - Set to true to share the link with the recipient upon creation.
20
21
  }
@@ -53,6 +54,7 @@ class BundleRecipient:
53
54
 
54
55
 
55
56
  # Parameters:
57
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
56
58
  # 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.
57
59
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
58
60
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
@@ -63,6 +65,8 @@ def list(params=None, options=None):
63
65
  params = {}
64
66
  if not isinstance(options, dict):
65
67
  options = {}
68
+ if "user_id" in params and not isinstance(params["user_id"], int):
69
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
66
70
  if "cursor" in params and not isinstance(params["cursor"], str):
67
71
  raise InvalidParameterError("Bad parameter: cursor must be an str")
68
72
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -85,6 +89,7 @@ def all(params=None, options=None):
85
89
 
86
90
 
87
91
  # Parameters:
92
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
88
93
  # bundle_id (required) - int64 - Bundle to share.
89
94
  # recipient (required) - string - Email addresses to share this bundle with.
90
95
  # name - string - Name of recipient.
@@ -96,6 +101,8 @@ def create(params=None, options=None):
96
101
  params = {}
97
102
  if not isinstance(options, dict):
98
103
  options = {}
104
+ if "user_id" in params and not isinstance(params["user_id"], int):
105
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
99
106
  if "bundle_id" in params and not isinstance(params["bundle_id"], int):
100
107
  raise InvalidParameterError("Bad parameter: bundle_id must be an int")
101
108
  if "recipient" in params and not isinstance(params["recipient"], str):
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.0"
7
+ version = "1.6.2"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
files_com-1.6.0/_VERSION DELETED
@@ -1 +0,0 @@
1
- 1.6.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes