files-com 1.6.173__tar.gz → 1.6.219__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 (245) hide show
  1. {files_com-1.6.173/files_com.egg-info → files_com-1.6.219}/PKG-INFO +1 -1
  2. files_com-1.6.219/_VERSION +1 -0
  3. {files_com-1.6.173 → files_com-1.6.219/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/__init__.py +1 -1
  5. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/api_key.py +7 -21
  6. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/as2_incoming_message.py +3 -2
  7. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/as2_outgoing_message.py +3 -2
  8. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/as2_partner.py +3 -2
  9. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/as2_station.py +15 -4
  10. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/automation.py +3 -17
  11. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle.py +23 -1
  12. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/gpg_key.py +7 -21
  13. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/group.py +7 -21
  14. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/partner.py +12 -1
  15. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/public_key.py +3 -2
  16. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/remote_server.py +10 -1
  17. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/remote_server_credential.py +7 -21
  18. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sync.py +1 -15
  19. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/user.py +26 -2
  20. {files_com-1.6.173 → files_com-1.6.219}/pyproject.toml +1 -1
  21. files_com-1.6.173/_VERSION +0 -1
  22. {files_com-1.6.173 → files_com-1.6.219}/LICENSE +0 -0
  23. {files_com-1.6.173 → files_com-1.6.219}/README.md +0 -0
  24. {files_com-1.6.173 → files_com-1.6.219}/files_com.egg-info/SOURCES.txt +0 -0
  25. {files_com-1.6.173 → files_com-1.6.219}/files_com.egg-info/dependency_links.txt +0 -0
  26. {files_com-1.6.173 → files_com-1.6.219}/files_com.egg-info/requires.txt +0 -0
  27. {files_com-1.6.173 → files_com-1.6.219}/files_com.egg-info/top_level.txt +0 -0
  28. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/api.py +0 -0
  29. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/api_client.py +0 -0
  30. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/error.py +0 -0
  31. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/list_obj.py +0 -0
  32. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/__init__.py +0 -0
  33. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/account_line_item.py +0 -0
  34. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/action.py +0 -0
  35. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/action_notification_export.py +0 -0
  36. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/action_notification_export_result.py +0 -0
  37. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/agent_push_update.py +0 -0
  38. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/api_request_log.py +0 -0
  39. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/app.py +0 -0
  40. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/auto.py +0 -0
  41. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/automation_log.py +0 -0
  42. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/automation_run.py +0 -0
  43. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bandwidth_snapshot.py +0 -0
  44. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/behavior.py +0 -0
  45. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_action.py +0 -0
  46. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_download.py +0 -0
  47. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_notification.py +0 -0
  48. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_path.py +0 -0
  49. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_recipient.py +0 -0
  50. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/bundle_registration.py +0 -0
  51. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/child_site_management_policy.py +0 -0
  52. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/clickwrap.py +0 -0
  53. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/dns_record.py +0 -0
  54. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/email_incoming_message.py +0 -0
  55. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/email_log.py +0 -0
  56. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/errors.py +0 -0
  57. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/exavault_api_request_log.py +0 -0
  58. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/external_event.py +0 -0
  59. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file.py +0 -0
  60. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_action.py +0 -0
  61. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_comment.py +0 -0
  62. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_comment_reaction.py +0 -0
  63. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_migration.py +0 -0
  64. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_migration_log.py +0 -0
  65. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/file_upload_part.py +0 -0
  66. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/folder.py +0 -0
  67. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/form_field.py +0 -0
  68. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/form_field_set.py +0 -0
  69. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/ftp_action_log.py +0 -0
  70. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/group_user.py +0 -0
  71. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/history.py +0 -0
  72. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/history_export.py +0 -0
  73. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/history_export_result.py +0 -0
  74. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/holiday_region.py +0 -0
  75. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/image.py +0 -0
  76. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/inbound_s3_log.py +0 -0
  77. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/inbox_recipient.py +0 -0
  78. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/inbox_registration.py +0 -0
  79. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/inbox_upload.py +0 -0
  80. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/invoice.py +0 -0
  81. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/invoice_line_item.py +0 -0
  82. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/ip_address.py +0 -0
  83. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/key_lifecycle_rule.py +0 -0
  84. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/lock.py +0 -0
  85. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/message.py +0 -0
  86. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/message_comment.py +0 -0
  87. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/message_comment_reaction.py +0 -0
  88. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/message_reaction.py +0 -0
  89. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/notification.py +0 -0
  90. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/outbound_connection_log.py +0 -0
  91. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/payment.py +0 -0
  92. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/payment_line_item.py +0 -0
  93. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/permission.py +0 -0
  94. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/preview.py +0 -0
  95. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/priority.py +0 -0
  96. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/project.py +0 -0
  97. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/public_hosting_request_log.py +0 -0
  98. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/public_ip_address.py +0 -0
  99. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  100. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/remote_mount_backend.py +0 -0
  101. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/remote_server_configuration_file.py +0 -0
  102. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/request.py +0 -0
  103. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/restore.py +0 -0
  104. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/scim_log.py +0 -0
  105. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/session.py +0 -0
  106. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/settings_change.py +0 -0
  107. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sftp_action_log.py +0 -0
  108. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sftp_host_key.py +0 -0
  109. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/share_group.py +0 -0
  110. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/share_group_member.py +0 -0
  111. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/siem_http_destination.py +0 -0
  112. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/site.py +0 -0
  113. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/snapshot.py +0 -0
  114. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sso_strategy.py +0 -0
  115. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/status.py +0 -0
  116. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/style.py +0 -0
  117. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sync_log.py +0 -0
  118. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/sync_run.py +0 -0
  119. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  120. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/usage_daily_snapshot.py +0 -0
  121. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/usage_snapshot.py +0 -0
  122. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/user_cipher_use.py +0 -0
  123. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/user_lifecycle_rule.py +0 -0
  124. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/user_request.py +0 -0
  125. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/user_sftp_client_use.py +0 -0
  126. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/web_dav_action_log.py +0 -0
  127. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/webhook_test.py +0 -0
  128. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/models/workspace.py +0 -0
  129. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/path_util.py +0 -0
  130. {files_com-1.6.173 → files_com-1.6.219}/files_sdk/util.py +0 -0
  131. {files_com-1.6.173 → files_com-1.6.219}/setup.cfg +0 -0
  132. {files_com-1.6.173 → files_com-1.6.219}/tests/test_account_line_item.py +0 -0
  133. {files_com-1.6.173 → files_com-1.6.219}/tests/test_action.py +0 -0
  134. {files_com-1.6.173 → files_com-1.6.219}/tests/test_action_notification_export.py +0 -0
  135. {files_com-1.6.173 → files_com-1.6.219}/tests/test_action_notification_export_result.py +0 -0
  136. {files_com-1.6.173 → files_com-1.6.219}/tests/test_agent_push_update.py +0 -0
  137. {files_com-1.6.173 → files_com-1.6.219}/tests/test_api_errors.py +0 -0
  138. {files_com-1.6.173 → files_com-1.6.219}/tests/test_api_key.py +0 -0
  139. {files_com-1.6.173 → files_com-1.6.219}/tests/test_api_request_log.py +0 -0
  140. {files_com-1.6.173 → files_com-1.6.219}/tests/test_app.py +0 -0
  141. {files_com-1.6.173 → files_com-1.6.219}/tests/test_as2_incoming_message.py +0 -0
  142. {files_com-1.6.173 → files_com-1.6.219}/tests/test_as2_outgoing_message.py +0 -0
  143. {files_com-1.6.173 → files_com-1.6.219}/tests/test_as2_partner.py +0 -0
  144. {files_com-1.6.173 → files_com-1.6.219}/tests/test_as2_station.py +0 -0
  145. {files_com-1.6.173 → files_com-1.6.219}/tests/test_auto.py +0 -0
  146. {files_com-1.6.173 → files_com-1.6.219}/tests/test_automation.py +0 -0
  147. {files_com-1.6.173 → files_com-1.6.219}/tests/test_automation_log.py +0 -0
  148. {files_com-1.6.173 → files_com-1.6.219}/tests/test_automation_run.py +0 -0
  149. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bandwidth_snapshot.py +0 -0
  150. {files_com-1.6.173 → files_com-1.6.219}/tests/test_behavior.py +0 -0
  151. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle.py +0 -0
  152. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_action.py +0 -0
  153. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_download.py +0 -0
  154. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_notification.py +0 -0
  155. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_path.py +0 -0
  156. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_recipient.py +0 -0
  157. {files_com-1.6.173 → files_com-1.6.219}/tests/test_bundle_registration.py +0 -0
  158. {files_com-1.6.173 → files_com-1.6.219}/tests/test_child_site_management_policy.py +0 -0
  159. {files_com-1.6.173 → files_com-1.6.219}/tests/test_clickwrap.py +0 -0
  160. {files_com-1.6.173 → files_com-1.6.219}/tests/test_connection_adapter.py +0 -0
  161. {files_com-1.6.173 → files_com-1.6.219}/tests/test_dns_record.py +0 -0
  162. {files_com-1.6.173 → files_com-1.6.219}/tests/test_email_incoming_message.py +0 -0
  163. {files_com-1.6.173 → files_com-1.6.219}/tests/test_email_log.py +0 -0
  164. {files_com-1.6.173 → files_com-1.6.219}/tests/test_errors.py +0 -0
  165. {files_com-1.6.173 → files_com-1.6.219}/tests/test_exavault_api_request_log.py +0 -0
  166. {files_com-1.6.173 → files_com-1.6.219}/tests/test_external_event.py +0 -0
  167. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file.py +0 -0
  168. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_action.py +0 -0
  169. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_comment.py +0 -0
  170. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_comment_reaction.py +0 -0
  171. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_migration.py +0 -0
  172. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_migration_log.py +0 -0
  173. {files_com-1.6.173 → files_com-1.6.219}/tests/test_file_upload_part.py +0 -0
  174. {files_com-1.6.173 → files_com-1.6.219}/tests/test_folder.py +0 -0
  175. {files_com-1.6.173 → files_com-1.6.219}/tests/test_form_field.py +0 -0
  176. {files_com-1.6.173 → files_com-1.6.219}/tests/test_form_field_set.py +0 -0
  177. {files_com-1.6.173 → files_com-1.6.219}/tests/test_ftp_action_log.py +0 -0
  178. {files_com-1.6.173 → files_com-1.6.219}/tests/test_gpg_key.py +0 -0
  179. {files_com-1.6.173 → files_com-1.6.219}/tests/test_group.py +0 -0
  180. {files_com-1.6.173 → files_com-1.6.219}/tests/test_group_user.py +0 -0
  181. {files_com-1.6.173 → files_com-1.6.219}/tests/test_history.py +0 -0
  182. {files_com-1.6.173 → files_com-1.6.219}/tests/test_history_export.py +0 -0
  183. {files_com-1.6.173 → files_com-1.6.219}/tests/test_history_export_result.py +0 -0
  184. {files_com-1.6.173 → files_com-1.6.219}/tests/test_holiday_region.py +0 -0
  185. {files_com-1.6.173 → files_com-1.6.219}/tests/test_image.py +0 -0
  186. {files_com-1.6.173 → files_com-1.6.219}/tests/test_inbound_s3_log.py +0 -0
  187. {files_com-1.6.173 → files_com-1.6.219}/tests/test_inbox_recipient.py +0 -0
  188. {files_com-1.6.173 → files_com-1.6.219}/tests/test_inbox_registration.py +0 -0
  189. {files_com-1.6.173 → files_com-1.6.219}/tests/test_inbox_upload.py +0 -0
  190. {files_com-1.6.173 → files_com-1.6.219}/tests/test_invoice.py +0 -0
  191. {files_com-1.6.173 → files_com-1.6.219}/tests/test_invoice_line_item.py +0 -0
  192. {files_com-1.6.173 → files_com-1.6.219}/tests/test_ip_address.py +0 -0
  193. {files_com-1.6.173 → files_com-1.6.219}/tests/test_key_lifecycle_rule.py +0 -0
  194. {files_com-1.6.173 → files_com-1.6.219}/tests/test_lock.py +0 -0
  195. {files_com-1.6.173 → files_com-1.6.219}/tests/test_message.py +0 -0
  196. {files_com-1.6.173 → files_com-1.6.219}/tests/test_message_comment.py +0 -0
  197. {files_com-1.6.173 → files_com-1.6.219}/tests/test_message_comment_reaction.py +0 -0
  198. {files_com-1.6.173 → files_com-1.6.219}/tests/test_message_reaction.py +0 -0
  199. {files_com-1.6.173 → files_com-1.6.219}/tests/test_notification.py +0 -0
  200. {files_com-1.6.173 → files_com-1.6.219}/tests/test_outbound_connection_log.py +0 -0
  201. {files_com-1.6.173 → files_com-1.6.219}/tests/test_partner.py +0 -0
  202. {files_com-1.6.173 → files_com-1.6.219}/tests/test_path_util.py +0 -0
  203. {files_com-1.6.173 → files_com-1.6.219}/tests/test_payment.py +0 -0
  204. {files_com-1.6.173 → files_com-1.6.219}/tests/test_payment_line_item.py +0 -0
  205. {files_com-1.6.173 → files_com-1.6.219}/tests/test_permission.py +0 -0
  206. {files_com-1.6.173 → files_com-1.6.219}/tests/test_preview.py +0 -0
  207. {files_com-1.6.173 → files_com-1.6.219}/tests/test_priority.py +0 -0
  208. {files_com-1.6.173 → files_com-1.6.219}/tests/test_project.py +0 -0
  209. {files_com-1.6.173 → files_com-1.6.219}/tests/test_public_hosting_request_log.py +0 -0
  210. {files_com-1.6.173 → files_com-1.6.219}/tests/test_public_ip_address.py +0 -0
  211. {files_com-1.6.173 → files_com-1.6.219}/tests/test_public_key.py +0 -0
  212. {files_com-1.6.173 → files_com-1.6.219}/tests/test_remote_bandwidth_snapshot.py +0 -0
  213. {files_com-1.6.173 → files_com-1.6.219}/tests/test_remote_mount_backend.py +0 -0
  214. {files_com-1.6.173 → files_com-1.6.219}/tests/test_remote_server.py +0 -0
  215. {files_com-1.6.173 → files_com-1.6.219}/tests/test_remote_server_configuration_file.py +0 -0
  216. {files_com-1.6.173 → files_com-1.6.219}/tests/test_remote_server_credential.py +0 -0
  217. {files_com-1.6.173 → files_com-1.6.219}/tests/test_request.py +0 -0
  218. {files_com-1.6.173 → files_com-1.6.219}/tests/test_restore.py +0 -0
  219. {files_com-1.6.173 → files_com-1.6.219}/tests/test_scim_log.py +0 -0
  220. {files_com-1.6.173 → files_com-1.6.219}/tests/test_session.py +0 -0
  221. {files_com-1.6.173 → files_com-1.6.219}/tests/test_settings_change.py +0 -0
  222. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sftp_action_log.py +0 -0
  223. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sftp_host_key.py +0 -0
  224. {files_com-1.6.173 → files_com-1.6.219}/tests/test_share_group.py +0 -0
  225. {files_com-1.6.173 → files_com-1.6.219}/tests/test_share_group_member.py +0 -0
  226. {files_com-1.6.173 → files_com-1.6.219}/tests/test_siem_http_destination.py +0 -0
  227. {files_com-1.6.173 → files_com-1.6.219}/tests/test_site.py +0 -0
  228. {files_com-1.6.173 → files_com-1.6.219}/tests/test_snapshot.py +0 -0
  229. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sso_strategy.py +0 -0
  230. {files_com-1.6.173 → files_com-1.6.219}/tests/test_status.py +0 -0
  231. {files_com-1.6.173 → files_com-1.6.219}/tests/test_style.py +0 -0
  232. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sync.py +0 -0
  233. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sync_log.py +0 -0
  234. {files_com-1.6.173 → files_com-1.6.219}/tests/test_sync_run.py +0 -0
  235. {files_com-1.6.173 → files_com-1.6.219}/tests/test_usage_by_top_level_dir.py +0 -0
  236. {files_com-1.6.173 → files_com-1.6.219}/tests/test_usage_daily_snapshot.py +0 -0
  237. {files_com-1.6.173 → files_com-1.6.219}/tests/test_usage_snapshot.py +0 -0
  238. {files_com-1.6.173 → files_com-1.6.219}/tests/test_user.py +0 -0
  239. {files_com-1.6.173 → files_com-1.6.219}/tests/test_user_cipher_use.py +0 -0
  240. {files_com-1.6.173 → files_com-1.6.219}/tests/test_user_lifecycle_rule.py +0 -0
  241. {files_com-1.6.173 → files_com-1.6.219}/tests/test_user_request.py +0 -0
  242. {files_com-1.6.173 → files_com-1.6.219}/tests/test_user_sftp_client_use.py +0 -0
  243. {files_com-1.6.173 → files_com-1.6.219}/tests/test_web_dav_action_log.py +0 -0
  244. {files_com-1.6.173 → files_com-1.6.219}/tests/test_webhook_test.py +0 -0
  245. {files_com-1.6.173 → files_com-1.6.219}/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.173
3
+ Version: 1.6.219
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.219
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.173
3
+ Version: 1.6.219
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -241,7 +241,7 @@ session_id = None
241
241
  source_ip = None
242
242
  base_url = "https://app.files.com"
243
243
  base_path = "api/rest/v1"
244
- version = "1.6.173"
244
+ version = "1.6.219"
245
245
 
246
246
  __version__ = version
247
247
 
@@ -50,7 +50,6 @@ class ApiKey:
50
50
  # Parameters:
51
51
  # description - string - User-supplied description of API key.
52
52
  # expires_at - string - API Key expiration date
53
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
54
53
  # name - string - Internal name for the API Key. For your use.
55
54
  def update(self, params=None):
56
55
  if not isinstance(params, dict):
@@ -76,12 +75,6 @@ class ApiKey:
76
75
  raise InvalidParameterError(
77
76
  "Bad parameter: expires_at must be an str"
78
77
  )
79
- if "permission_set" in params and not isinstance(
80
- params["permission_set"], str
81
- ):
82
- raise InvalidParameterError(
83
- "Bad parameter: permission_set must be an str"
84
- )
85
78
  if "name" in params and not isinstance(params["name"], str):
86
79
  raise InvalidParameterError("Bad parameter: name must be an str")
87
80
  response, _options = Api.send_request(
@@ -204,10 +197,10 @@ def get(id, params=None, options=None):
204
197
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
205
198
  # description - string - User-supplied description of API key.
206
199
  # expires_at - string - API Key expiration date
207
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
208
200
  # name (required) - string - Internal name for the API Key. For your use.
209
201
  # aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
210
202
  # path - string - Folder path restriction for `office_integration` permission set API keys.
203
+ # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
211
204
  def create(params=None, options=None):
212
205
  if not isinstance(params, dict):
213
206
  params = {}
@@ -221,12 +214,6 @@ def create(params=None, options=None):
221
214
  )
222
215
  if "expires_at" in params and not isinstance(params["expires_at"], str):
223
216
  raise InvalidParameterError("Bad parameter: expires_at must be an str")
224
- if "permission_set" in params and not isinstance(
225
- params["permission_set"], str
226
- ):
227
- raise InvalidParameterError(
228
- "Bad parameter: permission_set must be an str"
229
- )
230
217
  if "name" in params and not isinstance(params["name"], str):
231
218
  raise InvalidParameterError("Bad parameter: name must be an str")
232
219
  if "aws_style_credentials" in params and not isinstance(
@@ -237,6 +224,12 @@ def create(params=None, options=None):
237
224
  )
238
225
  if "path" in params and not isinstance(params["path"], str):
239
226
  raise InvalidParameterError("Bad parameter: path must be an str")
227
+ if "permission_set" in params and not isinstance(
228
+ params["permission_set"], str
229
+ ):
230
+ raise InvalidParameterError(
231
+ "Bad parameter: permission_set must be an str"
232
+ )
240
233
  if "name" not in params:
241
234
  raise MissingParameterError("Parameter missing: name")
242
235
  response, options = Api.send_request("POST", "/api_keys", params, options)
@@ -269,7 +262,6 @@ def update_current(params=None, options=None):
269
262
  # Parameters:
270
263
  # description - string - User-supplied description of API key.
271
264
  # expires_at - string - API Key expiration date
272
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
273
265
  # name - string - Internal name for the API Key. For your use.
274
266
  def update(id, params=None, options=None):
275
267
  if not isinstance(params, dict):
@@ -285,12 +277,6 @@ def update(id, params=None, options=None):
285
277
  )
286
278
  if "expires_at" in params and not isinstance(params["expires_at"], str):
287
279
  raise InvalidParameterError("Bad parameter: expires_at must be an str")
288
- if "permission_set" in params and not isinstance(
289
- params["permission_set"], str
290
- ):
291
- raise InvalidParameterError(
292
- "Bad parameter: permission_set must be an str"
293
- )
294
280
  if "name" in params and not isinstance(params["name"], str):
295
281
  raise InvalidParameterError("Bad parameter: name must be an str")
296
282
  if "id" not in params:
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2IncomingMessage:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Incoming Message.
14
15
  "as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
15
16
  "as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
16
17
  "uuid": None, # string - UUID assigned to this message.
@@ -72,8 +73,8 @@ class As2IncomingMessage:
72
73
  # Parameters:
73
74
  # 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.
74
75
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
75
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
76
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
76
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
77
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
77
78
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
78
79
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
79
80
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2OutgoingMessage:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Outgoing Message.
14
15
  "as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
15
16
  "as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
16
17
  "uuid": None, # string - UUID assigned to this message.
@@ -68,8 +69,8 @@ class As2OutgoingMessage:
68
69
  # Parameters:
69
70
  # 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.
70
71
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
72
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
72
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
73
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
73
74
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
74
75
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
75
76
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2Partner:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - ID of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Partner.
14
15
  "as2_station_id": None, # int64 - ID of the AS2 Station associated with this partner.
15
16
  "name": None, # string - The partner's formal AS2 name.
16
17
  "uri": None, # string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
@@ -165,8 +166,8 @@ class As2Partner:
165
166
  # Parameters:
166
167
  # 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.
167
168
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
168
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id` and `name`.
169
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
169
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `as2_station_id` or `name`.
170
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id` and `workspace_id`. Valid field combinations are `[ workspace_id, as2_station_id ]`.
170
171
  def list(params=None, options=None):
171
172
  if not isinstance(params, dict):
172
173
  params = {}
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2Station:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Station.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Station.
14
15
  "name": None, # string - The station's formal AS2 name.
15
16
  "uri": None, # string - Public URI for sending AS2 message to.
16
17
  "domain": None, # string - The station's AS2 domain name.
@@ -48,7 +49,7 @@ class As2Station:
48
49
  }
49
50
 
50
51
  # Parameters:
51
- # name - string - AS2 Name
52
+ # name - string - The station's formal AS2 name.
52
53
  # public_certificate - string
53
54
  # private_key - string
54
55
  # private_key_password - string
@@ -128,7 +129,8 @@ class As2Station:
128
129
  # Parameters:
129
130
  # 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.
130
131
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
131
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
132
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
133
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
132
134
  def list(params=None, options=None):
133
135
  if not isinstance(params, dict):
134
136
  params = {}
@@ -140,6 +142,8 @@ def list(params=None, options=None):
140
142
  raise InvalidParameterError("Bad parameter: per_page must be an int")
141
143
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
142
144
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
145
+ if "filter" in params and not isinstance(params["filter"], dict):
146
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
143
147
  return ListObj(As2Station, "GET", "/as2_stations", params, options)
144
148
 
145
149
 
@@ -170,7 +174,8 @@ def get(id, params=None, options=None):
170
174
 
171
175
 
172
176
  # Parameters:
173
- # name (required) - string - AS2 Name
177
+ # name (required) - string - The station's formal AS2 name.
178
+ # workspace_id - int64 - ID of the Workspace associated with this AS2 Station.
174
179
  # public_certificate (required) - string
175
180
  # private_key (required) - string
176
181
  # private_key_password - string
@@ -181,6 +186,12 @@ def create(params=None, options=None):
181
186
  options = {}
182
187
  if "name" in params and not isinstance(params["name"], str):
183
188
  raise InvalidParameterError("Bad parameter: name must be an str")
189
+ if "workspace_id" in params and not isinstance(
190
+ params["workspace_id"], int
191
+ ):
192
+ raise InvalidParameterError(
193
+ "Bad parameter: workspace_id must be an int"
194
+ )
184
195
  if "public_certificate" in params and not isinstance(
185
196
  params["public_certificate"], str
186
197
  ):
@@ -210,7 +221,7 @@ def create(params=None, options=None):
210
221
 
211
222
 
212
223
  # Parameters:
213
- # name - string - AS2 Name
224
+ # name - string - The station's formal AS2 name.
214
225
  # public_certificate - string
215
226
  # private_key - string
216
227
  # private_key_password - string
@@ -125,7 +125,6 @@ class Automation:
125
125
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
126
126
  # value - object - A Hash of attributes specific to the automation type.
127
127
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
128
- # workspace_id - int64 - Workspace ID
129
128
  # automation - string - Automation type
130
129
  def update(self, params=None):
131
130
  if not isinstance(params, dict):
@@ -264,12 +263,6 @@ class Automation:
264
263
  raise InvalidParameterError(
265
264
  "Bad parameter: recurring_day must be an int"
266
265
  )
267
- if "workspace_id" in params and not isinstance(
268
- params["workspace_id"], int
269
- ):
270
- raise InvalidParameterError(
271
- "Bad parameter: workspace_id must be an int"
272
- )
273
266
  if "automation" in params and not isinstance(
274
267
  params["automation"], str
275
268
  ):
@@ -413,8 +406,8 @@ def get(id, params=None, options=None):
413
406
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
414
407
  # value - object - A Hash of attributes specific to the automation type.
415
408
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
416
- # workspace_id - int64 - Workspace ID
417
409
  # automation (required) - string - Automation type
410
+ # workspace_id - int64 - Workspace ID
418
411
  def create(params=None, options=None):
419
412
  if not isinstance(params, dict):
420
413
  params = {}
@@ -570,14 +563,14 @@ def create(params=None, options=None):
570
563
  raise InvalidParameterError(
571
564
  "Bad parameter: recurring_day must be an int"
572
565
  )
566
+ if "automation" in params and not isinstance(params["automation"], str):
567
+ raise InvalidParameterError("Bad parameter: automation must be an str")
573
568
  if "workspace_id" in params and not isinstance(
574
569
  params["workspace_id"], int
575
570
  ):
576
571
  raise InvalidParameterError(
577
572
  "Bad parameter: workspace_id must be an int"
578
573
  )
579
- if "automation" in params and not isinstance(params["automation"], str):
580
- raise InvalidParameterError("Bad parameter: automation must be an str")
581
574
  if "automation" not in params:
582
575
  raise MissingParameterError("Parameter missing: automation")
583
576
  response, options = Api.send_request(
@@ -638,7 +631,6 @@ def manual_run(id, params=None, options=None):
638
631
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
639
632
  # value - object - A Hash of attributes specific to the automation type.
640
633
  # recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
641
- # workspace_id - int64 - Workspace ID
642
634
  # automation - string - Automation type
643
635
  def update(id, params=None, options=None):
644
636
  if not isinstance(params, dict):
@@ -798,12 +790,6 @@ def update(id, params=None, options=None):
798
790
  raise InvalidParameterError(
799
791
  "Bad parameter: recurring_day must be an int"
800
792
  )
801
- if "workspace_id" in params and not isinstance(
802
- params["workspace_id"], int
803
- ):
804
- raise InvalidParameterError(
805
- "Bad parameter: workspace_id must be an int"
806
- )
807
793
  if "automation" in params and not isinstance(params["automation"], str):
808
794
  raise InvalidParameterError("Bad parameter: automation must be an str")
809
795
  if "id" not in params:
@@ -46,6 +46,7 @@ class Bundle:
46
46
  "inbox_id": None, # int64 - ID of the associated inbox, if available.
47
47
  "watermark_attachment": None, # Image - Preview watermark image applied to all bundle items.
48
48
  "watermark_value": None, # object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
49
+ "send_one_time_password_to_recipient_at_registration": None, # boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
49
50
  "has_inbox": None, # boolean - Does this bundle have an associated inbox?
50
51
  "dont_allow_folders_in_uploads": None, # boolean - Should folder uploads be prevented?
51
52
  "paths": None, # array(string) - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
@@ -131,6 +132,7 @@ class Bundle:
131
132
  # permissions - string - Permissions that apply to Folders in this Share Link.
132
133
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
133
134
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
135
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
134
136
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
135
137
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
136
138
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
@@ -269,7 +271,7 @@ class Bundle:
269
271
  # 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.
270
272
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
271
273
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
272
- # 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 ]`.
274
+ # 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, created_at ]` and `[ user_id, expires_at ]`.
273
275
  # 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`.
274
276
  # 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`.
275
277
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -357,6 +359,7 @@ def get(id, params=None, options=None):
357
359
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
358
360
  # inbox_id - int64 - ID of the associated inbox, if available.
359
361
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
362
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
360
363
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
361
364
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
362
365
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
@@ -447,6 +450,15 @@ def create(params=None, options=None):
447
450
  raise InvalidParameterError(
448
451
  "Bad parameter: require_share_recipient must be an bool"
449
452
  )
453
+ if (
454
+ "send_one_time_password_to_recipient_at_registration" in params
455
+ and not isinstance(
456
+ params["send_one_time_password_to_recipient_at_registration"], bool
457
+ )
458
+ ):
459
+ raise InvalidParameterError(
460
+ "Bad parameter: send_one_time_password_to_recipient_at_registration must be an bool"
461
+ )
450
462
  if "send_email_receipt_to_uploader" in params and not isinstance(
451
463
  params["send_email_receipt_to_uploader"], bool
452
464
  ):
@@ -531,6 +543,7 @@ def share(id, params=None, options=None):
531
543
  # permissions - string - Permissions that apply to Folders in this Share Link.
532
544
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
533
545
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
546
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
534
547
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
535
548
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
536
549
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
@@ -623,6 +636,15 @@ def update(id, params=None, options=None):
623
636
  raise InvalidParameterError(
624
637
  "Bad parameter: require_share_recipient must be an bool"
625
638
  )
639
+ if (
640
+ "send_one_time_password_to_recipient_at_registration" in params
641
+ and not isinstance(
642
+ params["send_one_time_password_to_recipient_at_registration"], bool
643
+ )
644
+ ):
645
+ raise InvalidParameterError(
646
+ "Bad parameter: send_one_time_password_to_recipient_at_registration must be an bool"
647
+ )
626
648
  if "send_email_receipt_to_uploader" in params and not isinstance(
627
649
  params["send_email_receipt_to_uploader"], bool
628
650
  ):
@@ -52,7 +52,6 @@ class GpgKey:
52
52
 
53
53
  # Parameters:
54
54
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
55
- # workspace_id - int64 - Workspace ID (0 for default workspace).
56
55
  # public_key - string - The GPG public key
57
56
  # private_key - string - The GPG private key
58
57
  # private_key_password - string - The GPG private key password
@@ -75,12 +74,6 @@ class GpgKey:
75
74
  raise InvalidParameterError(
76
75
  "Bad parameter: partner_id must be an int"
77
76
  )
78
- if "workspace_id" in params and not isinstance(
79
- params["workspace_id"], int
80
- ):
81
- raise InvalidParameterError(
82
- "Bad parameter: workspace_id must be an int"
83
- )
84
77
  if "public_key" in params and not isinstance(
85
78
  params["public_key"], str
86
79
  ):
@@ -211,11 +204,11 @@ def get(id, params=None, options=None):
211
204
  # Parameters:
212
205
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
213
206
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
214
- # workspace_id - int64 - Workspace ID (0 for default workspace).
215
207
  # public_key - string - The GPG public key
216
208
  # private_key - string - The GPG private key
217
209
  # private_key_password - string - The GPG private key password
218
210
  # name (required) - string - GPG key name.
211
+ # workspace_id - int64 - Workspace ID (0 for default workspace).
219
212
  # generate_expires_at - string - Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
220
213
  # generate_keypair - boolean - If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`
221
214
  # generate_full_name - string - Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
@@ -229,12 +222,6 @@ def create(params=None, options=None):
229
222
  raise InvalidParameterError("Bad parameter: user_id must be an int")
230
223
  if "partner_id" in params and not isinstance(params["partner_id"], int):
231
224
  raise InvalidParameterError("Bad parameter: partner_id must be an int")
232
- if "workspace_id" in params and not isinstance(
233
- params["workspace_id"], int
234
- ):
235
- raise InvalidParameterError(
236
- "Bad parameter: workspace_id must be an int"
237
- )
238
225
  if "public_key" in params and not isinstance(params["public_key"], str):
239
226
  raise InvalidParameterError("Bad parameter: public_key must be an str")
240
227
  if "private_key" in params and not isinstance(params["private_key"], str):
@@ -249,6 +236,12 @@ def create(params=None, options=None):
249
236
  )
250
237
  if "name" in params and not isinstance(params["name"], str):
251
238
  raise InvalidParameterError("Bad parameter: name must be an str")
239
+ if "workspace_id" in params and not isinstance(
240
+ params["workspace_id"], int
241
+ ):
242
+ raise InvalidParameterError(
243
+ "Bad parameter: workspace_id must be an int"
244
+ )
252
245
  if "generate_expires_at" in params and not isinstance(
253
246
  params["generate_expires_at"], str
254
247
  ):
@@ -281,7 +274,6 @@ def create(params=None, options=None):
281
274
 
282
275
  # Parameters:
283
276
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
284
- # workspace_id - int64 - Workspace ID (0 for default workspace).
285
277
  # public_key - string - The GPG public key
286
278
  # private_key - string - The GPG private key
287
279
  # private_key_password - string - The GPG private key password
@@ -296,12 +288,6 @@ def update(id, params=None, options=None):
296
288
  raise InvalidParameterError("Bad parameter: id must be an int")
297
289
  if "partner_id" in params and not isinstance(params["partner_id"], int):
298
290
  raise InvalidParameterError("Bad parameter: partner_id must be an int")
299
- if "workspace_id" in params and not isinstance(
300
- params["workspace_id"], int
301
- ):
302
- raise InvalidParameterError(
303
- "Bad parameter: workspace_id must be an int"
304
- )
305
291
  if "public_key" in params and not isinstance(params["public_key"], str):
306
292
  raise InvalidParameterError("Bad parameter: public_key must be an str")
307
293
  if "private_key" in params and not isinstance(params["private_key"], str):
@@ -48,7 +48,6 @@ class Group:
48
48
  # notes - string - Group notes.
49
49
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
50
50
  # admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
51
- # workspace_id - int64 - Workspace ID
52
51
  # ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
53
52
  # sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
54
53
  # dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
@@ -77,12 +76,6 @@ class Group:
77
76
  raise InvalidParameterError(
78
77
  "Bad parameter: admin_ids must be an str"
79
78
  )
80
- if "workspace_id" in params and not isinstance(
81
- params["workspace_id"], int
82
- ):
83
- raise InvalidParameterError(
84
- "Bad parameter: workspace_id must be an int"
85
- )
86
79
  if "allowed_ips" in params and not isinstance(
87
80
  params["allowed_ips"], str
88
81
  ):
@@ -200,13 +193,13 @@ def get(id, params=None, options=None):
200
193
  # notes - string - Group notes.
201
194
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
202
195
  # admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
203
- # workspace_id - int64 - Workspace ID
204
196
  # ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
205
197
  # sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
206
198
  # dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
207
199
  # restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
208
200
  # allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
209
201
  # name (required) - string - Group name.
202
+ # workspace_id - int64 - Workspace ID
210
203
  def create(params=None, options=None):
211
204
  if not isinstance(params, dict):
212
205
  params = {}
@@ -218,12 +211,6 @@ def create(params=None, options=None):
218
211
  raise InvalidParameterError("Bad parameter: user_ids must be an str")
219
212
  if "admin_ids" in params and not isinstance(params["admin_ids"], str):
220
213
  raise InvalidParameterError("Bad parameter: admin_ids must be an str")
221
- if "workspace_id" in params and not isinstance(
222
- params["workspace_id"], int
223
- ):
224
- raise InvalidParameterError(
225
- "Bad parameter: workspace_id must be an int"
226
- )
227
214
  if "ftp_permission" in params and not isinstance(
228
215
  params["ftp_permission"], bool
229
216
  ):
@@ -254,6 +241,12 @@ def create(params=None, options=None):
254
241
  )
255
242
  if "name" in params and not isinstance(params["name"], str):
256
243
  raise InvalidParameterError("Bad parameter: name must be an str")
244
+ if "workspace_id" in params and not isinstance(
245
+ params["workspace_id"], int
246
+ ):
247
+ raise InvalidParameterError(
248
+ "Bad parameter: workspace_id must be an int"
249
+ )
257
250
  if "name" not in params:
258
251
  raise MissingParameterError("Parameter missing: name")
259
252
  response, options = Api.send_request("POST", "/groups", params, options)
@@ -264,7 +257,6 @@ def create(params=None, options=None):
264
257
  # notes - string - Group notes.
265
258
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
266
259
  # admin_ids - string - A list of group admin user ids. If sent as a string, should be comma-delimited.
267
- # workspace_id - int64 - Workspace ID
268
260
  # ftp_permission - boolean - If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
269
261
  # sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
270
262
  # dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
@@ -285,12 +277,6 @@ def update(id, params=None, options=None):
285
277
  raise InvalidParameterError("Bad parameter: user_ids must be an str")
286
278
  if "admin_ids" in params and not isinstance(params["admin_ids"], str):
287
279
  raise InvalidParameterError("Bad parameter: admin_ids must be an str")
288
- if "workspace_id" in params and not isinstance(
289
- params["workspace_id"], int
290
- ):
291
- raise InvalidParameterError(
292
- "Bad parameter: workspace_id must be an int"
293
- )
294
280
  if "ftp_permission" in params and not isinstance(
295
281
  params["ftp_permission"], bool
296
282
  ):
@@ -15,6 +15,7 @@ class Partner:
15
15
  "allow_providing_gpg_keys": None, # boolean - Allow Partner Admins to provide GPG keys.
16
16
  "allow_user_creation": None, # boolean - Allow Partner Admins to create users.
17
17
  "id": None, # int64 - The unique ID of the Partner.
18
+ "workspace_id": None, # int64 - ID of the Workspace associated with this Partner.
18
19
  "name": None, # string - The name of the Partner.
19
20
  "notes": None, # string - Notes about this Partner.
20
21
  "partner_admin_ids": None, # array(int64) - Array of User IDs that are Partner Admins for this Partner.
@@ -119,7 +120,8 @@ class Partner:
119
120
  # Parameters:
120
121
  # 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.
121
122
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
122
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
123
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
124
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
123
125
  def list(params=None, options=None):
124
126
  if not isinstance(params, dict):
125
127
  params = {}
@@ -131,6 +133,8 @@ def list(params=None, options=None):
131
133
  raise InvalidParameterError("Bad parameter: per_page must be an int")
132
134
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
133
135
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
136
+ if "filter" in params and not isinstance(params["filter"], dict):
137
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
134
138
  return ListObj(Partner, "GET", "/partners", params, options)
135
139
 
136
140
 
@@ -169,6 +173,7 @@ def get(id, params=None, options=None):
169
173
  # root_folder - string - The root folder path for this Partner.
170
174
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
171
175
  # name (required) - string - The name of the Partner.
176
+ # workspace_id - int64 - ID of the Workspace associated with this Partner.
172
177
  def create(params=None, options=None):
173
178
  if not isinstance(params, dict):
174
179
  params = {}
@@ -208,6 +213,12 @@ def create(params=None, options=None):
208
213
  raise InvalidParameterError("Bad parameter: tags must be an str")
209
214
  if "name" in params and not isinstance(params["name"], str):
210
215
  raise InvalidParameterError("Bad parameter: name must be an str")
216
+ if "workspace_id" in params and not isinstance(
217
+ params["workspace_id"], int
218
+ ):
219
+ raise InvalidParameterError(
220
+ "Bad parameter: workspace_id must be an int"
221
+ )
211
222
  if "name" not in params:
212
223
  raise MissingParameterError("Parameter missing: name")
213
224
  response, options = Api.send_request("POST", "/partners", params, options)
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class PublicKey:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Public key ID
14
+ "workspace_id": None, # int64 - Workspace ID (0 for default workspace).
14
15
  "title": None, # string - Public key title
15
16
  "created_at": None, # date-time - Public key created at date/time
16
17
  "fingerprint": None, # string - Public key fingerprint (MD5)
@@ -110,8 +111,8 @@ class PublicKey:
110
111
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
111
112
  # 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.
112
113
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `title`, `created_at` or `user_id`.
114
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
114
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `user_id`, `title` or `created_at`.
115
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`.
115
116
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
116
117
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
117
118
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.