files-com 1.6.75__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.75.dist-info → files_com-1.6.77.dist-info}/METADATA +1 -1
- {files_com-1.6.75.dist-info → files_com-1.6.77.dist-info}/RECORD +8 -8
- files_sdk/__init__.py +1 -1
- files_sdk/models/user.py +16 -0
- {files_com-1.6.75.dist-info → files_com-1.6.77.dist-info}/WHEEL +0 -0
- {files_com-1.6.75.dist-info → files_com-1.6.77.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.75.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
|
@@ -50,6 +50,7 @@ class User:
|
|
|
50
50
|
"notes": None, # string - Any internal notes on the user
|
|
51
51
|
"notification_daily_send_time": None, # int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
52
52
|
"office_integration_enabled": None, # boolean - Enable integration with Office for the web?
|
|
53
|
+
"partner_admin": None, # boolean - Is this user a Partner administrator?
|
|
53
54
|
"partner_id": None, # int64 - Partner ID if this user belongs to a Partner
|
|
54
55
|
"password_set_at": None, # date-time - Last time the user's password was set
|
|
55
56
|
"password_validity_days": None, # int64 - Number of days to allow user to use the same password
|
|
@@ -201,6 +202,7 @@ class User:
|
|
|
201
202
|
# company - string - User's company
|
|
202
203
|
# notes - string - Any internal notes on the user
|
|
203
204
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
205
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
204
206
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
205
207
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
206
208
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -540,6 +542,7 @@ def get(id, params=None, options=None):
|
|
|
540
542
|
# company - string - User's company
|
|
541
543
|
# notes - string - Any internal notes on the user
|
|
542
544
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
545
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
543
546
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
544
547
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
545
548
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -698,6 +701,12 @@ def create(params=None, options=None):
|
|
|
698
701
|
raise InvalidParameterError(
|
|
699
702
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
700
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
|
+
)
|
|
701
710
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
702
711
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
703
712
|
if "password_validity_days" in params and not isinstance(
|
|
@@ -879,6 +888,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
879
888
|
# company - string - User's company
|
|
880
889
|
# notes - string - Any internal notes on the user
|
|
881
890
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
891
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
882
892
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
883
893
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
884
894
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -1041,6 +1051,12 @@ def update(id, params=None, options=None):
|
|
|
1041
1051
|
raise InvalidParameterError(
|
|
1042
1052
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
1043
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
|
+
)
|
|
1044
1060
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
1045
1061
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
1046
1062
|
if "password_validity_days" in params and not isinstance(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|