files-com 1.6.10__py3-none-any.whl → 1.6.12__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.
Potentially problematic release.
This version of files-com might be problematic. Click here for more details.
- _VERSION +1 -1
- {files_com-1.6.10.dist-info → files_com-1.6.12.dist-info}/METADATA +1 -1
- {files_com-1.6.10.dist-info → files_com-1.6.12.dist-info}/RECORD +10 -10
- files_sdk/__init__.py +1 -1
- files_sdk/models/automation.py +16 -0
- files_sdk/models/site.py +0 -11
- files_sdk/models/user.py +10 -10
- {files_com-1.6.10.dist-info → files_com-1.6.12.dist-info}/WHEEL +0 -0
- {files_com-1.6.10.dist-info → files_com-1.6.12.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.10.dist-info → files_com-1.6.12.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.12
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
README.md,sha256=dJpTjuJA-JJIQ4CKgQhlbqyxanVatHk0RXgCD6KFl3A,28758
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
2
|
+
_VERSION,sha256=x4yo8bB28oP-4sGdAip8ymx7TuLZn1Qx__g2IFIVLpU,7
|
|
3
|
+
files_com-1.6.12.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=0cJ2iZTOrEymEZwbfOb14vKmozuX9mzQ1zY7aNx5TBU,12464
|
|
5
5
|
files_sdk/api.py,sha256=HOLk50HLQCbnHwnAr9OElQEWvdA_BABBSEvvFSt1S4A,1846
|
|
6
6
|
files_sdk/api_client.py,sha256=cfFvm-o4Ao8SWADiJv7t7qnJfG_LJmWV3l6ALTC-Opo,11264
|
|
7
7
|
files_sdk/error.py,sha256=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
|
|
@@ -21,7 +21,7 @@ files_sdk/models/as2_outgoing_message.py,sha256=7mSM2Ce-9HUsk7klRmS30kBBPMJBRWsX
|
|
|
21
21
|
files_sdk/models/as2_partner.py,sha256=ISmZcO_Jnh8nX5Ia-cFqlcCbd9HCQsRJ5LsnIceHgxQ,19826
|
|
22
22
|
files_sdk/models/as2_station.py,sha256=ZFjSw2sBRQgh9x1m76dFB2crSp4P__9xqStaBZa8ZBY,10955
|
|
23
23
|
files_sdk/models/auto.py,sha256=nODYUPqEsTw7suz0s6zDTsFd8j5yeSIzBELTiaXxzRE,995
|
|
24
|
-
files_sdk/models/automation.py,sha256=
|
|
24
|
+
files_sdk/models/automation.py,sha256=MmzKUW6VbOGUcNOEQdyhMPAT49M8sIvuf3jakXG4m6s,48097
|
|
25
25
|
files_sdk/models/automation_log.py,sha256=hzaEoc1_ZG8aLmymK4QpB1OD-tYphg2NTNggF8UMFqs,15299
|
|
26
26
|
files_sdk/models/automation_run.py,sha256=ThDA_5inLYaunKOcNgXFD9QLlhndJXC2TOl7-GqK098,5341
|
|
27
27
|
files_sdk/models/bandwidth_snapshot.py,sha256=IBcRP5r_iFl86lhHOb5o5UZdsT8_-cBrAjKyPAc7OBw,4722
|
|
@@ -92,7 +92,7 @@ files_sdk/models/sftp_host_key.py,sha256=3r5noHhRg-Hn3TLGBUDQYayKIw_Dn5waB9YmGSf
|
|
|
92
92
|
files_sdk/models/share_group.py,sha256=rw-W2x5XFBPc48rvazaro28HfjOli885417i702Mowc,9066
|
|
93
93
|
files_sdk/models/share_group_member.py,sha256=m0BUE4AhClJIoaV-_kU0yryCOwQ5EloZlyHQ4WaCVdU,1248
|
|
94
94
|
files_sdk/models/siem_http_destination.py,sha256=BDExKltNMH8q3ZoKJO_fBRtjVliqzjnj1KHEKycXiCw,49945
|
|
95
|
-
files_sdk/models/site.py,sha256=
|
|
95
|
+
files_sdk/models/site.py,sha256=hnWiYy9wF3tDhpSf3DDsufwmAFC_cJ7ifwi13gga5ec,69437
|
|
96
96
|
files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,9840
|
|
97
97
|
files_sdk/models/sso_strategy.py,sha256=vWNCPfot8z15xUhAoFsS52W-1vg8IpKIqAALZ6pBwd0,9112
|
|
98
98
|
files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
|
|
@@ -101,14 +101,14 @@ files_sdk/models/sync_log.py,sha256=JFIUCOmFon9qMhA6aeruZ55ugMHsM29jlpGVbzqNDoY,
|
|
|
101
101
|
files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
|
|
102
102
|
files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
|
|
103
103
|
files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
|
|
104
|
-
files_sdk/models/user.py,sha256=
|
|
104
|
+
files_sdk/models/user.py,sha256=VRpgFNf8rSddzSRb62hXLq7YeVHkVuTzPrQ6jTJkQX4,59714
|
|
105
105
|
files_sdk/models/user_cipher_use.py,sha256=FugKNQhWaRuqxLiYabpXeskk9DcWVVCN2iL7A3xY-pM,3011
|
|
106
106
|
files_sdk/models/user_lifecycle_rule.py,sha256=Rj4lYUt_11fny42dvpP6WSRz8ipB6E4SP3t8HaHDkPM,11937
|
|
107
107
|
files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
|
|
108
108
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
109
109
|
files_sdk/models/web_dav_action_log.py,sha256=jPX4sOmR9TbYnsU8DU3b0-KQ8E2cHNaqdmFZKTjzpwE,56358
|
|
110
110
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
111
|
-
files_com-1.6.
|
|
112
|
-
files_com-1.6.
|
|
113
|
-
files_com-1.6.
|
|
114
|
-
files_com-1.6.
|
|
111
|
+
files_com-1.6.12.dist-info/METADATA,sha256=pbZIvL-ZKmd0VJnOlCQmv_FH6DVlSjW54FQzXtHmjFM,29050
|
|
112
|
+
files_com-1.6.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
113
|
+
files_com-1.6.12.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
114
|
+
files_com-1.6.12.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
files_sdk/models/automation.py
CHANGED
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class Automation:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Automation ID
|
|
14
|
+
"always_serialize_jobs": None, # boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
14
15
|
"always_overwrite_size_matching_files": None, # 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. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
15
16
|
"automation": None, # string - Automation type
|
|
16
17
|
"deleted": None, # boolean - Indicates if the automation has been deleted.
|
|
@@ -102,6 +103,7 @@ class Automation:
|
|
|
102
103
|
# 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.
|
|
103
104
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
104
105
|
# 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. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
106
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
105
107
|
# description - string - Description for the this Automation.
|
|
106
108
|
# disabled - boolean - If true, this automation will not run.
|
|
107
109
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -368,6 +370,7 @@ def get(id, params=None, options=None):
|
|
|
368
370
|
# 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.
|
|
369
371
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
370
372
|
# 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. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
373
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
371
374
|
# description - string - Description for the this Automation.
|
|
372
375
|
# disabled - boolean - If true, this automation will not run.
|
|
373
376
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -444,6 +447,12 @@ def create(params=None, options=None):
|
|
|
444
447
|
raise InvalidParameterError(
|
|
445
448
|
"Bad parameter: always_overwrite_size_matching_files must be an bool"
|
|
446
449
|
)
|
|
450
|
+
if "always_serialize_jobs" in params and not isinstance(
|
|
451
|
+
params["always_serialize_jobs"], bool
|
|
452
|
+
):
|
|
453
|
+
raise InvalidParameterError(
|
|
454
|
+
"Bad parameter: always_serialize_jobs must be an bool"
|
|
455
|
+
)
|
|
447
456
|
if "description" in params and not isinstance(params["description"], str):
|
|
448
457
|
raise InvalidParameterError(
|
|
449
458
|
"Bad parameter: description must be an str"
|
|
@@ -565,6 +574,7 @@ def manual_run(id, params=None, options=None):
|
|
|
565
574
|
# 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.
|
|
566
575
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
567
576
|
# 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. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
577
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
568
578
|
# description - string - Description for the this Automation.
|
|
569
579
|
# disabled - boolean - If true, this automation will not run.
|
|
570
580
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -644,6 +654,12 @@ def update(id, params=None, options=None):
|
|
|
644
654
|
raise InvalidParameterError(
|
|
645
655
|
"Bad parameter: always_overwrite_size_matching_files must be an bool"
|
|
646
656
|
)
|
|
657
|
+
if "always_serialize_jobs" in params and not isinstance(
|
|
658
|
+
params["always_serialize_jobs"], bool
|
|
659
|
+
):
|
|
660
|
+
raise InvalidParameterError(
|
|
661
|
+
"Bad parameter: always_serialize_jobs must be an bool"
|
|
662
|
+
)
|
|
647
663
|
if "description" in params and not isinstance(params["description"], str):
|
|
648
664
|
raise InvalidParameterError(
|
|
649
665
|
"Bad parameter: description must be an str"
|
files_sdk/models/site.py
CHANGED
|
@@ -179,7 +179,6 @@ class Site:
|
|
|
179
179
|
"welcome_email_enabled": None, # boolean - Will the welcome email be sent to new users?
|
|
180
180
|
"welcome_screen": None, # string - Does the welcome screen appear?
|
|
181
181
|
"windows_mode_ftp": None, # boolean - Does FTP user Windows emulation mode?
|
|
182
|
-
"disable_users_from_inactivity_period_days": None, # int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
|
|
183
182
|
"group_admins_can_set_user_password": None, # boolean - Allow group admins set password authentication method
|
|
184
183
|
}
|
|
185
184
|
|
|
@@ -306,7 +305,6 @@ def get_usage(params=None, options=None):
|
|
|
306
305
|
# opt_out_global - boolean - Use servers in the USA only?
|
|
307
306
|
# use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
308
307
|
# custom_namespace - boolean - Is this site using a custom namespace for users?
|
|
309
|
-
# disable_users_from_inactivity_period_days - int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
|
|
310
308
|
# non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
|
311
309
|
# non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
|
312
310
|
# sharing_enabled - boolean - Allow bundle creation
|
|
@@ -869,15 +867,6 @@ def update(params=None, options=None):
|
|
|
869
867
|
raise InvalidParameterError(
|
|
870
868
|
"Bad parameter: custom_namespace must be an bool"
|
|
871
869
|
)
|
|
872
|
-
if (
|
|
873
|
-
"disable_users_from_inactivity_period_days" in params
|
|
874
|
-
and not isinstance(
|
|
875
|
-
params["disable_users_from_inactivity_period_days"], int
|
|
876
|
-
)
|
|
877
|
-
):
|
|
878
|
-
raise InvalidParameterError(
|
|
879
|
-
"Bad parameter: disable_users_from_inactivity_period_days must be an int"
|
|
880
|
-
)
|
|
881
870
|
if "non_sso_groups_allowed" in params and not isinstance(
|
|
882
871
|
params["non_sso_groups_allowed"], bool
|
|
883
872
|
):
|
files_sdk/models/user.py
CHANGED
|
@@ -22,7 +22,7 @@ class User:
|
|
|
22
22
|
"billable": None, # boolean - Is this a billable user record?
|
|
23
23
|
"billing_permission": None, # boolean - Allow this user to perform operations on the account, payments, and invoices?
|
|
24
24
|
"bypass_site_allowed_ips": None, # boolean - Allow this user to skip site-wide IP blacklists?
|
|
25
|
-
"
|
|
25
|
+
"bypass_user_lifecycle_rules": None, # boolean - Exempt this user from user lifecycle rules?
|
|
26
26
|
"created_at": None, # date-time - When this user was created
|
|
27
27
|
"dav_permission": None, # boolean - Can the user connect with WebDAV?
|
|
28
28
|
"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.
|
|
@@ -185,7 +185,7 @@ class User:
|
|
|
185
185
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
186
186
|
# authentication_method - string - How is this user authenticated?
|
|
187
187
|
# billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
|
|
188
|
-
#
|
|
188
|
+
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
189
189
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
190
190
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
191
191
|
# 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.
|
|
@@ -509,7 +509,7 @@ def get(id, params=None, options=None):
|
|
|
509
509
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
510
510
|
# authentication_method - string - How is this user authenticated?
|
|
511
511
|
# billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
|
|
512
|
-
#
|
|
512
|
+
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
513
513
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
514
514
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
515
515
|
# 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.
|
|
@@ -622,11 +622,11 @@ def create(params=None, options=None):
|
|
|
622
622
|
raise InvalidParameterError(
|
|
623
623
|
"Bad parameter: billing_permission must be an bool"
|
|
624
624
|
)
|
|
625
|
-
if "
|
|
626
|
-
params["
|
|
625
|
+
if "bypass_user_lifecycle_rules" in params and not isinstance(
|
|
626
|
+
params["bypass_user_lifecycle_rules"], bool
|
|
627
627
|
):
|
|
628
628
|
raise InvalidParameterError(
|
|
629
|
-
"Bad parameter:
|
|
629
|
+
"Bad parameter: bypass_user_lifecycle_rules must be an bool"
|
|
630
630
|
)
|
|
631
631
|
if "bypass_site_allowed_ips" in params and not isinstance(
|
|
632
632
|
params["bypass_site_allowed_ips"], bool
|
|
@@ -838,7 +838,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
838
838
|
# authenticate_until - string - Scheduled Date/Time at which user will be deactivated
|
|
839
839
|
# authentication_method - string - How is this user authenticated?
|
|
840
840
|
# billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
|
|
841
|
-
#
|
|
841
|
+
# bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
|
|
842
842
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
|
843
843
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
|
844
844
|
# 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.
|
|
@@ -954,11 +954,11 @@ def update(id, params=None, options=None):
|
|
|
954
954
|
raise InvalidParameterError(
|
|
955
955
|
"Bad parameter: billing_permission must be an bool"
|
|
956
956
|
)
|
|
957
|
-
if "
|
|
958
|
-
params["
|
|
957
|
+
if "bypass_user_lifecycle_rules" in params and not isinstance(
|
|
958
|
+
params["bypass_user_lifecycle_rules"], bool
|
|
959
959
|
):
|
|
960
960
|
raise InvalidParameterError(
|
|
961
|
-
"Bad parameter:
|
|
961
|
+
"Bad parameter: bypass_user_lifecycle_rules must be an bool"
|
|
962
962
|
)
|
|
963
963
|
if "bypass_site_allowed_ips" in params and not isinstance(
|
|
964
964
|
params["bypass_site_allowed_ips"], bool
|
|
File without changes
|
|
File without changes
|
|
File without changes
|