Files.com 1.6.172__tar.gz → 1.6.174__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 (245) hide show
  1. {files_com-1.6.172/files_com.egg-info → files_com-1.6.174}/PKG-INFO +1 -1
  2. files_com-1.6.174/_VERSION +1 -0
  3. {files_com-1.6.172 → files_com-1.6.174/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.172 → files_com-1.6.174}/files_com.egg-info/SOURCES.txt +3 -1
  5. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/__init__.py +3 -1
  6. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/__init__.py +1 -0
  7. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/automation.py +24 -2
  8. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/automation_run.py +2 -1
  9. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/behavior.py +11 -13
  10. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/gpg_key.py +42 -1
  11. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/group.py +24 -2
  12. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/remote_server.py +1 -1
  13. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/remote_server_credential.py +26 -1
  14. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sync.py +24 -2
  15. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sync_run.py +3 -2
  16. files_com-1.6.174/files_sdk/models/workspace.py +202 -0
  17. {files_com-1.6.172 → files_com-1.6.174}/pyproject.toml +1 -1
  18. files_com-1.6.174/tests/test_workspace.py +65 -0
  19. files_com-1.6.172/_VERSION +0 -1
  20. {files_com-1.6.172 → files_com-1.6.174}/LICENSE +0 -0
  21. {files_com-1.6.172 → files_com-1.6.174}/README.md +0 -0
  22. {files_com-1.6.172 → files_com-1.6.174}/files_com.egg-info/dependency_links.txt +0 -0
  23. {files_com-1.6.172 → files_com-1.6.174}/files_com.egg-info/requires.txt +0 -0
  24. {files_com-1.6.172 → files_com-1.6.174}/files_com.egg-info/top_level.txt +0 -0
  25. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/api.py +0 -0
  26. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/api_client.py +0 -0
  27. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/error.py +0 -0
  28. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/list_obj.py +0 -0
  29. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/account_line_item.py +0 -0
  30. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/action.py +0 -0
  31. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/action_notification_export.py +0 -0
  32. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/action_notification_export_result.py +0 -0
  33. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/agent_push_update.py +0 -0
  34. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/api_key.py +0 -0
  35. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/api_request_log.py +0 -0
  36. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/app.py +0 -0
  37. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/as2_incoming_message.py +0 -0
  38. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/as2_outgoing_message.py +0 -0
  39. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/as2_partner.py +0 -0
  40. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/as2_station.py +0 -0
  41. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/auto.py +0 -0
  42. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/automation_log.py +0 -0
  43. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bandwidth_snapshot.py +0 -0
  44. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle.py +0 -0
  45. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_action.py +0 -0
  46. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_download.py +0 -0
  47. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_notification.py +0 -0
  48. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_path.py +0 -0
  49. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_recipient.py +0 -0
  50. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/bundle_registration.py +0 -0
  51. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/child_site_management_policy.py +0 -0
  52. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/clickwrap.py +0 -0
  53. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/dns_record.py +0 -0
  54. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/email_incoming_message.py +0 -0
  55. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/email_log.py +0 -0
  56. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/errors.py +0 -0
  57. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/exavault_api_request_log.py +0 -0
  58. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/external_event.py +0 -0
  59. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file.py +0 -0
  60. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_action.py +0 -0
  61. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_comment.py +0 -0
  62. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_comment_reaction.py +0 -0
  63. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_migration.py +0 -0
  64. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_migration_log.py +0 -0
  65. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/file_upload_part.py +0 -0
  66. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/folder.py +0 -0
  67. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/form_field.py +0 -0
  68. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/form_field_set.py +0 -0
  69. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/ftp_action_log.py +0 -0
  70. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/group_user.py +0 -0
  71. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/history.py +0 -0
  72. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/history_export.py +0 -0
  73. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/history_export_result.py +0 -0
  74. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/holiday_region.py +0 -0
  75. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/image.py +0 -0
  76. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/inbound_s3_log.py +0 -0
  77. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/inbox_recipient.py +0 -0
  78. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/inbox_registration.py +0 -0
  79. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/inbox_upload.py +0 -0
  80. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/invoice.py +0 -0
  81. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/invoice_line_item.py +0 -0
  82. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/ip_address.py +0 -0
  83. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/key_lifecycle_rule.py +0 -0
  84. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/lock.py +0 -0
  85. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/message.py +0 -0
  86. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/message_comment.py +0 -0
  87. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/message_comment_reaction.py +0 -0
  88. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/message_reaction.py +0 -0
  89. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/notification.py +0 -0
  90. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/outbound_connection_log.py +0 -0
  91. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/partner.py +0 -0
  92. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/payment.py +0 -0
  93. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/payment_line_item.py +0 -0
  94. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/permission.py +0 -0
  95. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/preview.py +0 -0
  96. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/priority.py +0 -0
  97. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/project.py +0 -0
  98. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/public_hosting_request_log.py +0 -0
  99. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/public_ip_address.py +0 -0
  100. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/public_key.py +0 -0
  101. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  102. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/remote_mount_backend.py +0 -0
  103. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/remote_server_configuration_file.py +0 -0
  104. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/request.py +0 -0
  105. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/restore.py +0 -0
  106. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/scim_log.py +0 -0
  107. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/session.py +0 -0
  108. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/settings_change.py +0 -0
  109. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sftp_action_log.py +0 -0
  110. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sftp_host_key.py +0 -0
  111. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/share_group.py +0 -0
  112. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/share_group_member.py +0 -0
  113. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/siem_http_destination.py +0 -0
  114. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/site.py +0 -0
  115. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/snapshot.py +0 -0
  116. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sso_strategy.py +0 -0
  117. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/status.py +0 -0
  118. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/style.py +0 -0
  119. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/sync_log.py +0 -0
  120. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  121. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/usage_daily_snapshot.py +0 -0
  122. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/usage_snapshot.py +0 -0
  123. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/user.py +0 -0
  124. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/user_cipher_use.py +0 -0
  125. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/user_lifecycle_rule.py +0 -0
  126. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/user_request.py +0 -0
  127. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/user_sftp_client_use.py +0 -0
  128. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/web_dav_action_log.py +0 -0
  129. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/models/webhook_test.py +0 -0
  130. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/path_util.py +0 -0
  131. {files_com-1.6.172 → files_com-1.6.174}/files_sdk/util.py +0 -0
  132. {files_com-1.6.172 → files_com-1.6.174}/setup.cfg +0 -0
  133. {files_com-1.6.172 → files_com-1.6.174}/tests/test_account_line_item.py +0 -0
  134. {files_com-1.6.172 → files_com-1.6.174}/tests/test_action.py +0 -0
  135. {files_com-1.6.172 → files_com-1.6.174}/tests/test_action_notification_export.py +0 -0
  136. {files_com-1.6.172 → files_com-1.6.174}/tests/test_action_notification_export_result.py +0 -0
  137. {files_com-1.6.172 → files_com-1.6.174}/tests/test_agent_push_update.py +0 -0
  138. {files_com-1.6.172 → files_com-1.6.174}/tests/test_api_errors.py +0 -0
  139. {files_com-1.6.172 → files_com-1.6.174}/tests/test_api_key.py +0 -0
  140. {files_com-1.6.172 → files_com-1.6.174}/tests/test_api_request_log.py +0 -0
  141. {files_com-1.6.172 → files_com-1.6.174}/tests/test_app.py +0 -0
  142. {files_com-1.6.172 → files_com-1.6.174}/tests/test_as2_incoming_message.py +0 -0
  143. {files_com-1.6.172 → files_com-1.6.174}/tests/test_as2_outgoing_message.py +0 -0
  144. {files_com-1.6.172 → files_com-1.6.174}/tests/test_as2_partner.py +0 -0
  145. {files_com-1.6.172 → files_com-1.6.174}/tests/test_as2_station.py +0 -0
  146. {files_com-1.6.172 → files_com-1.6.174}/tests/test_auto.py +0 -0
  147. {files_com-1.6.172 → files_com-1.6.174}/tests/test_automation.py +0 -0
  148. {files_com-1.6.172 → files_com-1.6.174}/tests/test_automation_log.py +0 -0
  149. {files_com-1.6.172 → files_com-1.6.174}/tests/test_automation_run.py +0 -0
  150. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bandwidth_snapshot.py +0 -0
  151. {files_com-1.6.172 → files_com-1.6.174}/tests/test_behavior.py +0 -0
  152. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle.py +0 -0
  153. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_action.py +0 -0
  154. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_download.py +0 -0
  155. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_notification.py +0 -0
  156. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_path.py +0 -0
  157. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_recipient.py +0 -0
  158. {files_com-1.6.172 → files_com-1.6.174}/tests/test_bundle_registration.py +0 -0
  159. {files_com-1.6.172 → files_com-1.6.174}/tests/test_child_site_management_policy.py +0 -0
  160. {files_com-1.6.172 → files_com-1.6.174}/tests/test_clickwrap.py +0 -0
  161. {files_com-1.6.172 → files_com-1.6.174}/tests/test_connection_adapter.py +0 -0
  162. {files_com-1.6.172 → files_com-1.6.174}/tests/test_dns_record.py +0 -0
  163. {files_com-1.6.172 → files_com-1.6.174}/tests/test_email_incoming_message.py +0 -0
  164. {files_com-1.6.172 → files_com-1.6.174}/tests/test_email_log.py +0 -0
  165. {files_com-1.6.172 → files_com-1.6.174}/tests/test_errors.py +0 -0
  166. {files_com-1.6.172 → files_com-1.6.174}/tests/test_exavault_api_request_log.py +0 -0
  167. {files_com-1.6.172 → files_com-1.6.174}/tests/test_external_event.py +0 -0
  168. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file.py +0 -0
  169. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_action.py +0 -0
  170. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_comment.py +0 -0
  171. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_comment_reaction.py +0 -0
  172. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_migration.py +0 -0
  173. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_migration_log.py +0 -0
  174. {files_com-1.6.172 → files_com-1.6.174}/tests/test_file_upload_part.py +0 -0
  175. {files_com-1.6.172 → files_com-1.6.174}/tests/test_folder.py +0 -0
  176. {files_com-1.6.172 → files_com-1.6.174}/tests/test_form_field.py +0 -0
  177. {files_com-1.6.172 → files_com-1.6.174}/tests/test_form_field_set.py +0 -0
  178. {files_com-1.6.172 → files_com-1.6.174}/tests/test_ftp_action_log.py +0 -0
  179. {files_com-1.6.172 → files_com-1.6.174}/tests/test_gpg_key.py +0 -0
  180. {files_com-1.6.172 → files_com-1.6.174}/tests/test_group.py +0 -0
  181. {files_com-1.6.172 → files_com-1.6.174}/tests/test_group_user.py +0 -0
  182. {files_com-1.6.172 → files_com-1.6.174}/tests/test_history.py +0 -0
  183. {files_com-1.6.172 → files_com-1.6.174}/tests/test_history_export.py +0 -0
  184. {files_com-1.6.172 → files_com-1.6.174}/tests/test_history_export_result.py +0 -0
  185. {files_com-1.6.172 → files_com-1.6.174}/tests/test_holiday_region.py +0 -0
  186. {files_com-1.6.172 → files_com-1.6.174}/tests/test_image.py +0 -0
  187. {files_com-1.6.172 → files_com-1.6.174}/tests/test_inbound_s3_log.py +0 -0
  188. {files_com-1.6.172 → files_com-1.6.174}/tests/test_inbox_recipient.py +0 -0
  189. {files_com-1.6.172 → files_com-1.6.174}/tests/test_inbox_registration.py +0 -0
  190. {files_com-1.6.172 → files_com-1.6.174}/tests/test_inbox_upload.py +0 -0
  191. {files_com-1.6.172 → files_com-1.6.174}/tests/test_invoice.py +0 -0
  192. {files_com-1.6.172 → files_com-1.6.174}/tests/test_invoice_line_item.py +0 -0
  193. {files_com-1.6.172 → files_com-1.6.174}/tests/test_ip_address.py +0 -0
  194. {files_com-1.6.172 → files_com-1.6.174}/tests/test_key_lifecycle_rule.py +0 -0
  195. {files_com-1.6.172 → files_com-1.6.174}/tests/test_lock.py +0 -0
  196. {files_com-1.6.172 → files_com-1.6.174}/tests/test_message.py +0 -0
  197. {files_com-1.6.172 → files_com-1.6.174}/tests/test_message_comment.py +0 -0
  198. {files_com-1.6.172 → files_com-1.6.174}/tests/test_message_comment_reaction.py +0 -0
  199. {files_com-1.6.172 → files_com-1.6.174}/tests/test_message_reaction.py +0 -0
  200. {files_com-1.6.172 → files_com-1.6.174}/tests/test_notification.py +0 -0
  201. {files_com-1.6.172 → files_com-1.6.174}/tests/test_outbound_connection_log.py +0 -0
  202. {files_com-1.6.172 → files_com-1.6.174}/tests/test_partner.py +0 -0
  203. {files_com-1.6.172 → files_com-1.6.174}/tests/test_path_util.py +0 -0
  204. {files_com-1.6.172 → files_com-1.6.174}/tests/test_payment.py +0 -0
  205. {files_com-1.6.172 → files_com-1.6.174}/tests/test_payment_line_item.py +0 -0
  206. {files_com-1.6.172 → files_com-1.6.174}/tests/test_permission.py +0 -0
  207. {files_com-1.6.172 → files_com-1.6.174}/tests/test_preview.py +0 -0
  208. {files_com-1.6.172 → files_com-1.6.174}/tests/test_priority.py +0 -0
  209. {files_com-1.6.172 → files_com-1.6.174}/tests/test_project.py +0 -0
  210. {files_com-1.6.172 → files_com-1.6.174}/tests/test_public_hosting_request_log.py +0 -0
  211. {files_com-1.6.172 → files_com-1.6.174}/tests/test_public_ip_address.py +0 -0
  212. {files_com-1.6.172 → files_com-1.6.174}/tests/test_public_key.py +0 -0
  213. {files_com-1.6.172 → files_com-1.6.174}/tests/test_remote_bandwidth_snapshot.py +0 -0
  214. {files_com-1.6.172 → files_com-1.6.174}/tests/test_remote_mount_backend.py +0 -0
  215. {files_com-1.6.172 → files_com-1.6.174}/tests/test_remote_server.py +0 -0
  216. {files_com-1.6.172 → files_com-1.6.174}/tests/test_remote_server_configuration_file.py +0 -0
  217. {files_com-1.6.172 → files_com-1.6.174}/tests/test_remote_server_credential.py +0 -0
  218. {files_com-1.6.172 → files_com-1.6.174}/tests/test_request.py +0 -0
  219. {files_com-1.6.172 → files_com-1.6.174}/tests/test_restore.py +0 -0
  220. {files_com-1.6.172 → files_com-1.6.174}/tests/test_scim_log.py +0 -0
  221. {files_com-1.6.172 → files_com-1.6.174}/tests/test_session.py +0 -0
  222. {files_com-1.6.172 → files_com-1.6.174}/tests/test_settings_change.py +0 -0
  223. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sftp_action_log.py +0 -0
  224. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sftp_host_key.py +0 -0
  225. {files_com-1.6.172 → files_com-1.6.174}/tests/test_share_group.py +0 -0
  226. {files_com-1.6.172 → files_com-1.6.174}/tests/test_share_group_member.py +0 -0
  227. {files_com-1.6.172 → files_com-1.6.174}/tests/test_siem_http_destination.py +0 -0
  228. {files_com-1.6.172 → files_com-1.6.174}/tests/test_site.py +0 -0
  229. {files_com-1.6.172 → files_com-1.6.174}/tests/test_snapshot.py +0 -0
  230. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sso_strategy.py +0 -0
  231. {files_com-1.6.172 → files_com-1.6.174}/tests/test_status.py +0 -0
  232. {files_com-1.6.172 → files_com-1.6.174}/tests/test_style.py +0 -0
  233. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sync.py +0 -0
  234. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sync_log.py +0 -0
  235. {files_com-1.6.172 → files_com-1.6.174}/tests/test_sync_run.py +0 -0
  236. {files_com-1.6.172 → files_com-1.6.174}/tests/test_usage_by_top_level_dir.py +0 -0
  237. {files_com-1.6.172 → files_com-1.6.174}/tests/test_usage_daily_snapshot.py +0 -0
  238. {files_com-1.6.172 → files_com-1.6.174}/tests/test_usage_snapshot.py +0 -0
  239. {files_com-1.6.172 → files_com-1.6.174}/tests/test_user.py +0 -0
  240. {files_com-1.6.172 → files_com-1.6.174}/tests/test_user_cipher_use.py +0 -0
  241. {files_com-1.6.172 → files_com-1.6.174}/tests/test_user_lifecycle_rule.py +0 -0
  242. {files_com-1.6.172 → files_com-1.6.174}/tests/test_user_request.py +0 -0
  243. {files_com-1.6.172 → files_com-1.6.174}/tests/test_user_sftp_client_use.py +0 -0
  244. {files_com-1.6.172 → files_com-1.6.174}/tests/test_web_dav_action_log.py +0 -0
  245. {files_com-1.6.172 → files_com-1.6.174}/tests/test_webhook_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.172
3
+ Version: 1.6.174
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.174
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.172
3
+ Version: 1.6.174
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -126,6 +126,7 @@ files_sdk/models/user_request.py
126
126
  files_sdk/models/user_sftp_client_use.py
127
127
  files_sdk/models/web_dav_action_log.py
128
128
  files_sdk/models/webhook_test.py
129
+ files_sdk/models/workspace.py
129
130
  tests/test_account_line_item.py
130
131
  tests/test_action.py
131
132
  tests/test_action_notification_export.py
@@ -238,4 +239,5 @@ tests/test_user_lifecycle_rule.py
238
239
  tests/test_user_request.py
239
240
  tests/test_user_sftp_client_use.py
240
241
  tests/test_web_dav_action_log.py
241
- tests/test_webhook_test.py
242
+ tests/test_webhook_test.py
243
+ tests/test_workspace.py
@@ -109,6 +109,7 @@ import files_sdk.models.user_request as user_request
109
109
  import files_sdk.models.user_sftp_client_use as user_sftp_client_use
110
110
  import files_sdk.models.web_dav_action_log as web_dav_action_log
111
111
  import files_sdk.models.webhook_test as webhook_test
112
+ import files_sdk.models.workspace as workspace
112
113
 
113
114
  from files_sdk.models.account_line_item import AccountLineItem
114
115
  from files_sdk.models.action import Action
@@ -228,6 +229,7 @@ from files_sdk.models.user_request import UserRequest
228
229
  from files_sdk.models.user_sftp_client_use import UserSftpClientUse
229
230
  from files_sdk.models.web_dav_action_log import WebDavActionLog
230
231
  from files_sdk.models.webhook_test import WebhookTest
232
+ from files_sdk.models.workspace import Workspace
231
233
 
232
234
  import files_sdk.path_util
233
235
  import socket
@@ -239,7 +241,7 @@ session_id = None
239
241
  source_ip = None
240
242
  base_url = "https://app.files.com"
241
243
  base_path = "api/rest/v1"
242
- version = "1.6.172"
244
+ version = "1.6.174"
243
245
 
244
246
  __version__ = version
245
247
 
@@ -116,3 +116,4 @@ from files_sdk.models.user_request import UserRequest
116
116
  from files_sdk.models.user_sftp_client_use import UserSftpClientUse
117
117
  from files_sdk.models.web_dav_action_log import WebDavActionLog
118
118
  from files_sdk.models.webhook_test import WebhookTest
119
+ from files_sdk.models.workspace import Workspace
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class Automation:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Automation ID
14
+ "workspace_id": None, # int64 - Workspace ID
14
15
  "always_serialize_jobs": None, # boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
15
16
  "always_overwrite_size_matching_files": None, # boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
16
17
  "automation": None, # string - Automation type
@@ -124,6 +125,7 @@ class Automation:
124
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
125
126
  # value - object - A Hash of attributes specific to the automation type.
126
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
127
129
  # automation - string - Automation type
128
130
  def update(self, params=None):
129
131
  if not isinstance(params, dict):
@@ -262,6 +264,12 @@ class Automation:
262
264
  raise InvalidParameterError(
263
265
  "Bad parameter: recurring_day must be an int"
264
266
  )
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
+ )
265
273
  if "automation" in params and not isinstance(
266
274
  params["automation"], str
267
275
  ):
@@ -312,8 +320,8 @@ class Automation:
312
320
  # Parameters:
313
321
  # 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.
314
322
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
315
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
316
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ automation, disabled ]`, `[ automation, last_modified_at ]` or `[ automation, disabled, last_modified_at ]`.
323
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `automation`, `last_modified_at` or `disabled`.
324
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at`, `workspace_id` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ workspace_id, disabled ]`, `[ disabled, automation ]`, `[ workspace_id, last_modified_at ]`, `[ automation, last_modified_at ]`, `[ workspace_id, automation ]`, `[ workspace_id, disabled, last_modified_at ]`, `[ disabled, automation, last_modified_at ]`, `[ workspace_id, disabled, automation ]`, `[ workspace_id, automation, last_modified_at ]` or `[ workspace_id, disabled, automation, last_modified_at ]`.
317
325
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
318
326
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
319
327
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
@@ -405,6 +413,7 @@ def get(id, params=None, options=None):
405
413
  # 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
406
414
  # value - object - A Hash of attributes specific to the automation type.
407
415
  # 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
408
417
  # automation (required) - string - Automation type
409
418
  def create(params=None, options=None):
410
419
  if not isinstance(params, dict):
@@ -561,6 +570,12 @@ def create(params=None, options=None):
561
570
  raise InvalidParameterError(
562
571
  "Bad parameter: recurring_day must be an int"
563
572
  )
573
+ if "workspace_id" in params and not isinstance(
574
+ params["workspace_id"], int
575
+ ):
576
+ raise InvalidParameterError(
577
+ "Bad parameter: workspace_id must be an int"
578
+ )
564
579
  if "automation" in params and not isinstance(params["automation"], str):
565
580
  raise InvalidParameterError("Bad parameter: automation must be an str")
566
581
  if "automation" not in params:
@@ -623,6 +638,7 @@ def manual_run(id, params=None, options=None):
623
638
  # 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
624
639
  # value - object - A Hash of attributes specific to the automation type.
625
640
  # 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
626
642
  # automation - string - Automation type
627
643
  def update(id, params=None, options=None):
628
644
  if not isinstance(params, dict):
@@ -782,6 +798,12 @@ def update(id, params=None, options=None):
782
798
  raise InvalidParameterError(
783
799
  "Bad parameter: recurring_day must be an int"
784
800
  )
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
+ )
785
807
  if "automation" in params and not isinstance(params["automation"], str):
786
808
  raise InvalidParameterError("Bad parameter: automation must be an str")
787
809
  if "id" not in params:
@@ -12,6 +12,7 @@ class AutomationRun:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - ID.
14
14
  "automation_id": None, # int64 - ID of the associated Automation.
15
+ "workspace_id": None, # int64 - Workspace ID.
15
16
  "completed_at": None, # date-time - Automation run completion/failure date/time.
16
17
  "created_at": None, # date-time - Automation run start date/time.
17
18
  "retry_at": None, # date-time - If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
@@ -53,7 +54,7 @@ class AutomationRun:
53
54
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
54
55
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
55
56
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
56
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
57
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
57
58
  # automation_id (required) - int64 - ID of the associated Automation.
58
59
  def list(params=None, options=None):
59
60
  if not isinstance(params, dict):
@@ -43,7 +43,7 @@ class Behavior:
43
43
  }
44
44
 
45
45
  # Parameters:
46
- # value - string - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
46
+ # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
47
47
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
48
48
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
49
49
  # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
@@ -62,8 +62,6 @@ class Behavior:
62
62
  raise MissingParameterError("Parameter missing: id")
63
63
  if "id" in params and not isinstance(params["id"], int):
64
64
  raise InvalidParameterError("Bad parameter: id must be an int")
65
- if "value" in params and not isinstance(params["value"], str):
66
- raise InvalidParameterError("Bad parameter: value must be an str")
67
65
  if "name" in params and not isinstance(params["name"], str):
68
66
  raise InvalidParameterError("Bad parameter: name must be an str")
69
67
  if "description" in params and not isinstance(
@@ -201,7 +199,7 @@ def list_for(path, params=None, options=None):
201
199
 
202
200
 
203
201
  # Parameters:
204
- # value - string - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
202
+ # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
205
203
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
206
204
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
207
205
  # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
@@ -214,8 +212,8 @@ def create(params=None, options=None):
214
212
  params = {}
215
213
  if not isinstance(options, dict):
216
214
  options = {}
217
- if "value" in params and not isinstance(params["value"], str):
218
- raise InvalidParameterError("Bad parameter: value must be an str")
215
+ if "value" in params and not isinstance(params["value"], dict):
216
+ raise InvalidParameterError("Bad parameter: value must be an dict")
219
217
  if "disable_parent_folder_behavior" in params and not isinstance(
220
218
  params["disable_parent_folder_behavior"], bool
221
219
  ):
@@ -272,7 +270,7 @@ def webhook_test(params=None, options=None):
272
270
 
273
271
 
274
272
  # Parameters:
275
- # value - string - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
273
+ # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
276
274
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
277
275
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
278
276
  # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
@@ -285,12 +283,12 @@ def update(id, params=None, options=None):
285
283
  if not isinstance(options, dict):
286
284
  options = {}
287
285
  params["id"] = id
288
- if "id" in params and not isinstance(params["id"], (str, int, dict)):
286
+ if "id" in params and not isinstance(params["id"], (dict, str, int)):
289
287
  raise InvalidParameterError(
290
- "Bad parameter: id must be one of str, int, dict"
288
+ "Bad parameter: id must be one of dict, str, int"
291
289
  )
292
- if "value" in params and not isinstance(params["value"], str):
293
- raise InvalidParameterError("Bad parameter: value must be an str")
290
+ if "value" in params and not isinstance(params["value"], dict):
291
+ raise InvalidParameterError("Bad parameter: value must be an dict")
294
292
  if "disable_parent_folder_behavior" in params and not isinstance(
295
293
  params["disable_parent_folder_behavior"], bool
296
294
  ):
@@ -306,10 +304,10 @@ def update(id, params=None, options=None):
306
304
  "Bad parameter: description must be an str"
307
305
  )
308
306
  if "attachment_delete" in params and not isinstance(
309
- params["attachment_delete"], (str, int, dict)
307
+ params["attachment_delete"], (dict, str, int)
310
308
  ):
311
309
  raise InvalidParameterError(
312
- "Bad parameter: attachment_delete must be one of str, int, dict"
310
+ "Bad parameter: attachment_delete must be one of dict, str, int"
313
311
  )
314
312
  if "id" not in params:
315
313
  raise MissingParameterError("Parameter missing: id")
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class GpgKey:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - GPG key ID.
14
+ "workspace_id": None, # int64 - Workspace ID (0 for default workspace).
14
15
  "expires_at": None, # date-time - GPG key expiration date.
15
16
  "name": None, # string - GPG key name.
16
17
  "partner_id": None, # int64 - Partner ID who owns this GPG Key, if applicable.
@@ -51,6 +52,7 @@ class GpgKey:
51
52
 
52
53
  # Parameters:
53
54
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
55
+ # workspace_id - int64 - Workspace ID (0 for default workspace).
54
56
  # public_key - string - The GPG public key
55
57
  # private_key - string - The GPG private key
56
58
  # private_key_password - string - The GPG private key password
@@ -73,6 +75,12 @@ class GpgKey:
73
75
  raise InvalidParameterError(
74
76
  "Bad parameter: partner_id must be an int"
75
77
  )
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
+ )
76
84
  if "public_key" in params and not isinstance(
77
85
  params["public_key"], str
78
86
  ):
@@ -138,7 +146,12 @@ class GpgKey:
138
146
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
139
147
  # 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.
140
148
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
141
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name` and `expires_at`.
149
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `expires_at`.
150
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, expires_at ]`.
151
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
152
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
153
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
154
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
142
155
  def list(params=None, options=None):
143
156
  if not isinstance(params, dict):
144
157
  params = {}
@@ -152,6 +165,20 @@ def list(params=None, options=None):
152
165
  raise InvalidParameterError("Bad parameter: per_page must be an int")
153
166
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
154
167
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
168
+ if "filter" in params and not isinstance(params["filter"], dict):
169
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
170
+ if "filter_gt" in params and not isinstance(params["filter_gt"], dict):
171
+ raise InvalidParameterError("Bad parameter: filter_gt must be an dict")
172
+ if "filter_gteq" in params and not isinstance(params["filter_gteq"], dict):
173
+ raise InvalidParameterError(
174
+ "Bad parameter: filter_gteq must be an dict"
175
+ )
176
+ if "filter_lt" in params and not isinstance(params["filter_lt"], dict):
177
+ raise InvalidParameterError("Bad parameter: filter_lt must be an dict")
178
+ if "filter_lteq" in params and not isinstance(params["filter_lteq"], dict):
179
+ raise InvalidParameterError(
180
+ "Bad parameter: filter_lteq must be an dict"
181
+ )
155
182
  return ListObj(GpgKey, "GET", "/gpg_keys", params, options)
156
183
 
157
184
 
@@ -184,6 +211,7 @@ def get(id, params=None, options=None):
184
211
  # Parameters:
185
212
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
186
213
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
214
+ # workspace_id - int64 - Workspace ID (0 for default workspace).
187
215
  # public_key - string - The GPG public key
188
216
  # private_key - string - The GPG private key
189
217
  # private_key_password - string - The GPG private key password
@@ -201,6 +229,12 @@ def create(params=None, options=None):
201
229
  raise InvalidParameterError("Bad parameter: user_id must be an int")
202
230
  if "partner_id" in params and not isinstance(params["partner_id"], int):
203
231
  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
+ )
204
238
  if "public_key" in params and not isinstance(params["public_key"], str):
205
239
  raise InvalidParameterError("Bad parameter: public_key must be an str")
206
240
  if "private_key" in params and not isinstance(params["private_key"], str):
@@ -247,6 +281,7 @@ def create(params=None, options=None):
247
281
 
248
282
  # Parameters:
249
283
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
284
+ # workspace_id - int64 - Workspace ID (0 for default workspace).
250
285
  # public_key - string - The GPG public key
251
286
  # private_key - string - The GPG private key
252
287
  # private_key_password - string - The GPG private key password
@@ -261,6 +296,12 @@ def update(id, params=None, options=None):
261
296
  raise InvalidParameterError("Bad parameter: id must be an int")
262
297
  if "partner_id" in params and not isinstance(params["partner_id"], int):
263
298
  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
+ )
264
305
  if "public_key" in params and not isinstance(params["public_key"], str):
265
306
  raise InvalidParameterError("Bad parameter: public_key must be an str")
266
307
  if "private_key" in params and not isinstance(params["private_key"], str):
@@ -22,6 +22,7 @@ class Group:
22
22
  "dav_permission": None, # 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.
23
23
  "restapi_permission": None, # 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.
24
24
  "site_id": None, # int64 - Site ID
25
+ "workspace_id": None, # int64 - Workspace ID
25
26
  }
26
27
 
27
28
  def __init__(self, attributes=None, options=None):
@@ -47,6 +48,7 @@ class Group:
47
48
  # notes - string - Group notes.
48
49
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
49
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
50
52
  # 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.
51
53
  # 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.
52
54
  # 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.
@@ -75,6 +77,12 @@ class Group:
75
77
  raise InvalidParameterError(
76
78
  "Bad parameter: admin_ids must be an str"
77
79
  )
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
+ )
78
86
  if "allowed_ips" in params and not isinstance(
79
87
  params["allowed_ips"], str
80
88
  ):
@@ -127,8 +135,8 @@ class Group:
127
135
  # Parameters:
128
136
  # 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.
129
137
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
130
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `name`.
131
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
138
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id` or `name`.
139
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `workspace_id`. Valid field combinations are `[ workspace_id, name ]`.
132
140
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
133
141
  # ids - string - Comma-separated list of group ids to include in results.
134
142
  # include_parent_site_groups - boolean - Include groups from the parent site.
@@ -192,6 +200,7 @@ def get(id, params=None, options=None):
192
200
  # notes - string - Group notes.
193
201
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
194
202
  # 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
195
204
  # 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.
196
205
  # 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.
197
206
  # 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.
@@ -209,6 +218,12 @@ def create(params=None, options=None):
209
218
  raise InvalidParameterError("Bad parameter: user_ids must be an str")
210
219
  if "admin_ids" in params and not isinstance(params["admin_ids"], str):
211
220
  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
+ )
212
227
  if "ftp_permission" in params and not isinstance(
213
228
  params["ftp_permission"], bool
214
229
  ):
@@ -249,6 +264,7 @@ def create(params=None, options=None):
249
264
  # notes - string - Group notes.
250
265
  # user_ids - string - A list of user ids. If sent as a string, should be comma-delimited.
251
266
  # 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
252
268
  # 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.
253
269
  # 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.
254
270
  # 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.
@@ -269,6 +285,12 @@ def update(id, params=None, options=None):
269
285
  raise InvalidParameterError("Bad parameter: user_ids must be an str")
270
286
  if "admin_ids" in params and not isinstance(params["admin_ids"], str):
271
287
  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
+ )
272
294
  if "ftp_permission" in params and not isinstance(
273
295
  params["ftp_permission"], bool
274
296
  ):
@@ -719,7 +719,7 @@ class RemoteServer:
719
719
  # 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.
720
720
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
721
721
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
722
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
722
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `workspace_id`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ workspace_id, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]`, `[ linode_bucket, name ]`, `[ workspace_id, server_type ]` or `[ workspace_id, server_type, name ]`.
723
723
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
724
724
  def list(params=None, options=None):
725
725
  if not isinstance(params, dict):
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class RemoteServerCredential:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Remote Server Credential ID
14
+ "workspace_id": None, # int64 - Workspace ID (0 for default workspace)
14
15
  "name": None, # string - Internal name for your reference
15
16
  "description": None, # string - Internal description for your reference
16
17
  "server_type": None, # string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
@@ -66,6 +67,7 @@ class RemoteServerCredential:
66
67
  }
67
68
 
68
69
  # Parameters:
70
+ # workspace_id - int64 - Workspace ID (0 for default workspace)
69
71
  # name - string - Internal name for your reference
70
72
  # description - string - Internal description for your reference
71
73
  # server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
@@ -108,6 +110,12 @@ class RemoteServerCredential:
108
110
  raise MissingParameterError("Parameter missing: id")
109
111
  if "id" in params and not isinstance(params["id"], int):
110
112
  raise InvalidParameterError("Bad parameter: id must be an int")
113
+ if "workspace_id" in params and not isinstance(
114
+ params["workspace_id"], int
115
+ ):
116
+ raise InvalidParameterError(
117
+ "Bad parameter: workspace_id must be an int"
118
+ )
111
119
  if "name" in params and not isinstance(params["name"], str):
112
120
  raise InvalidParameterError("Bad parameter: name must be an str")
113
121
  if "description" in params and not isinstance(
@@ -333,7 +341,8 @@ class RemoteServerCredential:
333
341
  # Parameters:
334
342
  # 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.
335
343
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
336
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
344
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
345
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
337
346
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
338
347
  def list(params=None, options=None):
339
348
  if not isinstance(params, dict):
@@ -344,6 +353,8 @@ def list(params=None, options=None):
344
353
  raise InvalidParameterError("Bad parameter: cursor must be an str")
345
354
  if "per_page" in params and not isinstance(params["per_page"], int):
346
355
  raise InvalidParameterError("Bad parameter: per_page must be an int")
356
+ if "sort_by" in params and not isinstance(params["sort_by"], dict):
357
+ raise InvalidParameterError("Bad parameter: sort_by must be an dict")
347
358
  if "filter" in params and not isinstance(params["filter"], dict):
348
359
  raise InvalidParameterError("Bad parameter: filter must be an dict")
349
360
  if "filter_prefix" in params and not isinstance(
@@ -391,6 +402,7 @@ def get(id, params=None, options=None):
391
402
 
392
403
 
393
404
  # Parameters:
405
+ # workspace_id - int64 - Workspace ID (0 for default workspace)
394
406
  # name - string - Internal name for your reference
395
407
  # description - string - Internal description for your reference
396
408
  # server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
@@ -426,6 +438,12 @@ def create(params=None, options=None):
426
438
  params = {}
427
439
  if not isinstance(options, dict):
428
440
  options = {}
441
+ if "workspace_id" in params and not isinstance(
442
+ params["workspace_id"], int
443
+ ):
444
+ raise InvalidParameterError(
445
+ "Bad parameter: workspace_id must be an int"
446
+ )
429
447
  if "name" in params and not isinstance(params["name"], str):
430
448
  raise InvalidParameterError("Bad parameter: name must be an str")
431
449
  if "description" in params and not isinstance(params["description"], str):
@@ -601,6 +619,7 @@ def create(params=None, options=None):
601
619
 
602
620
 
603
621
  # Parameters:
622
+ # workspace_id - int64 - Workspace ID (0 for default workspace)
604
623
  # name - string - Internal name for your reference
605
624
  # description - string - Internal description for your reference
606
625
  # server_type - string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
@@ -639,6 +658,12 @@ def update(id, params=None, options=None):
639
658
  params["id"] = id
640
659
  if "id" in params and not isinstance(params["id"], int):
641
660
  raise InvalidParameterError("Bad parameter: id must be an int")
661
+ if "workspace_id" in params and not isinstance(
662
+ params["workspace_id"], int
663
+ ):
664
+ raise InvalidParameterError(
665
+ "Bad parameter: workspace_id must be an int"
666
+ )
642
667
  if "name" in params and not isinstance(params["name"], str):
643
668
  raise InvalidParameterError("Bad parameter: name must be an str")
644
669
  if "description" in params and not isinstance(params["description"], str):
@@ -14,6 +14,7 @@ class Sync:
14
14
  "name": None, # string - Name for this sync job
15
15
  "description": None, # string - Description for this sync job
16
16
  "site_id": None, # int64 - Site ID this sync belongs to
17
+ "workspace_id": None, # int64 - Workspace ID this sync belongs to
17
18
  "user_id": None, # int64 - User who created or owns this sync
18
19
  "src_path": None, # string - Absolute source path for the sync
19
20
  "dest_path": None, # string - Absolute destination path for the sync
@@ -117,6 +118,7 @@ class Sync:
117
118
  # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
118
119
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
119
120
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
121
+ # workspace_id - int64 - Workspace ID this sync belongs to
120
122
  def update(self, params=None):
121
123
  if not isinstance(params, dict):
122
124
  params = {}
@@ -207,6 +209,12 @@ class Sync:
207
209
  raise InvalidParameterError(
208
210
  "Bad parameter: schedule_times_of_day must be an list"
209
211
  )
212
+ if "workspace_id" in params and not isinstance(
213
+ params["workspace_id"], int
214
+ ):
215
+ raise InvalidParameterError(
216
+ "Bad parameter: workspace_id must be an int"
217
+ )
210
218
  response, _options = Api.send_request(
211
219
  "PATCH",
212
220
  "/syncs/{id}".format(id=params["id"]),
@@ -251,8 +259,8 @@ class Sync:
251
259
  # Parameters:
252
260
  # 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.
253
261
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
254
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
255
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `src_remote_server_id` and `dest_remote_server_id`.
262
+ # 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`.
263
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `disabled`, `src_remote_server_id` or `dest_remote_server_id`. Valid field combinations are `[ workspace_id, disabled ]`, `[ workspace_id, src_remote_server_id ]`, `[ workspace_id, dest_remote_server_id ]`, `[ disabled, src_remote_server_id ]`, `[ disabled, dest_remote_server_id ]`, `[ workspace_id, disabled, src_remote_server_id ]` or `[ workspace_id, disabled, dest_remote_server_id ]`.
256
264
  def list(params=None, options=None):
257
265
  if not isinstance(params, dict):
258
266
  params = {}
@@ -314,6 +322,7 @@ def get(id, params=None, options=None):
314
322
  # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
315
323
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
316
324
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
325
+ # workspace_id - int64 - Workspace ID this sync belongs to
317
326
  def create(params=None, options=None):
318
327
  if not isinstance(params, dict):
319
328
  params = {}
@@ -401,6 +410,12 @@ def create(params=None, options=None):
401
410
  raise InvalidParameterError(
402
411
  "Bad parameter: schedule_times_of_day must be an list"
403
412
  )
413
+ if "workspace_id" in params and not isinstance(
414
+ params["workspace_id"], int
415
+ ):
416
+ raise InvalidParameterError(
417
+ "Bad parameter: workspace_id must be an int"
418
+ )
404
419
  response, options = Api.send_request("POST", "/syncs", params, options)
405
420
  return Sync(response.data, options)
406
421
 
@@ -459,6 +474,7 @@ def manual_run(id, params=None, options=None):
459
474
  # schedule_time_zone - string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the sync should be run.
460
475
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
461
476
  # schedule_times_of_day - array(string) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. Times of day in HH:MM format.
477
+ # workspace_id - int64 - Workspace ID this sync belongs to
462
478
  def update(id, params=None, options=None):
463
479
  if not isinstance(params, dict):
464
480
  params = {}
@@ -549,6 +565,12 @@ def update(id, params=None, options=None):
549
565
  raise InvalidParameterError(
550
566
  "Bad parameter: schedule_times_of_day must be an list"
551
567
  )
568
+ if "workspace_id" in params and not isinstance(
569
+ params["workspace_id"], int
570
+ ):
571
+ raise InvalidParameterError(
572
+ "Bad parameter: workspace_id must be an int"
573
+ )
552
574
  if "id" not in params:
553
575
  raise MissingParameterError("Parameter missing: id")
554
576
  response, options = Api.send_request(