Files.com 1.4.208__tar.gz → 1.4.209__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 (114) hide show
  1. {Files.com-1.4.208 → Files.com-1.4.209}/Files.com.egg-info/PKG-INFO +1 -1
  2. {Files.com-1.4.208 → Files.com-1.4.209}/PKG-INFO +1 -1
  3. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/__init__.py +1 -1
  4. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/automation.py +47 -0
  5. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/automation_run.py +3 -0
  6. {Files.com-1.4.208 → Files.com-1.4.209}/Files.com.egg-info/SOURCES.txt +0 -0
  7. {Files.com-1.4.208 → Files.com-1.4.209}/Files.com.egg-info/dependency_links.txt +0 -0
  8. {Files.com-1.4.208 → Files.com-1.4.209}/Files.com.egg-info/requires.txt +0 -0
  9. {Files.com-1.4.208 → Files.com-1.4.209}/Files.com.egg-info/top_level.txt +0 -0
  10. {Files.com-1.4.208 → Files.com-1.4.209}/README.md +0 -0
  11. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/api.py +0 -0
  12. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/api_client.py +0 -0
  13. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/error.py +0 -0
  14. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/list_obj.py +0 -0
  15. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/__init__.py +0 -0
  16. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/account_line_item.py +0 -0
  17. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/action.py +0 -0
  18. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/action_notification_export.py +0 -0
  19. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/action_notification_export_result.py +0 -0
  20. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/api_key.py +0 -0
  21. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/api_request_log.py +0 -0
  22. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/app.py +0 -0
  23. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/as2_incoming_message.py +0 -0
  24. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/as2_outgoing_message.py +0 -0
  25. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/as2_partner.py +0 -0
  26. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/as2_station.py +0 -0
  27. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/auto.py +0 -0
  28. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/automation_log.py +0 -0
  29. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bandwidth_snapshot.py +0 -0
  30. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/behavior.py +0 -0
  31. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle.py +0 -0
  32. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_action.py +0 -0
  33. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_download.py +0 -0
  34. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_notification.py +0 -0
  35. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_path.py +0 -0
  36. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_recipient.py +0 -0
  37. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/bundle_registration.py +0 -0
  38. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/clickwrap.py +0 -0
  39. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/dns_record.py +0 -0
  40. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/email_incoming_message.py +0 -0
  41. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/email_log.py +0 -0
  42. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/errors.py +0 -0
  43. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/exavault_api_request_log.py +0 -0
  44. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/external_event.py +0 -0
  45. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file.py +0 -0
  46. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_action.py +0 -0
  47. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_comment.py +0 -0
  48. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_comment_reaction.py +0 -0
  49. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_migration.py +0 -0
  50. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_migration_log.py +0 -0
  51. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/file_upload_part.py +0 -0
  52. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/folder.py +0 -0
  53. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/form_field.py +0 -0
  54. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/form_field_set.py +0 -0
  55. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/ftp_action_log.py +0 -0
  56. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/gpg_key.py +0 -0
  57. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/group.py +0 -0
  58. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/group_user.py +0 -0
  59. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/history.py +0 -0
  60. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/history_export.py +0 -0
  61. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/history_export_result.py +0 -0
  62. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/image.py +0 -0
  63. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/inbox_recipient.py +0 -0
  64. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/inbox_registration.py +0 -0
  65. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/inbox_upload.py +0 -0
  66. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/invoice.py +0 -0
  67. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/invoice_line_item.py +0 -0
  68. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/ip_address.py +0 -0
  69. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/lock.py +0 -0
  70. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/message.py +0 -0
  71. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/message_comment.py +0 -0
  72. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/message_comment_reaction.py +0 -0
  73. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/message_reaction.py +0 -0
  74. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/notification.py +0 -0
  75. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/outbound_connection_log.py +0 -0
  76. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/payment.py +0 -0
  77. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/payment_line_item.py +0 -0
  78. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/permission.py +0 -0
  79. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/preview.py +0 -0
  80. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/priority.py +0 -0
  81. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/project.py +0 -0
  82. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/public_hosting_request_log.py +0 -0
  83. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/public_ip_address.py +0 -0
  84. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/public_key.py +0 -0
  85. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  86. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/remote_server.py +0 -0
  87. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/remote_server_configuration_file.py +0 -0
  88. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/request.py +0 -0
  89. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/session.py +0 -0
  90. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/settings_change.py +0 -0
  91. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/sftp_action_log.py +0 -0
  92. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/sftp_host_key.py +0 -0
  93. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/share_group.py +0 -0
  94. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/share_group_member.py +0 -0
  95. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/siem_http_destination.py +0 -0
  96. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/site.py +0 -0
  97. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/snapshot.py +0 -0
  98. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/sso_strategy.py +0 -0
  99. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/status.py +0 -0
  100. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/style.py +0 -0
  101. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/sync_log.py +0 -0
  102. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/usage_daily_snapshot.py +0 -0
  103. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/usage_snapshot.py +0 -0
  104. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/user.py +0 -0
  105. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/user_cipher_use.py +0 -0
  106. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/user_request.py +0 -0
  107. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/user_sftp_client_use.py +0 -0
  108. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/web_dav_action_log.py +0 -0
  109. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/models/webhook_test.py +0 -0
  110. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/path_util.py +0 -0
  111. {Files.com-1.4.208 → Files.com-1.4.209}/files_sdk/util.py +0 -0
  112. {Files.com-1.4.208 → Files.com-1.4.209}/pyproject.toml +0 -0
  113. {Files.com-1.4.208 → Files.com-1.4.209}/setup.cfg +0 -0
  114. {Files.com-1.4.208 → Files.com-1.4.209}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: Files.com
3
- Version: 1.4.208
3
+ Version: 1.4.209
4
4
  Summary: Python bindings for the Files.com API
5
5
  Home-page: UNKNOWN
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: Files.com
3
- Version: 1.4.208
3
+ Version: 1.4.209
4
4
  Summary: Python bindings for the Files.com API
5
5
  Home-page: UNKNOWN
6
6
  License: MIT
@@ -208,7 +208,7 @@ session_id = None
208
208
  source_ip = None
209
209
  base_url = "https://app.files.com"
210
210
  base_path = "api/rest/v1"
211
- version = "1.4.208"
211
+ version = "1.4.209"
212
212
 
213
213
  __version__ = version
214
214
 
@@ -32,6 +32,8 @@ class Automation:
32
32
  "path": None, # string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
33
33
  "path_time_zone": None, # string - Timezone to use when rendering timestamps in paths.
34
34
  "recurring_day": None, # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
35
+ "retry_on_failure_interval_in_minutes": None, # int64 - If the Automation fails, retry at this interval (in minutes).
36
+ "retry_on_failure_number_of_attempts": None, # int64 - If the Automation fails, retry at most this many times.
35
37
  "schedule": None, # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
36
38
  "human_readable_schedule": None, # string - If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
37
39
  "schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
@@ -110,6 +112,8 @@ class Automation:
110
112
  # name - string - Name for this automation.
111
113
  # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
112
114
  # path_time_zone - string - Timezone to use when rendering timestamps in paths.
115
+ # retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
116
+ # retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
113
117
  # trigger - string - How this automation is triggered to run.
114
118
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
115
119
  # value - object - A Hash of attributes specific to the automation type.
@@ -209,6 +213,21 @@ class Automation:
209
213
  raise InvalidParameterError(
210
214
  "Bad parameter: path_time_zone must be an str"
211
215
  )
216
+ if (
217
+ "retry_on_failure_interval_in_minutes" in params
218
+ and not isinstance(
219
+ params["retry_on_failure_interval_in_minutes"], int
220
+ )
221
+ ):
222
+ raise InvalidParameterError(
223
+ "Bad parameter: retry_on_failure_interval_in_minutes must be an int"
224
+ )
225
+ if "retry_on_failure_number_of_attempts" in params and not isinstance(
226
+ params["retry_on_failure_number_of_attempts"], int
227
+ ):
228
+ raise InvalidParameterError(
229
+ "Bad parameter: retry_on_failure_number_of_attempts must be an int"
230
+ )
212
231
  if "trigger" in params and not isinstance(params["trigger"], str):
213
232
  raise InvalidParameterError(
214
233
  "Bad parameter: trigger must be an str"
@@ -359,6 +378,8 @@ def get(id, params=None, options=None):
359
378
  # name - string - Name for this automation.
360
379
  # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
361
380
  # path_time_zone - string - Timezone to use when rendering timestamps in paths.
381
+ # retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
382
+ # retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
362
383
  # trigger - string - How this automation is triggered to run.
363
384
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
364
385
  # value - object - A Hash of attributes specific to the automation type.
@@ -441,6 +462,18 @@ def create(params=None, options=None):
441
462
  raise InvalidParameterError(
442
463
  "Bad parameter: path_time_zone must be an str"
443
464
  )
465
+ if "retry_on_failure_interval_in_minutes" in params and not isinstance(
466
+ params["retry_on_failure_interval_in_minutes"], int
467
+ ):
468
+ raise InvalidParameterError(
469
+ "Bad parameter: retry_on_failure_interval_in_minutes must be an int"
470
+ )
471
+ if "retry_on_failure_number_of_attempts" in params and not isinstance(
472
+ params["retry_on_failure_number_of_attempts"], int
473
+ ):
474
+ raise InvalidParameterError(
475
+ "Bad parameter: retry_on_failure_number_of_attempts must be an int"
476
+ )
444
477
  if "trigger" in params and not isinstance(params["trigger"], str):
445
478
  raise InvalidParameterError("Bad parameter: trigger must be an str")
446
479
  if "trigger_actions" in params and not isinstance(
@@ -510,6 +543,8 @@ def manual_run(id, params=None, options=None):
510
543
  # name - string - Name for this automation.
511
544
  # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
512
545
  # path_time_zone - string - Timezone to use when rendering timestamps in paths.
546
+ # retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
547
+ # retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
513
548
  # trigger - string - How this automation is triggered to run.
514
549
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
515
550
  # value - object - A Hash of attributes specific to the automation type.
@@ -595,6 +630,18 @@ def update(id, params=None, options=None):
595
630
  raise InvalidParameterError(
596
631
  "Bad parameter: path_time_zone must be an str"
597
632
  )
633
+ if "retry_on_failure_interval_in_minutes" in params and not isinstance(
634
+ params["retry_on_failure_interval_in_minutes"], int
635
+ ):
636
+ raise InvalidParameterError(
637
+ "Bad parameter: retry_on_failure_interval_in_minutes must be an int"
638
+ )
639
+ if "retry_on_failure_number_of_attempts" in params and not isinstance(
640
+ params["retry_on_failure_number_of_attempts"], int
641
+ ):
642
+ raise InvalidParameterError(
643
+ "Bad parameter: retry_on_failure_number_of_attempts must be an int"
644
+ )
598
645
  if "trigger" in params and not isinstance(params["trigger"], str):
599
646
  raise InvalidParameterError("Bad parameter: trigger must be an str")
600
647
  if "trigger_actions" in params and not isinstance(
@@ -14,6 +14,9 @@ class AutomationRun:
14
14
  "automation_id": None, # int64 - ID of the associated Automation.
15
15
  "completed_at": None, # date-time - Automation run completion/failure date/time.
16
16
  "created_at": None, # date-time - Automation run start date/time.
17
+ "retried_at": None, # date-time - If set, this Automation run was retried due to `failure` or `partial_failure`.
18
+ "retry_of_run_id": None, # int64 - ID of the original run that this run is retrying.
19
+ "retried_in_run_id": None, # int64 - ID of the run that is or will be retrying this run.
17
20
  "runtime": None, # double - Automation run runtime.
18
21
  "status": None, # string - The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
19
22
  "successful_operations": None, # int64 - Count of successful operations.
File without changes
File without changes
File without changes
File without changes