zscaler-sdk-python 1.2.3__py3-none-any.whl → 1.2.4__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.
zscaler/__init__.py CHANGED
@@ -29,7 +29,7 @@ __license__ = "MIT"
29
29
  __contributors__ = [
30
30
  "William Guilherme",
31
31
  ]
32
- __version__ = "1.2.3"
32
+ __version__ = "1.2.4"
33
33
 
34
34
 
35
35
  from zscaler.oneapi_client import Client as ZscalerClient # noqa
zscaler/zcc/devices.py CHANGED
@@ -38,20 +38,13 @@ class DevicesAPI(APIClient):
38
38
  Downloads the list of devices as a CSV file from the ZCC portal.
39
39
 
40
40
  Args:
41
- query_params (dict, optional): A dictionary containing supported filters:
42
- ``[query_params.os_types]`` {str}: Filter by device operating system type. Valid options are:
43
- - ios
44
- - android
45
- - windows
46
- - macos
47
- - linux
48
- ``[query_params.registration_types]`` {str}: Filter by device operating system type. Valid options are:
49
- - all
50
- - registered
51
- - unregistered
52
- - removal_pending
53
- - removed
54
- - quarantined
41
+ query_params (dict, optional): A dictionary containing supported filters.
42
+
43
+ ``[query_params.os_types]`` {str}: Filter by OS type. Valid values:
44
+ ios, android, windows, macos, linux.
45
+
46
+ ``[query_params.registration_types]`` {str}: Filter by registration type. Valid values:
47
+ all, registered, unregistered, removal_pending, removed, quarantined.
55
48
 
56
49
  filename (str, optional): Custom filename for the CSV file. Defaults to timestamped name.
57
50
 
@@ -73,7 +66,6 @@ class DevicesAPI(APIClient):
73
66
  ... except Exception as e:
74
67
  ... print(f"Error during download: {e}")
75
68
  """
76
-
77
69
  query_params = query_params or {}
78
70
 
79
71
  if not filename:
@@ -131,22 +123,13 @@ class DevicesAPI(APIClient):
131
123
  Downloads service status for all devices from the ZCC portal.
132
124
 
133
125
  Args:
134
- query_params (dict, optional): A dictionary containing supported filters:
135
- Args:
136
- query_params (dict, optional): A dictionary containing supported filters:
137
- ``[query_params.os_types]`` {str}: Filter by device operating system type. Valid options are:
138
- - ios
139
- - android
140
- - windows
141
- - macos
142
- - linux
143
- ``[query_params.registration_types]`` {str}: Filter by device operating system type. Valid options are:
144
- - all
145
- - registered
146
- - unregistered
147
- - removal_pending
148
- - removed
149
- - quarantined
126
+ query_params (dict, optional): A dictionary containing supported filters.
127
+
128
+ ``[query_params.os_types]`` {str}: Filter by OS type. Valid values:
129
+ ios, android, windows, macos, linux.
130
+
131
+ ``[query_params.registration_types]`` {str}: Filter by registration type. Valid values:
132
+ all, registered, unregistered, removal_pending, removed, quarantined.
150
133
 
151
134
  filename (str, optional): Custom filename for the CSV file. Defaults to timestamped name.
152
135
 
@@ -226,18 +209,17 @@ class DevicesAPI(APIClient):
226
209
  Returns the list of devices enrolled in the Client Connector Portal.
227
210
 
228
211
  Args:
229
- query_params {dict}: Map of query parameters for the request.
212
+ query_params (dict, optional): A dictionary containing supported filters.
230
213
 
231
214
  ``[query_params.os_type]`` {str}: Filter by device operating system type. Valid options are:
232
- - ios
233
- - android
234
- - windows
235
- - macos
236
- - linux
237
- ``[query_params.username]`` {str}: Filter by enrolled user name for the device.
215
+ ios, android, windows, macos, linux.
216
+
217
+ ``[query_params.username]`` {str}: Filter by enrolled username for the device.
238
218
 
239
219
  ``[query_params.page]`` {str}: Specifies the page number.
240
- ``[query_params.page_size]`` {str}: Specifies the page size. The default page size is 50.
220
+
221
+ ``[query_params.page_size]`` {str}: Specifies the page size.
222
+ The default page size is 50.
241
223
  The max page size is 5000.
242
224
 
243
225
  Returns:
@@ -445,7 +427,9 @@ class DevicesAPI(APIClient):
445
427
 
446
428
  Args:
447
429
  query_params {dict}: Map of query parameters for the request.
448
- ``[query_params.page_size]`` {int}: Specifies the page size. If not provided, the default page size is 30.
430
+
431
+ ``[query_params.page_size]`` {int}: Specifies the page size.
432
+ If not provided, the default page size is 30.
449
433
  The max page size is 5000.
450
434
 
451
435
  Returns:
@@ -506,7 +490,9 @@ class DevicesAPI(APIClient):
506
490
 
507
491
  Args:
508
492
  query_params {dict}: Map of query parameters for the request.
509
- ``[query_params.page_size]`` {int}: Specifies the page size. If not provided, the default page size is 30.
493
+
494
+ ``[query_params.page_size]`` {int}: Specifies the page size.
495
+ If not provided, the default page size is 30.
510
496
  The max page size is 5000.
511
497
 
512
498
  Returns:
zscaler/zcc/secrets.py CHANGED
@@ -86,10 +86,12 @@ class SecretsAPI(APIClient):
86
86
  Return passwords for the specified username and device OS type.
87
87
 
88
88
  Args:
89
- query_params (dict): Optional parameters.
90
- - username (str): The username associated with the device.
91
- - os_type (str): Device OS. One of:
92
- - ios, android, windows, macos, linux
89
+ query_params (dict, optional): A dictionary containing supported filters.
90
+
91
+ ``[query_params.os_type]`` {str}: Filter by device operating system type. Valid options are:
92
+ ios, android, windows, macos, linux.
93
+
94
+ ``[query_params.username]`` {str}: Filter by enrolled username for the device.
93
95
 
94
96
  Returns:
95
97
  tuple: (Passwords object, response, error)
zscaler/zcc/web_policy.py CHANGED
@@ -35,14 +35,14 @@ class WebPolicyAPI(APIClient):
35
35
  Args:
36
36
  query_params {dict}: Map of query parameters for the request.
37
37
  ``[query_params.page]`` {int}: Specifies the page offset.
38
+
38
39
  ``[query_params.page_size]`` {int}: Specifies the page size.
40
+
39
41
  ``[query_params.device_type]`` {str}: Filter by device operating system type. Valid options are:
40
- - ios
41
- - android
42
- - windows
43
- - macos
44
- - linux
42
+ ios, android, windows, macos, linux.
43
+
45
44
  ``[query_params.search]`` {str}: The search string used to partially match.
45
+
46
46
  ``[query_params.search_type]`` {str}: The search string used to partially match.
47
47
 
48
48
  Returns:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zscaler-sdk-python
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Official Python SDK for the Zscaler Products
5
5
  Home-page: https://github.com/zscaler/zscaler-sdk-python
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- zscaler/__init__.py,sha256=D-Al9AMI4Evhn0bJrVXpcq6QjTwKk-iMxHj5EdFmrk8,1200
1
+ zscaler/__init__.py,sha256=5NXoBcZH-ehuJKWDZlXN6NWH9-_fSkI4bQIf8CeGZzE,1200
2
2
  zscaler/api_client.py,sha256=fjgVDVVJ1XEUZh8WZfy-RsOF72eKyEhqEusmKMBUd9g,2560
3
3
  zscaler/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  zscaler/cache/cache.py,sha256=tsDhf-SSF6MRA68CVIyjMdjaK9XndoSPf8qRqTTXsAw,3195
@@ -31,7 +31,7 @@ zscaler/utils.py,sha256=wOmN3lMGLZEZTsAbFQtYB6Kax0IdiPc1NS_Pe4Z6LSE,33283
31
31
  zscaler/zcc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  zscaler/zcc/admin_user.py,sha256=1w-_62nsbLAxe_1zPB8mD7PrtYVlBhMnUYmHAD01hoY,8523
33
33
  zscaler/zcc/company.py,sha256=EITxpOMfL5BEohsTRWEWDi3Xy3NqsMQWhVMZStcRbsE,2760
34
- zscaler/zcc/devices.py,sha256=jYuPaLJ2jR70LFxeNya0wjFiX95X_Vej_vqUiUlE6ew,22574
34
+ zscaler/zcc/devices.py,sha256=5AEcrMFUB3OP14sJ9yLrw0G9YiKvArsTbx7LlWwJTcE,22001
35
35
  zscaler/zcc/entitlements.py,sha256=4sLevKs2O57j5-NnELFCWJUdSZiacS5xVd6NKHAG9J0,6567
36
36
  zscaler/zcc/fail_open_policy.py,sha256=n9Db66ZgEyFNDeW8wzQpmuD04yv0gG-wge9LyoHpzWk,4953
37
37
  zscaler/zcc/forwarding_profile.py,sha256=liRS5vU31JkaQvr7CCCE_vnX62r2kpcH17MW2Du03BE,5891
@@ -51,10 +51,10 @@ zscaler/zcc/models/webpolicy.py,sha256=9Uft1xbOa96MATLLL75htUVYMunl2sNgHxlbxYR1t
51
51
  zscaler/zcc/models/webprivacy.py,sha256=8AFARM_1uclxy7xNvQTSw1LF_YI1RYt7n4Xf4vlD5AM,4007
52
52
  zscaler/zcc/models/zdxgroupentitlements.py,sha256=KA2nfc_xHbyxKNDVJR8DQ2wJKhwhAJgWy3q0MwhM4vk,3275
53
53
  zscaler/zcc/models/zpagroupentitlements.py,sha256=FkeVZYaoazlsf6Pu7I7cav2Eto0H04-F65J2tN1EqYg,3128
54
- zscaler/zcc/secrets.py,sha256=DIFUQWKM29O1ILzWtPnPbW2zSMJ3JiUkxugLjjKM8rc,4558
54
+ zscaler/zcc/secrets.py,sha256=BbdZjrjhDm5iOfm6ZJMPw03_qBgJNtuF9q-tUJzsOHY,4669
55
55
  zscaler/zcc/trusted_networks.py,sha256=hF8_g_Ucq7XTXQtKFIDSuhvX1WiOwM-tq1ZIWRAZsPk,8583
56
56
  zscaler/zcc/web_app_service.py,sha256=4GoYJohlDaUEnznytptvjfcfJIYdZJODS5Afo-62lBU,2934
57
- zscaler/zcc/web_policy.py,sha256=U4zzHcQHMmp_DDeTjrX6CRwM7bsnRvQq57QMGiZczaQ,6964
57
+ zscaler/zcc/web_policy.py,sha256=imskPYY0yqeGqpwcPf3Fscb2_LR_v2BuoDLIqtihPS4,6883
58
58
  zscaler/zcc/web_privacy.py,sha256=taiDkm3O3EK1_zBGtAX2P4Vjlo5ZQRto_ecb8zZLZK8,4719
59
59
  zscaler/zcc/zcc_service.py,sha256=fojsq-uAneiIZksm2rIdg8cBeo7NCabFu_lpdjB8weI,3844
60
60
  zscaler/zdx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -372,7 +372,7 @@ zscaler/zwa/models/incident_group_search.py,sha256=FtZr_dSurj-rUdGZ41_ri2k2M3J6V
372
372
  zscaler/zwa/models/incident_search.py,sha256=3u6r6nRWVc7FwI744CbTgbdKPwpDIKIYkzeDndc4zZ0,3244
373
373
  zscaler/zwa/models/incident_trigger.py,sha256=HNXN9x6WOHH_mpwkROpxCln5upjhliPA-ahcf8jQIRY,1655
374
374
  zscaler/zwa/zwa_service.py,sha256=AQDOovkEFFwsyaWNo-Kwjpr3S2v9J1928Et4-CxTyHE,1432
375
- zscaler_sdk_python-1.2.3.dist-info/LICENSE.md,sha256=3FUJyHqgnnWpf_krecxqiGNyZVvkbujX9d_lF7RKhyQ,1114
376
- zscaler_sdk_python-1.2.3.dist-info/METADATA,sha256=SD7_t-eJL_-7pRo9YrxYEnX0I_tq_rQiDW1ZKBp44gY,51270
377
- zscaler_sdk_python-1.2.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
378
- zscaler_sdk_python-1.2.3.dist-info/RECORD,,
375
+ zscaler_sdk_python-1.2.4.dist-info/LICENSE.md,sha256=3FUJyHqgnnWpf_krecxqiGNyZVvkbujX9d_lF7RKhyQ,1114
376
+ zscaler_sdk_python-1.2.4.dist-info/METADATA,sha256=eX2ucoerHCxXp4Q7mNRvVF_QRTahCQndeuDDJbJIjFA,51270
377
+ zscaler_sdk_python-1.2.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
378
+ zscaler_sdk_python-1.2.4.dist-info/RECORD,,