Files.com 1.4.94__tar.gz → 1.4.96__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.94 → Files.com-1.4.96}/Files.com.egg-info/PKG-INFO +1 -1
- {Files.com-1.4.94 → Files.com-1.4.96}/Files.com.egg-info/SOURCES.txt +1 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/PKG-INFO +1 -1
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/__init__.py +3 -1
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/__init__.py +1 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/behavior.py +0 -14
- Files.com-1.4.96/files_sdk/models/public_hosting_request_log.py +82 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/site.py +2 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/Files.com.egg-info/dependency_links.txt +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/Files.com.egg-info/requires.txt +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/Files.com.egg-info/top_level.txt +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/README.md +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/api.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/api_client.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/error.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/list_obj.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/account_line_item.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/action.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/action_notification_export.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/action_notification_export_result.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/action_webhook_failure.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/api_key.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/api_request_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/app.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/as2_incoming_message.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/as2_outgoing_message.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/as2_partner.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/as2_station.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/auto.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/automation.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/automation_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/automation_run.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_action.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_download.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_notification.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_path.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_recipient.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/bundle_registration.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/clickwrap.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/dns_record.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/email_incoming_message.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/email_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/errors.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/exavault_api_request_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/external_event.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_action.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_comment.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_comment_reaction.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_migration.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_migration_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/file_upload_part.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/folder.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/form_field.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/form_field_set.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/ftp_action_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/gpg_key.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/group.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/group_user.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/history.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/history_export.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/history_export_result.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/image.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/inbox_recipient.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/inbox_registration.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/inbox_upload.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/invoice.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/invoice_line_item.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/ip_address.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/lock.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/message.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/message_comment.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/message_comment_reaction.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/message_reaction.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/notification.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/payment.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/payment_line_item.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/permission.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/preview.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/priority.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/project.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/public_ip_address.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/public_key.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/remote_server.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/request.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/session.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/settings_change.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/sftp_action_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/sftp_host_key.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/share_group.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/share_group_member.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/snapshot.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/sso_strategy.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/status.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/style.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/sync_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/usage_snapshot.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/user.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/user_cipher_use.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/user_request.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/web_dav_action_log.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/models/webhook_test.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/path_util.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/files_sdk/util.py +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/pyproject.toml +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/setup.cfg +0 -0
- {Files.com-1.4.94 → Files.com-1.4.96}/setup.py +0 -0
|
@@ -82,6 +82,7 @@ files_sdk/models/permission.py
|
|
|
82
82
|
files_sdk/models/preview.py
|
|
83
83
|
files_sdk/models/priority.py
|
|
84
84
|
files_sdk/models/project.py
|
|
85
|
+
files_sdk/models/public_hosting_request_log.py
|
|
85
86
|
files_sdk/models/public_ip_address.py
|
|
86
87
|
files_sdk/models/public_key.py
|
|
87
88
|
files_sdk/models/remote_bandwidth_snapshot.py
|
|
@@ -67,6 +67,7 @@ import files_sdk.models.permission as permission
|
|
|
67
67
|
import files_sdk.models.preview as preview
|
|
68
68
|
import files_sdk.models.priority as priority
|
|
69
69
|
import files_sdk.models.project as project
|
|
70
|
+
import files_sdk.models.public_hosting_request_log as public_hosting_request_log
|
|
70
71
|
import files_sdk.models.public_ip_address as public_ip_address
|
|
71
72
|
import files_sdk.models.public_key as public_key
|
|
72
73
|
import files_sdk.models.remote_bandwidth_snapshot as remote_bandwidth_snapshot
|
|
@@ -165,6 +166,7 @@ from files_sdk.models.permission import Permission
|
|
|
165
166
|
from files_sdk.models.preview import Preview
|
|
166
167
|
from files_sdk.models.priority import Priority
|
|
167
168
|
from files_sdk.models.project import Project
|
|
169
|
+
from files_sdk.models.public_hosting_request_log import PublicHostingRequestLog
|
|
168
170
|
from files_sdk.models.public_ip_address import PublicIpAddress
|
|
169
171
|
from files_sdk.models.public_key import PublicKey
|
|
170
172
|
from files_sdk.models.remote_bandwidth_snapshot import RemoteBandwidthSnapshot
|
|
@@ -202,7 +204,7 @@ session_id = None
|
|
|
202
204
|
source_ip = None
|
|
203
205
|
base_url = "https://app.files.com"
|
|
204
206
|
base_path = "api/rest/v1"
|
|
205
|
-
version = "1.4.
|
|
207
|
+
version = "1.4.96"
|
|
206
208
|
|
|
207
209
|
__version__ = version
|
|
208
210
|
|
|
@@ -70,6 +70,7 @@ from files_sdk.models.permission import Permission
|
|
|
70
70
|
from files_sdk.models.preview import Preview
|
|
71
71
|
from files_sdk.models.priority import Priority
|
|
72
72
|
from files_sdk.models.project import Project
|
|
73
|
+
from files_sdk.models.public_hosting_request_log import PublicHostingRequestLog
|
|
73
74
|
from files_sdk.models.public_ip_address import PublicIpAddress
|
|
74
75
|
from files_sdk.models.public_key import PublicKey
|
|
75
76
|
from files_sdk.models.remote_bandwidth_snapshot import RemoteBandwidthSnapshot
|
|
@@ -49,8 +49,6 @@ class Behavior:
|
|
|
49
49
|
# recursive - boolean - Is behavior recursive?
|
|
50
50
|
# name - string - Name for this behavior.
|
|
51
51
|
# description - string - Description for this behavior.
|
|
52
|
-
# behavior - string - Behavior type.
|
|
53
|
-
# path - string - Folder behaviors path.
|
|
54
52
|
# attachment_delete - boolean - If true, will delete the file stored in attachment
|
|
55
53
|
def update(self, params=None):
|
|
56
54
|
if not isinstance(params, dict):
|
|
@@ -74,12 +72,6 @@ class Behavior:
|
|
|
74
72
|
raise InvalidParameterError(
|
|
75
73
|
"Bad parameter: description must be an str"
|
|
76
74
|
)
|
|
77
|
-
if "behavior" in params and not isinstance(params["behavior"], str):
|
|
78
|
-
raise InvalidParameterError(
|
|
79
|
-
"Bad parameter: behavior must be an str"
|
|
80
|
-
)
|
|
81
|
-
if "path" in params and not isinstance(params["path"], str):
|
|
82
|
-
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
83
75
|
response, _options = Api.send_request(
|
|
84
76
|
"PATCH",
|
|
85
77
|
"/behaviors/{id}".format(id=params["id"]),
|
|
@@ -295,8 +287,6 @@ def webhook_test(params=None, options=None):
|
|
|
295
287
|
# recursive - boolean - Is behavior recursive?
|
|
296
288
|
# name - string - Name for this behavior.
|
|
297
289
|
# description - string - Description for this behavior.
|
|
298
|
-
# behavior - string - Behavior type.
|
|
299
|
-
# path - string - Folder behaviors path.
|
|
300
290
|
# attachment_delete - boolean - If true, will delete the file stored in attachment
|
|
301
291
|
def update(id, params=None, options=None):
|
|
302
292
|
if not isinstance(params, dict):
|
|
@@ -316,10 +306,6 @@ def update(id, params=None, options=None):
|
|
|
316
306
|
raise InvalidParameterError(
|
|
317
307
|
"Bad parameter: description must be an str"
|
|
318
308
|
)
|
|
319
|
-
if "behavior" in params and not isinstance(params["behavior"], str):
|
|
320
|
-
raise InvalidParameterError("Bad parameter: behavior must be an str")
|
|
321
|
-
if "path" in params and not isinstance(params["path"], str):
|
|
322
|
-
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
323
309
|
if "attachment_delete" in params and not isinstance(
|
|
324
310
|
params["attachment_delete"], (str, int, dict)
|
|
325
311
|
):
|
|
@@ -0,0 +1,82 @@
|
|
|
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 PublicHostingRequestLog:
|
|
12
|
+
default_attributes = {
|
|
13
|
+
"timestamp": None, # date-time - Start Time of Action
|
|
14
|
+
"remote_ip": None, # string - IP Address of Public Hosting Client
|
|
15
|
+
"server_ip": None, # string - IP Address of Public Hosting Server
|
|
16
|
+
"hostname": None, # string - HTTP Request Hostname
|
|
17
|
+
"path": None, # string - HTTP Request Path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
18
|
+
"responseCode": None, # int64 - HTTP Response Code
|
|
19
|
+
"success": None, # boolean - Whether SFTP Action was successful.
|
|
20
|
+
"duration_ms": None, # int64 - Duration (in milliseconds)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def __init__(self, attributes=None, options=None):
|
|
24
|
+
if not isinstance(attributes, dict):
|
|
25
|
+
attributes = {}
|
|
26
|
+
if not isinstance(options, dict):
|
|
27
|
+
options = {}
|
|
28
|
+
self.set_attributes(attributes)
|
|
29
|
+
self.options = options
|
|
30
|
+
|
|
31
|
+
def set_attributes(self, attributes):
|
|
32
|
+
for (
|
|
33
|
+
attribute,
|
|
34
|
+
default_value,
|
|
35
|
+
) in PublicHostingRequestLog.default_attributes.items():
|
|
36
|
+
setattr(self, attribute, attributes.get(attribute, default_value))
|
|
37
|
+
|
|
38
|
+
def get_attributes(self):
|
|
39
|
+
return {
|
|
40
|
+
k: getattr(self, k, None)
|
|
41
|
+
for k in PublicHostingRequestLog.default_attributes
|
|
42
|
+
if getattr(self, k, None) is not None
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# Parameters:
|
|
47
|
+
# 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.
|
|
48
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
49
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `path`, `remote_ip` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
|
50
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
|
51
|
+
def list(params=None, options=None):
|
|
52
|
+
if not isinstance(params, dict):
|
|
53
|
+
params = {}
|
|
54
|
+
if not isinstance(options, dict):
|
|
55
|
+
options = {}
|
|
56
|
+
if "cursor" in params and not isinstance(params["cursor"], str):
|
|
57
|
+
raise InvalidParameterError("Bad parameter: cursor must be an str")
|
|
58
|
+
if "per_page" in params and not isinstance(params["per_page"], int):
|
|
59
|
+
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
60
|
+
if "filter" in params and not isinstance(params["filter"], dict):
|
|
61
|
+
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
62
|
+
if "filter_prefix" in params and not isinstance(
|
|
63
|
+
params["filter_prefix"], dict
|
|
64
|
+
):
|
|
65
|
+
raise InvalidParameterError(
|
|
66
|
+
"Bad parameter: filter_prefix must be an dict"
|
|
67
|
+
)
|
|
68
|
+
return ListObj(
|
|
69
|
+
PublicHostingRequestLog,
|
|
70
|
+
"GET",
|
|
71
|
+
"/public_hosting_request_logs",
|
|
72
|
+
params,
|
|
73
|
+
options,
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def all(params=None, options=None):
|
|
78
|
+
list(params, options)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def new(*args, **kwargs):
|
|
82
|
+
return PublicHostingRequestLog(*args, **kwargs)
|
|
@@ -151,6 +151,7 @@ class Site:
|
|
|
151
151
|
"tls_disabled": None, # boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
|
152
152
|
"trial_days_left": None, # int64 - Number of days left in trial
|
|
153
153
|
"trial_until": None, # date-time - When does this Site trial expire?
|
|
154
|
+
"use_dedicated_ips_for_smtp": None, # boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
|
|
154
155
|
"use_provided_modified_at": None, # boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
155
156
|
"user": None, # User - User of current session
|
|
156
157
|
"user_lockout": None, # boolean - Will users be locked out after incorrect login attempts?
|
|
@@ -323,6 +324,7 @@ def get_usage(params=None, options=None):
|
|
|
323
324
|
# site_header - string - Custom site header text
|
|
324
325
|
# site_footer - string - Custom site footer text
|
|
325
326
|
# login_help_text - string - Login help text
|
|
327
|
+
# use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
|
|
326
328
|
# smtp_address - string - SMTP server hostname or IP
|
|
327
329
|
# smtp_authentication - string - SMTP server authentication type
|
|
328
330
|
# smtp_from - string - From address to use when mailing through custom SMTP
|
|
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
|