Files.com 1.6.418__tar.gz → 1.6.419__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 (305) hide show
  1. {files_com-1.6.418/files_com.egg-info → files_com-1.6.419}/PKG-INFO +1 -1
  2. files_com-1.6.419/_VERSION +1 -0
  3. {files_com-1.6.418 → files_com-1.6.419/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.418 → files_com-1.6.419}/files_com.egg-info/SOURCES.txt +2 -0
  5. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/__init__.py +3 -1
  6. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/__init__.py +1 -0
  7. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/partner.py +22 -0
  8. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/partner_channel.py +45 -0
  9. files_com-1.6.419/files_sdk/models/partner_channel_template.py +382 -0
  10. {files_com-1.6.418 → files_com-1.6.419}/pyproject.toml +1 -1
  11. files_com-1.6.419/tests/test_partner_channel_template.py +69 -0
  12. files_com-1.6.418/_VERSION +0 -1
  13. {files_com-1.6.418 → files_com-1.6.419}/LICENSE +0 -0
  14. {files_com-1.6.418 → files_com-1.6.419}/README.md +0 -0
  15. {files_com-1.6.418 → files_com-1.6.419}/files_com.egg-info/dependency_links.txt +0 -0
  16. {files_com-1.6.418 → files_com-1.6.419}/files_com.egg-info/requires.txt +0 -0
  17. {files_com-1.6.418 → files_com-1.6.419}/files_com.egg-info/top_level.txt +0 -0
  18. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/api.py +0 -0
  19. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/api_client.py +0 -0
  20. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/error.py +0 -0
  21. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/list_obj.py +0 -0
  22. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/account_line_item.py +0 -0
  23. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/action.py +0 -0
  24. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/action_log.py +0 -0
  25. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/action_notification_export.py +0 -0
  26. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/action_notification_export_result.py +0 -0
  27. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/agent_push_update.py +0 -0
  28. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/ai_assistant_personality.py +0 -0
  29. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/ai_task.py +0 -0
  30. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/api_key.py +0 -0
  31. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/api_request_log.py +0 -0
  32. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/app.py +0 -0
  33. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/as2_incoming_message.py +0 -0
  34. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/as2_outgoing_message.py +0 -0
  35. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/as2_partner.py +0 -0
  36. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/as2_station.py +0 -0
  37. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/auto.py +0 -0
  38. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/automation.py +0 -0
  39. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/automation_log.py +0 -0
  40. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/automation_run.py +0 -0
  41. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bandwidth_snapshot.py +0 -0
  42. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/behavior.py +0 -0
  43. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle.py +0 -0
  44. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_action.py +0 -0
  45. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_download.py +0 -0
  46. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_notification.py +0 -0
  47. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_path.py +0 -0
  48. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_recipient.py +0 -0
  49. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/bundle_registration.py +0 -0
  50. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/chat_message.py +0 -0
  51. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/chat_session.py +0 -0
  52. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/child_site_management_policy.py +0 -0
  53. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/clickwrap.py +0 -0
  54. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/custom_domain.py +0 -0
  55. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/desktop_configuration_profile.py +0 -0
  56. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/dns_record.py +0 -0
  57. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/email_incoming_message.py +0 -0
  58. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/email_log.py +0 -0
  59. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/errors.py +0 -0
  60. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/event_channel.py +0 -0
  61. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/event_delivery_attempt.py +0 -0
  62. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/event_record.py +0 -0
  63. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/event_subscription.py +0 -0
  64. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/event_target.py +0 -0
  65. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/exavault_api_request_log.py +0 -0
  66. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/expectation.py +0 -0
  67. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/expectation_evaluation.py +0 -0
  68. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/expectation_incident.py +0 -0
  69. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/external_event.py +0 -0
  70. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file.py +0 -0
  71. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_action.py +0 -0
  72. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_comment.py +0 -0
  73. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_comment_reaction.py +0 -0
  74. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_migration.py +0 -0
  75. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_migration_log.py +0 -0
  76. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/file_upload_part.py +0 -0
  77. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/folder.py +0 -0
  78. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/form_field.py +0 -0
  79. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/form_field_set.py +0 -0
  80. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/ftp_action_log.py +0 -0
  81. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/gpg_key.py +0 -0
  82. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/group.py +0 -0
  83. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/group_user.py +0 -0
  84. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/history.py +0 -0
  85. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/history_export.py +0 -0
  86. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/history_export_result.py +0 -0
  87. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/holiday_region.py +0 -0
  88. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/image.py +0 -0
  89. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/inbound_s3_log.py +0 -0
  90. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/inbox_recipient.py +0 -0
  91. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/inbox_registration.py +0 -0
  92. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/inbox_upload.py +0 -0
  93. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/invoice.py +0 -0
  94. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/invoice_line_item.py +0 -0
  95. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/ip_address.py +0 -0
  96. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/key_lifecycle_rule.py +0 -0
  97. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/lock.py +0 -0
  98. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/message.py +0 -0
  99. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/message_comment.py +0 -0
  100. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/message_comment_reaction.py +0 -0
  101. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/message_reaction.py +0 -0
  102. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/metadata_category.py +0 -0
  103. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/notification.py +0 -0
  104. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/outbound_connection_log.py +0 -0
  105. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/partner_site.py +0 -0
  106. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/partner_site_request.py +0 -0
  107. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/payment.py +0 -0
  108. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/payment_line_item.py +0 -0
  109. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/pending_work_event.py +0 -0
  110. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/permission.py +0 -0
  111. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/preview.py +0 -0
  112. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/project.py +0 -0
  113. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/public_hosting_request_log.py +0 -0
  114. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/public_ip_address.py +0 -0
  115. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/public_key.py +0 -0
  116. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  117. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/remote_mount_backend.py +0 -0
  118. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/remote_server.py +0 -0
  119. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/remote_server_configuration_file.py +0 -0
  120. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/remote_server_credential.py +0 -0
  121. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/request.py +0 -0
  122. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/restore.py +0 -0
  123. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/scheduled_export.py +0 -0
  124. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/scim_log.py +0 -0
  125. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/secret.py +0 -0
  126. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/session.py +0 -0
  127. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/settings_change.py +0 -0
  128. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sftp_action_log.py +0 -0
  129. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sftp_host_key.py +0 -0
  130. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/share_group.py +0 -0
  131. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/share_group_member.py +0 -0
  132. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/siem_http_destination.py +0 -0
  133. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/siem_http_destination_event.py +0 -0
  134. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/site.py +0 -0
  135. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/site_subdomain_redirect.py +0 -0
  136. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/snapshot.py +0 -0
  137. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sso_event.py +0 -0
  138. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sso_strategy.py +0 -0
  139. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/status.py +0 -0
  140. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/style.py +0 -0
  141. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sync.py +0 -0
  142. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sync_log.py +0 -0
  143. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sync_run.py +0 -0
  144. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/sync_run_live_transfer.py +0 -0
  145. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  146. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/usage_daily_snapshot.py +0 -0
  147. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/usage_snapshot.py +0 -0
  148. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user.py +0 -0
  149. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user_cipher_use.py +0 -0
  150. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user_lifecycle_rule.py +0 -0
  151. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user_request.py +0 -0
  152. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user_security_event.py +0 -0
  153. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/user_sftp_client_use.py +0 -0
  154. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/web_dav_action_log.py +0 -0
  155. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/webhook_test.py +0 -0
  156. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/workspace.py +0 -0
  157. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/models/zip_list_entry.py +0 -0
  158. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/path_util.py +0 -0
  159. {files_com-1.6.418 → files_com-1.6.419}/files_sdk/util.py +0 -0
  160. {files_com-1.6.418 → files_com-1.6.419}/setup.cfg +0 -0
  161. {files_com-1.6.418 → files_com-1.6.419}/tests/test_account_line_item.py +0 -0
  162. {files_com-1.6.418 → files_com-1.6.419}/tests/test_action.py +0 -0
  163. {files_com-1.6.418 → files_com-1.6.419}/tests/test_action_log.py +0 -0
  164. {files_com-1.6.418 → files_com-1.6.419}/tests/test_action_notification_export.py +0 -0
  165. {files_com-1.6.418 → files_com-1.6.419}/tests/test_action_notification_export_result.py +0 -0
  166. {files_com-1.6.418 → files_com-1.6.419}/tests/test_agent_push_update.py +0 -0
  167. {files_com-1.6.418 → files_com-1.6.419}/tests/test_ai_assistant_personality.py +0 -0
  168. {files_com-1.6.418 → files_com-1.6.419}/tests/test_ai_task.py +0 -0
  169. {files_com-1.6.418 → files_com-1.6.419}/tests/test_api_errors.py +0 -0
  170. {files_com-1.6.418 → files_com-1.6.419}/tests/test_api_key.py +0 -0
  171. {files_com-1.6.418 → files_com-1.6.419}/tests/test_api_request_log.py +0 -0
  172. {files_com-1.6.418 → files_com-1.6.419}/tests/test_app.py +0 -0
  173. {files_com-1.6.418 → files_com-1.6.419}/tests/test_as2_incoming_message.py +0 -0
  174. {files_com-1.6.418 → files_com-1.6.419}/tests/test_as2_outgoing_message.py +0 -0
  175. {files_com-1.6.418 → files_com-1.6.419}/tests/test_as2_partner.py +0 -0
  176. {files_com-1.6.418 → files_com-1.6.419}/tests/test_as2_station.py +0 -0
  177. {files_com-1.6.418 → files_com-1.6.419}/tests/test_auto.py +0 -0
  178. {files_com-1.6.418 → files_com-1.6.419}/tests/test_automation.py +0 -0
  179. {files_com-1.6.418 → files_com-1.6.419}/tests/test_automation_log.py +0 -0
  180. {files_com-1.6.418 → files_com-1.6.419}/tests/test_automation_run.py +0 -0
  181. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bandwidth_snapshot.py +0 -0
  182. {files_com-1.6.418 → files_com-1.6.419}/tests/test_behavior.py +0 -0
  183. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle.py +0 -0
  184. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_action.py +0 -0
  185. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_download.py +0 -0
  186. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_notification.py +0 -0
  187. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_path.py +0 -0
  188. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_recipient.py +0 -0
  189. {files_com-1.6.418 → files_com-1.6.419}/tests/test_bundle_registration.py +0 -0
  190. {files_com-1.6.418 → files_com-1.6.419}/tests/test_chat_message.py +0 -0
  191. {files_com-1.6.418 → files_com-1.6.419}/tests/test_chat_session.py +0 -0
  192. {files_com-1.6.418 → files_com-1.6.419}/tests/test_child_site_management_policy.py +0 -0
  193. {files_com-1.6.418 → files_com-1.6.419}/tests/test_clickwrap.py +0 -0
  194. {files_com-1.6.418 → files_com-1.6.419}/tests/test_connection_adapter.py +0 -0
  195. {files_com-1.6.418 → files_com-1.6.419}/tests/test_custom_domain.py +0 -0
  196. {files_com-1.6.418 → files_com-1.6.419}/tests/test_decimal_contract.py +0 -0
  197. {files_com-1.6.418 → files_com-1.6.419}/tests/test_desktop_configuration_profile.py +0 -0
  198. {files_com-1.6.418 → files_com-1.6.419}/tests/test_dns_record.py +0 -0
  199. {files_com-1.6.418 → files_com-1.6.419}/tests/test_email_incoming_message.py +0 -0
  200. {files_com-1.6.418 → files_com-1.6.419}/tests/test_email_log.py +0 -0
  201. {files_com-1.6.418 → files_com-1.6.419}/tests/test_errors.py +0 -0
  202. {files_com-1.6.418 → files_com-1.6.419}/tests/test_event_channel.py +0 -0
  203. {files_com-1.6.418 → files_com-1.6.419}/tests/test_event_delivery_attempt.py +0 -0
  204. {files_com-1.6.418 → files_com-1.6.419}/tests/test_event_record.py +0 -0
  205. {files_com-1.6.418 → files_com-1.6.419}/tests/test_event_subscription.py +0 -0
  206. {files_com-1.6.418 → files_com-1.6.419}/tests/test_event_target.py +0 -0
  207. {files_com-1.6.418 → files_com-1.6.419}/tests/test_exavault_api_request_log.py +0 -0
  208. {files_com-1.6.418 → files_com-1.6.419}/tests/test_expectation.py +0 -0
  209. {files_com-1.6.418 → files_com-1.6.419}/tests/test_expectation_evaluation.py +0 -0
  210. {files_com-1.6.418 → files_com-1.6.419}/tests/test_expectation_incident.py +0 -0
  211. {files_com-1.6.418 → files_com-1.6.419}/tests/test_external_event.py +0 -0
  212. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file.py +0 -0
  213. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_action.py +0 -0
  214. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_comment.py +0 -0
  215. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_comment_reaction.py +0 -0
  216. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_migration.py +0 -0
  217. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_migration_log.py +0 -0
  218. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_underscore_destinations.py +0 -0
  219. {files_com-1.6.418 → files_com-1.6.419}/tests/test_file_upload_part.py +0 -0
  220. {files_com-1.6.418 → files_com-1.6.419}/tests/test_folder.py +0 -0
  221. {files_com-1.6.418 → files_com-1.6.419}/tests/test_form_field.py +0 -0
  222. {files_com-1.6.418 → files_com-1.6.419}/tests/test_form_field_set.py +0 -0
  223. {files_com-1.6.418 → files_com-1.6.419}/tests/test_ftp_action_log.py +0 -0
  224. {files_com-1.6.418 → files_com-1.6.419}/tests/test_gpg_key.py +0 -0
  225. {files_com-1.6.418 → files_com-1.6.419}/tests/test_group.py +0 -0
  226. {files_com-1.6.418 → files_com-1.6.419}/tests/test_group_user.py +0 -0
  227. {files_com-1.6.418 → files_com-1.6.419}/tests/test_history.py +0 -0
  228. {files_com-1.6.418 → files_com-1.6.419}/tests/test_history_export.py +0 -0
  229. {files_com-1.6.418 → files_com-1.6.419}/tests/test_history_export_result.py +0 -0
  230. {files_com-1.6.418 → files_com-1.6.419}/tests/test_holiday_region.py +0 -0
  231. {files_com-1.6.418 → files_com-1.6.419}/tests/test_image.py +0 -0
  232. {files_com-1.6.418 → files_com-1.6.419}/tests/test_inbound_s3_log.py +0 -0
  233. {files_com-1.6.418 → files_com-1.6.419}/tests/test_inbox_recipient.py +0 -0
  234. {files_com-1.6.418 → files_com-1.6.419}/tests/test_inbox_registration.py +0 -0
  235. {files_com-1.6.418 → files_com-1.6.419}/tests/test_inbox_upload.py +0 -0
  236. {files_com-1.6.418 → files_com-1.6.419}/tests/test_invoice.py +0 -0
  237. {files_com-1.6.418 → files_com-1.6.419}/tests/test_invoice_line_item.py +0 -0
  238. {files_com-1.6.418 → files_com-1.6.419}/tests/test_ip_address.py +0 -0
  239. {files_com-1.6.418 → files_com-1.6.419}/tests/test_key_lifecycle_rule.py +0 -0
  240. {files_com-1.6.418 → files_com-1.6.419}/tests/test_lock.py +0 -0
  241. {files_com-1.6.418 → files_com-1.6.419}/tests/test_message.py +0 -0
  242. {files_com-1.6.418 → files_com-1.6.419}/tests/test_message_comment.py +0 -0
  243. {files_com-1.6.418 → files_com-1.6.419}/tests/test_message_comment_reaction.py +0 -0
  244. {files_com-1.6.418 → files_com-1.6.419}/tests/test_message_reaction.py +0 -0
  245. {files_com-1.6.418 → files_com-1.6.419}/tests/test_metadata_category.py +0 -0
  246. {files_com-1.6.418 → files_com-1.6.419}/tests/test_notification.py +0 -0
  247. {files_com-1.6.418 → files_com-1.6.419}/tests/test_outbound_connection_log.py +0 -0
  248. {files_com-1.6.418 → files_com-1.6.419}/tests/test_partner.py +0 -0
  249. {files_com-1.6.418 → files_com-1.6.419}/tests/test_partner_channel.py +0 -0
  250. {files_com-1.6.418 → files_com-1.6.419}/tests/test_partner_site.py +0 -0
  251. {files_com-1.6.418 → files_com-1.6.419}/tests/test_partner_site_request.py +0 -0
  252. {files_com-1.6.418 → files_com-1.6.419}/tests/test_path_parameter_encoding.py +0 -0
  253. {files_com-1.6.418 → files_com-1.6.419}/tests/test_path_util.py +0 -0
  254. {files_com-1.6.418 → files_com-1.6.419}/tests/test_payment.py +0 -0
  255. {files_com-1.6.418 → files_com-1.6.419}/tests/test_payment_line_item.py +0 -0
  256. {files_com-1.6.418 → files_com-1.6.419}/tests/test_pending_work_event.py +0 -0
  257. {files_com-1.6.418 → files_com-1.6.419}/tests/test_permission.py +0 -0
  258. {files_com-1.6.418 → files_com-1.6.419}/tests/test_preview.py +0 -0
  259. {files_com-1.6.418 → files_com-1.6.419}/tests/test_project.py +0 -0
  260. {files_com-1.6.418 → files_com-1.6.419}/tests/test_public_hosting_request_log.py +0 -0
  261. {files_com-1.6.418 → files_com-1.6.419}/tests/test_public_ip_address.py +0 -0
  262. {files_com-1.6.418 → files_com-1.6.419}/tests/test_public_key.py +0 -0
  263. {files_com-1.6.418 → files_com-1.6.419}/tests/test_remote_bandwidth_snapshot.py +0 -0
  264. {files_com-1.6.418 → files_com-1.6.419}/tests/test_remote_mount_backend.py +0 -0
  265. {files_com-1.6.418 → files_com-1.6.419}/tests/test_remote_server.py +0 -0
  266. {files_com-1.6.418 → files_com-1.6.419}/tests/test_remote_server_configuration_file.py +0 -0
  267. {files_com-1.6.418 → files_com-1.6.419}/tests/test_remote_server_credential.py +0 -0
  268. {files_com-1.6.418 → files_com-1.6.419}/tests/test_request.py +0 -0
  269. {files_com-1.6.418 → files_com-1.6.419}/tests/test_restore.py +0 -0
  270. {files_com-1.6.418 → files_com-1.6.419}/tests/test_scheduled_export.py +0 -0
  271. {files_com-1.6.418 → files_com-1.6.419}/tests/test_scim_log.py +0 -0
  272. {files_com-1.6.418 → files_com-1.6.419}/tests/test_secret.py +0 -0
  273. {files_com-1.6.418 → files_com-1.6.419}/tests/test_session.py +0 -0
  274. {files_com-1.6.418 → files_com-1.6.419}/tests/test_settings_change.py +0 -0
  275. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sftp_action_log.py +0 -0
  276. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sftp_host_key.py +0 -0
  277. {files_com-1.6.418 → files_com-1.6.419}/tests/test_share_group.py +0 -0
  278. {files_com-1.6.418 → files_com-1.6.419}/tests/test_share_group_member.py +0 -0
  279. {files_com-1.6.418 → files_com-1.6.419}/tests/test_siem_http_destination.py +0 -0
  280. {files_com-1.6.418 → files_com-1.6.419}/tests/test_siem_http_destination_event.py +0 -0
  281. {files_com-1.6.418 → files_com-1.6.419}/tests/test_site.py +0 -0
  282. {files_com-1.6.418 → files_com-1.6.419}/tests/test_site_subdomain_redirect.py +0 -0
  283. {files_com-1.6.418 → files_com-1.6.419}/tests/test_snapshot.py +0 -0
  284. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sso_event.py +0 -0
  285. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sso_strategy.py +0 -0
  286. {files_com-1.6.418 → files_com-1.6.419}/tests/test_status.py +0 -0
  287. {files_com-1.6.418 → files_com-1.6.419}/tests/test_style.py +0 -0
  288. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sync.py +0 -0
  289. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sync_log.py +0 -0
  290. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sync_run.py +0 -0
  291. {files_com-1.6.418 → files_com-1.6.419}/tests/test_sync_run_live_transfer.py +0 -0
  292. {files_com-1.6.418 → files_com-1.6.419}/tests/test_usage_by_top_level_dir.py +0 -0
  293. {files_com-1.6.418 → files_com-1.6.419}/tests/test_usage_daily_snapshot.py +0 -0
  294. {files_com-1.6.418 → files_com-1.6.419}/tests/test_usage_snapshot.py +0 -0
  295. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user.py +0 -0
  296. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user_cipher_use.py +0 -0
  297. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user_lifecycle_rule.py +0 -0
  298. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user_request.py +0 -0
  299. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user_security_event.py +0 -0
  300. {files_com-1.6.418 → files_com-1.6.419}/tests/test_user_sftp_client_use.py +0 -0
  301. {files_com-1.6.418 → files_com-1.6.419}/tests/test_web_dav_action_log.py +0 -0
  302. {files_com-1.6.418 → files_com-1.6.419}/tests/test_webhook_test.py +0 -0
  303. {files_com-1.6.418 → files_com-1.6.419}/tests/test_workspace.py +0 -0
  304. {files_com-1.6.418 → files_com-1.6.419}/tests/test_workspace_id.py +0 -0
  305. {files_com-1.6.418 → files_com-1.6.419}/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.418
3
+ Version: 1.6.419
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.419
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.418
3
+ Version: 1.6.419
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -101,6 +101,7 @@ files_sdk/models/notification.py
101
101
  files_sdk/models/outbound_connection_log.py
102
102
  files_sdk/models/partner.py
103
103
  files_sdk/models/partner_channel.py
104
+ files_sdk/models/partner_channel_template.py
104
105
  files_sdk/models/partner_site.py
105
106
  files_sdk/models/partner_site_request.py
106
107
  files_sdk/models/payment.py
@@ -243,6 +244,7 @@ tests/test_notification.py
243
244
  tests/test_outbound_connection_log.py
244
245
  tests/test_partner.py
245
246
  tests/test_partner_channel.py
247
+ tests/test_partner_channel_template.py
246
248
  tests/test_partner_site.py
247
249
  tests/test_partner_site_request.py
248
250
  tests/test_path_parameter_encoding.py
@@ -84,6 +84,7 @@ import files_sdk.models.notification as notification
84
84
  import files_sdk.models.outbound_connection_log as outbound_connection_log
85
85
  import files_sdk.models.partner as partner
86
86
  import files_sdk.models.partner_channel as partner_channel
87
+ import files_sdk.models.partner_channel_template as partner_channel_template
87
88
  import files_sdk.models.partner_site as partner_site
88
89
  import files_sdk.models.partner_site_request as partner_site_request
89
90
  import files_sdk.models.payment as payment
@@ -231,6 +232,7 @@ from files_sdk.models.notification import Notification
231
232
  from files_sdk.models.outbound_connection_log import OutboundConnectionLog
232
233
  from files_sdk.models.partner import Partner
233
234
  from files_sdk.models.partner_channel import PartnerChannel
235
+ from files_sdk.models.partner_channel_template import PartnerChannelTemplate
234
236
  from files_sdk.models.partner_site import PartnerSite
235
237
  from files_sdk.models.partner_site_request import PartnerSiteRequest
236
238
  from files_sdk.models.payment import Payment
@@ -300,7 +302,7 @@ source_ip = None
300
302
  workspace_id = None
301
303
  base_url = "https://app.files.com"
302
304
  base_path = "api/rest/v1"
303
- version = "1.6.418"
305
+ version = "1.6.419"
304
306
 
305
307
  __version__ = version
306
308
 
@@ -91,6 +91,7 @@ from files_sdk.models.notification import Notification
91
91
  from files_sdk.models.outbound_connection_log import OutboundConnectionLog
92
92
  from files_sdk.models.partner import Partner
93
93
  from files_sdk.models.partner_channel import PartnerChannel
94
+ from files_sdk.models.partner_channel_template import PartnerChannelTemplate
94
95
  from files_sdk.models.partner_site import PartnerSite
95
96
  from files_sdk.models.partner_site_request import PartnerSiteRequest
96
97
  from files_sdk.models.payment import Payment
@@ -23,6 +23,7 @@ class Partner:
23
23
  "name": None, # string - The name of the Partner.
24
24
  "notes": None, # string - Notes about this Partner.
25
25
  "partner_admin_ids": None, # array(int64) - Array of User IDs that are Partner Admins for this Partner.
26
+ "partner_channel_template_id": None, # int64 - ID of the Partner Channel Template assigned to this Partner.
26
27
  "partnership_role": None, # string - This site's role in Partner Site relationships for this Partner. Can be `host`, `guest`, `host_and_guest`, or null.
27
28
  "responsible_group_id": None, # int64 - ID of the Group responsible for this Partner.
28
29
  "responsible_user_id": None, # int64 - ID of the User responsible for this Partner.
@@ -61,6 +62,7 @@ class Partner:
61
62
  # allow_user_creation - boolean - Allow Partner Admins to create users.
62
63
  # cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
63
64
  # notes - string - Notes about this Partner.
65
+ # partner_channel_template_id - int64 - ID of the Partner Channel Template assigned to this Partner.
64
66
  # responsible_group_id - int64 - ID of the Group responsible for this Partner.
65
67
  # responsible_user_id - int64 - ID of the User responsible for this Partner.
66
68
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
@@ -92,6 +94,12 @@ class Partner:
92
94
  )
93
95
  if "notes" in params and not isinstance(params["notes"], str):
94
96
  raise InvalidParameterError("Bad parameter: notes must be an str")
97
+ if "partner_channel_template_id" in params and not isinstance(
98
+ params["partner_channel_template_id"], int
99
+ ):
100
+ raise InvalidParameterError(
101
+ "Bad parameter: partner_channel_template_id must be an int"
102
+ )
95
103
  if "responsible_group_id" in params and not isinstance(
96
104
  params["responsible_group_id"], int
97
105
  ):
@@ -214,6 +222,7 @@ def get(id, params=None, options=None):
214
222
  # allow_user_creation - boolean - Allow Partner Admins to create users.
215
223
  # cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
216
224
  # notes - string - Notes about this Partner.
225
+ # partner_channel_template_id - int64 - ID of the Partner Channel Template assigned to this Partner.
217
226
  # responsible_group_id - int64 - ID of the Group responsible for this Partner.
218
227
  # responsible_user_id - int64 - ID of the User responsible for this Partner.
219
228
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
@@ -267,6 +276,12 @@ def create(params=None, options=None):
267
276
  )
268
277
  if "notes" in params and not isinstance(params["notes"], str):
269
278
  raise InvalidParameterError("Bad parameter: notes must be an str")
279
+ if "partner_channel_template_id" in params and not isinstance(
280
+ params["partner_channel_template_id"], int
281
+ ):
282
+ raise InvalidParameterError(
283
+ "Bad parameter: partner_channel_template_id must be an int"
284
+ )
270
285
  if "responsible_group_id" in params and not isinstance(
271
286
  params["responsible_group_id"], int
272
287
  ):
@@ -310,6 +325,7 @@ def create(params=None, options=None):
310
325
  # allow_user_creation - boolean - Allow Partner Admins to create users.
311
326
  # cc_emails_to_responsible_party - boolean - When `true`, emails sent to Partner users are copied to the responsible User or Group.
312
327
  # notes - string - Notes about this Partner.
328
+ # partner_channel_template_id - int64 - ID of the Partner Channel Template assigned to this Partner.
313
329
  # responsible_group_id - int64 - ID of the Group responsible for this Partner.
314
330
  # responsible_user_id - int64 - ID of the User responsible for this Partner.
315
331
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
@@ -365,6 +381,12 @@ def update(id, params=None, options=None):
365
381
  )
366
382
  if "notes" in params and not isinstance(params["notes"], str):
367
383
  raise InvalidParameterError("Bad parameter: notes must be an str")
384
+ if "partner_channel_template_id" in params and not isinstance(
385
+ params["partner_channel_template_id"], int
386
+ ):
387
+ raise InvalidParameterError(
388
+ "Bad parameter: partner_channel_template_id must be an int"
389
+ )
368
390
  if "responsible_group_id" in params and not isinstance(
369
391
  params["responsible_group_id"], int
370
392
  ):
@@ -14,11 +14,14 @@ class PartnerChannel:
14
14
  "id": None, # int64 - The unique ID of the Partner Channel.
15
15
  "workspace_id": None, # int64 - ID of the Workspace associated with this Partner Channel.
16
16
  "partner_id": None, # int64 - ID of the Partner this Channel belongs to.
17
+ "partner_channel_template_id": None, # int64 - ID of the Partner Channel Template that manages this Channel, if any.
17
18
  "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
19
  "to_partner_folder_name": None, # string - Optional Channel-level to-Partner folder name override.
19
20
  "from_partner_folder_name": None, # string - Optional Channel-level from-Partner folder name override.
20
21
  "from_partner_route_path": None, # string - Optional route path for files uploaded by the Partner.
21
22
  "to_partner_route_path": None, # string - Optional route path for files delivered to the Partner.
23
+ "to_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the to-Partner folder.
24
+ "from_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the from-Partner folder.
22
25
  "effective_to_partner_folder_name": None, # string - Resolved to-Partner folder name after Channel override and default.
23
26
  "effective_from_partner_folder_name": None, # string - Resolved from-Partner folder name after Channel override and default.
24
27
  "channel_path": None, # string - Resolved Channel folder path.
@@ -52,8 +55,10 @@ class PartnerChannel:
52
55
 
53
56
  # Parameters:
54
57
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
58
+ # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
55
59
  # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
56
60
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
61
+ # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
57
62
  # to_partner_route_path - string - Optional route path for files delivered to the Partner.
58
63
  # path - string - Channel path relative to the Partner root folder.
59
64
  def update(self, params=None):
@@ -74,6 +79,12 @@ class PartnerChannel:
74
79
  raise InvalidParameterError(
75
80
  "Bad parameter: from_partner_folder_name must be an str"
76
81
  )
82
+ if "from_partner_managed_folder_paths" in params and not isinstance(
83
+ params["from_partner_managed_folder_paths"], builtins.list
84
+ ):
85
+ raise InvalidParameterError(
86
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
87
+ )
77
88
  if "from_partner_route_path" in params and not isinstance(
78
89
  params["from_partner_route_path"], str
79
90
  ):
@@ -86,6 +97,12 @@ class PartnerChannel:
86
97
  raise InvalidParameterError(
87
98
  "Bad parameter: to_partner_folder_name must be an str"
88
99
  )
100
+ if "to_partner_managed_folder_paths" in params and not isinstance(
101
+ params["to_partner_managed_folder_paths"], builtins.list
102
+ ):
103
+ raise InvalidParameterError(
104
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
105
+ )
89
106
  if "to_partner_route_path" in params and not isinstance(
90
107
  params["to_partner_route_path"], str
91
108
  ):
@@ -191,8 +208,10 @@ def get(id, params=None, options=None):
191
208
 
192
209
  # Parameters:
193
210
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
211
+ # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
194
212
  # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
195
213
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
214
+ # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
196
215
  # to_partner_route_path - string - Optional route path for files delivered to the Partner.
197
216
  # partner_id (required) - int64 - ID of the Partner this Channel belongs to.
198
217
  # path (required) - string - Channel path relative to the Partner root folder.
@@ -208,6 +227,12 @@ def create(params=None, options=None):
208
227
  raise InvalidParameterError(
209
228
  "Bad parameter: from_partner_folder_name must be an str"
210
229
  )
230
+ if "from_partner_managed_folder_paths" in params and not isinstance(
231
+ params["from_partner_managed_folder_paths"], builtins.list
232
+ ):
233
+ raise InvalidParameterError(
234
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
235
+ )
211
236
  if "from_partner_route_path" in params and not isinstance(
212
237
  params["from_partner_route_path"], str
213
238
  ):
@@ -220,6 +245,12 @@ def create(params=None, options=None):
220
245
  raise InvalidParameterError(
221
246
  "Bad parameter: to_partner_folder_name must be an str"
222
247
  )
248
+ if "to_partner_managed_folder_paths" in params and not isinstance(
249
+ params["to_partner_managed_folder_paths"], builtins.list
250
+ ):
251
+ raise InvalidParameterError(
252
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
253
+ )
223
254
  if "to_partner_route_path" in params and not isinstance(
224
255
  params["to_partner_route_path"], str
225
256
  ):
@@ -248,8 +279,10 @@ def create(params=None, options=None):
248
279
 
249
280
  # Parameters:
250
281
  # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
282
+ # from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
251
283
  # from_partner_route_path - string - Optional route path for files uploaded by the Partner.
252
284
  # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
285
+ # to_partner_managed_folder_paths - array(string) - Managed folder paths inside the to-Partner folder.
253
286
  # to_partner_route_path - string - Optional route path for files delivered to the Partner.
254
287
  # path - string - Channel path relative to the Partner root folder.
255
288
  def update(id, params=None, options=None):
@@ -266,6 +299,12 @@ def update(id, params=None, options=None):
266
299
  raise InvalidParameterError(
267
300
  "Bad parameter: from_partner_folder_name must be an str"
268
301
  )
302
+ if "from_partner_managed_folder_paths" in params and not isinstance(
303
+ params["from_partner_managed_folder_paths"], builtins.list
304
+ ):
305
+ raise InvalidParameterError(
306
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
307
+ )
269
308
  if "from_partner_route_path" in params and not isinstance(
270
309
  params["from_partner_route_path"], str
271
310
  ):
@@ -278,6 +317,12 @@ def update(id, params=None, options=None):
278
317
  raise InvalidParameterError(
279
318
  "Bad parameter: to_partner_folder_name must be an str"
280
319
  )
320
+ if "to_partner_managed_folder_paths" in params and not isinstance(
321
+ params["to_partner_managed_folder_paths"], builtins.list
322
+ ):
323
+ raise InvalidParameterError(
324
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
325
+ )
281
326
  if "to_partner_route_path" in params and not isinstance(
282
327
  params["to_partner_route_path"], str
283
328
  ):
@@ -0,0 +1,382 @@
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 PartnerChannelTemplate:
13
+ default_attributes = {
14
+ "id": None, # int64 - The unique ID of the Partner Channel Template.
15
+ "workspace_id": None, # int64 - ID of the Workspace associated with this Partner Channel Template.
16
+ "name": None, # string - The name of the Partner Channel Template.
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
+ "to_partner_folder_name": None, # string - Optional Channel-level to-Partner folder name override.
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.
22
+ "to_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the to-Partner folder.
23
+ "from_partner_managed_folder_paths": None, # array(string) - Managed folder paths inside the from-Partner folder.
24
+ "effective_to_partner_folder_name": None, # string - Resolved to-Partner folder name after Template override and default.
25
+ "effective_from_partner_folder_name": None, # string - Resolved from-Partner folder name after Template override and default.
26
+ }
27
+
28
+ def __init__(self, attributes=None, options=None):
29
+ if not isinstance(attributes, dict):
30
+ attributes = {}
31
+ if not isinstance(options, dict):
32
+ options = {}
33
+ self.set_attributes(attributes)
34
+ self.options = options
35
+
36
+ def set_attributes(self, attributes):
37
+ for (
38
+ attribute,
39
+ default_value,
40
+ ) in PartnerChannelTemplate.default_attributes.items():
41
+ value = attributes.get(attribute, default_value)
42
+ setattr(self, attribute, value)
43
+
44
+ def get_attributes(self):
45
+ attrs = {
46
+ k: getattr(self, k, None)
47
+ for k in PartnerChannelTemplate.default_attributes
48
+ if getattr(self, k, None) is not None
49
+ }
50
+ return attrs
51
+
52
+ # Parameters:
53
+ # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
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.
56
+ # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
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.
59
+ # name - string - The name of the Partner Channel Template.
60
+ # path - string - Channel path relative to the Partner root folder.
61
+ def update(self, params=None):
62
+ if not isinstance(params, dict):
63
+ params = {}
64
+
65
+ if hasattr(self, "id") and self.id:
66
+ params["id"] = self.id
67
+ else:
68
+ raise MissingParameterError("Current object doesn't have a id")
69
+ if "id" not in params:
70
+ raise MissingParameterError("Parameter missing: id")
71
+ if "id" in params and not isinstance(params["id"], int):
72
+ raise InvalidParameterError("Bad parameter: id must be an int")
73
+ if "from_partner_folder_name" in params and not isinstance(
74
+ params["from_partner_folder_name"], str
75
+ ):
76
+ raise InvalidParameterError(
77
+ "Bad parameter: from_partner_folder_name must be an str"
78
+ )
79
+ if "from_partner_managed_folder_paths" in params and not isinstance(
80
+ params["from_partner_managed_folder_paths"], builtins.list
81
+ ):
82
+ raise InvalidParameterError(
83
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
84
+ )
85
+ if "from_partner_route_path" in params and not isinstance(
86
+ params["from_partner_route_path"], str
87
+ ):
88
+ raise InvalidParameterError(
89
+ "Bad parameter: from_partner_route_path must be an str"
90
+ )
91
+ if "to_partner_folder_name" in params and not isinstance(
92
+ params["to_partner_folder_name"], str
93
+ ):
94
+ raise InvalidParameterError(
95
+ "Bad parameter: to_partner_folder_name must be an str"
96
+ )
97
+ if "to_partner_managed_folder_paths" in params and not isinstance(
98
+ params["to_partner_managed_folder_paths"], builtins.list
99
+ ):
100
+ raise InvalidParameterError(
101
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
102
+ )
103
+ if "to_partner_route_path" in params and not isinstance(
104
+ params["to_partner_route_path"], str
105
+ ):
106
+ raise InvalidParameterError(
107
+ "Bad parameter: to_partner_route_path must be an str"
108
+ )
109
+ if "name" in params and not isinstance(params["name"], str):
110
+ raise InvalidParameterError("Bad parameter: name must be an str")
111
+ if "path" in params and not isinstance(params["path"], str):
112
+ raise InvalidParameterError("Bad parameter: path must be an str")
113
+ response, _options = Api.send_request(
114
+ "PATCH",
115
+ "/partner_channel_templates/{id}".format(
116
+ id=quote(str(params["id"]), safe="")
117
+ ),
118
+ params,
119
+ self.options,
120
+ )
121
+ return response.data
122
+
123
+ def delete(self, params=None):
124
+ if not isinstance(params, dict):
125
+ params = {}
126
+
127
+ if hasattr(self, "id") and self.id:
128
+ params["id"] = self.id
129
+ else:
130
+ raise MissingParameterError("Current object doesn't have a id")
131
+ if "id" not in params:
132
+ raise MissingParameterError("Parameter missing: id")
133
+ if "id" in params and not isinstance(params["id"], int):
134
+ raise InvalidParameterError("Bad parameter: id must be an int")
135
+ Api.send_request(
136
+ "DELETE",
137
+ "/partner_channel_templates/{id}".format(
138
+ id=quote(str(params["id"]), safe="")
139
+ ),
140
+ params,
141
+ self.options,
142
+ )
143
+
144
+ def destroy(self, params=None):
145
+ self.delete(params)
146
+
147
+ def save(self):
148
+ if hasattr(self, "id") and self.id:
149
+ new_obj = self.update(self.get_attributes())
150
+ self.set_attributes(new_obj.get_attributes())
151
+ return True
152
+ else:
153
+ new_obj = create(self.get_attributes(), self.options)
154
+ self.set_attributes(new_obj.get_attributes())
155
+ return True
156
+
157
+
158
+ # Parameters:
159
+ # 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.
160
+ # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
161
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
162
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
163
+ def list(params=None, options=None):
164
+ if not isinstance(params, dict):
165
+ params = {}
166
+ if not isinstance(options, dict):
167
+ options = {}
168
+ if "cursor" in params and not isinstance(params["cursor"], str):
169
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
170
+ if "per_page" in params and not isinstance(params["per_page"], int):
171
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
172
+ if "sort_by" in params and not isinstance(params["sort_by"], dict):
173
+ raise InvalidParameterError("Bad parameter: sort_by must be an dict")
174
+ if "filter" in params and not isinstance(params["filter"], dict):
175
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
176
+ return ListObj(
177
+ PartnerChannelTemplate,
178
+ "GET",
179
+ "/partner_channel_templates",
180
+ params,
181
+ options,
182
+ )
183
+
184
+
185
+ def all(params=None, options=None):
186
+ list(params, options)
187
+
188
+
189
+ # Parameters:
190
+ # id (required) - int64 - Partner Channel Template ID.
191
+ def find(id, params=None, options=None):
192
+ if not isinstance(params, dict):
193
+ params = {}
194
+ if not isinstance(options, dict):
195
+ options = {}
196
+ params["id"] = id
197
+ if "id" in params and not isinstance(params["id"], int):
198
+ raise InvalidParameterError("Bad parameter: id must be an int")
199
+ if "id" not in params:
200
+ raise MissingParameterError("Parameter missing: id")
201
+ response, options = Api.send_request(
202
+ "GET",
203
+ "/partner_channel_templates/{id}".format(
204
+ id=quote(str(params["id"]), safe="")
205
+ ),
206
+ params,
207
+ options,
208
+ )
209
+ return PartnerChannelTemplate(response.data, options)
210
+
211
+
212
+ def get(id, params=None, options=None):
213
+ find(id, params, options)
214
+
215
+
216
+ # Parameters:
217
+ # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
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.
220
+ # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
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.
223
+ # name (required) - string - The name of the Partner Channel Template.
224
+ # path (required) - string - Channel path relative to the Partner root folder.
225
+ # workspace_id - int64 - ID of the Workspace associated with this Partner Channel Template.
226
+ def create(params=None, options=None):
227
+ if not isinstance(params, dict):
228
+ params = {}
229
+ if not isinstance(options, dict):
230
+ options = {}
231
+ if "from_partner_folder_name" in params and not isinstance(
232
+ params["from_partner_folder_name"], str
233
+ ):
234
+ raise InvalidParameterError(
235
+ "Bad parameter: from_partner_folder_name must be an str"
236
+ )
237
+ if "from_partner_managed_folder_paths" in params and not isinstance(
238
+ params["from_partner_managed_folder_paths"], builtins.list
239
+ ):
240
+ raise InvalidParameterError(
241
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
242
+ )
243
+ if "from_partner_route_path" in params and not isinstance(
244
+ params["from_partner_route_path"], str
245
+ ):
246
+ raise InvalidParameterError(
247
+ "Bad parameter: from_partner_route_path must be an str"
248
+ )
249
+ if "to_partner_folder_name" in params and not isinstance(
250
+ params["to_partner_folder_name"], str
251
+ ):
252
+ raise InvalidParameterError(
253
+ "Bad parameter: to_partner_folder_name must be an str"
254
+ )
255
+ if "to_partner_managed_folder_paths" in params and not isinstance(
256
+ params["to_partner_managed_folder_paths"], builtins.list
257
+ ):
258
+ raise InvalidParameterError(
259
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
260
+ )
261
+ if "to_partner_route_path" in params and not isinstance(
262
+ params["to_partner_route_path"], str
263
+ ):
264
+ raise InvalidParameterError(
265
+ "Bad parameter: to_partner_route_path must be an str"
266
+ )
267
+ if "name" in params and not isinstance(params["name"], str):
268
+ raise InvalidParameterError("Bad parameter: name must be an str")
269
+ if "path" in params and not isinstance(params["path"], str):
270
+ raise InvalidParameterError("Bad parameter: path must be an str")
271
+ if "workspace_id" in params and not isinstance(
272
+ params["workspace_id"], int
273
+ ):
274
+ raise InvalidParameterError(
275
+ "Bad parameter: workspace_id must be an int"
276
+ )
277
+ if "name" not in params:
278
+ raise MissingParameterError("Parameter missing: name")
279
+ if "path" not in params:
280
+ raise MissingParameterError("Parameter missing: path")
281
+ response, options = Api.send_request(
282
+ "POST", "/partner_channel_templates", params, options
283
+ )
284
+ return PartnerChannelTemplate(response.data, options)
285
+
286
+
287
+ # Parameters:
288
+ # from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
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.
291
+ # to_partner_folder_name - string - Optional Channel-level to-Partner folder name override.
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.
294
+ # name - string - The name of the Partner Channel Template.
295
+ # path - string - Channel path relative to the Partner root folder.
296
+ def update(id, params=None, options=None):
297
+ if not isinstance(params, dict):
298
+ params = {}
299
+ if not isinstance(options, dict):
300
+ options = {}
301
+ params["id"] = id
302
+ if "id" in params and not isinstance(params["id"], int):
303
+ raise InvalidParameterError("Bad parameter: id must be an int")
304
+ if "from_partner_folder_name" in params and not isinstance(
305
+ params["from_partner_folder_name"], str
306
+ ):
307
+ raise InvalidParameterError(
308
+ "Bad parameter: from_partner_folder_name must be an str"
309
+ )
310
+ if "from_partner_managed_folder_paths" in params and not isinstance(
311
+ params["from_partner_managed_folder_paths"], builtins.list
312
+ ):
313
+ raise InvalidParameterError(
314
+ "Bad parameter: from_partner_managed_folder_paths must be an list"
315
+ )
316
+ if "from_partner_route_path" in params and not isinstance(
317
+ params["from_partner_route_path"], str
318
+ ):
319
+ raise InvalidParameterError(
320
+ "Bad parameter: from_partner_route_path must be an str"
321
+ )
322
+ if "to_partner_folder_name" in params and not isinstance(
323
+ params["to_partner_folder_name"], str
324
+ ):
325
+ raise InvalidParameterError(
326
+ "Bad parameter: to_partner_folder_name must be an str"
327
+ )
328
+ if "to_partner_managed_folder_paths" in params and not isinstance(
329
+ params["to_partner_managed_folder_paths"], builtins.list
330
+ ):
331
+ raise InvalidParameterError(
332
+ "Bad parameter: to_partner_managed_folder_paths must be an list"
333
+ )
334
+ if "to_partner_route_path" in params and not isinstance(
335
+ params["to_partner_route_path"], str
336
+ ):
337
+ raise InvalidParameterError(
338
+ "Bad parameter: to_partner_route_path must be an str"
339
+ )
340
+ if "name" in params and not isinstance(params["name"], str):
341
+ raise InvalidParameterError("Bad parameter: name must be an str")
342
+ if "path" in params and not isinstance(params["path"], str):
343
+ raise InvalidParameterError("Bad parameter: path must be an str")
344
+ if "id" not in params:
345
+ raise MissingParameterError("Parameter missing: id")
346
+ response, options = Api.send_request(
347
+ "PATCH",
348
+ "/partner_channel_templates/{id}".format(
349
+ id=quote(str(params["id"]), safe="")
350
+ ),
351
+ params,
352
+ options,
353
+ )
354
+ return PartnerChannelTemplate(response.data, options)
355
+
356
+
357
+ def delete(id, params=None, options=None):
358
+ if not isinstance(params, dict):
359
+ params = {}
360
+ if not isinstance(options, dict):
361
+ options = {}
362
+ params["id"] = id
363
+ if "id" in params and not isinstance(params["id"], int):
364
+ raise InvalidParameterError("Bad parameter: id must be an int")
365
+ if "id" not in params:
366
+ raise MissingParameterError("Parameter missing: id")
367
+ Api.send_request(
368
+ "DELETE",
369
+ "/partner_channel_templates/{id}".format(
370
+ id=quote(str(params["id"]), safe="")
371
+ ),
372
+ params,
373
+ options,
374
+ )
375
+
376
+
377
+ def destroy(id, params=None, options=None):
378
+ delete(id, params, options)
379
+
380
+
381
+ def new(*args, **kwargs):
382
+ return PartnerChannelTemplate(*args, **kwargs)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.418"
7
+ version = "1.6.419"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }