files-com 1.6.76__py3-none-any.whl → 1.6.77__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.76.dist-info → files_com-1.6.77.dist-info}/METADATA +1 -1
- {files_com-1.6.76.dist-info → files_com-1.6.77.dist-info}/RECORD +8 -8
- files_sdk/__init__.py +1 -1
- files_sdk/models/user.py +15 -0
- {files_com-1.6.76.dist-info → files_com-1.6.77.dist-info}/WHEEL +0 -0
- {files_com-1.6.76.dist-info → files_com-1.6.77.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.76.dist-info → files_com-1.6.77.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.77
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
README.md,sha256=1Rj6T45hiVlUVx3J-b3E4n3JnWQSEEkuNibBeYzwgWQ,31440
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
2
|
+
_VERSION,sha256=FP2dBIQ4z-T5ZXYVQzdatYcqf8JWTg-hgZJZMtDDJ3I,7
|
|
3
|
+
files_com-1.6.77.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=LV69af24MZ6pjRf29RqAqZJgzbcE2LQNT0RCOnUb4RQ,13241
|
|
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=1Nrfq2AuyTf86XH1Pwx-ykzIKpPGSUibCGs-QF6_9LI,66643
|
|
@@ -108,14 +108,14 @@ files_sdk/models/sync_run.py,sha256=aQX8hT1NmZ2i5J2C1vJLAE1HK5gn-TMFukfTsKydF2Y,
|
|
|
108
108
|
files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
|
|
109
109
|
files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
|
|
110
110
|
files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
|
|
111
|
-
files_sdk/models/user.py,sha256=
|
|
111
|
+
files_sdk/models/user.py,sha256=hkdffwMd8LX91ThzxBFo1afkY_QUVetr4w20zyySUgE,62796
|
|
112
112
|
files_sdk/models/user_cipher_use.py,sha256=5Mto-oU87rG2jGIq8TQoOdNZgJA4_ViikvOdM9_jdt0,4994
|
|
113
113
|
files_sdk/models/user_lifecycle_rule.py,sha256=ZEG3pHxc-lbtofwu9DOCZQgiAbqxAJbDOdiG8JnB6Qo,13421
|
|
114
114
|
files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
|
|
115
115
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
116
116
|
files_sdk/models/web_dav_action_log.py,sha256=uMTIkTgSpW5mgKAEWnCmI4U5eqcAL2g8OHqB-lBir3A,76424
|
|
117
117
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
118
|
-
files_com-1.6.
|
|
119
|
-
files_com-1.6.
|
|
120
|
-
files_com-1.6.
|
|
121
|
-
files_com-1.6.
|
|
118
|
+
files_com-1.6.77.dist-info/METADATA,sha256=T864ZAv_YLvNMSppUUuPmiWgz7xcty0dCQS1m8P2sZA,31732
|
|
119
|
+
files_com-1.6.77.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
120
|
+
files_com-1.6.77.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
121
|
+
files_com-1.6.77.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
files_sdk/models/user.py
CHANGED
|
@@ -202,6 +202,7 @@ class User:
|
|
|
202
202
|
# company - string - User's company
|
|
203
203
|
# notes - string - Any internal notes on the user
|
|
204
204
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
205
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
205
206
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
206
207
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
207
208
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -541,6 +542,7 @@ def get(id, params=None, options=None):
|
|
|
541
542
|
# company - string - User's company
|
|
542
543
|
# notes - string - Any internal notes on the user
|
|
543
544
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
545
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
544
546
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
545
547
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
546
548
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -699,6 +701,12 @@ def create(params=None, options=None):
|
|
|
699
701
|
raise InvalidParameterError(
|
|
700
702
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
701
703
|
)
|
|
704
|
+
if "partner_admin" in params and not isinstance(
|
|
705
|
+
params["partner_admin"], bool
|
|
706
|
+
):
|
|
707
|
+
raise InvalidParameterError(
|
|
708
|
+
"Bad parameter: partner_admin must be an bool"
|
|
709
|
+
)
|
|
702
710
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
703
711
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
704
712
|
if "password_validity_days" in params and not isinstance(
|
|
@@ -880,6 +888,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
880
888
|
# company - string - User's company
|
|
881
889
|
# notes - string - Any internal notes on the user
|
|
882
890
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
891
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
883
892
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
884
893
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
885
894
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -1042,6 +1051,12 @@ def update(id, params=None, options=None):
|
|
|
1042
1051
|
raise InvalidParameterError(
|
|
1043
1052
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
1044
1053
|
)
|
|
1054
|
+
if "partner_admin" in params and not isinstance(
|
|
1055
|
+
params["partner_admin"], bool
|
|
1056
|
+
):
|
|
1057
|
+
raise InvalidParameterError(
|
|
1058
|
+
"Bad parameter: partner_admin must be an bool"
|
|
1059
|
+
)
|
|
1045
1060
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
1046
1061
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
1047
1062
|
if "password_validity_days" in params and not isinstance(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|