Files.com 1.4.60__tar.gz → 1.4.62__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 (111) hide show
  1. {Files.com-1.4.60 → Files.com-1.4.62}/Files.com.egg-info/PKG-INFO +1 -1
  2. {Files.com-1.4.60 → Files.com-1.4.62}/PKG-INFO +1 -1
  3. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/__init__.py +1 -1
  4. Files.com-1.4.62/files_sdk/models/automation_log.py +77 -0
  5. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/remote_server.py +1 -23
  6. Files.com-1.4.62/files_sdk/models/sync_log.py +75 -0
  7. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/user.py +5 -4
  8. Files.com-1.4.60/files_sdk/models/automation_log.py +0 -77
  9. Files.com-1.4.60/files_sdk/models/sync_log.py +0 -73
  10. {Files.com-1.4.60 → Files.com-1.4.62}/Files.com.egg-info/SOURCES.txt +0 -0
  11. {Files.com-1.4.60 → Files.com-1.4.62}/Files.com.egg-info/dependency_links.txt +0 -0
  12. {Files.com-1.4.60 → Files.com-1.4.62}/Files.com.egg-info/requires.txt +0 -0
  13. {Files.com-1.4.60 → Files.com-1.4.62}/Files.com.egg-info/top_level.txt +0 -0
  14. {Files.com-1.4.60 → Files.com-1.4.62}/README.md +0 -0
  15. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/api.py +0 -0
  16. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/api_client.py +0 -0
  17. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/error.py +0 -0
  18. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/list_obj.py +0 -0
  19. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/__init__.py +0 -0
  20. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/account_line_item.py +0 -0
  21. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/action.py +0 -0
  22. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/action_notification_export.py +0 -0
  23. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/action_notification_export_result.py +0 -0
  24. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/action_webhook_failure.py +0 -0
  25. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/api_key.py +0 -0
  26. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/api_request_log.py +0 -0
  27. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/app.py +0 -0
  28. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/as2_incoming_message.py +0 -0
  29. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/as2_outgoing_message.py +0 -0
  30. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/as2_partner.py +0 -0
  31. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/as2_station.py +0 -0
  32. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/auto.py +0 -0
  33. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/automation.py +0 -0
  34. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/automation_run.py +0 -0
  35. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bandwidth_snapshot.py +0 -0
  36. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/behavior.py +0 -0
  37. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle.py +0 -0
  38. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_action.py +0 -0
  39. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_download.py +0 -0
  40. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_notification.py +0 -0
  41. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_path.py +0 -0
  42. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_recipient.py +0 -0
  43. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/bundle_registration.py +0 -0
  44. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/clickwrap.py +0 -0
  45. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/dns_record.py +0 -0
  46. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/email_incoming_message.py +0 -0
  47. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/email_log.py +0 -0
  48. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/errors.py +0 -0
  49. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/exavault_api_request_log.py +0 -0
  50. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/external_event.py +0 -0
  51. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file.py +0 -0
  52. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_action.py +0 -0
  53. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_comment.py +0 -0
  54. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_comment_reaction.py +0 -0
  55. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_migration.py +0 -0
  56. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_migration_log.py +0 -0
  57. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/file_upload_part.py +0 -0
  58. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/folder.py +0 -0
  59. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/form_field.py +0 -0
  60. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/form_field_set.py +0 -0
  61. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/gpg_key.py +0 -0
  62. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/group.py +0 -0
  63. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/group_user.py +0 -0
  64. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/history.py +0 -0
  65. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/history_export.py +0 -0
  66. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/history_export_result.py +0 -0
  67. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/image.py +0 -0
  68. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/inbox_recipient.py +0 -0
  69. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/inbox_registration.py +0 -0
  70. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/inbox_upload.py +0 -0
  71. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/invoice.py +0 -0
  72. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/invoice_line_item.py +0 -0
  73. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/ip_address.py +0 -0
  74. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/lock.py +0 -0
  75. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/message.py +0 -0
  76. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/message_comment.py +0 -0
  77. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/message_comment_reaction.py +0 -0
  78. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/message_reaction.py +0 -0
  79. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/notification.py +0 -0
  80. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/payment.py +0 -0
  81. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/payment_line_item.py +0 -0
  82. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/permission.py +0 -0
  83. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/preview.py +0 -0
  84. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/priority.py +0 -0
  85. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/project.py +0 -0
  86. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/public_ip_address.py +0 -0
  87. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/public_key.py +0 -0
  88. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  89. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/remote_server_configuration_file.py +0 -0
  90. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/request.py +0 -0
  91. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/session.py +0 -0
  92. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/settings_change.py +0 -0
  93. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/sftp_action_log.py +0 -0
  94. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/sftp_host_key.py +0 -0
  95. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/share_group.py +0 -0
  96. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/share_group_member.py +0 -0
  97. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/site.py +0 -0
  98. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/snapshot.py +0 -0
  99. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/sso_strategy.py +0 -0
  100. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/status.py +0 -0
  101. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/style.py +0 -0
  102. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/usage_daily_snapshot.py +0 -0
  103. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/usage_snapshot.py +0 -0
  104. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/user_cipher_use.py +0 -0
  105. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/user_request.py +0 -0
  106. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/models/webhook_test.py +0 -0
  107. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/path_util.py +0 -0
  108. {Files.com-1.4.60 → Files.com-1.4.62}/files_sdk/util.py +0 -0
  109. {Files.com-1.4.60 → Files.com-1.4.62}/pyproject.toml +0 -0
  110. {Files.com-1.4.60 → Files.com-1.4.62}/setup.cfg +0 -0
  111. {Files.com-1.4.60 → Files.com-1.4.62}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: Files.com
3
- Version: 1.4.60
3
+ Version: 1.4.62
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.60
3
+ Version: 1.4.62
4
4
  Summary: Python bindings for the Files.com API
5
5
  Home-page: UNKNOWN
6
6
  License: MIT
@@ -195,7 +195,7 @@ the_api_key = ""
195
195
  session_id = None
196
196
  base_url = "https://app.files.com"
197
197
  base_path = "api/rest/v1"
198
- version = "1.4.60"
198
+ version = "1.4.62"
199
199
 
200
200
  __version__ = version
201
201
 
@@ -0,0 +1,77 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.list_obj import ListObj
4
+ from files_sdk.error import ( # noqa: F401
5
+ InvalidParameterError,
6
+ MissingParameterError,
7
+ NotImplementedError,
8
+ )
9
+
10
+
11
+ class AutomationLog:
12
+ default_attributes = {
13
+ "timestamp": None, # date-time - Start Time of Action
14
+ "automation_id": None, # int64 - Automation ID
15
+ "automation_run_id": None, # int64 - Automation Run ID
16
+ "dest_path": None, # string - Destination path, for moves and copies
17
+ "error_type": None, # string - Error type, if applicable
18
+ "message": None, # string - Message
19
+ "operation": None, # string - Operation type
20
+ "path": None, # string - File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
21
+ "status": None, # string - Status
22
+ }
23
+
24
+ def __init__(self, attributes=None, options=None):
25
+ if not isinstance(attributes, dict):
26
+ attributes = {}
27
+ if not isinstance(options, dict):
28
+ options = {}
29
+ self.set_attributes(attributes)
30
+ self.options = options
31
+
32
+ def set_attributes(self, attributes):
33
+ for (
34
+ attribute,
35
+ default_value,
36
+ ) in AutomationLog.default_attributes.items():
37
+ setattr(self, attribute, attributes.get(attribute, default_value))
38
+
39
+ def get_attributes(self):
40
+ return {
41
+ k: getattr(self, k, None)
42
+ for k in AutomationLog.default_attributes
43
+ if getattr(self, k, None) is not None
44
+ }
45
+
46
+
47
+ # Parameters:
48
+ # 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.
49
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `automation_id`, `automation_run_id`, `operation`, `path` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ operation, path ]`, `[ operation, status ]`, `[ path, status ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, path, status ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, path, status ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, path, status ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, path, status ]`, `[ operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, path, status ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, operation, path, status ]`, `[ automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]` or `[ end_date, automation_id, automation_run_id, operation, path, status ]`.
51
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `path` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ operation, path ]`, `[ operation, status ]`, `[ path, status ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, path, status ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, path, status ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, path, status ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, path, status ]`, `[ operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, path, status ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, operation, path, status ]`, `[ automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]` or `[ end_date, automation_id, automation_run_id, operation, path, status ]`.
52
+ def list(params=None, options=None):
53
+ if not isinstance(params, dict):
54
+ params = {}
55
+ if not isinstance(options, dict):
56
+ options = {}
57
+ if "cursor" in params and not isinstance(params["cursor"], str):
58
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
59
+ if "per_page" in params and not isinstance(params["per_page"], int):
60
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
61
+ if "filter" in params and not isinstance(params["filter"], dict):
62
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
63
+ if "filter_prefix" in params and not isinstance(
64
+ params["filter_prefix"], dict
65
+ ):
66
+ raise InvalidParameterError(
67
+ "Bad parameter: filter_prefix must be an dict"
68
+ )
69
+ return ListObj(AutomationLog, "GET", "/automation_logs", params, options)
70
+
71
+
72
+ def all(params=None, options=None):
73
+ list(params, options)
74
+
75
+
76
+ def new(*args, **kwargs):
77
+ return AutomationLog(*args, **kwargs)
@@ -46,11 +46,9 @@ class RemoteServer:
46
46
  "auth_account_name": None, # string - Describes the authorized account
47
47
  "one_drive_account_type": None, # string - Either personal or business_other account types
48
48
  "azure_blob_storage_account": None, # string - Azure Blob Storage Account name
49
- "azure_blob_storage_sas_token": None, # string - Shared Access Signature (SAS) token
50
49
  "azure_blob_storage_container": None, # string - Azure Blob Storage Container name
51
50
  "azure_blob_storage_hierarchical_namespace": None, # boolean - Enable when storage account has hierarchical namespace feature enabled
52
51
  "azure_files_storage_account": None, # string - Azure File Storage Account name
53
- "azure_files_storage_sas_token": None, # string - Shared Access Signature (SAS) token
54
52
  "azure_files_storage_share_name": None, # string - Azure File Storage Share name
55
53
  "s3_compatible_bucket": None, # string - S3-compatible Bucket name
56
54
  "s3_compatible_endpoint": None, # string - S3-compatible endpoint
@@ -83,6 +81,7 @@ class RemoteServer:
83
81
  "reset_authentication": None, # boolean - Reset authenticated account
84
82
  "azure_blob_storage_access_key": None, # string - Azure Blob Storage secret key.
85
83
  "azure_files_storage_access_key": None, # string - Azure File Storage access key.
84
+ "azure_blob_storage_sas_token": None, # string - Shared Access Signature (SAS) token
86
85
  "s3_compatible_secret_key": None, # string - S3-compatible secret key
87
86
  "filebase_secret_key": None, # string - Filebase secret key
88
87
  "cloudflare_secret_key": None, # string - Cloudflare secret key
@@ -237,7 +236,6 @@ class RemoteServer:
237
236
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
238
237
  # azure_files_storage_account - string - Azure File Storage Account name
239
238
  # azure_files_storage_share_name - string - Azure File Storage Share name
240
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
241
239
  # s3_compatible_bucket - string - S3-compatible Bucket name
242
240
  # s3_compatible_endpoint - string - S3-compatible endpoint
243
241
  # s3_compatible_region - string - S3-compatible endpoint
@@ -492,12 +490,6 @@ class RemoteServer:
492
490
  raise InvalidParameterError(
493
491
  "Bad parameter: azure_files_storage_share_name must be an str"
494
492
  )
495
- if "azure_files_storage_sas_token" in params and not isinstance(
496
- params["azure_files_storage_sas_token"], str
497
- ):
498
- raise InvalidParameterError(
499
- "Bad parameter: azure_files_storage_sas_token must be an str"
500
- )
501
493
  if "s3_compatible_bucket" in params and not isinstance(
502
494
  params["s3_compatible_bucket"], str
503
495
  ):
@@ -759,7 +751,6 @@ def find_configuration_file(id, params=None, options=None):
759
751
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
760
752
  # azure_files_storage_account - string - Azure File Storage Account name
761
753
  # azure_files_storage_share_name - string - Azure File Storage Share name
762
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
763
754
  # s3_compatible_bucket - string - S3-compatible Bucket name
764
755
  # s3_compatible_endpoint - string - S3-compatible endpoint
765
756
  # s3_compatible_region - string - S3-compatible endpoint
@@ -990,12 +981,6 @@ def create(params=None, options=None):
990
981
  raise InvalidParameterError(
991
982
  "Bad parameter: azure_files_storage_share_name must be an str"
992
983
  )
993
- if "azure_files_storage_sas_token" in params and not isinstance(
994
- params["azure_files_storage_sas_token"], str
995
- ):
996
- raise InvalidParameterError(
997
- "Bad parameter: azure_files_storage_sas_token must be an str"
998
- )
999
984
  if "s3_compatible_bucket" in params and not isinstance(
1000
985
  params["s3_compatible_bucket"], str
1001
986
  ):
@@ -1229,7 +1214,6 @@ def configuration_file(id, params=None, options=None):
1229
1214
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
1230
1215
  # azure_files_storage_account - string - Azure File Storage Account name
1231
1216
  # azure_files_storage_share_name - string - Azure File Storage Share name
1232
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
1233
1217
  # s3_compatible_bucket - string - S3-compatible Bucket name
1234
1218
  # s3_compatible_endpoint - string - S3-compatible endpoint
1235
1219
  # s3_compatible_region - string - S3-compatible endpoint
@@ -1463,12 +1447,6 @@ def update(id, params=None, options=None):
1463
1447
  raise InvalidParameterError(
1464
1448
  "Bad parameter: azure_files_storage_share_name must be an str"
1465
1449
  )
1466
- if "azure_files_storage_sas_token" in params and not isinstance(
1467
- params["azure_files_storage_sas_token"], str
1468
- ):
1469
- raise InvalidParameterError(
1470
- "Bad parameter: azure_files_storage_sas_token must be an str"
1471
- )
1472
1450
  if "s3_compatible_bucket" in params and not isinstance(
1473
1451
  params["s3_compatible_bucket"], str
1474
1452
  ):
@@ -0,0 +1,75 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.list_obj import ListObj
4
+ from files_sdk.error import ( # noqa: F401
5
+ InvalidParameterError,
6
+ MissingParameterError,
7
+ NotImplementedError,
8
+ )
9
+
10
+
11
+ class SyncLog:
12
+ default_attributes = {
13
+ "timestamp": None, # date-time - Start Time of Action
14
+ "sync_id": None, # int64 - Sync ID
15
+ "external_event_id": None, # int64 - External Event ID
16
+ "error_type": None, # string - Error type, if applicable
17
+ "message": None, # string - Message
18
+ "operation": None, # string - Operation type
19
+ "path": None, # string - File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
20
+ "size": None, # string - File size
21
+ "file_type": None, # string - File type
22
+ "status": None, # string - Status
23
+ }
24
+
25
+ def __init__(self, attributes=None, options=None):
26
+ if not isinstance(attributes, dict):
27
+ attributes = {}
28
+ if not isinstance(options, dict):
29
+ options = {}
30
+ self.set_attributes(attributes)
31
+ self.options = options
32
+
33
+ def set_attributes(self, attributes):
34
+ for attribute, default_value in SyncLog.default_attributes.items():
35
+ setattr(self, attribute, attributes.get(attribute, default_value))
36
+
37
+ def get_attributes(self):
38
+ return {
39
+ k: getattr(self, k, None)
40
+ for k in SyncLog.default_attributes
41
+ if getattr(self, k, None) is not None
42
+ }
43
+
44
+
45
+ # Parameters:
46
+ # 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.
47
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
48
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `external_event_id`, `operation`, `status` or `sync_id`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ status, sync_id ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, status, sync_id ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, status, sync_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, status, sync_id ]`, `[ operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, operation, status, sync_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, sync_id ]` or `[ end_date, external_event_id, operation, status, sync_id ]`.
49
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation` and `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ status, sync_id ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, status, sync_id ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, status, sync_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, status, sync_id ]`, `[ operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, operation, status, sync_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, sync_id ]` or `[ end_date, external_event_id, operation, status, sync_id ]`.
50
+ def list(params=None, options=None):
51
+ if not isinstance(params, dict):
52
+ params = {}
53
+ if not isinstance(options, dict):
54
+ options = {}
55
+ if "cursor" in params and not isinstance(params["cursor"], str):
56
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
57
+ if "per_page" in params and not isinstance(params["per_page"], int):
58
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
59
+ if "filter" in params and not isinstance(params["filter"], dict):
60
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
61
+ if "filter_prefix" in params and not isinstance(
62
+ params["filter_prefix"], dict
63
+ ):
64
+ raise InvalidParameterError(
65
+ "Bad parameter: filter_prefix must be an dict"
66
+ )
67
+ return ListObj(SyncLog, "GET", "/sync_logs", params, options)
68
+
69
+
70
+ def all(params=None, options=None):
71
+ list(params, options)
72
+
73
+
74
+ def new(*args, **kwargs):
75
+ return SyncLog(*args, **kwargs)
@@ -24,7 +24,8 @@ class User:
24
24
  "bypass_inactive_disable": None, # boolean - Exempt this user from being disabled based on inactivity?
25
25
  "created_at": None, # date-time - When this user was created
26
26
  "dav_permission": None, # boolean - Can the user connect with WebDAV?
27
- "disabled": None, # boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
27
+ "disabled": None, # boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
28
+ "disabled_expired_or_inactive": None, # boolean - Computed property that returns true if user disabled or expired or inactive.
28
29
  "email": None, # email - User email address
29
30
  "first_login_at": None, # date-time - User's first login time
30
31
  "ftp_permission": None, # boolean - Can the user access with FTP/FTPS?
@@ -183,7 +184,7 @@ class User:
183
184
  # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
184
185
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
185
186
  # dav_permission - boolean - Can the user connect with WebDAV?
186
- # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
187
+ # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
187
188
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
188
189
  # header_text - string - Text to display to the user in the header of the UI
189
190
  # language - string - Preferred language
@@ -486,7 +487,7 @@ def get(id, params=None, options=None):
486
487
  # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
487
488
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
488
489
  # dav_permission - boolean - Can the user connect with WebDAV?
489
- # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
490
+ # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
490
491
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
491
492
  # header_text - string - Text to display to the user in the header of the UI
492
493
  # language - string - Preferred language
@@ -703,7 +704,7 @@ def user_2fa_reset(id, params=None, options=None):
703
704
  # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
704
705
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
705
706
  # dav_permission - boolean - Can the user connect with WebDAV?
706
- # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
707
+ # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
707
708
  # ftp_permission - boolean - Can the user access with FTP/FTPS?
708
709
  # header_text - string - Text to display to the user in the header of the UI
709
710
  # language - string - Preferred language
@@ -1,77 +0,0 @@
1
- import builtins # noqa: F401
2
- from files_sdk.api import Api # noqa: F401
3
- from files_sdk.list_obj import ListObj
4
- from files_sdk.error import ( # noqa: F401
5
- InvalidParameterError,
6
- MissingParameterError,
7
- NotImplementedError,
8
- )
9
-
10
-
11
- class AutomationLog:
12
- default_attributes = {
13
- "timestamp": None, # date-time - Start Time of Action
14
- "automation_id": None, # int64 - Automation ID
15
- "automation_run_id": None, # int64 - Automation Run ID
16
- "dest_path": None, # string - Destination path, for moves and copies
17
- "error_type": None, # string - Error type, if applicable
18
- "message": None, # string - Message
19
- "operation": None, # string - Operation type
20
- "path": None, # string - File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
21
- "status": None, # string - Status
22
- }
23
-
24
- def __init__(self, attributes=None, options=None):
25
- if not isinstance(attributes, dict):
26
- attributes = {}
27
- if not isinstance(options, dict):
28
- options = {}
29
- self.set_attributes(attributes)
30
- self.options = options
31
-
32
- def set_attributes(self, attributes):
33
- for (
34
- attribute,
35
- default_value,
36
- ) in AutomationLog.default_attributes.items():
37
- setattr(self, attribute, attributes.get(attribute, default_value))
38
-
39
- def get_attributes(self):
40
- return {
41
- k: getattr(self, k, None)
42
- for k in AutomationLog.default_attributes
43
- if getattr(self, k, None) is not None
44
- }
45
-
46
-
47
- # Parameters:
48
- # 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.
49
- # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `automation_id`, `automation_run_id`, `operation`, `path`, `status` or `type`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ start_date, type ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ end_date, type ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, type ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, type ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, type ]`, `[ path, status ]`, `[ path, type ]`, `[ status, type ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, type ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_id, type ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, automation_run_id, type ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, operation, type ]`, `[ start_date, path, status ]`, `[ start_date, path, type ]`, `[ start_date, status, type ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_id, type ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, automation_run_id, type ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, operation, type ]`, `[ end_date, path, status ]`, `[ end_date, path, type ]`, `[ end_date, status, type ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, type ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, type ]`, `[ automation_id, path, status ]`, `[ automation_id, path, type ]`, `[ automation_id, status, type ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, type ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, type ]`, `[ automation_run_id, status, type ]`, `[ operation, path, status ]`, `[ operation, path, type ]`, `[ operation, status, type ]`, `[ path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_id, type ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, automation_run_id, type ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, path, status ]`, `[ start_date, end_date, path, type ]`, `[ start_date, end_date, status, type ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, automation_run_id, type ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, operation, type ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_id, path, type ]`, `[ start_date, automation_id, status, type ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, operation, type ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, automation_run_id, path, type ]`, `[ start_date, automation_run_id, status, type ]`, `[ start_date, operation, path, status ]`, `[ start_date, operation, path, type ]`, `[ start_date, operation, status, type ]`, `[ start_date, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, automation_run_id, type ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, operation, type ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_id, path, type ]`, `[ end_date, automation_id, status, type ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, operation, type ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, automation_run_id, path, type ]`, `[ end_date, automation_run_id, status, type ]`, `[ end_date, operation, path, status ]`, `[ end_date, operation, path, type ]`, `[ end_date, operation, status, type ]`, `[ end_date, path, status, type ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, type ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, type ]`, `[ automation_id, automation_run_id, status, type ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, type ]`, `[ automation_id, operation, status, type ]`, `[ automation_id, path, status, type ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, type ]`, `[ automation_run_id, operation, status, type ]`, `[ automation_run_id, path, status, type ]`, `[ operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, automation_run_id, type ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, operation, type ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_id, path, type ]`, `[ start_date, end_date, automation_id, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, operation, type ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, automation_run_id, path, type ]`, `[ start_date, end_date, automation_run_id, status, type ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, end_date, operation, path, type ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, operation, type ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, automation_run_id, path, type ]`, `[ start_date, automation_id, automation_run_id, status, type ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_id, operation, path, type ]`, `[ start_date, automation_id, operation, status, type ]`, `[ start_date, automation_id, path, status, type ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, type ]`, `[ start_date, automation_run_id, operation, status, type ]`, `[ start_date, automation_run_id, path, status, type ]`, `[ start_date, operation, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, operation, type ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, automation_run_id, path, type ]`, `[ end_date, automation_id, automation_run_id, status, type ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_id, operation, path, type ]`, `[ end_date, automation_id, operation, status, type ]`, `[ end_date, automation_id, path, status, type ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, type ]`, `[ end_date, automation_run_id, operation, status, type ]`, `[ end_date, automation_run_id, path, status, type ]`, `[ end_date, operation, path, status, type ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, type ]`, `[ automation_id, automation_run_id, operation, status, type ]`, `[ automation_id, automation_run_id, path, status, type ]`, `[ automation_id, operation, path, status, type ]`, `[ automation_run_id, operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, type ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, type ]`, `[ start_date, end_date, automation_id, automation_run_id, status, type ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_id, operation, path, type ]`, `[ start_date, end_date, automation_id, operation, status, type ]`, `[ start_date, end_date, automation_id, path, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, type ]`, `[ start_date, end_date, automation_run_id, operation, status, type ]`, `[ start_date, end_date, automation_run_id, path, status, type ]`, `[ start_date, end_date, operation, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, type ]`, `[ start_date, automation_id, automation_run_id, operation, status, type ]`, `[ start_date, automation_id, automation_run_id, path, status, type ]`, `[ start_date, automation_id, operation, path, status, type ]`, `[ start_date, automation_run_id, operation, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path, type ]`, `[ end_date, automation_id, automation_run_id, operation, status, type ]`, `[ end_date, automation_id, automation_run_id, path, status, type ]`, `[ end_date, automation_id, operation, path, status, type ]`, `[ end_date, automation_run_id, operation, path, status, type ]`, `[ automation_id, automation_run_id, operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status, type ]`, `[ start_date, end_date, automation_id, operation, path, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path, status, type ]` or `[ end_date, automation_id, automation_run_id, operation, path, status, type ]`.
51
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `path` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ start_date, type ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ end_date, type ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, type ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, type ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, type ]`, `[ path, status ]`, `[ path, type ]`, `[ status, type ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, type ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_id, type ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, automation_run_id, type ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, operation, type ]`, `[ start_date, path, status ]`, `[ start_date, path, type ]`, `[ start_date, status, type ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_id, type ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, automation_run_id, type ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, operation, type ]`, `[ end_date, path, status ]`, `[ end_date, path, type ]`, `[ end_date, status, type ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, type ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, type ]`, `[ automation_id, path, status ]`, `[ automation_id, path, type ]`, `[ automation_id, status, type ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, type ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, type ]`, `[ automation_run_id, status, type ]`, `[ operation, path, status ]`, `[ operation, path, type ]`, `[ operation, status, type ]`, `[ path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_id, type ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, automation_run_id, type ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, path, status ]`, `[ start_date, end_date, path, type ]`, `[ start_date, end_date, status, type ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, automation_run_id, type ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, operation, type ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_id, path, type ]`, `[ start_date, automation_id, status, type ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, operation, type ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, automation_run_id, path, type ]`, `[ start_date, automation_run_id, status, type ]`, `[ start_date, operation, path, status ]`, `[ start_date, operation, path, type ]`, `[ start_date, operation, status, type ]`, `[ start_date, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, automation_run_id, type ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, operation, type ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_id, path, type ]`, `[ end_date, automation_id, status, type ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, operation, type ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, automation_run_id, path, type ]`, `[ end_date, automation_run_id, status, type ]`, `[ end_date, operation, path, status ]`, `[ end_date, operation, path, type ]`, `[ end_date, operation, status, type ]`, `[ end_date, path, status, type ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, type ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, type ]`, `[ automation_id, automation_run_id, status, type ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, type ]`, `[ automation_id, operation, status, type ]`, `[ automation_id, path, status, type ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, type ]`, `[ automation_run_id, operation, status, type ]`, `[ automation_run_id, path, status, type ]`, `[ operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, automation_run_id, type ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, operation, type ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_id, path, type ]`, `[ start_date, end_date, automation_id, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, operation, type ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, automation_run_id, path, type ]`, `[ start_date, end_date, automation_run_id, status, type ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, end_date, operation, path, type ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, operation, type ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, automation_run_id, path, type ]`, `[ start_date, automation_id, automation_run_id, status, type ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_id, operation, path, type ]`, `[ start_date, automation_id, operation, status, type ]`, `[ start_date, automation_id, path, status, type ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, type ]`, `[ start_date, automation_run_id, operation, status, type ]`, `[ start_date, automation_run_id, path, status, type ]`, `[ start_date, operation, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, operation, type ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, automation_run_id, path, type ]`, `[ end_date, automation_id, automation_run_id, status, type ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_id, operation, path, type ]`, `[ end_date, automation_id, operation, status, type ]`, `[ end_date, automation_id, path, status, type ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, type ]`, `[ end_date, automation_run_id, operation, status, type ]`, `[ end_date, automation_run_id, path, status, type ]`, `[ end_date, operation, path, status, type ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, type ]`, `[ automation_id, automation_run_id, operation, status, type ]`, `[ automation_id, automation_run_id, path, status, type ]`, `[ automation_id, operation, path, status, type ]`, `[ automation_run_id, operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, type ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, type ]`, `[ start_date, end_date, automation_id, automation_run_id, status, type ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_id, operation, path, type ]`, `[ start_date, end_date, automation_id, operation, status, type ]`, `[ start_date, end_date, automation_id, path, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, type ]`, `[ start_date, end_date, automation_run_id, operation, status, type ]`, `[ start_date, end_date, automation_run_id, path, status, type ]`, `[ start_date, end_date, operation, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, type ]`, `[ start_date, automation_id, automation_run_id, operation, status, type ]`, `[ start_date, automation_id, automation_run_id, path, status, type ]`, `[ start_date, automation_id, operation, path, status, type ]`, `[ start_date, automation_run_id, operation, path, status, type ]`, `[ end_date, automation_id, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path, type ]`, `[ end_date, automation_id, automation_run_id, operation, status, type ]`, `[ end_date, automation_id, automation_run_id, path, status, type ]`, `[ end_date, automation_id, operation, path, status, type ]`, `[ end_date, automation_run_id, operation, path, status, type ]`, `[ automation_id, automation_run_id, operation, path, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path, type ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status, type ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status, type ]`, `[ start_date, end_date, automation_id, operation, path, status, type ]`, `[ start_date, end_date, automation_run_id, operation, path, status, type ]`, `[ start_date, automation_id, automation_run_id, operation, path, status, type ]` or `[ end_date, automation_id, automation_run_id, operation, path, status, type ]`.
52
- def list(params=None, options=None):
53
- if not isinstance(params, dict):
54
- params = {}
55
- if not isinstance(options, dict):
56
- options = {}
57
- if "cursor" in params and not isinstance(params["cursor"], str):
58
- raise InvalidParameterError("Bad parameter: cursor must be an str")
59
- if "per_page" in params and not isinstance(params["per_page"], int):
60
- raise InvalidParameterError("Bad parameter: per_page must be an int")
61
- if "filter" in params and not isinstance(params["filter"], dict):
62
- raise InvalidParameterError("Bad parameter: filter must be an dict")
63
- if "filter_prefix" in params and not isinstance(
64
- params["filter_prefix"], dict
65
- ):
66
- raise InvalidParameterError(
67
- "Bad parameter: filter_prefix must be an dict"
68
- )
69
- return ListObj(AutomationLog, "GET", "/automation_logs", params, options)
70
-
71
-
72
- def all(params=None, options=None):
73
- list(params, options)
74
-
75
-
76
- def new(*args, **kwargs):
77
- return AutomationLog(*args, **kwargs)
@@ -1,73 +0,0 @@
1
- import builtins # noqa: F401
2
- from files_sdk.api import Api # noqa: F401
3
- from files_sdk.list_obj import ListObj
4
- from files_sdk.error import ( # noqa: F401
5
- InvalidParameterError,
6
- MissingParameterError,
7
- NotImplementedError,
8
- )
9
-
10
-
11
- class SyncLog:
12
- default_attributes = {
13
- "timestamp": None, # date-time - Start Time of Action
14
- "sync_id": None, # int64 - Sync ID
15
- "external_event_id": None, # int64 - External Event ID
16
- "error_type": None, # string - Error type, if applicable
17
- "message": None, # string - Message
18
- "operation": None, # string - Operation type
19
- "path": None, # string - File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
20
- "status": None, # string - Status
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 attribute, default_value in SyncLog.default_attributes.items():
33
- setattr(self, attribute, attributes.get(attribute, default_value))
34
-
35
- def get_attributes(self):
36
- return {
37
- k: getattr(self, k, None)
38
- for k in SyncLog.default_attributes
39
- if getattr(self, k, None) is not None
40
- }
41
-
42
-
43
- # Parameters:
44
- # 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.
45
- # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `external_event_id`, `operation`, `status`, `sync_id` or `type`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ start_date, type ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ end_date, type ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, type ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, type ]`, `[ status, sync_id ]`, `[ status, type ]`, `[ sync_id, type ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, end_date, type ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, external_event_id, type ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, operation, type ]`, `[ start_date, status, sync_id ]`, `[ start_date, status, type ]`, `[ start_date, sync_id, type ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, external_event_id, type ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, operation, type ]`, `[ end_date, status, sync_id ]`, `[ end_date, status, type ]`, `[ end_date, sync_id, type ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, type ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, type ]`, `[ external_event_id, sync_id, type ]`, `[ operation, status, sync_id ]`, `[ operation, status, type ]`, `[ operation, sync_id, type ]`, `[ status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, external_event_id, type ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, end_date, status, type ]`, `[ start_date, end_date, sync_id, type ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, operation, type ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, external_event_id, status, type ]`, `[ start_date, external_event_id, sync_id, type ]`, `[ start_date, operation, status, sync_id ]`, `[ start_date, operation, status, type ]`, `[ start_date, operation, sync_id, type ]`, `[ start_date, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, operation, type ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, external_event_id, status, type ]`, `[ end_date, external_event_id, sync_id, type ]`, `[ end_date, operation, status, sync_id ]`, `[ end_date, operation, status, type ]`, `[ end_date, operation, sync_id, type ]`, `[ end_date, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, type ]`, `[ external_event_id, operation, sync_id, type ]`, `[ external_event_id, status, sync_id, type ]`, `[ operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, operation, type ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, external_event_id, status, type ]`, `[ start_date, end_date, external_event_id, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, operation, sync_id, type ]`, `[ start_date, end_date, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, type ]`, `[ start_date, external_event_id, operation, sync_id, type ]`, `[ start_date, external_event_id, status, sync_id, type ]`, `[ start_date, operation, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status, type ]`, `[ end_date, external_event_id, operation, sync_id, type ]`, `[ end_date, external_event_id, status, sync_id, type ]`, `[ end_date, operation, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status, type ]`, `[ start_date, end_date, external_event_id, operation, sync_id, type ]`, `[ start_date, end_date, external_event_id, status, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id, type ]` or `[ end_date, external_event_id, operation, status, sync_id, type ]`.
47
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation` and `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ start_date, type ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ end_date, type ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, type ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, type ]`, `[ status, sync_id ]`, `[ status, type ]`, `[ sync_id, type ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, end_date, type ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, external_event_id, type ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, operation, type ]`, `[ start_date, status, sync_id ]`, `[ start_date, status, type ]`, `[ start_date, sync_id, type ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, external_event_id, type ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, operation, type ]`, `[ end_date, status, sync_id ]`, `[ end_date, status, type ]`, `[ end_date, sync_id, type ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, type ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, type ]`, `[ external_event_id, sync_id, type ]`, `[ operation, status, sync_id ]`, `[ operation, status, type ]`, `[ operation, sync_id, type ]`, `[ status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, external_event_id, type ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, end_date, status, type ]`, `[ start_date, end_date, sync_id, type ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, operation, type ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, external_event_id, status, type ]`, `[ start_date, external_event_id, sync_id, type ]`, `[ start_date, operation, status, sync_id ]`, `[ start_date, operation, status, type ]`, `[ start_date, operation, sync_id, type ]`, `[ start_date, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, operation, type ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, external_event_id, status, type ]`, `[ end_date, external_event_id, sync_id, type ]`, `[ end_date, operation, status, sync_id ]`, `[ end_date, operation, status, type ]`, `[ end_date, operation, sync_id, type ]`, `[ end_date, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, type ]`, `[ external_event_id, operation, sync_id, type ]`, `[ external_event_id, status, sync_id, type ]`, `[ operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, operation, type ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, external_event_id, status, type ]`, `[ start_date, end_date, external_event_id, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, operation, sync_id, type ]`, `[ start_date, end_date, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, type ]`, `[ start_date, external_event_id, operation, sync_id, type ]`, `[ start_date, external_event_id, status, sync_id, type ]`, `[ start_date, operation, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status, type ]`, `[ end_date, external_event_id, operation, sync_id, type ]`, `[ end_date, external_event_id, status, sync_id, type ]`, `[ end_date, operation, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status, type ]`, `[ start_date, end_date, external_event_id, operation, sync_id, type ]`, `[ start_date, end_date, external_event_id, status, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id, type ]` or `[ end_date, external_event_id, operation, status, sync_id, type ]`.
48
- def list(params=None, options=None):
49
- if not isinstance(params, dict):
50
- params = {}
51
- if not isinstance(options, dict):
52
- options = {}
53
- if "cursor" in params and not isinstance(params["cursor"], str):
54
- raise InvalidParameterError("Bad parameter: cursor must be an str")
55
- if "per_page" in params and not isinstance(params["per_page"], int):
56
- raise InvalidParameterError("Bad parameter: per_page must be an int")
57
- if "filter" in params and not isinstance(params["filter"], dict):
58
- raise InvalidParameterError("Bad parameter: filter must be an dict")
59
- if "filter_prefix" in params and not isinstance(
60
- params["filter_prefix"], dict
61
- ):
62
- raise InvalidParameterError(
63
- "Bad parameter: filter_prefix must be an dict"
64
- )
65
- return ListObj(SyncLog, "GET", "/sync_logs", params, options)
66
-
67
-
68
- def all(params=None, options=None):
69
- list(params, options)
70
-
71
-
72
- def new(*args, **kwargs):
73
- return SyncLog(*args, **kwargs)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes