Files.com 1.6.419__tar.gz → 1.6.421__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 (307) hide show
  1. {files_com-1.6.419/files_com.egg-info → files_com-1.6.421}/PKG-INFO +1 -1
  2. files_com-1.6.421/_VERSION +1 -0
  3. {files_com-1.6.419 → files_com-1.6.421/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.419 → files_com-1.6.421}/files_com.egg-info/SOURCES.txt +2 -0
  5. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/__init__.py +5 -1
  6. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/__init__.py +3 -0
  7. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/group.py +22 -0
  8. files_com-1.6.421/files_sdk/models/integration_centric_profile.py +292 -0
  9. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/partner_channel_template.py +26 -26
  10. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/remote_server.py +7 -0
  11. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user.py +22 -0
  12. {files_com-1.6.419 → files_com-1.6.421}/pyproject.toml +1 -1
  13. files_com-1.6.421/tests/test_integration_centric_profile.py +69 -0
  14. files_com-1.6.419/_VERSION +0 -1
  15. {files_com-1.6.419 → files_com-1.6.421}/LICENSE +0 -0
  16. {files_com-1.6.419 → files_com-1.6.421}/README.md +0 -0
  17. {files_com-1.6.419 → files_com-1.6.421}/files_com.egg-info/dependency_links.txt +0 -0
  18. {files_com-1.6.419 → files_com-1.6.421}/files_com.egg-info/requires.txt +0 -0
  19. {files_com-1.6.419 → files_com-1.6.421}/files_com.egg-info/top_level.txt +0 -0
  20. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/api.py +0 -0
  21. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/api_client.py +0 -0
  22. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/error.py +0 -0
  23. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/list_obj.py +0 -0
  24. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/account_line_item.py +0 -0
  25. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/action.py +0 -0
  26. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/action_log.py +0 -0
  27. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/action_notification_export.py +0 -0
  28. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/action_notification_export_result.py +0 -0
  29. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/agent_push_update.py +0 -0
  30. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/ai_assistant_personality.py +0 -0
  31. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/ai_task.py +0 -0
  32. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/api_key.py +0 -0
  33. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/api_request_log.py +0 -0
  34. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/app.py +0 -0
  35. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/as2_incoming_message.py +0 -0
  36. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/as2_outgoing_message.py +0 -0
  37. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/as2_partner.py +0 -0
  38. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/as2_station.py +0 -0
  39. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/auto.py +0 -0
  40. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/automation.py +0 -0
  41. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/automation_log.py +0 -0
  42. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/automation_run.py +0 -0
  43. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bandwidth_snapshot.py +0 -0
  44. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/behavior.py +0 -0
  45. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle.py +0 -0
  46. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_action.py +0 -0
  47. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_download.py +0 -0
  48. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_notification.py +0 -0
  49. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_path.py +0 -0
  50. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_recipient.py +0 -0
  51. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/bundle_registration.py +0 -0
  52. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/chat_message.py +0 -0
  53. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/chat_session.py +0 -0
  54. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/child_site_management_policy.py +0 -0
  55. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/clickwrap.py +0 -0
  56. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/custom_domain.py +0 -0
  57. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/desktop_configuration_profile.py +0 -0
  58. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/dns_record.py +0 -0
  59. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/email_incoming_message.py +0 -0
  60. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/email_log.py +0 -0
  61. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/errors.py +0 -0
  62. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/event_channel.py +0 -0
  63. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/event_delivery_attempt.py +0 -0
  64. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/event_record.py +0 -0
  65. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/event_subscription.py +0 -0
  66. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/event_target.py +0 -0
  67. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/exavault_api_request_log.py +0 -0
  68. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/expectation.py +0 -0
  69. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/expectation_evaluation.py +0 -0
  70. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/expectation_incident.py +0 -0
  71. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/external_event.py +0 -0
  72. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file.py +0 -0
  73. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_action.py +0 -0
  74. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_comment.py +0 -0
  75. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_comment_reaction.py +0 -0
  76. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_migration.py +0 -0
  77. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_migration_log.py +0 -0
  78. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/file_upload_part.py +0 -0
  79. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/folder.py +0 -0
  80. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/form_field.py +0 -0
  81. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/form_field_set.py +0 -0
  82. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/ftp_action_log.py +0 -0
  83. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/gpg_key.py +0 -0
  84. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/group_user.py +0 -0
  85. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/history.py +0 -0
  86. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/history_export.py +0 -0
  87. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/history_export_result.py +0 -0
  88. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/holiday_region.py +0 -0
  89. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/image.py +0 -0
  90. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/inbound_s3_log.py +0 -0
  91. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/inbox_recipient.py +0 -0
  92. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/inbox_registration.py +0 -0
  93. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/inbox_upload.py +0 -0
  94. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/invoice.py +0 -0
  95. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/invoice_line_item.py +0 -0
  96. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/ip_address.py +0 -0
  97. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/key_lifecycle_rule.py +0 -0
  98. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/lock.py +0 -0
  99. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/message.py +0 -0
  100. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/message_comment.py +0 -0
  101. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/message_comment_reaction.py +0 -0
  102. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/message_reaction.py +0 -0
  103. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/metadata_category.py +0 -0
  104. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/notification.py +0 -0
  105. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/outbound_connection_log.py +0 -0
  106. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/partner.py +0 -0
  107. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/partner_channel.py +0 -0
  108. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/partner_site.py +0 -0
  109. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/partner_site_request.py +0 -0
  110. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/payment.py +0 -0
  111. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/payment_line_item.py +0 -0
  112. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/pending_work_event.py +0 -0
  113. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/permission.py +0 -0
  114. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/preview.py +0 -0
  115. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/project.py +0 -0
  116. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/public_hosting_request_log.py +0 -0
  117. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/public_ip_address.py +0 -0
  118. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/public_key.py +0 -0
  119. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  120. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/remote_mount_backend.py +0 -0
  121. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/remote_server_configuration_file.py +0 -0
  122. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/remote_server_credential.py +0 -0
  123. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/request.py +0 -0
  124. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/restore.py +0 -0
  125. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/scheduled_export.py +0 -0
  126. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/scim_log.py +0 -0
  127. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/secret.py +0 -0
  128. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/session.py +0 -0
  129. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/settings_change.py +0 -0
  130. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sftp_action_log.py +0 -0
  131. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sftp_host_key.py +0 -0
  132. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/share_group.py +0 -0
  133. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/share_group_member.py +0 -0
  134. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/siem_http_destination.py +0 -0
  135. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/siem_http_destination_event.py +0 -0
  136. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/site.py +0 -0
  137. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/site_subdomain_redirect.py +0 -0
  138. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/snapshot.py +0 -0
  139. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sso_event.py +0 -0
  140. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sso_strategy.py +0 -0
  141. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/status.py +0 -0
  142. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/style.py +0 -0
  143. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sync.py +0 -0
  144. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sync_log.py +0 -0
  145. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sync_run.py +0 -0
  146. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/sync_run_live_transfer.py +0 -0
  147. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  148. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/usage_daily_snapshot.py +0 -0
  149. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/usage_snapshot.py +0 -0
  150. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user_cipher_use.py +0 -0
  151. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user_lifecycle_rule.py +0 -0
  152. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user_request.py +0 -0
  153. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user_security_event.py +0 -0
  154. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/user_sftp_client_use.py +0 -0
  155. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/web_dav_action_log.py +0 -0
  156. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/webhook_test.py +0 -0
  157. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/workspace.py +0 -0
  158. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/models/zip_list_entry.py +0 -0
  159. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/path_util.py +0 -0
  160. {files_com-1.6.419 → files_com-1.6.421}/files_sdk/util.py +0 -0
  161. {files_com-1.6.419 → files_com-1.6.421}/setup.cfg +0 -0
  162. {files_com-1.6.419 → files_com-1.6.421}/tests/test_account_line_item.py +0 -0
  163. {files_com-1.6.419 → files_com-1.6.421}/tests/test_action.py +0 -0
  164. {files_com-1.6.419 → files_com-1.6.421}/tests/test_action_log.py +0 -0
  165. {files_com-1.6.419 → files_com-1.6.421}/tests/test_action_notification_export.py +0 -0
  166. {files_com-1.6.419 → files_com-1.6.421}/tests/test_action_notification_export_result.py +0 -0
  167. {files_com-1.6.419 → files_com-1.6.421}/tests/test_agent_push_update.py +0 -0
  168. {files_com-1.6.419 → files_com-1.6.421}/tests/test_ai_assistant_personality.py +0 -0
  169. {files_com-1.6.419 → files_com-1.6.421}/tests/test_ai_task.py +0 -0
  170. {files_com-1.6.419 → files_com-1.6.421}/tests/test_api_errors.py +0 -0
  171. {files_com-1.6.419 → files_com-1.6.421}/tests/test_api_key.py +0 -0
  172. {files_com-1.6.419 → files_com-1.6.421}/tests/test_api_request_log.py +0 -0
  173. {files_com-1.6.419 → files_com-1.6.421}/tests/test_app.py +0 -0
  174. {files_com-1.6.419 → files_com-1.6.421}/tests/test_as2_incoming_message.py +0 -0
  175. {files_com-1.6.419 → files_com-1.6.421}/tests/test_as2_outgoing_message.py +0 -0
  176. {files_com-1.6.419 → files_com-1.6.421}/tests/test_as2_partner.py +0 -0
  177. {files_com-1.6.419 → files_com-1.6.421}/tests/test_as2_station.py +0 -0
  178. {files_com-1.6.419 → files_com-1.6.421}/tests/test_auto.py +0 -0
  179. {files_com-1.6.419 → files_com-1.6.421}/tests/test_automation.py +0 -0
  180. {files_com-1.6.419 → files_com-1.6.421}/tests/test_automation_log.py +0 -0
  181. {files_com-1.6.419 → files_com-1.6.421}/tests/test_automation_run.py +0 -0
  182. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bandwidth_snapshot.py +0 -0
  183. {files_com-1.6.419 → files_com-1.6.421}/tests/test_behavior.py +0 -0
  184. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle.py +0 -0
  185. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_action.py +0 -0
  186. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_download.py +0 -0
  187. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_notification.py +0 -0
  188. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_path.py +0 -0
  189. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_recipient.py +0 -0
  190. {files_com-1.6.419 → files_com-1.6.421}/tests/test_bundle_registration.py +0 -0
  191. {files_com-1.6.419 → files_com-1.6.421}/tests/test_chat_message.py +0 -0
  192. {files_com-1.6.419 → files_com-1.6.421}/tests/test_chat_session.py +0 -0
  193. {files_com-1.6.419 → files_com-1.6.421}/tests/test_child_site_management_policy.py +0 -0
  194. {files_com-1.6.419 → files_com-1.6.421}/tests/test_clickwrap.py +0 -0
  195. {files_com-1.6.419 → files_com-1.6.421}/tests/test_connection_adapter.py +0 -0
  196. {files_com-1.6.419 → files_com-1.6.421}/tests/test_custom_domain.py +0 -0
  197. {files_com-1.6.419 → files_com-1.6.421}/tests/test_decimal_contract.py +0 -0
  198. {files_com-1.6.419 → files_com-1.6.421}/tests/test_desktop_configuration_profile.py +0 -0
  199. {files_com-1.6.419 → files_com-1.6.421}/tests/test_dns_record.py +0 -0
  200. {files_com-1.6.419 → files_com-1.6.421}/tests/test_email_incoming_message.py +0 -0
  201. {files_com-1.6.419 → files_com-1.6.421}/tests/test_email_log.py +0 -0
  202. {files_com-1.6.419 → files_com-1.6.421}/tests/test_errors.py +0 -0
  203. {files_com-1.6.419 → files_com-1.6.421}/tests/test_event_channel.py +0 -0
  204. {files_com-1.6.419 → files_com-1.6.421}/tests/test_event_delivery_attempt.py +0 -0
  205. {files_com-1.6.419 → files_com-1.6.421}/tests/test_event_record.py +0 -0
  206. {files_com-1.6.419 → files_com-1.6.421}/tests/test_event_subscription.py +0 -0
  207. {files_com-1.6.419 → files_com-1.6.421}/tests/test_event_target.py +0 -0
  208. {files_com-1.6.419 → files_com-1.6.421}/tests/test_exavault_api_request_log.py +0 -0
  209. {files_com-1.6.419 → files_com-1.6.421}/tests/test_expectation.py +0 -0
  210. {files_com-1.6.419 → files_com-1.6.421}/tests/test_expectation_evaluation.py +0 -0
  211. {files_com-1.6.419 → files_com-1.6.421}/tests/test_expectation_incident.py +0 -0
  212. {files_com-1.6.419 → files_com-1.6.421}/tests/test_external_event.py +0 -0
  213. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file.py +0 -0
  214. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_action.py +0 -0
  215. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_comment.py +0 -0
  216. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_comment_reaction.py +0 -0
  217. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_migration.py +0 -0
  218. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_migration_log.py +0 -0
  219. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_underscore_destinations.py +0 -0
  220. {files_com-1.6.419 → files_com-1.6.421}/tests/test_file_upload_part.py +0 -0
  221. {files_com-1.6.419 → files_com-1.6.421}/tests/test_folder.py +0 -0
  222. {files_com-1.6.419 → files_com-1.6.421}/tests/test_form_field.py +0 -0
  223. {files_com-1.6.419 → files_com-1.6.421}/tests/test_form_field_set.py +0 -0
  224. {files_com-1.6.419 → files_com-1.6.421}/tests/test_ftp_action_log.py +0 -0
  225. {files_com-1.6.419 → files_com-1.6.421}/tests/test_gpg_key.py +0 -0
  226. {files_com-1.6.419 → files_com-1.6.421}/tests/test_group.py +0 -0
  227. {files_com-1.6.419 → files_com-1.6.421}/tests/test_group_user.py +0 -0
  228. {files_com-1.6.419 → files_com-1.6.421}/tests/test_history.py +0 -0
  229. {files_com-1.6.419 → files_com-1.6.421}/tests/test_history_export.py +0 -0
  230. {files_com-1.6.419 → files_com-1.6.421}/tests/test_history_export_result.py +0 -0
  231. {files_com-1.6.419 → files_com-1.6.421}/tests/test_holiday_region.py +0 -0
  232. {files_com-1.6.419 → files_com-1.6.421}/tests/test_image.py +0 -0
  233. {files_com-1.6.419 → files_com-1.6.421}/tests/test_inbound_s3_log.py +0 -0
  234. {files_com-1.6.419 → files_com-1.6.421}/tests/test_inbox_recipient.py +0 -0
  235. {files_com-1.6.419 → files_com-1.6.421}/tests/test_inbox_registration.py +0 -0
  236. {files_com-1.6.419 → files_com-1.6.421}/tests/test_inbox_upload.py +0 -0
  237. {files_com-1.6.419 → files_com-1.6.421}/tests/test_invoice.py +0 -0
  238. {files_com-1.6.419 → files_com-1.6.421}/tests/test_invoice_line_item.py +0 -0
  239. {files_com-1.6.419 → files_com-1.6.421}/tests/test_ip_address.py +0 -0
  240. {files_com-1.6.419 → files_com-1.6.421}/tests/test_key_lifecycle_rule.py +0 -0
  241. {files_com-1.6.419 → files_com-1.6.421}/tests/test_lock.py +0 -0
  242. {files_com-1.6.419 → files_com-1.6.421}/tests/test_message.py +0 -0
  243. {files_com-1.6.419 → files_com-1.6.421}/tests/test_message_comment.py +0 -0
  244. {files_com-1.6.419 → files_com-1.6.421}/tests/test_message_comment_reaction.py +0 -0
  245. {files_com-1.6.419 → files_com-1.6.421}/tests/test_message_reaction.py +0 -0
  246. {files_com-1.6.419 → files_com-1.6.421}/tests/test_metadata_category.py +0 -0
  247. {files_com-1.6.419 → files_com-1.6.421}/tests/test_notification.py +0 -0
  248. {files_com-1.6.419 → files_com-1.6.421}/tests/test_outbound_connection_log.py +0 -0
  249. {files_com-1.6.419 → files_com-1.6.421}/tests/test_partner.py +0 -0
  250. {files_com-1.6.419 → files_com-1.6.421}/tests/test_partner_channel.py +0 -0
  251. {files_com-1.6.419 → files_com-1.6.421}/tests/test_partner_channel_template.py +0 -0
  252. {files_com-1.6.419 → files_com-1.6.421}/tests/test_partner_site.py +0 -0
  253. {files_com-1.6.419 → files_com-1.6.421}/tests/test_partner_site_request.py +0 -0
  254. {files_com-1.6.419 → files_com-1.6.421}/tests/test_path_parameter_encoding.py +0 -0
  255. {files_com-1.6.419 → files_com-1.6.421}/tests/test_path_util.py +0 -0
  256. {files_com-1.6.419 → files_com-1.6.421}/tests/test_payment.py +0 -0
  257. {files_com-1.6.419 → files_com-1.6.421}/tests/test_payment_line_item.py +0 -0
  258. {files_com-1.6.419 → files_com-1.6.421}/tests/test_pending_work_event.py +0 -0
  259. {files_com-1.6.419 → files_com-1.6.421}/tests/test_permission.py +0 -0
  260. {files_com-1.6.419 → files_com-1.6.421}/tests/test_preview.py +0 -0
  261. {files_com-1.6.419 → files_com-1.6.421}/tests/test_project.py +0 -0
  262. {files_com-1.6.419 → files_com-1.6.421}/tests/test_public_hosting_request_log.py +0 -0
  263. {files_com-1.6.419 → files_com-1.6.421}/tests/test_public_ip_address.py +0 -0
  264. {files_com-1.6.419 → files_com-1.6.421}/tests/test_public_key.py +0 -0
  265. {files_com-1.6.419 → files_com-1.6.421}/tests/test_remote_bandwidth_snapshot.py +0 -0
  266. {files_com-1.6.419 → files_com-1.6.421}/tests/test_remote_mount_backend.py +0 -0
  267. {files_com-1.6.419 → files_com-1.6.421}/tests/test_remote_server.py +0 -0
  268. {files_com-1.6.419 → files_com-1.6.421}/tests/test_remote_server_configuration_file.py +0 -0
  269. {files_com-1.6.419 → files_com-1.6.421}/tests/test_remote_server_credential.py +0 -0
  270. {files_com-1.6.419 → files_com-1.6.421}/tests/test_request.py +0 -0
  271. {files_com-1.6.419 → files_com-1.6.421}/tests/test_restore.py +0 -0
  272. {files_com-1.6.419 → files_com-1.6.421}/tests/test_scheduled_export.py +0 -0
  273. {files_com-1.6.419 → files_com-1.6.421}/tests/test_scim_log.py +0 -0
  274. {files_com-1.6.419 → files_com-1.6.421}/tests/test_secret.py +0 -0
  275. {files_com-1.6.419 → files_com-1.6.421}/tests/test_session.py +0 -0
  276. {files_com-1.6.419 → files_com-1.6.421}/tests/test_settings_change.py +0 -0
  277. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sftp_action_log.py +0 -0
  278. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sftp_host_key.py +0 -0
  279. {files_com-1.6.419 → files_com-1.6.421}/tests/test_share_group.py +0 -0
  280. {files_com-1.6.419 → files_com-1.6.421}/tests/test_share_group_member.py +0 -0
  281. {files_com-1.6.419 → files_com-1.6.421}/tests/test_siem_http_destination.py +0 -0
  282. {files_com-1.6.419 → files_com-1.6.421}/tests/test_siem_http_destination_event.py +0 -0
  283. {files_com-1.6.419 → files_com-1.6.421}/tests/test_site.py +0 -0
  284. {files_com-1.6.419 → files_com-1.6.421}/tests/test_site_subdomain_redirect.py +0 -0
  285. {files_com-1.6.419 → files_com-1.6.421}/tests/test_snapshot.py +0 -0
  286. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sso_event.py +0 -0
  287. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sso_strategy.py +0 -0
  288. {files_com-1.6.419 → files_com-1.6.421}/tests/test_status.py +0 -0
  289. {files_com-1.6.419 → files_com-1.6.421}/tests/test_style.py +0 -0
  290. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sync.py +0 -0
  291. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sync_log.py +0 -0
  292. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sync_run.py +0 -0
  293. {files_com-1.6.419 → files_com-1.6.421}/tests/test_sync_run_live_transfer.py +0 -0
  294. {files_com-1.6.419 → files_com-1.6.421}/tests/test_usage_by_top_level_dir.py +0 -0
  295. {files_com-1.6.419 → files_com-1.6.421}/tests/test_usage_daily_snapshot.py +0 -0
  296. {files_com-1.6.419 → files_com-1.6.421}/tests/test_usage_snapshot.py +0 -0
  297. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user.py +0 -0
  298. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user_cipher_use.py +0 -0
  299. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user_lifecycle_rule.py +0 -0
  300. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user_request.py +0 -0
  301. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user_security_event.py +0 -0
  302. {files_com-1.6.419 → files_com-1.6.421}/tests/test_user_sftp_client_use.py +0 -0
  303. {files_com-1.6.419 → files_com-1.6.421}/tests/test_web_dav_action_log.py +0 -0
  304. {files_com-1.6.419 → files_com-1.6.421}/tests/test_webhook_test.py +0 -0
  305. {files_com-1.6.419 → files_com-1.6.421}/tests/test_workspace.py +0 -0
  306. {files_com-1.6.419 → files_com-1.6.421}/tests/test_workspace_id.py +0 -0
  307. {files_com-1.6.419 → files_com-1.6.421}/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.419
3
+ Version: 1.6.421
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.421
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.419
3
+ Version: 1.6.421
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -87,6 +87,7 @@ files_sdk/models/inbound_s3_log.py
87
87
  files_sdk/models/inbox_recipient.py
88
88
  files_sdk/models/inbox_registration.py
89
89
  files_sdk/models/inbox_upload.py
90
+ files_sdk/models/integration_centric_profile.py
90
91
  files_sdk/models/invoice.py
91
92
  files_sdk/models/invoice_line_item.py
92
93
  files_sdk/models/ip_address.py
@@ -230,6 +231,7 @@ tests/test_inbound_s3_log.py
230
231
  tests/test_inbox_recipient.py
231
232
  tests/test_inbox_registration.py
232
233
  tests/test_inbox_upload.py
234
+ tests/test_integration_centric_profile.py
233
235
  tests/test_invoice.py
234
236
  tests/test_invoice_line_item.py
235
237
  tests/test_ip_address.py
@@ -70,6 +70,7 @@ import files_sdk.models.inbound_s3_log as inbound_s3_log
70
70
  import files_sdk.models.inbox_recipient as inbox_recipient
71
71
  import files_sdk.models.inbox_registration as inbox_registration
72
72
  import files_sdk.models.inbox_upload as inbox_upload
73
+ import files_sdk.models.integration_centric_profile as integration_centric_profile
73
74
  import files_sdk.models.invoice as invoice
74
75
  import files_sdk.models.invoice_line_item as invoice_line_item
75
76
  import files_sdk.models.ip_address as ip_address
@@ -218,6 +219,9 @@ from files_sdk.models.inbound_s3_log import InboundS3Log
218
219
  from files_sdk.models.inbox_recipient import InboxRecipient
219
220
  from files_sdk.models.inbox_registration import InboxRegistration
220
221
  from files_sdk.models.inbox_upload import InboxUpload
222
+ from files_sdk.models.integration_centric_profile import (
223
+ IntegrationCentricProfile,
224
+ )
221
225
  from files_sdk.models.invoice import Invoice
222
226
  from files_sdk.models.invoice_line_item import InvoiceLineItem
223
227
  from files_sdk.models.ip_address import IpAddress
@@ -302,7 +306,7 @@ source_ip = None
302
306
  workspace_id = None
303
307
  base_url = "https://app.files.com"
304
308
  base_path = "api/rest/v1"
305
- version = "1.6.419"
309
+ version = "1.6.421"
306
310
 
307
311
  __version__ = version
308
312
 
@@ -77,6 +77,9 @@ from files_sdk.models.inbound_s3_log import InboundS3Log
77
77
  from files_sdk.models.inbox_recipient import InboxRecipient
78
78
  from files_sdk.models.inbox_registration import InboxRegistration
79
79
  from files_sdk.models.inbox_upload import InboxUpload
80
+ from files_sdk.models.integration_centric_profile import (
81
+ IntegrationCentricProfile,
82
+ )
80
83
  from files_sdk.models.invoice import Invoice
81
84
  from files_sdk.models.invoice_line_item import InvoiceLineItem
82
85
  from files_sdk.models.ip_address import IpAddress
@@ -24,6 +24,7 @@ class Group:
24
24
  "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.
25
25
  "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.
26
26
  "desktop_configuration_profile_id": None, # int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
27
+ "integration_centric_profile_id": None, # int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
27
28
  "site_id": None, # int64 - Site ID
28
29
  "workspace_id": None, # int64 - Workspace ID
29
30
  }
@@ -59,6 +60,7 @@ class Group:
59
60
  # 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.
60
61
  # restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
61
62
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
63
+ # integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
62
64
  # allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
63
65
  # name - string - Group name.
64
66
  def update(self, params=None):
@@ -95,6 +97,12 @@ class Group:
95
97
  raise InvalidParameterError(
96
98
  "Bad parameter: desktop_configuration_profile_id must be an int"
97
99
  )
100
+ if "integration_centric_profile_id" in params and not isinstance(
101
+ params["integration_centric_profile_id"], int
102
+ ):
103
+ raise InvalidParameterError(
104
+ "Bad parameter: integration_centric_profile_id must be an int"
105
+ )
98
106
  if "allowed_ips" in params and not isinstance(
99
107
  params["allowed_ips"], str
100
108
  ):
@@ -221,6 +229,7 @@ def get(id, params=None, options=None):
221
229
  # 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.
222
230
  # restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
223
231
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
232
+ # integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
224
233
  # allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
225
234
  # name (required) - string - Group name.
226
235
  # workspace_id - int64 - Workspace ID
@@ -271,6 +280,12 @@ def create(params=None, options=None):
271
280
  raise InvalidParameterError(
272
281
  "Bad parameter: desktop_configuration_profile_id must be an int"
273
282
  )
283
+ if "integration_centric_profile_id" in params and not isinstance(
284
+ params["integration_centric_profile_id"], int
285
+ ):
286
+ raise InvalidParameterError(
287
+ "Bad parameter: integration_centric_profile_id must be an int"
288
+ )
274
289
  if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
275
290
  raise InvalidParameterError(
276
291
  "Bad parameter: allowed_ips must be an str"
@@ -299,6 +314,7 @@ def create(params=None, options=None):
299
314
  # 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.
300
315
  # restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
301
316
  # desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
317
+ # integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
302
318
  # allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
303
319
  # name - string - Group name.
304
320
  def update(id, params=None, options=None):
@@ -351,6 +367,12 @@ def update(id, params=None, options=None):
351
367
  raise InvalidParameterError(
352
368
  "Bad parameter: desktop_configuration_profile_id must be an int"
353
369
  )
370
+ if "integration_centric_profile_id" in params and not isinstance(
371
+ params["integration_centric_profile_id"], int
372
+ ):
373
+ raise InvalidParameterError(
374
+ "Bad parameter: integration_centric_profile_id must be an int"
375
+ )
354
376
  if "allowed_ips" in params and not isinstance(params["allowed_ips"], str):
355
377
  raise InvalidParameterError(
356
378
  "Bad parameter: allowed_ips must be an str"
@@ -0,0 +1,292 @@
1
+ import builtins # noqa: F401
2
+ from urllib.parse import quote
3
+ from files_sdk.api import Api # noqa: F401
4
+ from files_sdk.list_obj import ListObj
5
+ from files_sdk.error import ( # noqa: F401
6
+ InvalidParameterError,
7
+ MissingParameterError,
8
+ NotImplementedError,
9
+ )
10
+
11
+
12
+ class IntegrationCentricProfile:
13
+ default_attributes = {
14
+ "id": None, # int64 - Integration Centric Profile ID
15
+ "name": None, # string - Profile name
16
+ "workspace_id": None, # int64 - Workspace ID
17
+ "use_for_all_users": None, # boolean - Whether this profile applies to all users in the Workspace by default
18
+ "expected_remote_servers": None, # array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
19
+ }
20
+
21
+ def __init__(self, attributes=None, options=None):
22
+ if not isinstance(attributes, dict):
23
+ attributes = {}
24
+ if not isinstance(options, dict):
25
+ options = {}
26
+ self.set_attributes(attributes)
27
+ self.options = options
28
+
29
+ def set_attributes(self, attributes):
30
+ for (
31
+ attribute,
32
+ default_value,
33
+ ) in IntegrationCentricProfile.default_attributes.items():
34
+ value = attributes.get(attribute, default_value)
35
+ setattr(self, attribute, value)
36
+
37
+ def get_attributes(self):
38
+ attrs = {
39
+ k: getattr(self, k, None)
40
+ for k in IntegrationCentricProfile.default_attributes
41
+ if getattr(self, k, None) is not None
42
+ }
43
+ return attrs
44
+
45
+ # Parameters:
46
+ # name - string - Profile name
47
+ # workspace_id - int64 - Workspace ID
48
+ # expected_remote_servers - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
49
+ # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
50
+ def update(self, params=None):
51
+ if not isinstance(params, dict):
52
+ params = {}
53
+
54
+ if hasattr(self, "id") and self.id:
55
+ params["id"] = self.id
56
+ else:
57
+ raise MissingParameterError("Current object doesn't have a id")
58
+ if "id" not in params:
59
+ raise MissingParameterError("Parameter missing: id")
60
+ if "id" in params and not isinstance(params["id"], int):
61
+ raise InvalidParameterError("Bad parameter: id must be an int")
62
+ if "name" in params and not isinstance(params["name"], str):
63
+ raise InvalidParameterError("Bad parameter: name must be an str")
64
+ if "workspace_id" in params and not isinstance(
65
+ params["workspace_id"], int
66
+ ):
67
+ raise InvalidParameterError(
68
+ "Bad parameter: workspace_id must be an int"
69
+ )
70
+ if "expected_remote_servers" in params and not isinstance(
71
+ params["expected_remote_servers"], builtins.list
72
+ ):
73
+ raise InvalidParameterError(
74
+ "Bad parameter: expected_remote_servers must be an list"
75
+ )
76
+ response, _options = Api.send_request(
77
+ "PATCH",
78
+ "/integration_centric_profiles/{id}".format(
79
+ id=quote(str(params["id"]), safe="")
80
+ ),
81
+ params,
82
+ self.options,
83
+ )
84
+ return response.data
85
+
86
+ def delete(self, params=None):
87
+ if not isinstance(params, dict):
88
+ params = {}
89
+
90
+ if hasattr(self, "id") and self.id:
91
+ params["id"] = self.id
92
+ else:
93
+ raise MissingParameterError("Current object doesn't have a id")
94
+ if "id" not in params:
95
+ raise MissingParameterError("Parameter missing: id")
96
+ if "id" in params and not isinstance(params["id"], int):
97
+ raise InvalidParameterError("Bad parameter: id must be an int")
98
+ Api.send_request(
99
+ "DELETE",
100
+ "/integration_centric_profiles/{id}".format(
101
+ id=quote(str(params["id"]), safe="")
102
+ ),
103
+ params,
104
+ self.options,
105
+ )
106
+
107
+ def destroy(self, params=None):
108
+ self.delete(params)
109
+
110
+ def save(self):
111
+ if hasattr(self, "id") and self.id:
112
+ new_obj = self.update(self.get_attributes())
113
+ self.set_attributes(new_obj.get_attributes())
114
+ return True
115
+ else:
116
+ new_obj = create(self.get_attributes(), self.options)
117
+ self.set_attributes(new_obj.get_attributes())
118
+ return True
119
+
120
+
121
+ # Parameters:
122
+ # 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.
123
+ # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
124
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
125
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
126
+ def list(params=None, options=None):
127
+ if not isinstance(params, dict):
128
+ params = {}
129
+ if not isinstance(options, dict):
130
+ options = {}
131
+ if "cursor" in params and not isinstance(params["cursor"], str):
132
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
133
+ if "per_page" in params and not isinstance(params["per_page"], int):
134
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
135
+ if "sort_by" in params and not isinstance(params["sort_by"], dict):
136
+ raise InvalidParameterError("Bad parameter: sort_by must be an dict")
137
+ if "filter" in params and not isinstance(params["filter"], dict):
138
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
139
+ return ListObj(
140
+ IntegrationCentricProfile,
141
+ "GET",
142
+ "/integration_centric_profiles",
143
+ params,
144
+ options,
145
+ )
146
+
147
+
148
+ def all(params=None, options=None):
149
+ list(params, options)
150
+
151
+
152
+ # Parameters:
153
+ # id (required) - int64 - Integration Centric Profile ID.
154
+ def find(id, params=None, options=None):
155
+ if not isinstance(params, dict):
156
+ params = {}
157
+ if not isinstance(options, dict):
158
+ options = {}
159
+ params["id"] = id
160
+ if "id" in params and not isinstance(params["id"], int):
161
+ raise InvalidParameterError("Bad parameter: id must be an int")
162
+ if "id" not in params:
163
+ raise MissingParameterError("Parameter missing: id")
164
+ response, options = Api.send_request(
165
+ "GET",
166
+ "/integration_centric_profiles/{id}".format(
167
+ id=quote(str(params["id"]), safe="")
168
+ ),
169
+ params,
170
+ options,
171
+ )
172
+ return IntegrationCentricProfile(response.data, options)
173
+
174
+
175
+ def get(id, params=None, options=None):
176
+ find(id, params, options)
177
+
178
+
179
+ # Parameters:
180
+ # name (required) - string - Profile name
181
+ # expected_remote_servers (required) - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
182
+ # workspace_id - int64 - Workspace ID
183
+ # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
184
+ def create(params=None, options=None):
185
+ if not isinstance(params, dict):
186
+ params = {}
187
+ if not isinstance(options, dict):
188
+ options = {}
189
+ if "name" in params and not isinstance(params["name"], str):
190
+ raise InvalidParameterError("Bad parameter: name must be an str")
191
+ if "expected_remote_servers" in params and not isinstance(
192
+ params["expected_remote_servers"], builtins.list
193
+ ):
194
+ raise InvalidParameterError(
195
+ "Bad parameter: expected_remote_servers must be an list"
196
+ )
197
+ if "workspace_id" in params and not isinstance(
198
+ params["workspace_id"], int
199
+ ):
200
+ raise InvalidParameterError(
201
+ "Bad parameter: workspace_id must be an int"
202
+ )
203
+ if "use_for_all_users" in params and not isinstance(
204
+ params["use_for_all_users"], bool
205
+ ):
206
+ raise InvalidParameterError(
207
+ "Bad parameter: use_for_all_users must be an bool"
208
+ )
209
+ if "name" not in params:
210
+ raise MissingParameterError("Parameter missing: name")
211
+ if "expected_remote_servers" not in params:
212
+ raise MissingParameterError(
213
+ "Parameter missing: expected_remote_servers"
214
+ )
215
+ response, options = Api.send_request(
216
+ "POST", "/integration_centric_profiles", params, options
217
+ )
218
+ return IntegrationCentricProfile(response.data, options)
219
+
220
+
221
+ # Parameters:
222
+ # name - string - Profile name
223
+ # workspace_id - int64 - Workspace ID
224
+ # expected_remote_servers - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
225
+ # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
226
+ def update(id, params=None, options=None):
227
+ if not isinstance(params, dict):
228
+ params = {}
229
+ if not isinstance(options, dict):
230
+ options = {}
231
+ params["id"] = id
232
+ if "id" in params and not isinstance(params["id"], int):
233
+ raise InvalidParameterError("Bad parameter: id must be an int")
234
+ if "name" in params and not isinstance(params["name"], str):
235
+ raise InvalidParameterError("Bad parameter: name must be an str")
236
+ if "workspace_id" in params and not isinstance(
237
+ params["workspace_id"], int
238
+ ):
239
+ raise InvalidParameterError(
240
+ "Bad parameter: workspace_id must be an int"
241
+ )
242
+ if "expected_remote_servers" in params and not isinstance(
243
+ params["expected_remote_servers"], builtins.list
244
+ ):
245
+ raise InvalidParameterError(
246
+ "Bad parameter: expected_remote_servers must be an list"
247
+ )
248
+ if "use_for_all_users" in params and not isinstance(
249
+ params["use_for_all_users"], bool
250
+ ):
251
+ raise InvalidParameterError(
252
+ "Bad parameter: use_for_all_users must be an bool"
253
+ )
254
+ if "id" not in params:
255
+ raise MissingParameterError("Parameter missing: id")
256
+ response, options = Api.send_request(
257
+ "PATCH",
258
+ "/integration_centric_profiles/{id}".format(
259
+ id=quote(str(params["id"]), safe="")
260
+ ),
261
+ params,
262
+ options,
263
+ )
264
+ return IntegrationCentricProfile(response.data, options)
265
+
266
+
267
+ def delete(id, params=None, options=None):
268
+ if not isinstance(params, dict):
269
+ params = {}
270
+ if not isinstance(options, dict):
271
+ options = {}
272
+ params["id"] = id
273
+ if "id" in params and not isinstance(params["id"], int):
274
+ raise InvalidParameterError("Bad parameter: id must be an int")
275
+ if "id" not in params:
276
+ raise MissingParameterError("Parameter missing: id")
277
+ Api.send_request(
278
+ "DELETE",
279
+ "/integration_centric_profiles/{id}".format(
280
+ id=quote(str(params["id"]), safe="")
281
+ ),
282
+ params,
283
+ options,
284
+ )
285
+
286
+
287
+ def destroy(id, params=None, options=None):
288
+ delete(id, params, options)
289
+
290
+
291
+ def new(*args, **kwargs):
292
+ return IntegrationCentricProfile(*args, **kwargs)
@@ -17,8 +17,8 @@ class PartnerChannelTemplate:
17
17
  "path": None, # string - Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
18
18
  "to_partner_folder_name": None, # string - Optional Channel-level to-Partner folder name override.
19
19
  "from_partner_folder_name": None, # string - Optional Channel-level from-Partner folder name override.
20
- "from_partner_route_path": None, # string - Optional route path for files uploaded by the Partner.
21
- "to_partner_route_path": None, # string - Optional route path for files delivered to the Partner.
20
+ "from_partner_route_path_pattern": None, # string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
21
+ "to_partner_route_path_pattern": None, # string - Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
22
22
  "to_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the to-Partner folder.
23
23
  "from_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the from-Partner folder.
24
24
  "effective_to_partner_folder_name": None, # string - Resolved to-Partner folder name after Template override and default.
@@ -52,10 +52,10 @@ class PartnerChannelTemplate:
52
52
  # Parameters:
53
53
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
54
54
  # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
55
- # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
55
+ # from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
56
56
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
57
57
  # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
58
- # to_partner_route_path - string - Optional route path for files delivered to the Partner.
58
+ # to_partner_route_path_pattern - string - Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
59
59
  # name - string - The name of the Partner Channel Template.
60
60
  # path - string - Channel path relative to the Partner root folder.
61
61
  def update(self, params=None):
@@ -82,11 +82,11 @@ class PartnerChannelTemplate:
82
82
  raise InvalidParameterError(
83
83
  "Bad parameter: from_partner_managed_folder_paths must be an list"
84
84
  )
85
- if "from_partner_route_path" in params and not isinstance(
86
- params["from_partner_route_path"], str
85
+ if "from_partner_route_path_pattern" in params and not isinstance(
86
+ params["from_partner_route_path_pattern"], str
87
87
  ):
88
88
  raise InvalidParameterError(
89
- "Bad parameter: from_partner_route_path must be an str"
89
+ "Bad parameter: from_partner_route_path_pattern must be an str"
90
90
  )
91
91
  if "to_partner_folder_name" in params and not isinstance(
92
92
  params["to_partner_folder_name"], str
@@ -100,11 +100,11 @@ class PartnerChannelTemplate:
100
100
  raise InvalidParameterError(
101
101
  "Bad parameter: to_partner_managed_folder_paths must be an list"
102
102
  )
103
- if "to_partner_route_path" in params and not isinstance(
104
- params["to_partner_route_path"], str
103
+ if "to_partner_route_path_pattern" in params and not isinstance(
104
+ params["to_partner_route_path_pattern"], str
105
105
  ):
106
106
  raise InvalidParameterError(
107
- "Bad parameter: to_partner_route_path must be an str"
107
+ "Bad parameter: to_partner_route_path_pattern must be an str"
108
108
  )
109
109
  if "name" in params and not isinstance(params["name"], str):
110
110
  raise InvalidParameterError("Bad parameter: name must be an str")
@@ -216,10 +216,10 @@ def get(id, params=None, options=None):
216
216
  # Parameters:
217
217
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
218
218
  # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
219
- # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
219
+ # from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
220
220
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
221
221
  # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
222
- # to_partner_route_path - string - Optional route path for files delivered to the Partner.
222
+ # to_partner_route_path_pattern - string - Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
223
223
  # name (required) - string - The name of the Partner Channel Template.
224
224
  # path (required) - string - Channel path relative to the Partner root folder.
225
225
  # workspace_id - int64 - ID of the Workspace associated with this Partner Channel Template.
@@ -240,11 +240,11 @@ def create(params=None, options=None):
240
240
  raise InvalidParameterError(
241
241
  "Bad parameter: from_partner_managed_folder_paths must be an list"
242
242
  )
243
- if "from_partner_route_path" in params and not isinstance(
244
- params["from_partner_route_path"], str
243
+ if "from_partner_route_path_pattern" in params and not isinstance(
244
+ params["from_partner_route_path_pattern"], str
245
245
  ):
246
246
  raise InvalidParameterError(
247
- "Bad parameter: from_partner_route_path must be an str"
247
+ "Bad parameter: from_partner_route_path_pattern must be an str"
248
248
  )
249
249
  if "to_partner_folder_name" in params and not isinstance(
250
250
  params["to_partner_folder_name"], str
@@ -258,11 +258,11 @@ def create(params=None, options=None):
258
258
  raise InvalidParameterError(
259
259
  "Bad parameter: to_partner_managed_folder_paths must be an list"
260
260
  )
261
- if "to_partner_route_path" in params and not isinstance(
262
- params["to_partner_route_path"], str
261
+ if "to_partner_route_path_pattern" in params and not isinstance(
262
+ params["to_partner_route_path_pattern"], str
263
263
  ):
264
264
  raise InvalidParameterError(
265
- "Bad parameter: to_partner_route_path must be an str"
265
+ "Bad parameter: to_partner_route_path_pattern must be an str"
266
266
  )
267
267
  if "name" in params and not isinstance(params["name"], str):
268
268
  raise InvalidParameterError("Bad parameter: name must be an str")
@@ -287,10 +287,10 @@ def create(params=None, options=None):
287
287
  # Parameters:
288
288
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
289
289
  # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
290
- # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
290
+ # from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
291
291
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
292
292
  # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
293
- # to_partner_route_path - string - Optional route path for files delivered to the Partner.
293
+ # to_partner_route_path_pattern - string - Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
294
294
  # name - string - The name of the Partner Channel Template.
295
295
  # path - string - Channel path relative to the Partner root folder.
296
296
  def update(id, params=None, options=None):
@@ -313,11 +313,11 @@ def update(id, params=None, options=None):
313
313
  raise InvalidParameterError(
314
314
  "Bad parameter: from_partner_managed_folder_paths must be an list"
315
315
  )
316
- if "from_partner_route_path" in params and not isinstance(
317
- params["from_partner_route_path"], str
316
+ if "from_partner_route_path_pattern" in params and not isinstance(
317
+ params["from_partner_route_path_pattern"], str
318
318
  ):
319
319
  raise InvalidParameterError(
320
- "Bad parameter: from_partner_route_path must be an str"
320
+ "Bad parameter: from_partner_route_path_pattern must be an str"
321
321
  )
322
322
  if "to_partner_folder_name" in params and not isinstance(
323
323
  params["to_partner_folder_name"], str
@@ -331,11 +331,11 @@ def update(id, params=None, options=None):
331
331
  raise InvalidParameterError(
332
332
  "Bad parameter: to_partner_managed_folder_paths must be an list"
333
333
  )
334
- if "to_partner_route_path" in params and not isinstance(
335
- params["to_partner_route_path"], str
334
+ if "to_partner_route_path_pattern" in params and not isinstance(
335
+ params["to_partner_route_path_pattern"], str
336
336
  ):
337
337
  raise InvalidParameterError(
338
- "Bad parameter: to_partner_route_path must be an str"
338
+ "Bad parameter: to_partner_route_path_pattern must be an str"
339
339
  )
340
340
  if "name" in params and not isinstance(params["name"], str):
341
341
  raise InvalidParameterError("Bad parameter: name must be an str")
@@ -87,6 +87,7 @@ class RemoteServer:
87
87
  "linode_access_key": None, # string - Linode: Access Key
88
88
  "linode_region": None, # string - Linode: region
89
89
  "supports_versioning": None, # boolean - If true, this remote server supports file versioning. This value is determined automatically by Files.com.
90
+ "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
90
91
  "password": None, # string - Password, if needed.
91
92
  "private_key": None, # string - Private key, if needed.
92
93
  "private_key_passphrase": None, # string - Passphrase for private key if needed.
@@ -786,6 +787,7 @@ class RemoteServer:
786
787
 
787
788
 
788
789
  # Parameters:
790
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
789
791
  # 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.
790
792
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
791
793
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `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`.
@@ -796,6 +798,8 @@ def list(params=None, options=None):
796
798
  params = {}
797
799
  if not isinstance(options, dict):
798
800
  options = {}
801
+ if "user_id" in params and not isinstance(params["user_id"], int):
802
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
799
803
  if "cursor" in params and not isinstance(params["cursor"], str):
800
804
  raise InvalidParameterError("Bad parameter: cursor must be an str")
801
805
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -866,6 +870,7 @@ def find_configuration_file(id, params=None, options=None):
866
870
 
867
871
 
868
872
  # Parameters:
873
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
869
874
  # password - string - Password, if needed.
870
875
  # private_key - string - Private key, if needed.
871
876
  # private_key_passphrase - string - Passphrase for private key if needed.
@@ -949,6 +954,8 @@ def create(params=None, options=None):
949
954
  params = {}
950
955
  if not isinstance(options, dict):
951
956
  options = {}
957
+ if "user_id" in params and not isinstance(params["user_id"], int):
958
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
952
959
  if "password" in params and not isinstance(params["password"], str):
953
960
  raise InvalidParameterError("Bad parameter: password must be an str")
954
961
  if "private_key" in params and not isinstance(params["private_key"], str):