files-com 1.6.82__py3-none-any.whl → 1.6.83__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 CHANGED
@@ -1 +1 @@
1
- 1.6.82
1
+ 1.6.83
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.82
3
+ Version: 1.6.83
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -1,7 +1,7 @@
1
1
  README.md,sha256=k4K3G19zaMy-B-BPFztQzrX8Mq1bSx-cyAvuc80WIfc,32051
2
- _VERSION,sha256=mDm2dNXnYI6OIm-P7PWOSCFA2zfKL4L5kjd-IBVSZ88,7
3
- files_com-1.6.82.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=5U6cvLU7k6Vaxt--4YL5fLI5zKH-wfaS3-2IS-Sp954,13241
2
+ _VERSION,sha256=eustWaeJ4BrsNtTFSoCbBr_VgmnGseUA76u6nSXjiK4,7
3
+ files_com-1.6.83.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=5VtBYTw9HINuUUvv_Y5Qt2-UlNATB0c1sg4qeibwJPQ,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
@@ -73,7 +73,7 @@ files_sdk/models/message_comment_reaction.py,sha256=h9Kuk1Y2ztqMG7XkyP-ufGQyS7Od
73
73
  files_sdk/models/message_reaction.py,sha256=ZGir-4Qj9k_FRC_X3Av7Yek-SZzFBK-IbvPn5HmaG5g,6288
74
74
  files_sdk/models/notification.py,sha256=HEPLDynR4lCF_vZ7-RJD8hoxaWMl3BrrkGEIbQk6-yg,21993
75
75
  files_sdk/models/outbound_connection_log.py,sha256=tt56csYZrPr3o1hJhbuQ3Rv6j5hsl8TSGF41l086D6A,45948
76
- files_sdk/models/partner.py,sha256=hjEidtWBMny4vRP_42dlL_yKs2U1pOmpzCNVTGKH7u8,12701
76
+ files_sdk/models/partner.py,sha256=XMfnicHIzCMmF-jLjlv_ui6AnTD94FW-HrMtjnvw4ko,13525
77
77
  files_sdk/models/payment.py,sha256=UUWxK3x2RVYQdRAWeA-WA_Oegh5TDXYPQA_m3BYd0bQ,3753
78
78
  files_sdk/models/payment_line_item.py,sha256=x97h4kBtul5S1EqI_jskhbebnucwA-EOnQn1oV8Hid0,1284
79
79
  files_sdk/models/permission.py,sha256=llVIdqsQjP7xcTPN-GuaP17hQ0GvQhKHIQhcafyg9mk,9410
@@ -115,7 +115,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
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.82.dist-info/METADATA,sha256=YunJBzlrh_qhRqVCirDUhXEMaWkDE-dtYXj-HVmS_Lw,32343
119
- files_com-1.6.82.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
120
- files_com-1.6.82.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
121
- files_com-1.6.82.dist-info/RECORD,,
118
+ files_com-1.6.83.dist-info/METADATA,sha256=2ypMdMe9X2qxcZzJNNQgZRp2uUfKjSqIq-annswRTvk,32343
119
+ files_com-1.6.83.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
120
+ files_com-1.6.83.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
121
+ files_com-1.6.83.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -231,7 +231,7 @@ session_id = None
231
231
  source_ip = None
232
232
  base_url = "https://app.files.com"
233
233
  base_path = "api/rest/v1"
234
- version = "1.6.82"
234
+ version = "1.6.83"
235
235
 
236
236
  __version__ = version
237
237
 
@@ -12,6 +12,7 @@ class Partner:
12
12
  default_attributes = {
13
13
  "allow_bypassing_2fa_policies": None, # boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
14
14
  "allow_credential_changes": None, # boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
15
+ "allow_providing_gpg_keys": None, # boolean - Allow Partner Admins to provide GPG keys.
15
16
  "allow_user_creation": None, # boolean - Allow Partner Admins to create users.
16
17
  "id": None, # int64 - The unique ID of the Partner.
17
18
  "name": None, # string - The name of the Partner.
@@ -43,6 +44,7 @@ class Partner:
43
44
  # name - string - The name of the Partner.
44
45
  # allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
45
46
  # allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
47
+ # allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
46
48
  # allow_user_creation - boolean - Allow Partner Admins to create users.
47
49
  # notes - string - Notes about this Partner.
48
50
  # root_folder - string - The root folder path for this Partner.
@@ -160,6 +162,7 @@ def get(id, params=None, options=None):
160
162
  # name - string - The name of the Partner.
161
163
  # allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
162
164
  # allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
165
+ # allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
163
166
  # allow_user_creation - boolean - Allow Partner Admins to create users.
164
167
  # notes - string - Notes about this Partner.
165
168
  # root_folder - string - The root folder path for this Partner.
@@ -183,6 +186,12 @@ def create(params=None, options=None):
183
186
  raise InvalidParameterError(
184
187
  "Bad parameter: allow_credential_changes must be an bool"
185
188
  )
189
+ if "allow_providing_gpg_keys" in params and not isinstance(
190
+ params["allow_providing_gpg_keys"], bool
191
+ ):
192
+ raise InvalidParameterError(
193
+ "Bad parameter: allow_providing_gpg_keys must be an bool"
194
+ )
186
195
  if "allow_user_creation" in params and not isinstance(
187
196
  params["allow_user_creation"], bool
188
197
  ):
@@ -205,6 +214,7 @@ def create(params=None, options=None):
205
214
  # name - string - The name of the Partner.
206
215
  # allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
207
216
  # allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
217
+ # allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
208
218
  # allow_user_creation - boolean - Allow Partner Admins to create users.
209
219
  # notes - string - Notes about this Partner.
210
220
  # root_folder - string - The root folder path for this Partner.
@@ -231,6 +241,12 @@ def update(id, params=None, options=None):
231
241
  raise InvalidParameterError(
232
242
  "Bad parameter: allow_credential_changes must be an bool"
233
243
  )
244
+ if "allow_providing_gpg_keys" in params and not isinstance(
245
+ params["allow_providing_gpg_keys"], bool
246
+ ):
247
+ raise InvalidParameterError(
248
+ "Bad parameter: allow_providing_gpg_keys must be an bool"
249
+ )
234
250
  if "allow_user_creation" in params and not isinstance(
235
251
  params["allow_user_creation"], bool
236
252
  ):