Files.com 1.4.55__tar.gz → 1.4.57__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.com-1.4.55 → Files.com-1.4.57}/Files.com.egg-info/PKG-INFO +1 -1
- {Files.com-1.4.55 → Files.com-1.4.57}/PKG-INFO +1 -1
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/__init__.py +1 -1
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/automation.py +4 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/behavior.py +11 -3
- {Files.com-1.4.55 → Files.com-1.4.57}/Files.com.egg-info/SOURCES.txt +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/Files.com.egg-info/dependency_links.txt +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/Files.com.egg-info/requires.txt +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/Files.com.egg-info/top_level.txt +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/README.md +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/api.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/api_client.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/error.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/list_obj.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/__init__.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/account_line_item.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/action.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/action_notification_export.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/action_notification_export_result.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/action_webhook_failure.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/api_key.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/api_request_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/app.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/as2_incoming_message.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/as2_outgoing_message.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/as2_partner.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/as2_station.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/auto.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/automation_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/automation_run.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_action.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_download.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_notification.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_path.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_recipient.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/bundle_registration.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/clickwrap.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/dns_record.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/email_incoming_message.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/email_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/errors.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/exavault_api_request_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/external_event.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_action.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_comment.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_comment_reaction.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_migration.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_migration_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/file_upload_part.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/folder.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/form_field.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/form_field_set.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/gpg_key.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/group.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/group_user.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/history.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/history_export.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/history_export_result.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/image.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/inbox_recipient.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/inbox_registration.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/inbox_upload.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/invoice.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/invoice_line_item.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/ip_address.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/lock.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/message.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/message_comment.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/message_comment_reaction.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/message_reaction.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/notification.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/payment.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/payment_line_item.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/permission.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/preview.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/priority.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/project.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/public_ip_address.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/public_key.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/remote_server.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/request.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/session.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/settings_change.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/sftp_action_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/sftp_host_key.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/share_group.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/share_group_member.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/site.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/snapshot.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/sso_strategy.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/status.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/style.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/sync_log.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/usage_snapshot.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/user.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/user_cipher_use.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/user_request.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/models/webhook_test.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/path_util.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/files_sdk/util.py +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/pyproject.toml +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/setup.cfg +0 -0
- {Files.com-1.4.55 → Files.com-1.4.57}/setup.py +0 -0
|
@@ -19,6 +19,7 @@ class Automation:
|
|
|
19
19
|
"destination_replace_to": None, # string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
20
20
|
"destinations": None, # array - Destination Paths
|
|
21
21
|
"disabled": None, # boolean - If true, this automation will not run.
|
|
22
|
+
"flatten_destination_structure": None, # boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
|
|
22
23
|
"group_ids": None, # array - IDs of Groups for the Automation (i.e. who to Request File from)
|
|
23
24
|
"ignore_locked_folders": None, # boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
|
|
24
25
|
"interval": None, # string - If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -100,6 +101,7 @@ class Automation:
|
|
|
100
101
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
|
|
101
102
|
# description - string - Description for the this Automation.
|
|
102
103
|
# disabled - boolean - If true, this automation will not run.
|
|
104
|
+
# flatten_destination_structure - boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
|
|
103
105
|
# ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
|
|
104
106
|
# name - string - Name for this automation.
|
|
105
107
|
# 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.
|
|
@@ -341,6 +343,7 @@ def get(id, params=None, options=None):
|
|
|
341
343
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
|
|
342
344
|
# description - string - Description for the this Automation.
|
|
343
345
|
# disabled - boolean - If true, this automation will not run.
|
|
346
|
+
# flatten_destination_structure - boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
|
|
344
347
|
# ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
|
|
345
348
|
# name - string - Name for this automation.
|
|
346
349
|
# 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.
|
|
@@ -481,6 +484,7 @@ def manual_run(id, params=None, options=None):
|
|
|
481
484
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
|
|
482
485
|
# description - string - Description for the this Automation.
|
|
483
486
|
# disabled - boolean - If true, this automation will not run.
|
|
487
|
+
# flatten_destination_structure - boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
|
|
484
488
|
# ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
|
|
485
489
|
# name - string - Name for this automation.
|
|
486
490
|
# 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.
|
|
@@ -18,6 +18,7 @@ class Behavior:
|
|
|
18
18
|
"description": None, # string - Description for this behavior.
|
|
19
19
|
"value": None, # object - Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
|
|
20
20
|
"disable_parent_folder_behavior": None, # boolean - If true, the parent folder's behavior will be disabled for this folder.
|
|
21
|
+
"recursive": None, # boolean - Is behavior recursive?
|
|
21
22
|
"attachment_file": None, # file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
22
23
|
"attachment_delete": None, # boolean - If true, will delete the file stored in attachment
|
|
23
24
|
}
|
|
@@ -45,6 +46,7 @@ class Behavior:
|
|
|
45
46
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
|
46
47
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
47
48
|
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
|
49
|
+
# recursive - boolean - Is behavior recursive?
|
|
48
50
|
# name - string - Name for this behavior.
|
|
49
51
|
# description - string - Description for this behavior.
|
|
50
52
|
# behavior - string - Behavior type.
|
|
@@ -180,7 +182,7 @@ def get(id, params=None, options=None):
|
|
|
180
182
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
|
181
183
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
|
182
184
|
# path (required) - string - Path to operate on.
|
|
183
|
-
#
|
|
185
|
+
# ancestor_behaviors - string - Show behaviors above this path?
|
|
184
186
|
# behavior - string - DEPRECATED: If set only shows folder behaviors matching this behavior type. Use `filter[behavior]` instead.
|
|
185
187
|
def list_for(path, params=None, options=None):
|
|
186
188
|
if not isinstance(params, dict):
|
|
@@ -204,8 +206,12 @@ def list_for(path, params=None, options=None):
|
|
|
204
206
|
)
|
|
205
207
|
if "path" in params and not isinstance(params["path"], str):
|
|
206
208
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
207
|
-
if "
|
|
208
|
-
|
|
209
|
+
if "ancestor_behaviors" in params and not isinstance(
|
|
210
|
+
params["ancestor_behaviors"], str
|
|
211
|
+
):
|
|
212
|
+
raise InvalidParameterError(
|
|
213
|
+
"Bad parameter: ancestor_behaviors must be an str"
|
|
214
|
+
)
|
|
209
215
|
if "behavior" in params and not isinstance(params["behavior"], str):
|
|
210
216
|
raise InvalidParameterError("Bad parameter: behavior must be an str")
|
|
211
217
|
if "path" not in params:
|
|
@@ -223,6 +229,7 @@ def list_for(path, params=None, options=None):
|
|
|
223
229
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
|
224
230
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
225
231
|
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
|
232
|
+
# recursive - boolean - Is behavior recursive?
|
|
226
233
|
# name - string - Name for this behavior.
|
|
227
234
|
# description - string - Description for this behavior.
|
|
228
235
|
# path (required) - string - Folder behaviors path.
|
|
@@ -285,6 +292,7 @@ def webhook_test(params=None, options=None):
|
|
|
285
292
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
|
286
293
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
287
294
|
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
|
295
|
+
# recursive - boolean - Is behavior recursive?
|
|
288
296
|
# name - string - Name for this behavior.
|
|
289
297
|
# description - string - Description for this behavior.
|
|
290
298
|
# behavior - string - Behavior type.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|