files-com 1.6.101__py3-none-any.whl → 1.6.137__py3-none-any.whl
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.
- README.md +1 -0
- _VERSION +1 -1
- {files_com-1.6.101.dist-info → files_com-1.6.137.dist-info}/METADATA +2 -1
- {files_com-1.6.101.dist-info → files_com-1.6.137.dist-info}/RECORD +22 -22
- files_sdk/__init__.py +1 -1
- files_sdk/error.py +15 -0
- files_sdk/models/automation_log.py +1 -1
- files_sdk/models/bundle.py +1 -1
- files_sdk/models/email_log.py +0 -7
- files_sdk/models/file_migration_log.py +0 -7
- files_sdk/models/ftp_action_log.py +1 -1
- files_sdk/models/outbound_connection_log.py +1 -1
- files_sdk/models/remote_server.py +56 -10
- files_sdk/models/sftp_action_log.py +1 -1
- files_sdk/models/siem_http_destination.py +82 -3
- files_sdk/models/site.py +8 -0
- files_sdk/models/sync_log.py +0 -7
- files_sdk/models/user.py +2 -2
- files_sdk/models/web_dav_action_log.py +1 -1
- {files_com-1.6.101.dist-info → files_com-1.6.137.dist-info}/WHEEL +0 -0
- {files_com-1.6.101.dist-info → files_com-1.6.137.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.101.dist-info → files_com-1.6.137.dist-info}/top_level.txt +0 -0
|
@@ -19,8 +19,9 @@ class RemoteServer:
|
|
|
19
19
|
"hostname": None, # string - Hostname or IP address
|
|
20
20
|
"remote_home_path": None, # string - Initial home folder on remote server
|
|
21
21
|
"name": None, # string - Internal name for your reference
|
|
22
|
+
"description": None, # string - Internal description for your reference
|
|
22
23
|
"port": None, # int64 - Port for remote server. Not needed for S3.
|
|
23
|
-
"
|
|
24
|
+
"buffer_uploads": None, # string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
24
25
|
"max_connections": None, # int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
25
26
|
"pin_to_site_region": None, # boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
|
|
26
27
|
"pinned_region": None, # string - If set, all communications with this remote server are made through the provided region.
|
|
@@ -59,6 +60,7 @@ class RemoteServer:
|
|
|
59
60
|
"files_agent_root": None, # string - Agent local root path
|
|
60
61
|
"files_agent_api_token": None, # string - Files Agent API Token
|
|
61
62
|
"files_agent_version": None, # string - Files Agent version
|
|
63
|
+
"outbound_agent_id": None, # int64 - Route traffic to outbound on a files-agent
|
|
62
64
|
"filebase_bucket": None, # string - Filebase: Bucket name
|
|
63
65
|
"filebase_access_key": None, # string - Filebase: Access Key.
|
|
64
66
|
"cloudflare_bucket": None, # string - Cloudflare: Bucket name
|
|
@@ -224,10 +226,11 @@ class RemoteServer:
|
|
|
224
226
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
225
227
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
226
228
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
227
|
-
#
|
|
229
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
228
230
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
229
231
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
230
232
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
233
|
+
# description - string - Internal description for your reference
|
|
231
234
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
232
235
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
233
236
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -235,6 +238,7 @@ class RemoteServer:
|
|
|
235
238
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
236
239
|
# files_agent_root - string - Agent local root path
|
|
237
240
|
# files_agent_version - string - Files Agent version
|
|
241
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
238
242
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
239
243
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
240
244
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -439,6 +443,12 @@ class RemoteServer:
|
|
|
439
443
|
raise InvalidParameterError(
|
|
440
444
|
"Bad parameter: backblaze_b2_s3_endpoint must be an str"
|
|
441
445
|
)
|
|
446
|
+
if "buffer_uploads" in params and not isinstance(
|
|
447
|
+
params["buffer_uploads"], str
|
|
448
|
+
):
|
|
449
|
+
raise InvalidParameterError(
|
|
450
|
+
"Bad parameter: buffer_uploads must be an str"
|
|
451
|
+
)
|
|
442
452
|
if "cloudflare_access_key" in params and not isinstance(
|
|
443
453
|
params["cloudflare_access_key"], str
|
|
444
454
|
):
|
|
@@ -457,6 +467,12 @@ class RemoteServer:
|
|
|
457
467
|
raise InvalidParameterError(
|
|
458
468
|
"Bad parameter: cloudflare_endpoint must be an str"
|
|
459
469
|
)
|
|
470
|
+
if "description" in params and not isinstance(
|
|
471
|
+
params["description"], str
|
|
472
|
+
):
|
|
473
|
+
raise InvalidParameterError(
|
|
474
|
+
"Bad parameter: description must be an str"
|
|
475
|
+
)
|
|
460
476
|
if "filebase_access_key" in params and not isinstance(
|
|
461
477
|
params["filebase_access_key"], str
|
|
462
478
|
):
|
|
@@ -487,6 +503,12 @@ class RemoteServer:
|
|
|
487
503
|
raise InvalidParameterError(
|
|
488
504
|
"Bad parameter: files_agent_version must be an str"
|
|
489
505
|
)
|
|
506
|
+
if "outbound_agent_id" in params and not isinstance(
|
|
507
|
+
params["outbound_agent_id"], int
|
|
508
|
+
):
|
|
509
|
+
raise InvalidParameterError(
|
|
510
|
+
"Bad parameter: outbound_agent_id must be an int"
|
|
511
|
+
)
|
|
490
512
|
if "google_cloud_storage_bucket" in params and not isinstance(
|
|
491
513
|
params["google_cloud_storage_bucket"], str
|
|
492
514
|
):
|
|
@@ -766,10 +788,11 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
766
788
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
767
789
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
768
790
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
769
|
-
#
|
|
791
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
770
792
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
771
793
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
772
794
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
795
|
+
# description - string - Internal description for your reference
|
|
773
796
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
774
797
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
775
798
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -777,6 +800,7 @@ def find_configuration_file(id, params=None, options=None):
|
|
|
777
800
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
778
801
|
# files_agent_root - string - Agent local root path
|
|
779
802
|
# files_agent_version - string - Files Agent version
|
|
803
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
780
804
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
781
805
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
782
806
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -982,11 +1006,11 @@ def create(params=None, options=None):
|
|
|
982
1006
|
raise InvalidParameterError(
|
|
983
1007
|
"Bad parameter: backblaze_b2_s3_endpoint must be an str"
|
|
984
1008
|
)
|
|
985
|
-
if "
|
|
986
|
-
params["
|
|
1009
|
+
if "buffer_uploads" in params and not isinstance(
|
|
1010
|
+
params["buffer_uploads"], str
|
|
987
1011
|
):
|
|
988
1012
|
raise InvalidParameterError(
|
|
989
|
-
"Bad parameter:
|
|
1013
|
+
"Bad parameter: buffer_uploads must be an str"
|
|
990
1014
|
)
|
|
991
1015
|
if "cloudflare_access_key" in params and not isinstance(
|
|
992
1016
|
params["cloudflare_access_key"], str
|
|
@@ -1006,6 +1030,10 @@ def create(params=None, options=None):
|
|
|
1006
1030
|
raise InvalidParameterError(
|
|
1007
1031
|
"Bad parameter: cloudflare_endpoint must be an str"
|
|
1008
1032
|
)
|
|
1033
|
+
if "description" in params and not isinstance(params["description"], str):
|
|
1034
|
+
raise InvalidParameterError(
|
|
1035
|
+
"Bad parameter: description must be an str"
|
|
1036
|
+
)
|
|
1009
1037
|
if "dropbox_teams" in params and not isinstance(
|
|
1010
1038
|
params["dropbox_teams"], bool
|
|
1011
1039
|
):
|
|
@@ -1048,6 +1076,12 @@ def create(params=None, options=None):
|
|
|
1048
1076
|
raise InvalidParameterError(
|
|
1049
1077
|
"Bad parameter: files_agent_version must be an str"
|
|
1050
1078
|
)
|
|
1079
|
+
if "outbound_agent_id" in params and not isinstance(
|
|
1080
|
+
params["outbound_agent_id"], int
|
|
1081
|
+
):
|
|
1082
|
+
raise InvalidParameterError(
|
|
1083
|
+
"Bad parameter: outbound_agent_id must be an int"
|
|
1084
|
+
)
|
|
1051
1085
|
if "google_cloud_storage_bucket" in params and not isinstance(
|
|
1052
1086
|
params["google_cloud_storage_bucket"], str
|
|
1053
1087
|
):
|
|
@@ -1282,10 +1316,11 @@ def configuration_file(id, params=None, options=None):
|
|
|
1282
1316
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
1283
1317
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
1284
1318
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
1285
|
-
#
|
|
1319
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
1286
1320
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
1287
1321
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
1288
1322
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
1323
|
+
# description - string - Internal description for your reference
|
|
1289
1324
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
1290
1325
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
1291
1326
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -1293,6 +1328,7 @@ def configuration_file(id, params=None, options=None):
|
|
|
1293
1328
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
1294
1329
|
# files_agent_root - string - Agent local root path
|
|
1295
1330
|
# files_agent_version - string - Files Agent version
|
|
1331
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1296
1332
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1297
1333
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
1298
1334
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -1501,11 +1537,11 @@ def update(id, params=None, options=None):
|
|
|
1501
1537
|
raise InvalidParameterError(
|
|
1502
1538
|
"Bad parameter: backblaze_b2_s3_endpoint must be an str"
|
|
1503
1539
|
)
|
|
1504
|
-
if "
|
|
1505
|
-
params["
|
|
1540
|
+
if "buffer_uploads" in params and not isinstance(
|
|
1541
|
+
params["buffer_uploads"], str
|
|
1506
1542
|
):
|
|
1507
1543
|
raise InvalidParameterError(
|
|
1508
|
-
"Bad parameter:
|
|
1544
|
+
"Bad parameter: buffer_uploads must be an str"
|
|
1509
1545
|
)
|
|
1510
1546
|
if "cloudflare_access_key" in params and not isinstance(
|
|
1511
1547
|
params["cloudflare_access_key"], str
|
|
@@ -1525,6 +1561,10 @@ def update(id, params=None, options=None):
|
|
|
1525
1561
|
raise InvalidParameterError(
|
|
1526
1562
|
"Bad parameter: cloudflare_endpoint must be an str"
|
|
1527
1563
|
)
|
|
1564
|
+
if "description" in params and not isinstance(params["description"], str):
|
|
1565
|
+
raise InvalidParameterError(
|
|
1566
|
+
"Bad parameter: description must be an str"
|
|
1567
|
+
)
|
|
1528
1568
|
if "dropbox_teams" in params and not isinstance(
|
|
1529
1569
|
params["dropbox_teams"], bool
|
|
1530
1570
|
):
|
|
@@ -1567,6 +1607,12 @@ def update(id, params=None, options=None):
|
|
|
1567
1607
|
raise InvalidParameterError(
|
|
1568
1608
|
"Bad parameter: files_agent_version must be an str"
|
|
1569
1609
|
)
|
|
1610
|
+
if "outbound_agent_id" in params and not isinstance(
|
|
1611
|
+
params["outbound_agent_id"], int
|
|
1612
|
+
):
|
|
1613
|
+
raise InvalidParameterError(
|
|
1614
|
+
"Bad parameter: outbound_agent_id must be an int"
|
|
1615
|
+
)
|
|
1570
1616
|
if "google_cloud_storage_bucket" in params and not isinstance(
|
|
1571
1617
|
params["google_cloud_storage_bucket"], str
|
|
1572
1618
|
):
|