Files.com 1.6.326__tar.gz → 1.6.328__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. {files_com-1.6.326/files_com.egg-info → files_com-1.6.328}/PKG-INFO +1 -1
  2. files_com-1.6.328/_VERSION +1 -0
  3. {files_com-1.6.326 → files_com-1.6.328/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/__init__.py +1 -1
  5. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle.py +22 -0
  6. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_action.py +2 -1
  7. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_download.py +2 -1
  8. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_notification.py +2 -1
  9. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_recipient.py +2 -1
  10. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_registration.py +2 -1
  11. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/key_lifecycle_rule.py +40 -2
  12. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/restore.py +9 -1
  13. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/user_lifecycle_rule.py +42 -1
  14. {files_com-1.6.326 → files_com-1.6.328}/pyproject.toml +1 -1
  15. files_com-1.6.326/_VERSION +0 -1
  16. {files_com-1.6.326 → files_com-1.6.328}/LICENSE +0 -0
  17. {files_com-1.6.326 → files_com-1.6.328}/README.md +0 -0
  18. {files_com-1.6.326 → files_com-1.6.328}/files_com.egg-info/SOURCES.txt +0 -0
  19. {files_com-1.6.326 → files_com-1.6.328}/files_com.egg-info/dependency_links.txt +0 -0
  20. {files_com-1.6.326 → files_com-1.6.328}/files_com.egg-info/requires.txt +0 -0
  21. {files_com-1.6.326 → files_com-1.6.328}/files_com.egg-info/top_level.txt +0 -0
  22. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/api.py +0 -0
  23. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/api_client.py +0 -0
  24. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/error.py +0 -0
  25. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/list_obj.py +0 -0
  26. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/__init__.py +0 -0
  27. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/account_line_item.py +0 -0
  28. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/action.py +0 -0
  29. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/action_log.py +0 -0
  30. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/action_notification_export.py +0 -0
  31. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/action_notification_export_result.py +0 -0
  32. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/agent_push_update.py +0 -0
  33. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/api_key.py +0 -0
  34. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/api_request_log.py +0 -0
  35. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/app.py +0 -0
  36. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/as2_incoming_message.py +0 -0
  37. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/as2_outgoing_message.py +0 -0
  38. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/as2_partner.py +0 -0
  39. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/as2_station.py +0 -0
  40. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/auto.py +0 -0
  41. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/automation.py +0 -0
  42. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/automation_log.py +0 -0
  43. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/automation_run.py +0 -0
  44. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bandwidth_snapshot.py +0 -0
  45. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/behavior.py +0 -0
  46. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/bundle_path.py +0 -0
  47. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/child_site_management_policy.py +0 -0
  48. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/clickwrap.py +0 -0
  49. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/desktop_configuration_profile.py +0 -0
  50. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/dns_record.py +0 -0
  51. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/email_incoming_message.py +0 -0
  52. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/email_log.py +0 -0
  53. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/errors.py +0 -0
  54. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/exavault_api_request_log.py +0 -0
  55. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/external_event.py +0 -0
  56. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file.py +0 -0
  57. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_action.py +0 -0
  58. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_comment.py +0 -0
  59. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_comment_reaction.py +0 -0
  60. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_migration.py +0 -0
  61. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_migration_log.py +0 -0
  62. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/file_upload_part.py +0 -0
  63. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/folder.py +0 -0
  64. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/form_field.py +0 -0
  65. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/form_field_set.py +0 -0
  66. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/ftp_action_log.py +0 -0
  67. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/gpg_key.py +0 -0
  68. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/group.py +0 -0
  69. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/group_user.py +0 -0
  70. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/history.py +0 -0
  71. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/history_export.py +0 -0
  72. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/history_export_result.py +0 -0
  73. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/holiday_region.py +0 -0
  74. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/image.py +0 -0
  75. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/inbound_s3_log.py +0 -0
  76. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/inbox_recipient.py +0 -0
  77. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/inbox_registration.py +0 -0
  78. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/inbox_upload.py +0 -0
  79. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/invoice.py +0 -0
  80. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/invoice_line_item.py +0 -0
  81. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/ip_address.py +0 -0
  82. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/lock.py +0 -0
  83. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/message.py +0 -0
  84. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/message_comment.py +0 -0
  85. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/message_comment_reaction.py +0 -0
  86. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/message_reaction.py +0 -0
  87. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/notification.py +0 -0
  88. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/outbound_connection_log.py +0 -0
  89. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/partner.py +0 -0
  90. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/partner_site.py +0 -0
  91. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/partner_site_request.py +0 -0
  92. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/payment.py +0 -0
  93. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/payment_line_item.py +0 -0
  94. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/permission.py +0 -0
  95. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/preview.py +0 -0
  96. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/priority.py +0 -0
  97. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/project.py +0 -0
  98. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/public_hosting_request_log.py +0 -0
  99. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/public_ip_address.py +0 -0
  100. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/public_key.py +0 -0
  101. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  102. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/remote_mount_backend.py +0 -0
  103. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/remote_server.py +0 -0
  104. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/remote_server_configuration_file.py +0 -0
  105. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/remote_server_credential.py +0 -0
  106. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/request.py +0 -0
  107. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/scim_log.py +0 -0
  108. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/session.py +0 -0
  109. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/settings_change.py +0 -0
  110. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sftp_action_log.py +0 -0
  111. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sftp_host_key.py +0 -0
  112. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/share_group.py +0 -0
  113. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/share_group_member.py +0 -0
  114. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/siem_http_destination.py +0 -0
  115. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/site.py +0 -0
  116. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/snapshot.py +0 -0
  117. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sso_strategy.py +0 -0
  118. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/status.py +0 -0
  119. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/style.py +0 -0
  120. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sync.py +0 -0
  121. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sync_log.py +0 -0
  122. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/sync_run.py +0 -0
  123. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  124. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/usage_daily_snapshot.py +0 -0
  125. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/usage_snapshot.py +0 -0
  126. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/user.py +0 -0
  127. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/user_cipher_use.py +0 -0
  128. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/user_request.py +0 -0
  129. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/user_sftp_client_use.py +0 -0
  130. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/web_dav_action_log.py +0 -0
  131. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/webhook_test.py +0 -0
  132. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/workspace.py +0 -0
  133. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/models/zip_list_entry.py +0 -0
  134. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/path_util.py +0 -0
  135. {files_com-1.6.326 → files_com-1.6.328}/files_sdk/util.py +0 -0
  136. {files_com-1.6.326 → files_com-1.6.328}/setup.cfg +0 -0
  137. {files_com-1.6.326 → files_com-1.6.328}/tests/test_account_line_item.py +0 -0
  138. {files_com-1.6.326 → files_com-1.6.328}/tests/test_action.py +0 -0
  139. {files_com-1.6.326 → files_com-1.6.328}/tests/test_action_log.py +0 -0
  140. {files_com-1.6.326 → files_com-1.6.328}/tests/test_action_notification_export.py +0 -0
  141. {files_com-1.6.326 → files_com-1.6.328}/tests/test_action_notification_export_result.py +0 -0
  142. {files_com-1.6.326 → files_com-1.6.328}/tests/test_agent_push_update.py +0 -0
  143. {files_com-1.6.326 → files_com-1.6.328}/tests/test_api_errors.py +0 -0
  144. {files_com-1.6.326 → files_com-1.6.328}/tests/test_api_key.py +0 -0
  145. {files_com-1.6.326 → files_com-1.6.328}/tests/test_api_request_log.py +0 -0
  146. {files_com-1.6.326 → files_com-1.6.328}/tests/test_app.py +0 -0
  147. {files_com-1.6.326 → files_com-1.6.328}/tests/test_as2_incoming_message.py +0 -0
  148. {files_com-1.6.326 → files_com-1.6.328}/tests/test_as2_outgoing_message.py +0 -0
  149. {files_com-1.6.326 → files_com-1.6.328}/tests/test_as2_partner.py +0 -0
  150. {files_com-1.6.326 → files_com-1.6.328}/tests/test_as2_station.py +0 -0
  151. {files_com-1.6.326 → files_com-1.6.328}/tests/test_auto.py +0 -0
  152. {files_com-1.6.326 → files_com-1.6.328}/tests/test_automation.py +0 -0
  153. {files_com-1.6.326 → files_com-1.6.328}/tests/test_automation_log.py +0 -0
  154. {files_com-1.6.326 → files_com-1.6.328}/tests/test_automation_run.py +0 -0
  155. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bandwidth_snapshot.py +0 -0
  156. {files_com-1.6.326 → files_com-1.6.328}/tests/test_behavior.py +0 -0
  157. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle.py +0 -0
  158. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_action.py +0 -0
  159. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_download.py +0 -0
  160. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_notification.py +0 -0
  161. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_path.py +0 -0
  162. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_recipient.py +0 -0
  163. {files_com-1.6.326 → files_com-1.6.328}/tests/test_bundle_registration.py +0 -0
  164. {files_com-1.6.326 → files_com-1.6.328}/tests/test_child_site_management_policy.py +0 -0
  165. {files_com-1.6.326 → files_com-1.6.328}/tests/test_clickwrap.py +0 -0
  166. {files_com-1.6.326 → files_com-1.6.328}/tests/test_connection_adapter.py +0 -0
  167. {files_com-1.6.326 → files_com-1.6.328}/tests/test_decimal_contract.py +0 -0
  168. {files_com-1.6.326 → files_com-1.6.328}/tests/test_desktop_configuration_profile.py +0 -0
  169. {files_com-1.6.326 → files_com-1.6.328}/tests/test_dns_record.py +0 -0
  170. {files_com-1.6.326 → files_com-1.6.328}/tests/test_email_incoming_message.py +0 -0
  171. {files_com-1.6.326 → files_com-1.6.328}/tests/test_email_log.py +0 -0
  172. {files_com-1.6.326 → files_com-1.6.328}/tests/test_errors.py +0 -0
  173. {files_com-1.6.326 → files_com-1.6.328}/tests/test_exavault_api_request_log.py +0 -0
  174. {files_com-1.6.326 → files_com-1.6.328}/tests/test_external_event.py +0 -0
  175. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file.py +0 -0
  176. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_action.py +0 -0
  177. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_comment.py +0 -0
  178. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_comment_reaction.py +0 -0
  179. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_migration.py +0 -0
  180. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_migration_log.py +0 -0
  181. {files_com-1.6.326 → files_com-1.6.328}/tests/test_file_upload_part.py +0 -0
  182. {files_com-1.6.326 → files_com-1.6.328}/tests/test_folder.py +0 -0
  183. {files_com-1.6.326 → files_com-1.6.328}/tests/test_form_field.py +0 -0
  184. {files_com-1.6.326 → files_com-1.6.328}/tests/test_form_field_set.py +0 -0
  185. {files_com-1.6.326 → files_com-1.6.328}/tests/test_ftp_action_log.py +0 -0
  186. {files_com-1.6.326 → files_com-1.6.328}/tests/test_gpg_key.py +0 -0
  187. {files_com-1.6.326 → files_com-1.6.328}/tests/test_group.py +0 -0
  188. {files_com-1.6.326 → files_com-1.6.328}/tests/test_group_user.py +0 -0
  189. {files_com-1.6.326 → files_com-1.6.328}/tests/test_history.py +0 -0
  190. {files_com-1.6.326 → files_com-1.6.328}/tests/test_history_export.py +0 -0
  191. {files_com-1.6.326 → files_com-1.6.328}/tests/test_history_export_result.py +0 -0
  192. {files_com-1.6.326 → files_com-1.6.328}/tests/test_holiday_region.py +0 -0
  193. {files_com-1.6.326 → files_com-1.6.328}/tests/test_image.py +0 -0
  194. {files_com-1.6.326 → files_com-1.6.328}/tests/test_inbound_s3_log.py +0 -0
  195. {files_com-1.6.326 → files_com-1.6.328}/tests/test_inbox_recipient.py +0 -0
  196. {files_com-1.6.326 → files_com-1.6.328}/tests/test_inbox_registration.py +0 -0
  197. {files_com-1.6.326 → files_com-1.6.328}/tests/test_inbox_upload.py +0 -0
  198. {files_com-1.6.326 → files_com-1.6.328}/tests/test_invoice.py +0 -0
  199. {files_com-1.6.326 → files_com-1.6.328}/tests/test_invoice_line_item.py +0 -0
  200. {files_com-1.6.326 → files_com-1.6.328}/tests/test_ip_address.py +0 -0
  201. {files_com-1.6.326 → files_com-1.6.328}/tests/test_key_lifecycle_rule.py +0 -0
  202. {files_com-1.6.326 → files_com-1.6.328}/tests/test_lock.py +0 -0
  203. {files_com-1.6.326 → files_com-1.6.328}/tests/test_message.py +0 -0
  204. {files_com-1.6.326 → files_com-1.6.328}/tests/test_message_comment.py +0 -0
  205. {files_com-1.6.326 → files_com-1.6.328}/tests/test_message_comment_reaction.py +0 -0
  206. {files_com-1.6.326 → files_com-1.6.328}/tests/test_message_reaction.py +0 -0
  207. {files_com-1.6.326 → files_com-1.6.328}/tests/test_notification.py +0 -0
  208. {files_com-1.6.326 → files_com-1.6.328}/tests/test_outbound_connection_log.py +0 -0
  209. {files_com-1.6.326 → files_com-1.6.328}/tests/test_partner.py +0 -0
  210. {files_com-1.6.326 → files_com-1.6.328}/tests/test_partner_site.py +0 -0
  211. {files_com-1.6.326 → files_com-1.6.328}/tests/test_partner_site_request.py +0 -0
  212. {files_com-1.6.326 → files_com-1.6.328}/tests/test_path_util.py +0 -0
  213. {files_com-1.6.326 → files_com-1.6.328}/tests/test_payment.py +0 -0
  214. {files_com-1.6.326 → files_com-1.6.328}/tests/test_payment_line_item.py +0 -0
  215. {files_com-1.6.326 → files_com-1.6.328}/tests/test_permission.py +0 -0
  216. {files_com-1.6.326 → files_com-1.6.328}/tests/test_preview.py +0 -0
  217. {files_com-1.6.326 → files_com-1.6.328}/tests/test_priority.py +0 -0
  218. {files_com-1.6.326 → files_com-1.6.328}/tests/test_project.py +0 -0
  219. {files_com-1.6.326 → files_com-1.6.328}/tests/test_public_hosting_request_log.py +0 -0
  220. {files_com-1.6.326 → files_com-1.6.328}/tests/test_public_ip_address.py +0 -0
  221. {files_com-1.6.326 → files_com-1.6.328}/tests/test_public_key.py +0 -0
  222. {files_com-1.6.326 → files_com-1.6.328}/tests/test_remote_bandwidth_snapshot.py +0 -0
  223. {files_com-1.6.326 → files_com-1.6.328}/tests/test_remote_mount_backend.py +0 -0
  224. {files_com-1.6.326 → files_com-1.6.328}/tests/test_remote_server.py +0 -0
  225. {files_com-1.6.326 → files_com-1.6.328}/tests/test_remote_server_configuration_file.py +0 -0
  226. {files_com-1.6.326 → files_com-1.6.328}/tests/test_remote_server_credential.py +0 -0
  227. {files_com-1.6.326 → files_com-1.6.328}/tests/test_request.py +0 -0
  228. {files_com-1.6.326 → files_com-1.6.328}/tests/test_restore.py +0 -0
  229. {files_com-1.6.326 → files_com-1.6.328}/tests/test_scim_log.py +0 -0
  230. {files_com-1.6.326 → files_com-1.6.328}/tests/test_session.py +0 -0
  231. {files_com-1.6.326 → files_com-1.6.328}/tests/test_settings_change.py +0 -0
  232. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sftp_action_log.py +0 -0
  233. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sftp_host_key.py +0 -0
  234. {files_com-1.6.326 → files_com-1.6.328}/tests/test_share_group.py +0 -0
  235. {files_com-1.6.326 → files_com-1.6.328}/tests/test_share_group_member.py +0 -0
  236. {files_com-1.6.326 → files_com-1.6.328}/tests/test_siem_http_destination.py +0 -0
  237. {files_com-1.6.326 → files_com-1.6.328}/tests/test_site.py +0 -0
  238. {files_com-1.6.326 → files_com-1.6.328}/tests/test_snapshot.py +0 -0
  239. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sso_strategy.py +0 -0
  240. {files_com-1.6.326 → files_com-1.6.328}/tests/test_status.py +0 -0
  241. {files_com-1.6.326 → files_com-1.6.328}/tests/test_style.py +0 -0
  242. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sync.py +0 -0
  243. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sync_log.py +0 -0
  244. {files_com-1.6.326 → files_com-1.6.328}/tests/test_sync_run.py +0 -0
  245. {files_com-1.6.326 → files_com-1.6.328}/tests/test_usage_by_top_level_dir.py +0 -0
  246. {files_com-1.6.326 → files_com-1.6.328}/tests/test_usage_daily_snapshot.py +0 -0
  247. {files_com-1.6.326 → files_com-1.6.328}/tests/test_usage_snapshot.py +0 -0
  248. {files_com-1.6.326 → files_com-1.6.328}/tests/test_user.py +0 -0
  249. {files_com-1.6.326 → files_com-1.6.328}/tests/test_user_cipher_use.py +0 -0
  250. {files_com-1.6.326 → files_com-1.6.328}/tests/test_user_lifecycle_rule.py +0 -0
  251. {files_com-1.6.326 → files_com-1.6.328}/tests/test_user_request.py +0 -0
  252. {files_com-1.6.326 → files_com-1.6.328}/tests/test_user_sftp_client_use.py +0 -0
  253. {files_com-1.6.326 → files_com-1.6.328}/tests/test_web_dav_action_log.py +0 -0
  254. {files_com-1.6.326 → files_com-1.6.328}/tests/test_webhook_test.py +0 -0
  255. {files_com-1.6.326 → files_com-1.6.328}/tests/test_workspace.py +0 -0
  256. {files_com-1.6.326 → files_com-1.6.328}/tests/test_zip_list_entry.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.326
3
+ Version: 1.6.328
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.328
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.326
3
+ Version: 1.6.328
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -253,7 +253,7 @@ session_id = None
253
253
  source_ip = None
254
254
  base_url = "https://app.files.com"
255
255
  base_path = "api/rest/v1"
256
- version = "1.6.326"
256
+ version = "1.6.328"
257
257
 
258
258
  __version__ = version
259
259
 
@@ -47,6 +47,7 @@ class Bundle:
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
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.
50
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
50
51
  "has_inbox": None, # boolean - Does this bundle have an associated inbox?
51
52
  "dont_allow_folders_in_uploads": None, # boolean - Should folder uploads be prevented?
52
53
  "paths": None, # array(string) - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
@@ -140,6 +141,7 @@ class Bundle:
140
141
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
141
142
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
142
143
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
144
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
143
145
  # user_id - int64 - The owning user id. Only site admins can set this.
144
146
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
145
147
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
@@ -223,6 +225,12 @@ class Bundle:
223
225
  raise InvalidParameterError(
224
226
  "Bad parameter: start_access_on_date must be an str"
225
227
  )
228
+ if "workspace_id" in params and not isinstance(
229
+ params["workspace_id"], int
230
+ ):
231
+ raise InvalidParameterError(
232
+ "Bad parameter: workspace_id must be an int"
233
+ )
226
234
  if "user_id" in params and not isinstance(params["user_id"], int):
227
235
  raise InvalidParameterError(
228
236
  "Bad parameter: user_id must be an int"
@@ -368,6 +376,7 @@ def get(id, params=None, options=None):
368
376
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
369
377
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
370
378
  # snapshot_id - int64 - ID of the snapshot containing this bundle's contents.
379
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
371
380
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
372
381
  def create(params=None, options=None):
373
382
  if not isinstance(params, dict):
@@ -489,6 +498,12 @@ def create(params=None, options=None):
489
498
  raise InvalidParameterError(
490
499
  "Bad parameter: snapshot_id must be an int"
491
500
  )
501
+ if "workspace_id" in params and not isinstance(
502
+ params["workspace_id"], int
503
+ ):
504
+ raise InvalidParameterError(
505
+ "Bad parameter: workspace_id must be an int"
506
+ )
492
507
  if "paths" not in params:
493
508
  raise MissingParameterError("Parameter missing: paths")
494
509
  response, options = Api.send_request("POST", "/bundles", params, options)
@@ -551,6 +566,7 @@ def share(id, params=None, options=None):
551
566
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
552
567
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
553
568
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
569
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
554
570
  # user_id - int64 - The owning user id. Only site admins can set this.
555
571
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
556
572
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
@@ -671,6 +687,12 @@ def update(id, params=None, options=None):
671
687
  )
672
688
  if "skip_name" in params and not isinstance(params["skip_name"], bool):
673
689
  raise InvalidParameterError("Bad parameter: skip_name must be an bool")
690
+ if "workspace_id" in params and not isinstance(
691
+ params["workspace_id"], int
692
+ ):
693
+ raise InvalidParameterError(
694
+ "Bad parameter: workspace_id must be an int"
695
+ )
674
696
  if "user_id" in params and not isinstance(params["user_id"], int):
675
697
  raise InvalidParameterError("Bad parameter: user_id must be an int")
676
698
  if "watermark_attachment_delete" in params and not isinstance(
@@ -17,6 +17,7 @@ class BundleAction:
17
17
  "path": None, # string - Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
18
18
  "source": None, # string - The source path for this bundle action, if applicable
19
19
  "bundle_registration_id": None, # int64 - Identifier of the associated bundle registration
20
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
20
21
  "bundle_registration_name": None, # string - Name of the registrant who performed the action
21
22
  "bundle_registration_email": None, # string - Email of the registrant
22
23
  "bundle_registration_ip": None, # string - IP address of the registrant
@@ -51,7 +52,7 @@ class BundleAction:
51
52
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
52
53
  # 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.
53
54
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `bundle_registration_id`.
55
+ # 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 `bundle_registration_id`.
55
56
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ bundle_id, created_at ]`, `[ bundle_registration_id, created_at ]`, `[ bundle_id, bundle_registration_id ]` or `[ bundle_id, bundle_registration_id, created_at ]`.
56
57
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
57
58
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -13,6 +13,7 @@ class BundleDownload:
13
13
  "bundle_registration": None, # BundleRegistration
14
14
  "download_method": None, # string - Download method (file or full_zip)
15
15
  "path": None, # string - Download path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
16
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
16
17
  "created_at": None, # date-time - Download date/time
17
18
  }
18
19
 
@@ -44,7 +45,7 @@ class BundleDownload:
44
45
  # Parameters:
45
46
  # 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.
46
47
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
47
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
48
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `created_at`.
48
49
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
49
50
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
50
51
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -15,6 +15,7 @@ class BundleNotification:
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
17
  "notify_user_id": None, # int64 - The id of the user to notify.
18
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
18
19
  "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
19
20
  }
20
21
 
@@ -102,7 +103,7 @@ class BundleNotification:
102
103
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
103
104
  # 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.
104
105
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
105
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
106
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
106
107
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
107
108
  def list(params=None, options=None):
108
109
  if not isinstance(params, dict):
@@ -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
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
18
19
  "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
19
20
  "bundle_id": None, # int64 - Bundle to share.
20
21
  "share_after_create": None, # boolean - Set to true to share the link with the recipient upon creation.
@@ -59,7 +60,7 @@ class BundleRecipient:
59
60
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
60
61
  # 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.
61
62
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
62
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
63
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
63
64
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
64
65
  # bundle_id (required) - int64 - List recipients for the bundle with this ID.
65
66
  def list(params=None, options=None):
@@ -22,6 +22,7 @@ class BundleRegistration:
22
22
  "bundle_code": None, # string - Bundle URL code
23
23
  "bundle_id": None, # int64 - Id of associated bundle
24
24
  "bundle_recipient_id": None, # int64 - Id of associated bundle recipient
25
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
25
26
  "created_at": None, # date-time - Registration creation date/time
26
27
  }
27
28
 
@@ -54,7 +55,7 @@ class BundleRegistration:
54
55
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
55
56
  # 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.
56
57
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
57
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
58
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `bundle_id` or `created_at`.
58
59
  # bundle_id - int64 - ID of the associated Bundle
59
60
  def list(params=None, options=None):
60
61
  if not isinstance(params, dict):
@@ -13,7 +13,9 @@ class KeyLifecycleRule:
13
13
  "id": None, # int64 - Key Lifecycle Rule ID
14
14
  "key_type": None, # string - Key type for which the rule will apply (gpg or ssh).
15
15
  "inactivity_days": None, # int64 - Number of days of inactivity before the rule applies.
16
+ "apply_to_all_workspaces": None, # boolean - If true, a default-workspace rule also applies to keys in all workspaces.
16
17
  "name": None, # string - Key Lifecycle Rule name
18
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
17
19
  }
18
20
 
19
21
  def __init__(self, attributes=None, options=None):
@@ -41,9 +43,11 @@ class KeyLifecycleRule:
41
43
  return attrs
42
44
 
43
45
  # Parameters:
46
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
44
47
  # key_type - string - Key type for which the rule will apply (gpg or ssh).
45
48
  # inactivity_days - int64 - Number of days of inactivity before the rule applies.
46
49
  # name - string - Key Lifecycle Rule name
50
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
47
51
  def update(self, params=None):
48
52
  if not isinstance(params, dict):
49
53
  params = {}
@@ -68,6 +72,12 @@ class KeyLifecycleRule:
68
72
  )
69
73
  if "name" in params and not isinstance(params["name"], str):
70
74
  raise InvalidParameterError("Bad parameter: name must be an str")
75
+ if "workspace_id" in params and not isinstance(
76
+ params["workspace_id"], int
77
+ ):
78
+ raise InvalidParameterError(
79
+ "Bad parameter: workspace_id must be an int"
80
+ )
71
81
  response, _options = Api.send_request(
72
82
  "PATCH",
73
83
  "/key_lifecycle_rules/{id}".format(id=params["id"]),
@@ -112,8 +122,8 @@ class KeyLifecycleRule:
112
122
  # Parameters:
113
123
  # 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.
114
124
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
115
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `key_type`.
116
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type`.
125
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `key_type`.
126
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
117
127
  def list(params=None, options=None):
118
128
  if not isinstance(params, dict):
119
129
  params = {}
@@ -162,14 +172,22 @@ def get(id, params=None, options=None):
162
172
 
163
173
 
164
174
  # Parameters:
175
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
165
176
  # key_type - string - Key type for which the rule will apply (gpg or ssh).
166
177
  # inactivity_days - int64 - Number of days of inactivity before the rule applies.
167
178
  # name - string - Key Lifecycle Rule name
179
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
168
180
  def create(params=None, options=None):
169
181
  if not isinstance(params, dict):
170
182
  params = {}
171
183
  if not isinstance(options, dict):
172
184
  options = {}
185
+ if "apply_to_all_workspaces" in params and not isinstance(
186
+ params["apply_to_all_workspaces"], bool
187
+ ):
188
+ raise InvalidParameterError(
189
+ "Bad parameter: apply_to_all_workspaces must be an bool"
190
+ )
173
191
  if "key_type" in params and not isinstance(params["key_type"], str):
174
192
  raise InvalidParameterError("Bad parameter: key_type must be an str")
175
193
  if "inactivity_days" in params and not isinstance(
@@ -180,6 +198,12 @@ def create(params=None, options=None):
180
198
  )
181
199
  if "name" in params and not isinstance(params["name"], str):
182
200
  raise InvalidParameterError("Bad parameter: name must be an str")
201
+ if "workspace_id" in params and not isinstance(
202
+ params["workspace_id"], int
203
+ ):
204
+ raise InvalidParameterError(
205
+ "Bad parameter: workspace_id must be an int"
206
+ )
183
207
  response, options = Api.send_request(
184
208
  "POST", "/key_lifecycle_rules", params, options
185
209
  )
@@ -187,9 +211,11 @@ def create(params=None, options=None):
187
211
 
188
212
 
189
213
  # Parameters:
214
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
190
215
  # key_type - string - Key type for which the rule will apply (gpg or ssh).
191
216
  # inactivity_days - int64 - Number of days of inactivity before the rule applies.
192
217
  # name - string - Key Lifecycle Rule name
218
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
193
219
  def update(id, params=None, options=None):
194
220
  if not isinstance(params, dict):
195
221
  params = {}
@@ -198,6 +224,12 @@ def update(id, params=None, options=None):
198
224
  params["id"] = id
199
225
  if "id" in params and not isinstance(params["id"], int):
200
226
  raise InvalidParameterError("Bad parameter: id must be an int")
227
+ if "apply_to_all_workspaces" in params and not isinstance(
228
+ params["apply_to_all_workspaces"], bool
229
+ ):
230
+ raise InvalidParameterError(
231
+ "Bad parameter: apply_to_all_workspaces must be an bool"
232
+ )
201
233
  if "key_type" in params and not isinstance(params["key_type"], str):
202
234
  raise InvalidParameterError("Bad parameter: key_type must be an str")
203
235
  if "inactivity_days" in params and not isinstance(
@@ -208,6 +240,12 @@ def update(id, params=None, options=None):
208
240
  )
209
241
  if "name" in params and not isinstance(params["name"], str):
210
242
  raise InvalidParameterError("Bad parameter: name must be an str")
243
+ if "workspace_id" in params and not isinstance(
244
+ params["workspace_id"], int
245
+ ):
246
+ raise InvalidParameterError(
247
+ "Bad parameter: workspace_id must be an int"
248
+ )
211
249
  if "id" not in params:
212
250
  raise MissingParameterError("Parameter missing: id")
213
251
  response, options = Api.send_request(
@@ -30,6 +30,7 @@ class Restore:
30
30
  "two_factor_authentication_methods_restored": None, # int64 - Number of two factor authentication methods restored (only present for `restoration_type=users`).
31
31
  "status": None, # string - Status of the restoration process.
32
32
  "update_timestamps": None, # boolean - If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
33
+ "workspace_id": None, # int64 - Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
33
34
  "error_messages": None, # array(string) - Error messages received while restoring files and/or directories. Only present if there were errors.
34
35
  }
35
36
 
@@ -68,7 +69,7 @@ class Restore:
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 .
72
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
72
73
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
73
74
  def list(params=None, options=None):
74
75
  if not isinstance(params, dict):
@@ -97,6 +98,7 @@ def all(params=None, options=None):
97
98
  # restore_deleted_permissions - boolean - If true, we will also restore any Permissions that match the same path prefix from the same dates.
98
99
  # restore_in_place - boolean - If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
99
100
  # update_timestamps - boolean - If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
101
+ # workspace_id - int64 - Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
100
102
  def create(params=None, options=None):
101
103
  if not isinstance(params, dict):
102
104
  params = {}
@@ -134,6 +136,12 @@ def create(params=None, options=None):
134
136
  raise InvalidParameterError(
135
137
  "Bad parameter: update_timestamps must be an bool"
136
138
  )
139
+ if "workspace_id" in params and not isinstance(
140
+ params["workspace_id"], int
141
+ ):
142
+ raise InvalidParameterError(
143
+ "Bad parameter: workspace_id must be an int"
144
+ )
137
145
  if "earliest_date" not in params:
138
146
  raise MissingParameterError("Parameter missing: earliest_date")
139
147
  response, options = Api.send_request("POST", "/restores", params, options)
@@ -17,9 +17,11 @@ class UserLifecycleRule:
17
17
  "inactivity_days": None, # int64 - Number of days of inactivity before the rule applies
18
18
  "include_folder_admins": None, # boolean - If true, the rule will apply to folder admins.
19
19
  "include_site_admins": None, # boolean - If true, the rule will apply to site admins.
20
+ "apply_to_all_workspaces": None, # boolean - If true, a default-workspace rule also applies to users in all workspaces.
20
21
  "name": None, # string - User Lifecycle Rule name
21
22
  "partner_tag": None, # string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
22
23
  "site_id": None, # int64 - Site ID
24
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
23
25
  "user_state": None, # string - State of the users to apply the rule to (inactive or disabled)
24
26
  "user_tag": None, # string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
25
27
  }
@@ -50,6 +52,7 @@ class UserLifecycleRule:
50
52
 
51
53
  # Parameters:
52
54
  # action - string - Action to take on inactive users (disable or delete)
55
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
53
56
  # authentication_method - string - User authentication method for which the rule will apply.
54
57
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
55
58
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
@@ -59,6 +62,7 @@ class UserLifecycleRule:
59
62
  # partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
60
63
  # user_state - string - State of the users to apply the rule to (inactive or disabled)
61
64
  # user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
65
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
62
66
  def update(self, params=None):
63
67
  if not isinstance(params, dict):
64
68
  params = {}
@@ -109,6 +113,12 @@ class UserLifecycleRule:
109
113
  raise InvalidParameterError(
110
114
  "Bad parameter: user_tag must be an str"
111
115
  )
116
+ if "workspace_id" in params and not isinstance(
117
+ params["workspace_id"], int
118
+ ):
119
+ raise InvalidParameterError(
120
+ "Bad parameter: workspace_id must be an int"
121
+ )
112
122
  response, _options = Api.send_request(
113
123
  "PATCH",
114
124
  "/user_lifecycle_rules/{id}".format(id=params["id"]),
@@ -153,7 +163,8 @@ class UserLifecycleRule:
153
163
  # Parameters:
154
164
  # 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.
155
165
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
166
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `workspace_id`.
167
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
157
168
  def list(params=None, options=None):
158
169
  if not isinstance(params, dict):
159
170
  params = {}
@@ -165,6 +176,8 @@ def list(params=None, options=None):
165
176
  raise InvalidParameterError("Bad parameter: per_page must be an int")
166
177
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
167
178
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
179
+ if "filter" in params and not isinstance(params["filter"], dict):
180
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
168
181
  return ListObj(
169
182
  UserLifecycleRule, "GET", "/user_lifecycle_rules", params, options
170
183
  )
@@ -201,6 +214,7 @@ def get(id, params=None, options=None):
201
214
 
202
215
  # Parameters:
203
216
  # action - string - Action to take on inactive users (disable or delete)
217
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
204
218
  # authentication_method - string - User authentication method for which the rule will apply.
205
219
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
206
220
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
@@ -210,6 +224,7 @@ def get(id, params=None, options=None):
210
224
  # partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
211
225
  # user_state - string - State of the users to apply the rule to (inactive or disabled)
212
226
  # user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
227
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
213
228
  def create(params=None, options=None):
214
229
  if not isinstance(params, dict):
215
230
  params = {}
@@ -217,6 +232,12 @@ def create(params=None, options=None):
217
232
  options = {}
218
233
  if "action" in params and not isinstance(params["action"], str):
219
234
  raise InvalidParameterError("Bad parameter: action must be an str")
235
+ if "apply_to_all_workspaces" in params and not isinstance(
236
+ params["apply_to_all_workspaces"], bool
237
+ ):
238
+ raise InvalidParameterError(
239
+ "Bad parameter: apply_to_all_workspaces must be an bool"
240
+ )
220
241
  if "authentication_method" in params and not isinstance(
221
242
  params["authentication_method"], str
222
243
  ):
@@ -255,6 +276,12 @@ def create(params=None, options=None):
255
276
  raise InvalidParameterError("Bad parameter: user_state must be an str")
256
277
  if "user_tag" in params and not isinstance(params["user_tag"], str):
257
278
  raise InvalidParameterError("Bad parameter: user_tag must be an str")
279
+ if "workspace_id" in params and not isinstance(
280
+ params["workspace_id"], int
281
+ ):
282
+ raise InvalidParameterError(
283
+ "Bad parameter: workspace_id must be an int"
284
+ )
258
285
  response, options = Api.send_request(
259
286
  "POST", "/user_lifecycle_rules", params, options
260
287
  )
@@ -263,6 +290,7 @@ def create(params=None, options=None):
263
290
 
264
291
  # Parameters:
265
292
  # action - string - Action to take on inactive users (disable or delete)
293
+ # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
266
294
  # authentication_method - string - User authentication method for which the rule will apply.
267
295
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
268
296
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
@@ -272,6 +300,7 @@ def create(params=None, options=None):
272
300
  # partner_tag - string - If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
273
301
  # user_state - string - State of the users to apply the rule to (inactive or disabled)
274
302
  # user_tag - string - If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
303
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
275
304
  def update(id, params=None, options=None):
276
305
  if not isinstance(params, dict):
277
306
  params = {}
@@ -282,6 +311,12 @@ def update(id, params=None, options=None):
282
311
  raise InvalidParameterError("Bad parameter: id must be an int")
283
312
  if "action" in params and not isinstance(params["action"], str):
284
313
  raise InvalidParameterError("Bad parameter: action must be an str")
314
+ if "apply_to_all_workspaces" in params and not isinstance(
315
+ params["apply_to_all_workspaces"], bool
316
+ ):
317
+ raise InvalidParameterError(
318
+ "Bad parameter: apply_to_all_workspaces must be an bool"
319
+ )
285
320
  if "authentication_method" in params and not isinstance(
286
321
  params["authentication_method"], str
287
322
  ):
@@ -320,6 +355,12 @@ def update(id, params=None, options=None):
320
355
  raise InvalidParameterError("Bad parameter: user_state must be an str")
321
356
  if "user_tag" in params and not isinstance(params["user_tag"], str):
322
357
  raise InvalidParameterError("Bad parameter: user_tag must be an str")
358
+ if "workspace_id" in params and not isinstance(
359
+ params["workspace_id"], int
360
+ ):
361
+ raise InvalidParameterError(
362
+ "Bad parameter: workspace_id must be an int"
363
+ )
323
364
  if "id" not in params:
324
365
  raise MissingParameterError("Parameter missing: id")
325
366
  response, options = Api.send_request(
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.326"
7
+ version = "1.6.328"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -1 +0,0 @@
1
- 1.6.326
File without changes
File without changes