Files.com 1.4.18__tar.gz → 1.4.20__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.18 → Files.com-1.4.20}/Files.com.egg-info/PKG-INFO +1 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/PKG-INFO +1 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/__init__.py +1 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/account_line_item.py +0 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/automation.py +66 -8
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/behavior.py +3 -3
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/invoice.py +0 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/invoice_line_item.py +0 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/payment.py +0 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/site.py +7 -1
- {Files.com-1.4.18 → Files.com-1.4.20}/Files.com.egg-info/SOURCES.txt +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/Files.com.egg-info/dependency_links.txt +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/Files.com.egg-info/requires.txt +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/Files.com.egg-info/top_level.txt +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/README.md +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/api.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/api_client.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/error.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/list_obj.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/__init__.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/action.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/action_notification_export.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/action_notification_export_result.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/action_webhook_failure.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/api_key.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/app.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/as2_incoming_message.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/as2_outgoing_message.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/as2_partner.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/as2_station.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/auto.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/automation_run.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bundle.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bundle_download.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bundle_notification.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bundle_recipient.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/bundle_registration.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/clickwrap.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/dns_record.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/email_incoming_message.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/errors.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/external_event.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file_action.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file_comment.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file_comment_reaction.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file_migration.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/file_upload_part.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/folder.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/form_field.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/form_field_set.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/gpg_key.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/group.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/group_user.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/history.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/history_export.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/history_export_result.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/image.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/inbox_recipient.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/inbox_registration.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/inbox_upload.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/ip_address.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/lock.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/message.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/message_comment.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/message_comment_reaction.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/message_reaction.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/notification.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/payment_line_item.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/permission.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/preview.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/priority.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/project.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/public_ip_address.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/public_key.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/remote_server.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/request.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/session.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/settings_change.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/sftp_host_key.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/share_group.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/share_group_member.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/snapshot.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/sso_strategy.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/status.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/style.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/usage_snapshot.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/user.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/user_cipher_use.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/user_request.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/models/webhook_test.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/path_util.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/files_sdk/util.py +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/pyproject.toml +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/setup.cfg +0 -0
- {Files.com-1.4.18 → Files.com-1.4.20}/setup.py +0 -0
|
@@ -22,7 +22,6 @@ class AccountLineItem:
|
|
|
22
22
|
"payment_type": None, # string - Type of payment if applicable
|
|
23
23
|
"site_name": None, # string - Site name this line item is for
|
|
24
24
|
"type": None, # string - Type of line item, either payment or invoice
|
|
25
|
-
"updated_at": None, # date-time - Line item updated at
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
def __init__(self, attributes=None, options=None):
|
|
@@ -25,7 +25,9 @@ class Automation:
|
|
|
25
25
|
"name": None, # string - Name for this automation.
|
|
26
26
|
"path": None, # string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
27
27
|
"recurring_day": None, # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
28
|
-
"
|
|
28
|
+
"schedule_days_of_week": None, # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
|
29
|
+
"schedule_times_of_day": None, # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
|
30
|
+
"schedule_time_zone": None, # string - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
|
29
31
|
"source": None, # string - Source Path
|
|
30
32
|
"sync_ids": None, # array - IDs of remote sync folder behaviors to run by this Automation
|
|
31
33
|
"trigger_actions": None, # array - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -87,7 +89,9 @@ class Automation:
|
|
|
87
89
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
88
90
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
89
91
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
90
|
-
#
|
|
92
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
93
|
+
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
94
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
91
95
|
# 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.
|
|
92
96
|
# description - string - Description for the this Automation.
|
|
93
97
|
# disabled - boolean - If true, this automation will not run.
|
|
@@ -153,6 +157,24 @@ class Automation:
|
|
|
153
157
|
raise InvalidParameterError(
|
|
154
158
|
"Bad parameter: group_ids must be an str"
|
|
155
159
|
)
|
|
160
|
+
if "schedule_days_of_week" in params and not isinstance(
|
|
161
|
+
params["schedule_days_of_week"], builtins.list
|
|
162
|
+
):
|
|
163
|
+
raise InvalidParameterError(
|
|
164
|
+
"Bad parameter: schedule_days_of_week must be an list"
|
|
165
|
+
)
|
|
166
|
+
if "schedule_times_of_day" in params and not isinstance(
|
|
167
|
+
params["schedule_times_of_day"], builtins.list
|
|
168
|
+
):
|
|
169
|
+
raise InvalidParameterError(
|
|
170
|
+
"Bad parameter: schedule_times_of_day must be an list"
|
|
171
|
+
)
|
|
172
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
173
|
+
params["schedule_time_zone"], str
|
|
174
|
+
):
|
|
175
|
+
raise InvalidParameterError(
|
|
176
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
177
|
+
)
|
|
156
178
|
if "description" in params and not isinstance(
|
|
157
179
|
params["description"], str
|
|
158
180
|
):
|
|
@@ -299,7 +321,9 @@ def get(id, params=None, options=None):
|
|
|
299
321
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
300
322
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
301
323
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
302
|
-
#
|
|
324
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
325
|
+
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
326
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
303
327
|
# 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.
|
|
304
328
|
# description - string - Description for the this Automation.
|
|
305
329
|
# disabled - boolean - If true, this automation will not run.
|
|
@@ -348,8 +372,24 @@ def create(params=None, options=None):
|
|
|
348
372
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
349
373
|
if "group_ids" in params and not isinstance(params["group_ids"], str):
|
|
350
374
|
raise InvalidParameterError("Bad parameter: group_ids must be an str")
|
|
351
|
-
if "
|
|
352
|
-
|
|
375
|
+
if "schedule_days_of_week" in params and not isinstance(
|
|
376
|
+
params["schedule_days_of_week"], builtins.list
|
|
377
|
+
):
|
|
378
|
+
raise InvalidParameterError(
|
|
379
|
+
"Bad parameter: schedule_days_of_week must be an list"
|
|
380
|
+
)
|
|
381
|
+
if "schedule_times_of_day" in params and not isinstance(
|
|
382
|
+
params["schedule_times_of_day"], builtins.list
|
|
383
|
+
):
|
|
384
|
+
raise InvalidParameterError(
|
|
385
|
+
"Bad parameter: schedule_times_of_day must be an list"
|
|
386
|
+
)
|
|
387
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
388
|
+
params["schedule_time_zone"], str
|
|
389
|
+
):
|
|
390
|
+
raise InvalidParameterError(
|
|
391
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
392
|
+
)
|
|
353
393
|
if "description" in params and not isinstance(params["description"], str):
|
|
354
394
|
raise InvalidParameterError(
|
|
355
395
|
"Bad parameter: description must be an str"
|
|
@@ -412,7 +452,9 @@ def manual_run(id, params=None, options=None):
|
|
|
412
452
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
413
453
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
414
454
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
415
|
-
#
|
|
455
|
+
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
456
|
+
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
457
|
+
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
416
458
|
# 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.
|
|
417
459
|
# description - string - Description for the this Automation.
|
|
418
460
|
# disabled - boolean - If true, this automation will not run.
|
|
@@ -464,8 +506,24 @@ def update(id, params=None, options=None):
|
|
|
464
506
|
raise InvalidParameterError("Bad parameter: user_ids must be an str")
|
|
465
507
|
if "group_ids" in params and not isinstance(params["group_ids"], str):
|
|
466
508
|
raise InvalidParameterError("Bad parameter: group_ids must be an str")
|
|
467
|
-
if "
|
|
468
|
-
|
|
509
|
+
if "schedule_days_of_week" in params and not isinstance(
|
|
510
|
+
params["schedule_days_of_week"], builtins.list
|
|
511
|
+
):
|
|
512
|
+
raise InvalidParameterError(
|
|
513
|
+
"Bad parameter: schedule_days_of_week must be an list"
|
|
514
|
+
)
|
|
515
|
+
if "schedule_times_of_day" in params and not isinstance(
|
|
516
|
+
params["schedule_times_of_day"], builtins.list
|
|
517
|
+
):
|
|
518
|
+
raise InvalidParameterError(
|
|
519
|
+
"Bad parameter: schedule_times_of_day must be an list"
|
|
520
|
+
)
|
|
521
|
+
if "schedule_time_zone" in params and not isinstance(
|
|
522
|
+
params["schedule_time_zone"], str
|
|
523
|
+
):
|
|
524
|
+
raise InvalidParameterError(
|
|
525
|
+
"Bad parameter: schedule_time_zone must be an str"
|
|
526
|
+
)
|
|
469
527
|
if "description" in params and not isinstance(params["description"], str):
|
|
470
528
|
raise InvalidParameterError(
|
|
471
529
|
"Bad parameter: description must be an str"
|
|
@@ -41,7 +41,7 @@ class Behavior:
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
# Parameters:
|
|
44
|
-
# value - string - The value of the folder behavior. Can be
|
|
44
|
+
# 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.
|
|
45
45
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
46
46
|
# name - string - Name for this behavior.
|
|
47
47
|
# description - string - Description for this behavior.
|
|
@@ -218,7 +218,7 @@ def list_for(path, params=None, options=None):
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
# Parameters:
|
|
221
|
-
# value - string - The value of the folder behavior. Can be
|
|
221
|
+
# 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.
|
|
222
222
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
223
223
|
# name - string - Name for this behavior.
|
|
224
224
|
# description - string - Description for this behavior.
|
|
@@ -279,7 +279,7 @@ def webhook_test(params=None, options=None):
|
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
# Parameters:
|
|
282
|
-
# value - string - The value of the folder behavior. Can be
|
|
282
|
+
# 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.
|
|
283
283
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
|
284
284
|
# name - string - Name for this behavior.
|
|
285
285
|
# description - string - Description for this behavior.
|
|
@@ -24,7 +24,6 @@ class Invoice:
|
|
|
24
24
|
"payment_type": None, # string - Type of payment if applicable
|
|
25
25
|
"site_name": None, # string - Site name this line item is for
|
|
26
26
|
"type": None, # string - Type of line item, either payment or invoice
|
|
27
|
-
"updated_at": None, # date-time - Line item updated at
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
def __init__(self, attributes=None, options=None):
|
|
@@ -15,7 +15,6 @@ class InvoiceLineItem:
|
|
|
15
15
|
"type": None, # string - Invoice line item type
|
|
16
16
|
"service_end_at": None, # date-time - Invoice line item service end date/time
|
|
17
17
|
"service_start_at": None, # date-time - Invoice line item service start date/time
|
|
18
|
-
"updated_at": None, # date-time - Invoice line item updated date/time
|
|
19
18
|
"plan": None, # string - Plan name
|
|
20
19
|
"site": None, # string - Site name
|
|
21
20
|
}
|
|
@@ -24,7 +24,6 @@ class Payment:
|
|
|
24
24
|
"payment_type": None, # string - Type of payment if applicable
|
|
25
25
|
"site_name": None, # string - Site name this line item is for
|
|
26
26
|
"type": None, # string - Type of line item, either payment or invoice
|
|
27
|
-
"updated_at": None, # date-time - Line item updated at
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
def __init__(self, attributes=None, options=None):
|
|
@@ -146,7 +146,6 @@ class Site:
|
|
|
146
146
|
"tls_disabled": None, # boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
|
147
147
|
"trial_days_left": None, # int64 - Number of days left in trial
|
|
148
148
|
"trial_until": None, # date-time - When does this Site trial expire?
|
|
149
|
-
"updated_at": None, # date-time - Last time this Site was updated
|
|
150
149
|
"use_provided_modified_at": None, # boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
151
150
|
"user": None, # User - User of current session
|
|
152
151
|
"user_lockout": None, # boolean - Will users be locked out after incorrect login attempts?
|
|
@@ -236,6 +235,7 @@ def get_usage(params=None, options=None):
|
|
|
236
235
|
# motd_text - string - A message to show users when they connect via FTP or SFTP.
|
|
237
236
|
# motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
|
238
237
|
# motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
|
238
|
+
# left_navigation_visibility - object - Visibility settings for account navigation
|
|
239
239
|
# session_expiry - double - Session expiry in hours
|
|
240
240
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
|
241
241
|
# tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
|
@@ -434,6 +434,12 @@ def update(params=None, options=None):
|
|
|
434
434
|
)
|
|
435
435
|
if "motd_text" in params and not isinstance(params["motd_text"], str):
|
|
436
436
|
raise InvalidParameterError("Bad parameter: motd_text must be an str")
|
|
437
|
+
if "left_navigation_visibility" in params and not isinstance(
|
|
438
|
+
params["left_navigation_visibility"], dict
|
|
439
|
+
):
|
|
440
|
+
raise InvalidParameterError(
|
|
441
|
+
"Bad parameter: left_navigation_visibility must be an dict"
|
|
442
|
+
)
|
|
437
443
|
if "session_expiry" in params and not isinstance(
|
|
438
444
|
params["session_expiry"], float
|
|
439
445
|
):
|
|
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
|