Files.com 1.6.406__tar.gz → 1.6.408__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 (300) hide show
  1. {files_com-1.6.406/files_com.egg-info → files_com-1.6.408}/PKG-INFO +1 -1
  2. files_com-1.6.408/_VERSION +1 -0
  3. {files_com-1.6.406 → files_com-1.6.408/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.406 → files_com-1.6.408}/files_com.egg-info/SOURCES.txt +3 -0
  5. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/__init__.py +3 -1
  6. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/__init__.py +1 -0
  7. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/action_notification_export.py +4 -1
  8. files_com-1.6.408/files_sdk/models/ai_assistant_personality.py +296 -0
  9. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/ai_task.py +21 -7
  10. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/api_key.py +15 -5
  11. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/as2_partner.py +15 -5
  12. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/as2_station.py +15 -5
  13. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/automation.py +21 -7
  14. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/automation_run.py +5 -1
  15. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/behavior.py +18 -6
  16. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle.py +20 -7
  17. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_notification.py +16 -5
  18. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/chat_session.py +5 -1
  19. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/child_site_management_policy.py +16 -5
  20. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/clickwrap.py +15 -5
  21. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/custom_domain.py +13 -5
  22. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/desktop_configuration_profile.py +16 -5
  23. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/event_channel.py +13 -5
  24. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/event_delivery_attempt.py +4 -1
  25. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/event_record.py +5 -1
  26. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/event_subscription.py +16 -5
  27. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/event_target.py +12 -5
  28. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/expectation.py +21 -7
  29. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/expectation_evaluation.py +4 -1
  30. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/expectation_incident.py +22 -7
  31. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/external_event.py +5 -1
  32. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file.py +65 -22
  33. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_comment.py +11 -5
  34. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_comment_reaction.py +7 -2
  35. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_migration.py +5 -1
  36. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/folder.py +6 -2
  37. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/form_field_set.py +13 -5
  38. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/gpg_key.py +15 -5
  39. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/group.py +37 -5
  40. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/group_user.py +11 -4
  41. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/history.py +10 -3
  42. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/history_export.py +5 -1
  43. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/invoice.py +5 -1
  44. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/key_lifecycle_rule.py +16 -5
  45. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/lock.py +11 -4
  46. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/message.py +15 -5
  47. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/message_comment.py +10 -5
  48. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/message_comment_reaction.py +10 -3
  49. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/message_reaction.py +6 -3
  50. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/metadata_category.py +19 -6
  51. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/notification.py +12 -5
  52. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/partner.py +37 -5
  53. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/partner_channel.py +10 -5
  54. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/partner_site.py +3 -2
  55. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/partner_site_request.py +7 -2
  56. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/payment.py +5 -1
  57. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/pending_work_event.py +4 -1
  58. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/permission.py +6 -2
  59. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/project.py +15 -5
  60. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/public_key.py +15 -5
  61. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/remote_mount_backend.py +22 -7
  62. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/remote_server.py +28 -10
  63. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/remote_server_credential.py +16 -5
  64. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/request.py +9 -3
  65. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/scheduled_export.py +10 -5
  66. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/scim_log.py +5 -1
  67. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sftp_host_key.py +13 -5
  68. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/share_group.py +15 -5
  69. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/siem_http_destination.py +16 -5
  70. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/siem_http_destination_event.py +4 -1
  71. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/site_subdomain_redirect.py +10 -3
  72. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/snapshot.py +21 -7
  73. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sso_event.py +5 -1
  74. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sso_strategy.py +11 -3
  75. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/style.py +15 -5
  76. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sync.py +24 -9
  77. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sync_run.py +5 -1
  78. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user.py +52 -11
  79. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user_lifecycle_rule.py +16 -5
  80. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user_request.py +7 -3
  81. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user_security_event.py +4 -1
  82. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/workspace.py +15 -5
  83. {files_com-1.6.406 → files_com-1.6.408}/pyproject.toml +1 -1
  84. files_com-1.6.408/tests/test_ai_assistant_personality.py +68 -0
  85. files_com-1.6.408/tests/test_path_parameter_encoding.py +31 -0
  86. files_com-1.6.406/_VERSION +0 -1
  87. {files_com-1.6.406 → files_com-1.6.408}/LICENSE +0 -0
  88. {files_com-1.6.406 → files_com-1.6.408}/README.md +0 -0
  89. {files_com-1.6.406 → files_com-1.6.408}/files_com.egg-info/dependency_links.txt +0 -0
  90. {files_com-1.6.406 → files_com-1.6.408}/files_com.egg-info/requires.txt +0 -0
  91. {files_com-1.6.406 → files_com-1.6.408}/files_com.egg-info/top_level.txt +0 -0
  92. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/api.py +0 -0
  93. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/api_client.py +0 -0
  94. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/error.py +0 -0
  95. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/list_obj.py +0 -0
  96. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/account_line_item.py +0 -0
  97. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/action.py +0 -0
  98. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/action_log.py +0 -0
  99. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/action_notification_export_result.py +0 -0
  100. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/agent_push_update.py +0 -0
  101. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/api_request_log.py +0 -0
  102. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/app.py +0 -0
  103. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/as2_incoming_message.py +0 -0
  104. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/as2_outgoing_message.py +0 -0
  105. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/auto.py +0 -0
  106. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/automation_log.py +0 -0
  107. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bandwidth_snapshot.py +0 -0
  108. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_action.py +0 -0
  109. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_download.py +0 -0
  110. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_path.py +0 -0
  111. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_recipient.py +0 -0
  112. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/bundle_registration.py +0 -0
  113. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/chat_message.py +0 -0
  114. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/dns_record.py +0 -0
  115. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/email_incoming_message.py +0 -0
  116. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/email_log.py +0 -0
  117. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/errors.py +0 -0
  118. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/exavault_api_request_log.py +0 -0
  119. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_action.py +0 -0
  120. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_migration_log.py +0 -0
  121. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/file_upload_part.py +0 -0
  122. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/form_field.py +0 -0
  123. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/ftp_action_log.py +0 -0
  124. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/history_export_result.py +0 -0
  125. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/holiday_region.py +0 -0
  126. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/image.py +0 -0
  127. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/inbound_s3_log.py +0 -0
  128. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/inbox_recipient.py +0 -0
  129. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/inbox_registration.py +0 -0
  130. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/inbox_upload.py +0 -0
  131. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/invoice_line_item.py +0 -0
  132. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/ip_address.py +0 -0
  133. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/outbound_connection_log.py +0 -0
  134. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/payment_line_item.py +0 -0
  135. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/preview.py +0 -0
  136. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/public_hosting_request_log.py +0 -0
  137. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/public_ip_address.py +0 -0
  138. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  139. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/remote_server_configuration_file.py +0 -0
  140. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/restore.py +0 -0
  141. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/session.py +0 -0
  142. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/settings_change.py +0 -0
  143. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sftp_action_log.py +0 -0
  144. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/share_group_member.py +0 -0
  145. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/site.py +0 -0
  146. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/status.py +0 -0
  147. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sync_log.py +0 -0
  148. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/sync_run_live_transfer.py +0 -0
  149. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  150. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/usage_daily_snapshot.py +0 -0
  151. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/usage_snapshot.py +0 -0
  152. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user_cipher_use.py +0 -0
  153. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/user_sftp_client_use.py +0 -0
  154. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/web_dav_action_log.py +0 -0
  155. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/webhook_test.py +0 -0
  156. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/models/zip_list_entry.py +0 -0
  157. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/path_util.py +0 -0
  158. {files_com-1.6.406 → files_com-1.6.408}/files_sdk/util.py +0 -0
  159. {files_com-1.6.406 → files_com-1.6.408}/setup.cfg +0 -0
  160. {files_com-1.6.406 → files_com-1.6.408}/tests/test_account_line_item.py +0 -0
  161. {files_com-1.6.406 → files_com-1.6.408}/tests/test_action.py +0 -0
  162. {files_com-1.6.406 → files_com-1.6.408}/tests/test_action_log.py +0 -0
  163. {files_com-1.6.406 → files_com-1.6.408}/tests/test_action_notification_export.py +0 -0
  164. {files_com-1.6.406 → files_com-1.6.408}/tests/test_action_notification_export_result.py +0 -0
  165. {files_com-1.6.406 → files_com-1.6.408}/tests/test_agent_push_update.py +0 -0
  166. {files_com-1.6.406 → files_com-1.6.408}/tests/test_ai_task.py +0 -0
  167. {files_com-1.6.406 → files_com-1.6.408}/tests/test_api_errors.py +0 -0
  168. {files_com-1.6.406 → files_com-1.6.408}/tests/test_api_key.py +0 -0
  169. {files_com-1.6.406 → files_com-1.6.408}/tests/test_api_request_log.py +0 -0
  170. {files_com-1.6.406 → files_com-1.6.408}/tests/test_app.py +0 -0
  171. {files_com-1.6.406 → files_com-1.6.408}/tests/test_as2_incoming_message.py +0 -0
  172. {files_com-1.6.406 → files_com-1.6.408}/tests/test_as2_outgoing_message.py +0 -0
  173. {files_com-1.6.406 → files_com-1.6.408}/tests/test_as2_partner.py +0 -0
  174. {files_com-1.6.406 → files_com-1.6.408}/tests/test_as2_station.py +0 -0
  175. {files_com-1.6.406 → files_com-1.6.408}/tests/test_auto.py +0 -0
  176. {files_com-1.6.406 → files_com-1.6.408}/tests/test_automation.py +0 -0
  177. {files_com-1.6.406 → files_com-1.6.408}/tests/test_automation_log.py +0 -0
  178. {files_com-1.6.406 → files_com-1.6.408}/tests/test_automation_run.py +0 -0
  179. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bandwidth_snapshot.py +0 -0
  180. {files_com-1.6.406 → files_com-1.6.408}/tests/test_behavior.py +0 -0
  181. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle.py +0 -0
  182. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_action.py +0 -0
  183. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_download.py +0 -0
  184. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_notification.py +0 -0
  185. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_path.py +0 -0
  186. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_recipient.py +0 -0
  187. {files_com-1.6.406 → files_com-1.6.408}/tests/test_bundle_registration.py +0 -0
  188. {files_com-1.6.406 → files_com-1.6.408}/tests/test_chat_message.py +0 -0
  189. {files_com-1.6.406 → files_com-1.6.408}/tests/test_chat_session.py +0 -0
  190. {files_com-1.6.406 → files_com-1.6.408}/tests/test_child_site_management_policy.py +0 -0
  191. {files_com-1.6.406 → files_com-1.6.408}/tests/test_clickwrap.py +0 -0
  192. {files_com-1.6.406 → files_com-1.6.408}/tests/test_connection_adapter.py +0 -0
  193. {files_com-1.6.406 → files_com-1.6.408}/tests/test_custom_domain.py +0 -0
  194. {files_com-1.6.406 → files_com-1.6.408}/tests/test_decimal_contract.py +0 -0
  195. {files_com-1.6.406 → files_com-1.6.408}/tests/test_desktop_configuration_profile.py +0 -0
  196. {files_com-1.6.406 → files_com-1.6.408}/tests/test_dns_record.py +0 -0
  197. {files_com-1.6.406 → files_com-1.6.408}/tests/test_email_incoming_message.py +0 -0
  198. {files_com-1.6.406 → files_com-1.6.408}/tests/test_email_log.py +0 -0
  199. {files_com-1.6.406 → files_com-1.6.408}/tests/test_errors.py +0 -0
  200. {files_com-1.6.406 → files_com-1.6.408}/tests/test_event_channel.py +0 -0
  201. {files_com-1.6.406 → files_com-1.6.408}/tests/test_event_delivery_attempt.py +0 -0
  202. {files_com-1.6.406 → files_com-1.6.408}/tests/test_event_record.py +0 -0
  203. {files_com-1.6.406 → files_com-1.6.408}/tests/test_event_subscription.py +0 -0
  204. {files_com-1.6.406 → files_com-1.6.408}/tests/test_event_target.py +0 -0
  205. {files_com-1.6.406 → files_com-1.6.408}/tests/test_exavault_api_request_log.py +0 -0
  206. {files_com-1.6.406 → files_com-1.6.408}/tests/test_expectation.py +0 -0
  207. {files_com-1.6.406 → files_com-1.6.408}/tests/test_expectation_evaluation.py +0 -0
  208. {files_com-1.6.406 → files_com-1.6.408}/tests/test_expectation_incident.py +0 -0
  209. {files_com-1.6.406 → files_com-1.6.408}/tests/test_external_event.py +0 -0
  210. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file.py +0 -0
  211. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_action.py +0 -0
  212. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_comment.py +0 -0
  213. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_comment_reaction.py +0 -0
  214. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_migration.py +0 -0
  215. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_migration_log.py +0 -0
  216. {files_com-1.6.406 → files_com-1.6.408}/tests/test_file_upload_part.py +0 -0
  217. {files_com-1.6.406 → files_com-1.6.408}/tests/test_folder.py +0 -0
  218. {files_com-1.6.406 → files_com-1.6.408}/tests/test_form_field.py +0 -0
  219. {files_com-1.6.406 → files_com-1.6.408}/tests/test_form_field_set.py +0 -0
  220. {files_com-1.6.406 → files_com-1.6.408}/tests/test_ftp_action_log.py +0 -0
  221. {files_com-1.6.406 → files_com-1.6.408}/tests/test_gpg_key.py +0 -0
  222. {files_com-1.6.406 → files_com-1.6.408}/tests/test_group.py +0 -0
  223. {files_com-1.6.406 → files_com-1.6.408}/tests/test_group_user.py +0 -0
  224. {files_com-1.6.406 → files_com-1.6.408}/tests/test_history.py +0 -0
  225. {files_com-1.6.406 → files_com-1.6.408}/tests/test_history_export.py +0 -0
  226. {files_com-1.6.406 → files_com-1.6.408}/tests/test_history_export_result.py +0 -0
  227. {files_com-1.6.406 → files_com-1.6.408}/tests/test_holiday_region.py +0 -0
  228. {files_com-1.6.406 → files_com-1.6.408}/tests/test_image.py +0 -0
  229. {files_com-1.6.406 → files_com-1.6.408}/tests/test_inbound_s3_log.py +0 -0
  230. {files_com-1.6.406 → files_com-1.6.408}/tests/test_inbox_recipient.py +0 -0
  231. {files_com-1.6.406 → files_com-1.6.408}/tests/test_inbox_registration.py +0 -0
  232. {files_com-1.6.406 → files_com-1.6.408}/tests/test_inbox_upload.py +0 -0
  233. {files_com-1.6.406 → files_com-1.6.408}/tests/test_invoice.py +0 -0
  234. {files_com-1.6.406 → files_com-1.6.408}/tests/test_invoice_line_item.py +0 -0
  235. {files_com-1.6.406 → files_com-1.6.408}/tests/test_ip_address.py +0 -0
  236. {files_com-1.6.406 → files_com-1.6.408}/tests/test_key_lifecycle_rule.py +0 -0
  237. {files_com-1.6.406 → files_com-1.6.408}/tests/test_lock.py +0 -0
  238. {files_com-1.6.406 → files_com-1.6.408}/tests/test_message.py +0 -0
  239. {files_com-1.6.406 → files_com-1.6.408}/tests/test_message_comment.py +0 -0
  240. {files_com-1.6.406 → files_com-1.6.408}/tests/test_message_comment_reaction.py +0 -0
  241. {files_com-1.6.406 → files_com-1.6.408}/tests/test_message_reaction.py +0 -0
  242. {files_com-1.6.406 → files_com-1.6.408}/tests/test_metadata_category.py +0 -0
  243. {files_com-1.6.406 → files_com-1.6.408}/tests/test_notification.py +0 -0
  244. {files_com-1.6.406 → files_com-1.6.408}/tests/test_outbound_connection_log.py +0 -0
  245. {files_com-1.6.406 → files_com-1.6.408}/tests/test_partner.py +0 -0
  246. {files_com-1.6.406 → files_com-1.6.408}/tests/test_partner_channel.py +0 -0
  247. {files_com-1.6.406 → files_com-1.6.408}/tests/test_partner_site.py +0 -0
  248. {files_com-1.6.406 → files_com-1.6.408}/tests/test_partner_site_request.py +0 -0
  249. {files_com-1.6.406 → files_com-1.6.408}/tests/test_path_util.py +0 -0
  250. {files_com-1.6.406 → files_com-1.6.408}/tests/test_payment.py +0 -0
  251. {files_com-1.6.406 → files_com-1.6.408}/tests/test_payment_line_item.py +0 -0
  252. {files_com-1.6.406 → files_com-1.6.408}/tests/test_pending_work_event.py +0 -0
  253. {files_com-1.6.406 → files_com-1.6.408}/tests/test_permission.py +0 -0
  254. {files_com-1.6.406 → files_com-1.6.408}/tests/test_preview.py +0 -0
  255. {files_com-1.6.406 → files_com-1.6.408}/tests/test_project.py +0 -0
  256. {files_com-1.6.406 → files_com-1.6.408}/tests/test_public_hosting_request_log.py +0 -0
  257. {files_com-1.6.406 → files_com-1.6.408}/tests/test_public_ip_address.py +0 -0
  258. {files_com-1.6.406 → files_com-1.6.408}/tests/test_public_key.py +0 -0
  259. {files_com-1.6.406 → files_com-1.6.408}/tests/test_remote_bandwidth_snapshot.py +0 -0
  260. {files_com-1.6.406 → files_com-1.6.408}/tests/test_remote_mount_backend.py +0 -0
  261. {files_com-1.6.406 → files_com-1.6.408}/tests/test_remote_server.py +0 -0
  262. {files_com-1.6.406 → files_com-1.6.408}/tests/test_remote_server_configuration_file.py +0 -0
  263. {files_com-1.6.406 → files_com-1.6.408}/tests/test_remote_server_credential.py +0 -0
  264. {files_com-1.6.406 → files_com-1.6.408}/tests/test_request.py +0 -0
  265. {files_com-1.6.406 → files_com-1.6.408}/tests/test_restore.py +0 -0
  266. {files_com-1.6.406 → files_com-1.6.408}/tests/test_scheduled_export.py +0 -0
  267. {files_com-1.6.406 → files_com-1.6.408}/tests/test_scim_log.py +0 -0
  268. {files_com-1.6.406 → files_com-1.6.408}/tests/test_session.py +0 -0
  269. {files_com-1.6.406 → files_com-1.6.408}/tests/test_settings_change.py +0 -0
  270. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sftp_action_log.py +0 -0
  271. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sftp_host_key.py +0 -0
  272. {files_com-1.6.406 → files_com-1.6.408}/tests/test_share_group.py +0 -0
  273. {files_com-1.6.406 → files_com-1.6.408}/tests/test_share_group_member.py +0 -0
  274. {files_com-1.6.406 → files_com-1.6.408}/tests/test_siem_http_destination.py +0 -0
  275. {files_com-1.6.406 → files_com-1.6.408}/tests/test_siem_http_destination_event.py +0 -0
  276. {files_com-1.6.406 → files_com-1.6.408}/tests/test_site.py +0 -0
  277. {files_com-1.6.406 → files_com-1.6.408}/tests/test_site_subdomain_redirect.py +0 -0
  278. {files_com-1.6.406 → files_com-1.6.408}/tests/test_snapshot.py +0 -0
  279. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sso_event.py +0 -0
  280. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sso_strategy.py +0 -0
  281. {files_com-1.6.406 → files_com-1.6.408}/tests/test_status.py +0 -0
  282. {files_com-1.6.406 → files_com-1.6.408}/tests/test_style.py +0 -0
  283. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sync.py +0 -0
  284. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sync_log.py +0 -0
  285. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sync_run.py +0 -0
  286. {files_com-1.6.406 → files_com-1.6.408}/tests/test_sync_run_live_transfer.py +0 -0
  287. {files_com-1.6.406 → files_com-1.6.408}/tests/test_usage_by_top_level_dir.py +0 -0
  288. {files_com-1.6.406 → files_com-1.6.408}/tests/test_usage_daily_snapshot.py +0 -0
  289. {files_com-1.6.406 → files_com-1.6.408}/tests/test_usage_snapshot.py +0 -0
  290. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user.py +0 -0
  291. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user_cipher_use.py +0 -0
  292. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user_lifecycle_rule.py +0 -0
  293. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user_request.py +0 -0
  294. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user_security_event.py +0 -0
  295. {files_com-1.6.406 → files_com-1.6.408}/tests/test_user_sftp_client_use.py +0 -0
  296. {files_com-1.6.406 → files_com-1.6.408}/tests/test_web_dav_action_log.py +0 -0
  297. {files_com-1.6.406 → files_com-1.6.408}/tests/test_webhook_test.py +0 -0
  298. {files_com-1.6.406 → files_com-1.6.408}/tests/test_workspace.py +0 -0
  299. {files_com-1.6.406 → files_com-1.6.408}/tests/test_workspace_id.py +0 -0
  300. {files_com-1.6.406 → files_com-1.6.408}/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.406
3
+ Version: 1.6.408
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.408
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.406
3
+ Version: 1.6.408
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -22,6 +22,7 @@ files_sdk/models/action_log.py
22
22
  files_sdk/models/action_notification_export.py
23
23
  files_sdk/models/action_notification_export_result.py
24
24
  files_sdk/models/agent_push_update.py
25
+ files_sdk/models/ai_assistant_personality.py
25
26
  files_sdk/models/ai_task.py
26
27
  files_sdk/models/api_key.py
27
28
  files_sdk/models/api_request_log.py
@@ -158,6 +159,7 @@ tests/test_action_log.py
158
159
  tests/test_action_notification_export.py
159
160
  tests/test_action_notification_export_result.py
160
161
  tests/test_agent_push_update.py
162
+ tests/test_ai_assistant_personality.py
161
163
  tests/test_ai_task.py
162
164
  tests/test_api_errors.py
163
165
  tests/test_api_key.py
@@ -241,6 +243,7 @@ tests/test_partner.py
241
243
  tests/test_partner_channel.py
242
244
  tests/test_partner_site.py
243
245
  tests/test_partner_site_request.py
246
+ tests/test_path_parameter_encoding.py
244
247
  tests/test_path_util.py
245
248
  tests/test_payment.py
246
249
  tests/test_payment_line_item.py
@@ -5,6 +5,7 @@ import files_sdk.models.action_log as action_log
5
5
  import files_sdk.models.action_notification_export as action_notification_export
6
6
  import files_sdk.models.action_notification_export_result as action_notification_export_result
7
7
  import files_sdk.models.agent_push_update as agent_push_update
8
+ import files_sdk.models.ai_assistant_personality as ai_assistant_personality
8
9
  import files_sdk.models.ai_task as ai_task
9
10
  import files_sdk.models.api_key as api_key
10
11
  import files_sdk.models.api_request_log as api_request_log
@@ -146,6 +147,7 @@ from files_sdk.models.action_notification_export_result import (
146
147
  ActionNotificationExportResult,
147
148
  )
148
149
  from files_sdk.models.agent_push_update import AgentPushUpdate
150
+ from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
149
151
  from files_sdk.models.ai_task import AiTask
150
152
  from files_sdk.models.api_key import ApiKey
151
153
  from files_sdk.models.api_request_log import ApiRequestLog
@@ -296,7 +298,7 @@ source_ip = None
296
298
  workspace_id = None
297
299
  base_url = "https://app.files.com"
298
300
  base_path = "api/rest/v1"
299
- version = "1.6.406"
301
+ version = "1.6.408"
300
302
 
301
303
  __version__ = version
302
304
 
@@ -8,6 +8,7 @@ from files_sdk.models.action_notification_export_result import (
8
8
  ActionNotificationExportResult,
9
9
  )
10
10
  from files_sdk.models.agent_push_update import AgentPushUpdate
11
+ from files_sdk.models.ai_assistant_personality import AiAssistantPersonality
11
12
  from files_sdk.models.ai_task import AiTask
12
13
  from files_sdk.models.api_key import ApiKey
13
14
  from files_sdk.models.api_request_log import ApiRequestLog
@@ -1,4 +1,5 @@
1
1
  import builtins # noqa: F401
2
+ from urllib.parse import quote
2
3
  from files_sdk.api import Api # noqa: F401
3
4
  from files_sdk.error import ( # noqa: F401
4
5
  InvalidParameterError,
@@ -74,7 +75,9 @@ def find(id, params=None, options=None):
74
75
  raise MissingParameterError("Parameter missing: id")
75
76
  response, options = Api.send_request(
76
77
  "GET",
77
- "/action_notification_exports/{id}".format(id=params["id"]),
78
+ "/action_notification_exports/{id}".format(
79
+ id=quote(str(params["id"]), safe="")
80
+ ),
78
81
  params,
79
82
  options,
80
83
  )
@@ -0,0 +1,296 @@
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 AiAssistantPersonality:
13
+ default_attributes = {
14
+ "id": None, # int64 - AI Assistant Personality ID.
15
+ "workspace_id": None, # int64 - Workspace ID. `0` means the default workspace.
16
+ "system_prompt": None, # string - System prompt injected into the in-app AI Assistant.
17
+ "use_by_default": None, # boolean - Whether this personality is the default personality for the Workspace.
18
+ "apply_to_all_workspaces": None, # boolean - If true, this default-workspace personality can apply to users in all workspaces.
19
+ "created_at": None, # date-time - Creation time.
20
+ "updated_at": None, # date-time - Last update time.
21
+ }
22
+
23
+ def __init__(self, attributes=None, options=None):
24
+ if not isinstance(attributes, dict):
25
+ attributes = {}
26
+ if not isinstance(options, dict):
27
+ options = {}
28
+ self.set_attributes(attributes)
29
+ self.options = options
30
+
31
+ def set_attributes(self, attributes):
32
+ for (
33
+ attribute,
34
+ default_value,
35
+ ) in AiAssistantPersonality.default_attributes.items():
36
+ value = attributes.get(attribute, default_value)
37
+ setattr(self, attribute, value)
38
+
39
+ def get_attributes(self):
40
+ attrs = {
41
+ k: getattr(self, k, None)
42
+ for k in AiAssistantPersonality.default_attributes
43
+ if getattr(self, k, None) is not None
44
+ }
45
+ return attrs
46
+
47
+ # Parameters:
48
+ # apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
49
+ # system_prompt - string - System prompt injected into the in-app AI Assistant.
50
+ # use_by_default - boolean - Whether this personality is the default personality for the Workspace.
51
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
52
+ def update(self, params=None):
53
+ if not isinstance(params, dict):
54
+ params = {}
55
+
56
+ if hasattr(self, "id") and self.id:
57
+ params["id"] = self.id
58
+ else:
59
+ raise MissingParameterError("Current object doesn't have a id")
60
+ if "id" not in params:
61
+ raise MissingParameterError("Parameter missing: id")
62
+ if "id" in params and not isinstance(params["id"], int):
63
+ raise InvalidParameterError("Bad parameter: id must be an int")
64
+ if "system_prompt" in params and not isinstance(
65
+ params["system_prompt"], str
66
+ ):
67
+ raise InvalidParameterError(
68
+ "Bad parameter: system_prompt must be an str"
69
+ )
70
+ if "workspace_id" in params and not isinstance(
71
+ params["workspace_id"], int
72
+ ):
73
+ raise InvalidParameterError(
74
+ "Bad parameter: workspace_id must be an int"
75
+ )
76
+ response, _options = Api.send_request(
77
+ "PATCH",
78
+ "/ai_assistant_personalities/{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
+ "/ai_assistant_personalities/{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 `id`.
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
+ AiAssistantPersonality,
141
+ "GET",
142
+ "/ai_assistant_personalities",
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 - Ai Assistant Personality 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
+ "/ai_assistant_personalities/{id}".format(
167
+ id=quote(str(params["id"]), safe="")
168
+ ),
169
+ params,
170
+ options,
171
+ )
172
+ return AiAssistantPersonality(response.data, options)
173
+
174
+
175
+ def get(id, params=None, options=None):
176
+ find(id, params, options)
177
+
178
+
179
+ # Parameters:
180
+ # apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
181
+ # system_prompt (required) - string - System prompt injected into the in-app AI Assistant.
182
+ # use_by_default - boolean - Whether this personality is the default personality for the Workspace.
183
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
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 "apply_to_all_workspaces" in params and not isinstance(
190
+ params["apply_to_all_workspaces"], bool
191
+ ):
192
+ raise InvalidParameterError(
193
+ "Bad parameter: apply_to_all_workspaces must be an bool"
194
+ )
195
+ if "system_prompt" in params and not isinstance(
196
+ params["system_prompt"], str
197
+ ):
198
+ raise InvalidParameterError(
199
+ "Bad parameter: system_prompt must be an str"
200
+ )
201
+ if "use_by_default" in params and not isinstance(
202
+ params["use_by_default"], bool
203
+ ):
204
+ raise InvalidParameterError(
205
+ "Bad parameter: use_by_default must be an bool"
206
+ )
207
+ if "workspace_id" in params and not isinstance(
208
+ params["workspace_id"], int
209
+ ):
210
+ raise InvalidParameterError(
211
+ "Bad parameter: workspace_id must be an int"
212
+ )
213
+ if "system_prompt" not in params:
214
+ raise MissingParameterError("Parameter missing: system_prompt")
215
+ response, options = Api.send_request(
216
+ "POST", "/ai_assistant_personalities", params, options
217
+ )
218
+ return AiAssistantPersonality(response.data, options)
219
+
220
+
221
+ # Parameters:
222
+ # apply_to_all_workspaces - boolean - If true, this default-workspace personality can apply to users in all workspaces.
223
+ # system_prompt - string - System prompt injected into the in-app AI Assistant.
224
+ # use_by_default - boolean - Whether this personality is the default personality for the Workspace.
225
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
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 "apply_to_all_workspaces" in params and not isinstance(
235
+ params["apply_to_all_workspaces"], bool
236
+ ):
237
+ raise InvalidParameterError(
238
+ "Bad parameter: apply_to_all_workspaces must be an bool"
239
+ )
240
+ if "system_prompt" in params and not isinstance(
241
+ params["system_prompt"], str
242
+ ):
243
+ raise InvalidParameterError(
244
+ "Bad parameter: system_prompt must be an str"
245
+ )
246
+ if "use_by_default" in params and not isinstance(
247
+ params["use_by_default"], bool
248
+ ):
249
+ raise InvalidParameterError(
250
+ "Bad parameter: use_by_default must be an bool"
251
+ )
252
+ if "workspace_id" in params and not isinstance(
253
+ params["workspace_id"], int
254
+ ):
255
+ raise InvalidParameterError(
256
+ "Bad parameter: workspace_id must be an int"
257
+ )
258
+ if "id" not in params:
259
+ raise MissingParameterError("Parameter missing: id")
260
+ response, options = Api.send_request(
261
+ "PATCH",
262
+ "/ai_assistant_personalities/{id}".format(
263
+ id=quote(str(params["id"]), safe="")
264
+ ),
265
+ params,
266
+ options,
267
+ )
268
+ return AiAssistantPersonality(response.data, options)
269
+
270
+
271
+ def delete(id, params=None, options=None):
272
+ if not isinstance(params, dict):
273
+ params = {}
274
+ if not isinstance(options, dict):
275
+ options = {}
276
+ params["id"] = id
277
+ if "id" in params and not isinstance(params["id"], int):
278
+ raise InvalidParameterError("Bad parameter: id must be an int")
279
+ if "id" not in params:
280
+ raise MissingParameterError("Parameter missing: id")
281
+ Api.send_request(
282
+ "DELETE",
283
+ "/ai_assistant_personalities/{id}".format(
284
+ id=quote(str(params["id"]), safe="")
285
+ ),
286
+ params,
287
+ options,
288
+ )
289
+
290
+
291
+ def destroy(id, params=None, options=None):
292
+ delete(id, params, options)
293
+
294
+
295
+ def new(*args, **kwargs):
296
+ return AiAssistantPersonality(*args, **kwargs)
@@ -1,4 +1,5 @@
1
1
  import builtins # noqa: F401
2
+ from urllib.parse import quote
2
3
  from files_sdk.api import Api # noqa: F401
3
4
  from files_sdk.list_obj import ListObj
4
5
  from files_sdk.error import ( # noqa: F401
@@ -70,7 +71,9 @@ class AiTask:
70
71
  raise InvalidParameterError("Bad parameter: id must be an int")
71
72
  Api.send_request(
72
73
  "POST",
73
- "/ai_tasks/{id}/manual_run".format(id=params["id"]),
74
+ "/ai_tasks/{id}/manual_run".format(
75
+ id=quote(str(params["id"]), safe="")
76
+ ),
74
77
  params,
75
78
  self.options,
76
79
  )
@@ -176,7 +179,7 @@ class AiTask:
176
179
  )
177
180
  response, _options = Api.send_request(
178
181
  "PATCH",
179
- "/ai_tasks/{id}".format(id=params["id"]),
182
+ "/ai_tasks/{id}".format(id=quote(str(params["id"]), safe="")),
180
183
  params,
181
184
  self.options,
182
185
  )
@@ -196,7 +199,7 @@ class AiTask:
196
199
  raise InvalidParameterError("Bad parameter: id must be an int")
197
200
  Api.send_request(
198
201
  "DELETE",
199
- "/ai_tasks/{id}".format(id=params["id"]),
202
+ "/ai_tasks/{id}".format(id=quote(str(params["id"]), safe="")),
200
203
  params,
201
204
  self.options,
202
205
  )
@@ -253,7 +256,10 @@ def find(id, params=None, options=None):
253
256
  if "id" not in params:
254
257
  raise MissingParameterError("Parameter missing: id")
255
258
  response, options = Api.send_request(
256
- "GET", "/ai_tasks/{id}".format(id=params["id"]), params, options
259
+ "GET",
260
+ "/ai_tasks/{id}".format(id=quote(str(params["id"]), safe="")),
261
+ params,
262
+ options,
257
263
  )
258
264
  return AiTask(response.data, options)
259
265
 
@@ -371,7 +377,9 @@ def manual_run(id, params=None, options=None):
371
377
  raise MissingParameterError("Parameter missing: id")
372
378
  Api.send_request(
373
379
  "POST",
374
- "/ai_tasks/{id}/manual_run".format(id=params["id"]),
380
+ "/ai_tasks/{id}/manual_run".format(
381
+ id=quote(str(params["id"]), safe="")
382
+ ),
375
383
  params,
376
384
  options,
377
385
  )
@@ -471,7 +479,10 @@ def update(id, params=None, options=None):
471
479
  if "id" not in params:
472
480
  raise MissingParameterError("Parameter missing: id")
473
481
  response, options = Api.send_request(
474
- "PATCH", "/ai_tasks/{id}".format(id=params["id"]), params, options
482
+ "PATCH",
483
+ "/ai_tasks/{id}".format(id=quote(str(params["id"]), safe="")),
484
+ params,
485
+ options,
475
486
  )
476
487
  return AiTask(response.data, options)
477
488
 
@@ -487,7 +498,10 @@ def delete(id, params=None, options=None):
487
498
  if "id" not in params:
488
499
  raise MissingParameterError("Parameter missing: id")
489
500
  Api.send_request(
490
- "DELETE", "/ai_tasks/{id}".format(id=params["id"]), params, options
501
+ "DELETE",
502
+ "/ai_tasks/{id}".format(id=quote(str(params["id"]), safe="")),
503
+ params,
504
+ options,
491
505
  )
492
506
 
493
507
 
@@ -1,4 +1,5 @@
1
1
  import builtins # noqa: F401
2
+ from urllib.parse import quote
2
3
  from files_sdk.api import Api # noqa: F401
3
4
  from files_sdk.list_obj import ListObj
4
5
  from files_sdk.error import ( # noqa: F401
@@ -84,7 +85,7 @@ class ApiKey:
84
85
  raise InvalidParameterError("Bad parameter: name must be an str")
85
86
  response, _options = Api.send_request(
86
87
  "PATCH",
87
- "/api_keys/{id}".format(id=params["id"]),
88
+ "/api_keys/{id}".format(id=quote(str(params["id"]), safe="")),
88
89
  params,
89
90
  self.options,
90
91
  )
@@ -104,7 +105,7 @@ class ApiKey:
104
105
  raise InvalidParameterError("Bad parameter: id must be an int")
105
106
  Api.send_request(
106
107
  "DELETE",
107
- "/api_keys/{id}".format(id=params["id"]),
108
+ "/api_keys/{id}".format(id=quote(str(params["id"]), safe="")),
108
109
  params,
109
110
  self.options,
110
111
  )
@@ -189,7 +190,10 @@ def find(id, params=None, options=None):
189
190
  if "id" not in params:
190
191
  raise MissingParameterError("Parameter missing: id")
191
192
  response, options = Api.send_request(
192
- "GET", "/api_keys/{id}".format(id=params["id"]), params, options
193
+ "GET",
194
+ "/api_keys/{id}".format(id=quote(str(params["id"]), safe="")),
195
+ params,
196
+ options,
193
197
  )
194
198
  return ApiKey(response.data, options)
195
199
 
@@ -294,7 +298,10 @@ def update(id, params=None, options=None):
294
298
  if "id" not in params:
295
299
  raise MissingParameterError("Parameter missing: id")
296
300
  response, options = Api.send_request(
297
- "PATCH", "/api_keys/{id}".format(id=params["id"]), params, options
301
+ "PATCH",
302
+ "/api_keys/{id}".format(id=quote(str(params["id"]), safe="")),
303
+ params,
304
+ options,
298
305
  )
299
306
  return ApiKey(response.data, options)
300
307
 
@@ -318,7 +325,10 @@ def delete(id, params=None, options=None):
318
325
  if "id" not in params:
319
326
  raise MissingParameterError("Parameter missing: id")
320
327
  Api.send_request(
321
- "DELETE", "/api_keys/{id}".format(id=params["id"]), params, options
328
+ "DELETE",
329
+ "/api_keys/{id}".format(id=quote(str(params["id"]), safe="")),
330
+ params,
331
+ options,
322
332
  )
323
333
 
324
334
 
@@ -1,4 +1,5 @@
1
1
  import builtins # noqa: F401
2
+ from urllib.parse import quote
2
3
  from files_sdk.api import Api # noqa: F401
3
4
  from files_sdk.list_obj import ListObj
4
5
  from files_sdk.error import ( # noqa: F401
@@ -126,7 +127,7 @@ class As2Partner:
126
127
  )
127
128
  response, _options = Api.send_request(
128
129
  "PATCH",
129
- "/as2_partners/{id}".format(id=params["id"]),
130
+ "/as2_partners/{id}".format(id=quote(str(params["id"]), safe="")),
130
131
  params,
131
132
  self.options,
132
133
  )
@@ -146,7 +147,7 @@ class As2Partner:
146
147
  raise InvalidParameterError("Bad parameter: id must be an int")
147
148
  Api.send_request(
148
149
  "DELETE",
149
- "/as2_partners/{id}".format(id=params["id"]),
150
+ "/as2_partners/{id}".format(id=quote(str(params["id"]), safe="")),
150
151
  params,
151
152
  self.options,
152
153
  )
@@ -203,7 +204,10 @@ def find(id, params=None, options=None):
203
204
  if "id" not in params:
204
205
  raise MissingParameterError("Parameter missing: id")
205
206
  response, options = Api.send_request(
206
- "GET", "/as2_partners/{id}".format(id=params["id"]), params, options
207
+ "GET",
208
+ "/as2_partners/{id}".format(id=quote(str(params["id"]), safe="")),
209
+ params,
210
+ options,
207
211
  )
208
212
  return As2Partner(response.data, options)
209
213
 
@@ -389,7 +393,10 @@ def update(id, params=None, options=None):
389
393
  if "id" not in params:
390
394
  raise MissingParameterError("Parameter missing: id")
391
395
  response, options = Api.send_request(
392
- "PATCH", "/as2_partners/{id}".format(id=params["id"]), params, options
396
+ "PATCH",
397
+ "/as2_partners/{id}".format(id=quote(str(params["id"]), safe="")),
398
+ params,
399
+ options,
393
400
  )
394
401
  return As2Partner(response.data, options)
395
402
 
@@ -405,7 +412,10 @@ def delete(id, params=None, options=None):
405
412
  if "id" not in params:
406
413
  raise MissingParameterError("Parameter missing: id")
407
414
  Api.send_request(
408
- "DELETE", "/as2_partners/{id}".format(id=params["id"]), params, options
415
+ "DELETE",
416
+ "/as2_partners/{id}".format(id=quote(str(params["id"]), safe="")),
417
+ params,
418
+ options,
409
419
  )
410
420
 
411
421
 
@@ -1,4 +1,5 @@
1
1
  import builtins # noqa: F401
2
+ from urllib.parse import quote
2
3
  from files_sdk.api import Api # noqa: F401
3
4
  from files_sdk.list_obj import ListObj
4
5
  from files_sdk.error import ( # noqa: F401
@@ -89,7 +90,7 @@ class As2Station:
89
90
  )
90
91
  response, _options = Api.send_request(
91
92
  "PATCH",
92
- "/as2_stations/{id}".format(id=params["id"]),
93
+ "/as2_stations/{id}".format(id=quote(str(params["id"]), safe="")),
93
94
  params,
94
95
  self.options,
95
96
  )
@@ -109,7 +110,7 @@ class As2Station:
109
110
  raise InvalidParameterError("Bad parameter: id must be an int")
110
111
  Api.send_request(
111
112
  "DELETE",
112
- "/as2_stations/{id}".format(id=params["id"]),
113
+ "/as2_stations/{id}".format(id=quote(str(params["id"]), safe="")),
113
114
  params,
114
115
  self.options,
115
116
  )
@@ -166,7 +167,10 @@ def find(id, params=None, options=None):
166
167
  if "id" not in params:
167
168
  raise MissingParameterError("Parameter missing: id")
168
169
  response, options = Api.send_request(
169
- "GET", "/as2_stations/{id}".format(id=params["id"]), params, options
170
+ "GET",
171
+ "/as2_stations/{id}".format(id=quote(str(params["id"]), safe="")),
172
+ params,
173
+ options,
170
174
  )
171
175
  return As2Station(response.data, options)
172
176
 
@@ -256,7 +260,10 @@ def update(id, params=None, options=None):
256
260
  if "id" not in params:
257
261
  raise MissingParameterError("Parameter missing: id")
258
262
  response, options = Api.send_request(
259
- "PATCH", "/as2_stations/{id}".format(id=params["id"]), params, options
263
+ "PATCH",
264
+ "/as2_stations/{id}".format(id=quote(str(params["id"]), safe="")),
265
+ params,
266
+ options,
260
267
  )
261
268
  return As2Station(response.data, options)
262
269
 
@@ -272,7 +279,10 @@ def delete(id, params=None, options=None):
272
279
  if "id" not in params:
273
280
  raise MissingParameterError("Parameter missing: id")
274
281
  Api.send_request(
275
- "DELETE", "/as2_stations/{id}".format(id=params["id"]), params, options
282
+ "DELETE",
283
+ "/as2_stations/{id}".format(id=quote(str(params["id"]), safe="")),
284
+ params,
285
+ options,
276
286
  )
277
287
 
278
288