dominus-sdk-python 2.11.0__tar.gz → 2.12.0__tar.gz
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.
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/PKG-INFO +1 -1
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/auth.py +61 -61
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/PKG-INFO +1 -1
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/pyproject.toml +1 -1
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/README.md +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/config/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/config/endpoints.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/errors.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/auth.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/cache.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/console_capture.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/core.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/crypto.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/helpers/sse.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/admin.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/ai.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/courier.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/db.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/ddl.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/fastapi.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/files.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/health.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/logs.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/open.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/audio_capture.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/oracle_websocket.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/session.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/types.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/vad_gate.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/portal.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/redis.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/secrets.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/secure.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/workflow.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/services/__init__.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/start.py +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/SOURCES.txt +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/dependency_links.txt +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/requires.txt +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/top_level.txt +0 -0
- {dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/setup.cfg +0 -0
|
@@ -165,7 +165,7 @@ class AuthNamespace:
|
|
|
165
165
|
"""Add roles to user."""
|
|
166
166
|
return await self._client._request(
|
|
167
167
|
endpoint=f"/api/guardian/users/{user_id}/roles",
|
|
168
|
-
body={"
|
|
168
|
+
body={"ids": role_ids}
|
|
169
169
|
)
|
|
170
170
|
|
|
171
171
|
async def remove_user_roles(self, user_id: str, role_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -173,7 +173,7 @@ class AuthNamespace:
|
|
|
173
173
|
return await self._client._request(
|
|
174
174
|
endpoint=f"/api/guardian/users/{user_id}/roles",
|
|
175
175
|
method="DELETE",
|
|
176
|
-
body={"
|
|
176
|
+
body={"ids": role_ids}
|
|
177
177
|
)
|
|
178
178
|
|
|
179
179
|
async def get_user_scopes(self, user_id: str) -> List[Dict[str, Any]]:
|
|
@@ -187,7 +187,7 @@ class AuthNamespace:
|
|
|
187
187
|
"""Add scopes to user."""
|
|
188
188
|
return await self._client._request(
|
|
189
189
|
endpoint=f"/api/guardian/users/{user_id}/scopes",
|
|
190
|
-
body={"
|
|
190
|
+
body={"ids": scope_ids}
|
|
191
191
|
)
|
|
192
192
|
|
|
193
193
|
async def remove_user_scopes(self, user_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -195,7 +195,7 @@ class AuthNamespace:
|
|
|
195
195
|
return await self._client._request(
|
|
196
196
|
endpoint=f"/api/guardian/users/{user_id}/scopes",
|
|
197
197
|
method="DELETE",
|
|
198
|
-
body={"
|
|
198
|
+
body={"ids": scope_ids}
|
|
199
199
|
)
|
|
200
200
|
|
|
201
201
|
async def get_user_tenants(self, user_id: str) -> List[Dict[str, Any]]:
|
|
@@ -209,7 +209,7 @@ class AuthNamespace:
|
|
|
209
209
|
"""Add tenants to user."""
|
|
210
210
|
return await self._client._request(
|
|
211
211
|
endpoint=f"/api/guardian/users/{user_id}/tenants",
|
|
212
|
-
body={"
|
|
212
|
+
body={"ids": tenant_ids}
|
|
213
213
|
)
|
|
214
214
|
|
|
215
215
|
async def remove_user_tenants(self, user_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -217,7 +217,7 @@ class AuthNamespace:
|
|
|
217
217
|
return await self._client._request(
|
|
218
218
|
endpoint=f"/api/guardian/users/{user_id}/tenants",
|
|
219
219
|
method="DELETE",
|
|
220
|
-
body={"
|
|
220
|
+
body={"ids": tenant_ids}
|
|
221
221
|
)
|
|
222
222
|
|
|
223
223
|
async def get_user_subtypes(self, user_id: str) -> List[Dict[str, Any]]:
|
|
@@ -231,7 +231,7 @@ class AuthNamespace:
|
|
|
231
231
|
"""Add subtypes to user."""
|
|
232
232
|
return await self._client._request(
|
|
233
233
|
endpoint=f"/api/guardian/users/{user_id}/subtypes",
|
|
234
|
-
body={"
|
|
234
|
+
body={"ids": subtype_ids}
|
|
235
235
|
)
|
|
236
236
|
|
|
237
237
|
async def remove_user_subtypes(self, user_id: str, subtype_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -239,7 +239,7 @@ class AuthNamespace:
|
|
|
239
239
|
return await self._client._request(
|
|
240
240
|
endpoint=f"/api/guardian/users/{user_id}/subtypes",
|
|
241
241
|
method="DELETE",
|
|
242
|
-
body={"
|
|
242
|
+
body={"ids": subtype_ids}
|
|
243
243
|
)
|
|
244
244
|
|
|
245
245
|
# ========================================
|
|
@@ -316,7 +316,7 @@ class AuthNamespace:
|
|
|
316
316
|
"""Add scopes to role."""
|
|
317
317
|
return await self._client._request(
|
|
318
318
|
endpoint=f"/api/guardian/roles/{role_id}/scopes",
|
|
319
|
-
body={"
|
|
319
|
+
body={"ids": scope_ids}
|
|
320
320
|
)
|
|
321
321
|
|
|
322
322
|
async def remove_role_scopes(self, role_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -324,7 +324,7 @@ class AuthNamespace:
|
|
|
324
324
|
return await self._client._request(
|
|
325
325
|
endpoint=f"/api/guardian/roles/{role_id}/scopes",
|
|
326
326
|
method="DELETE",
|
|
327
|
-
body={"
|
|
327
|
+
body={"ids": scope_ids}
|
|
328
328
|
)
|
|
329
329
|
|
|
330
330
|
# Role-tenant junction
|
|
@@ -339,7 +339,7 @@ class AuthNamespace:
|
|
|
339
339
|
"""Add tenants to role."""
|
|
340
340
|
return await self._client._request(
|
|
341
341
|
endpoint=f"/api/guardian/roles/{role_id}/tenants",
|
|
342
|
-
body={"
|
|
342
|
+
body={"ids": tenant_ids}
|
|
343
343
|
)
|
|
344
344
|
|
|
345
345
|
async def remove_role_tenants(self, role_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -347,7 +347,7 @@ class AuthNamespace:
|
|
|
347
347
|
return await self._client._request(
|
|
348
348
|
endpoint=f"/api/guardian/roles/{role_id}/tenants",
|
|
349
349
|
method="DELETE",
|
|
350
|
-
body={"
|
|
350
|
+
body={"ids": tenant_ids}
|
|
351
351
|
)
|
|
352
352
|
|
|
353
353
|
# Role-category junction
|
|
@@ -362,7 +362,7 @@ class AuthNamespace:
|
|
|
362
362
|
"""Add categories to role."""
|
|
363
363
|
return await self._client._request(
|
|
364
364
|
endpoint=f"/api/guardian/roles/{role_id}/categories",
|
|
365
|
-
body={"
|
|
365
|
+
body={"ids": category_ids}
|
|
366
366
|
)
|
|
367
367
|
|
|
368
368
|
async def remove_role_categories(self, role_id: str, category_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -370,7 +370,7 @@ class AuthNamespace:
|
|
|
370
370
|
return await self._client._request(
|
|
371
371
|
endpoint=f"/api/guardian/roles/{role_id}/categories",
|
|
372
372
|
method="DELETE",
|
|
373
|
-
body={"
|
|
373
|
+
body={"ids": category_ids}
|
|
374
374
|
)
|
|
375
375
|
|
|
376
376
|
# Role-subtype junction
|
|
@@ -385,7 +385,7 @@ class AuthNamespace:
|
|
|
385
385
|
"""Add subtypes to role."""
|
|
386
386
|
return await self._client._request(
|
|
387
387
|
endpoint=f"/api/guardian/roles/{role_id}/subtypes",
|
|
388
|
-
body={"
|
|
388
|
+
body={"ids": subtype_ids}
|
|
389
389
|
)
|
|
390
390
|
|
|
391
391
|
async def remove_role_subtypes(self, role_id: str, subtype_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -393,7 +393,7 @@ class AuthNamespace:
|
|
|
393
393
|
return await self._client._request(
|
|
394
394
|
endpoint=f"/api/guardian/roles/{role_id}/subtypes",
|
|
395
395
|
method="DELETE",
|
|
396
|
-
body={"
|
|
396
|
+
body={"ids": subtype_ids}
|
|
397
397
|
)
|
|
398
398
|
|
|
399
399
|
# ========================================
|
|
@@ -475,7 +475,7 @@ class AuthNamespace:
|
|
|
475
475
|
"""Add tenants to scope."""
|
|
476
476
|
return await self._client._request(
|
|
477
477
|
endpoint=f"/api/guardian/scopes/{scope_id}/tenants",
|
|
478
|
-
body={"
|
|
478
|
+
body={"ids": tenant_ids}
|
|
479
479
|
)
|
|
480
480
|
|
|
481
481
|
async def remove_scope_tenants(self, scope_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -483,7 +483,7 @@ class AuthNamespace:
|
|
|
483
483
|
return await self._client._request(
|
|
484
484
|
endpoint=f"/api/guardian/scopes/{scope_id}/tenants",
|
|
485
485
|
method="DELETE",
|
|
486
|
-
body={"
|
|
486
|
+
body={"ids": tenant_ids}
|
|
487
487
|
)
|
|
488
488
|
|
|
489
489
|
# Scope-category junction
|
|
@@ -498,7 +498,7 @@ class AuthNamespace:
|
|
|
498
498
|
"""Add categories to scope."""
|
|
499
499
|
return await self._client._request(
|
|
500
500
|
endpoint=f"/api/guardian/scopes/{scope_id}/categories",
|
|
501
|
-
body={"
|
|
501
|
+
body={"ids": category_ids}
|
|
502
502
|
)
|
|
503
503
|
|
|
504
504
|
async def remove_scope_categories(self, scope_id: str, category_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -506,7 +506,7 @@ class AuthNamespace:
|
|
|
506
506
|
return await self._client._request(
|
|
507
507
|
endpoint=f"/api/guardian/scopes/{scope_id}/categories",
|
|
508
508
|
method="DELETE",
|
|
509
|
-
body={"
|
|
509
|
+
body={"ids": category_ids}
|
|
510
510
|
)
|
|
511
511
|
|
|
512
512
|
# ========================================
|
|
@@ -605,7 +605,7 @@ class AuthNamespace:
|
|
|
605
605
|
"""Add tenants to client."""
|
|
606
606
|
return await self._client._request(
|
|
607
607
|
endpoint=f"/api/guardian/clients/{client_id}/tenants",
|
|
608
|
-
body={"
|
|
608
|
+
body={"ids": tenant_ids}
|
|
609
609
|
)
|
|
610
610
|
|
|
611
611
|
async def remove_client_tenants(self, client_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -613,7 +613,7 @@ class AuthNamespace:
|
|
|
613
613
|
return await self._client._request(
|
|
614
614
|
endpoint=f"/api/guardian/clients/{client_id}/tenants",
|
|
615
615
|
method="DELETE",
|
|
616
|
-
body={"
|
|
616
|
+
body={"ids": tenant_ids}
|
|
617
617
|
)
|
|
618
618
|
|
|
619
619
|
# Client-role junction
|
|
@@ -628,7 +628,7 @@ class AuthNamespace:
|
|
|
628
628
|
"""Add roles to client."""
|
|
629
629
|
return await self._client._request(
|
|
630
630
|
endpoint=f"/api/guardian/clients/{client_id}/roles",
|
|
631
|
-
body={"
|
|
631
|
+
body={"ids": role_ids}
|
|
632
632
|
)
|
|
633
633
|
|
|
634
634
|
async def remove_client_roles(self, client_id: str, role_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -636,7 +636,7 @@ class AuthNamespace:
|
|
|
636
636
|
return await self._client._request(
|
|
637
637
|
endpoint=f"/api/guardian/clients/{client_id}/roles",
|
|
638
638
|
method="DELETE",
|
|
639
|
-
body={"
|
|
639
|
+
body={"ids": role_ids}
|
|
640
640
|
)
|
|
641
641
|
|
|
642
642
|
# Client-scope junction
|
|
@@ -651,7 +651,7 @@ class AuthNamespace:
|
|
|
651
651
|
"""Add scopes to client."""
|
|
652
652
|
return await self._client._request(
|
|
653
653
|
endpoint=f"/api/guardian/clients/{client_id}/scopes",
|
|
654
|
-
body={"
|
|
654
|
+
body={"ids": scope_ids}
|
|
655
655
|
)
|
|
656
656
|
|
|
657
657
|
async def remove_client_scopes(self, client_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -659,7 +659,7 @@ class AuthNamespace:
|
|
|
659
659
|
return await self._client._request(
|
|
660
660
|
endpoint=f"/api/guardian/clients/{client_id}/scopes",
|
|
661
661
|
method="DELETE",
|
|
662
|
-
body={"
|
|
662
|
+
body={"ids": scope_ids}
|
|
663
663
|
)
|
|
664
664
|
|
|
665
665
|
# Client-subtype junction
|
|
@@ -674,7 +674,7 @@ class AuthNamespace:
|
|
|
674
674
|
"""Add subtypes to client."""
|
|
675
675
|
return await self._client._request(
|
|
676
676
|
endpoint=f"/api/guardian/clients/{client_id}/subtypes",
|
|
677
|
-
body={"
|
|
677
|
+
body={"ids": subtype_ids}
|
|
678
678
|
)
|
|
679
679
|
|
|
680
680
|
async def remove_client_subtypes(self, client_id: str, subtype_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -682,7 +682,7 @@ class AuthNamespace:
|
|
|
682
682
|
return await self._client._request(
|
|
683
683
|
endpoint=f"/api/guardian/clients/{client_id}/subtypes",
|
|
684
684
|
method="DELETE",
|
|
685
|
-
body={"
|
|
685
|
+
body={"ids": subtype_ids}
|
|
686
686
|
)
|
|
687
687
|
|
|
688
688
|
# ========================================
|
|
@@ -910,7 +910,7 @@ class AuthNamespace:
|
|
|
910
910
|
"""Add tenants to subtype."""
|
|
911
911
|
return await self._client._request(
|
|
912
912
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/tenants",
|
|
913
|
-
body={"
|
|
913
|
+
body={"ids": tenant_ids}
|
|
914
914
|
)
|
|
915
915
|
|
|
916
916
|
async def remove_subtype_tenants(self, subtype_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -918,7 +918,7 @@ class AuthNamespace:
|
|
|
918
918
|
return await self._client._request(
|
|
919
919
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/tenants",
|
|
920
920
|
method="DELETE",
|
|
921
|
-
body={"
|
|
921
|
+
body={"ids": tenant_ids}
|
|
922
922
|
)
|
|
923
923
|
|
|
924
924
|
# Subtype-category junction
|
|
@@ -933,7 +933,7 @@ class AuthNamespace:
|
|
|
933
933
|
"""Add categories to subtype."""
|
|
934
934
|
return await self._client._request(
|
|
935
935
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/categories",
|
|
936
|
-
body={"
|
|
936
|
+
body={"ids": category_ids}
|
|
937
937
|
)
|
|
938
938
|
|
|
939
939
|
async def remove_subtype_categories(self, subtype_id: str, category_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -941,7 +941,7 @@ class AuthNamespace:
|
|
|
941
941
|
return await self._client._request(
|
|
942
942
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/categories",
|
|
943
943
|
method="DELETE",
|
|
944
|
-
body={"
|
|
944
|
+
body={"ids": category_ids}
|
|
945
945
|
)
|
|
946
946
|
|
|
947
947
|
# Subtype-scope junction
|
|
@@ -956,7 +956,7 @@ class AuthNamespace:
|
|
|
956
956
|
"""Add scopes to subtype."""
|
|
957
957
|
return await self._client._request(
|
|
958
958
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/scopes",
|
|
959
|
-
body={"
|
|
959
|
+
body={"ids": scope_ids}
|
|
960
960
|
)
|
|
961
961
|
|
|
962
962
|
async def remove_subtype_scopes(self, subtype_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -964,7 +964,7 @@ class AuthNamespace:
|
|
|
964
964
|
return await self._client._request(
|
|
965
965
|
endpoint=f"/api/guardian/subtypes/{subtype_id}/scopes",
|
|
966
966
|
method="DELETE",
|
|
967
|
-
body={"
|
|
967
|
+
body={"ids": scope_ids}
|
|
968
968
|
)
|
|
969
969
|
|
|
970
970
|
# ========================================
|
|
@@ -1064,7 +1064,7 @@ class AuthNamespace:
|
|
|
1064
1064
|
"""Add tenants to page."""
|
|
1065
1065
|
return await self._client._request(
|
|
1066
1066
|
endpoint=f"/api/guardian/pages/{page_id}/tenants",
|
|
1067
|
-
body={"
|
|
1067
|
+
body={"ids": tenant_ids}
|
|
1068
1068
|
)
|
|
1069
1069
|
|
|
1070
1070
|
async def remove_page_tenants(self, page_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1072,7 +1072,7 @@ class AuthNamespace:
|
|
|
1072
1072
|
return await self._client._request(
|
|
1073
1073
|
endpoint=f"/api/guardian/pages/{page_id}/tenants",
|
|
1074
1074
|
method="DELETE",
|
|
1075
|
-
body={"
|
|
1075
|
+
body={"ids": tenant_ids}
|
|
1076
1076
|
)
|
|
1077
1077
|
|
|
1078
1078
|
# Page-scope junction
|
|
@@ -1087,7 +1087,7 @@ class AuthNamespace:
|
|
|
1087
1087
|
"""Add scopes to page."""
|
|
1088
1088
|
return await self._client._request(
|
|
1089
1089
|
endpoint=f"/api/guardian/pages/{page_id}/scopes",
|
|
1090
|
-
body={"
|
|
1090
|
+
body={"ids": scope_ids}
|
|
1091
1091
|
)
|
|
1092
1092
|
|
|
1093
1093
|
async def remove_page_scopes(self, page_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1095,7 +1095,7 @@ class AuthNamespace:
|
|
|
1095
1095
|
return await self._client._request(
|
|
1096
1096
|
endpoint=f"/api/guardian/pages/{page_id}/scopes",
|
|
1097
1097
|
method="DELETE",
|
|
1098
|
-
body={"
|
|
1098
|
+
body={"ids": scope_ids}
|
|
1099
1099
|
)
|
|
1100
1100
|
|
|
1101
1101
|
async def set_page_scopes(self, page_id: str, scope_ids: List[str]) -> List[Dict[str, Any]]:
|
|
@@ -1103,7 +1103,7 @@ class AuthNamespace:
|
|
|
1103
1103
|
return await self._client._request(
|
|
1104
1104
|
endpoint=f"/api/guardian/pages/{page_id}/scopes",
|
|
1105
1105
|
method="PUT",
|
|
1106
|
-
body={"
|
|
1106
|
+
body={"ids": scope_ids}
|
|
1107
1107
|
)
|
|
1108
1108
|
|
|
1109
1109
|
async def set_page_tenants(self, page_id: str, tenant_ids: List[str]) -> List[Dict[str, Any]]:
|
|
@@ -1111,7 +1111,7 @@ class AuthNamespace:
|
|
|
1111
1111
|
return await self._client._request(
|
|
1112
1112
|
endpoint=f"/api/guardian/pages/{page_id}/tenants",
|
|
1113
1113
|
method="PUT",
|
|
1114
|
-
body={"
|
|
1114
|
+
body={"ids": tenant_ids}
|
|
1115
1115
|
)
|
|
1116
1116
|
|
|
1117
1117
|
# Page-category junction
|
|
@@ -1127,7 +1127,7 @@ class AuthNamespace:
|
|
|
1127
1127
|
return await self._client._request(
|
|
1128
1128
|
endpoint=f"/api/guardian/pages/{page_id}/categories",
|
|
1129
1129
|
method="POST",
|
|
1130
|
-
body={"
|
|
1130
|
+
body={"ids": category_ids}
|
|
1131
1131
|
)
|
|
1132
1132
|
|
|
1133
1133
|
async def remove_page_categories(self, page_id: str, category_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1135,7 +1135,7 @@ class AuthNamespace:
|
|
|
1135
1135
|
return await self._client._request(
|
|
1136
1136
|
endpoint=f"/api/guardian/pages/{page_id}/categories",
|
|
1137
1137
|
method="DELETE",
|
|
1138
|
-
body={"
|
|
1138
|
+
body={"ids": category_ids}
|
|
1139
1139
|
)
|
|
1140
1140
|
|
|
1141
1141
|
async def set_page_categories(self, page_id: str, category_ids: List[str]) -> List[Dict[str, Any]]:
|
|
@@ -1143,7 +1143,7 @@ class AuthNamespace:
|
|
|
1143
1143
|
return await self._client._request(
|
|
1144
1144
|
endpoint=f"/api/guardian/pages/{page_id}/categories",
|
|
1145
1145
|
method="PUT",
|
|
1146
|
-
body={"
|
|
1146
|
+
body={"ids": category_ids}
|
|
1147
1147
|
)
|
|
1148
1148
|
|
|
1149
1149
|
# Page excluded scopes (blocklist - users with these scopes CANNOT access)
|
|
@@ -1159,7 +1159,7 @@ class AuthNamespace:
|
|
|
1159
1159
|
return await self._client._request(
|
|
1160
1160
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-scopes",
|
|
1161
1161
|
method="POST",
|
|
1162
|
-
body={"
|
|
1162
|
+
body={"ids": scope_ids}
|
|
1163
1163
|
)
|
|
1164
1164
|
|
|
1165
1165
|
async def remove_page_excluded_scopes(self, page_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1167,7 +1167,7 @@ class AuthNamespace:
|
|
|
1167
1167
|
return await self._client._request(
|
|
1168
1168
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-scopes",
|
|
1169
1169
|
method="DELETE",
|
|
1170
|
-
body={"
|
|
1170
|
+
body={"ids": scope_ids}
|
|
1171
1171
|
)
|
|
1172
1172
|
|
|
1173
1173
|
async def set_page_excluded_scopes(self, page_id: str, scope_ids: List[str]) -> List[Dict[str, Any]]:
|
|
@@ -1175,7 +1175,7 @@ class AuthNamespace:
|
|
|
1175
1175
|
return await self._client._request(
|
|
1176
1176
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-scopes",
|
|
1177
1177
|
method="PUT",
|
|
1178
|
-
body={"
|
|
1178
|
+
body={"ids": scope_ids}
|
|
1179
1179
|
)
|
|
1180
1180
|
|
|
1181
1181
|
# Page excluded roles (blocklist - users with these roles CANNOT access)
|
|
@@ -1191,7 +1191,7 @@ class AuthNamespace:
|
|
|
1191
1191
|
return await self._client._request(
|
|
1192
1192
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-roles",
|
|
1193
1193
|
method="POST",
|
|
1194
|
-
body={"
|
|
1194
|
+
body={"ids": role_ids}
|
|
1195
1195
|
)
|
|
1196
1196
|
|
|
1197
1197
|
async def remove_page_excluded_roles(self, page_id: str, role_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1199,7 +1199,7 @@ class AuthNamespace:
|
|
|
1199
1199
|
return await self._client._request(
|
|
1200
1200
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-roles",
|
|
1201
1201
|
method="DELETE",
|
|
1202
|
-
body={"
|
|
1202
|
+
body={"ids": role_ids}
|
|
1203
1203
|
)
|
|
1204
1204
|
|
|
1205
1205
|
async def set_page_excluded_roles(self, page_id: str, role_ids: List[str]) -> List[Dict[str, Any]]:
|
|
@@ -1207,7 +1207,7 @@ class AuthNamespace:
|
|
|
1207
1207
|
return await self._client._request(
|
|
1208
1208
|
endpoint=f"/api/guardian/pages/{page_id}/excluded-roles",
|
|
1209
1209
|
method="PUT",
|
|
1210
|
-
body={"
|
|
1210
|
+
body={"ids": role_ids}
|
|
1211
1211
|
)
|
|
1212
1212
|
|
|
1213
1213
|
# ========================================
|
|
@@ -1366,7 +1366,7 @@ class AuthNamespace:
|
|
|
1366
1366
|
"""Add tenants to nav item."""
|
|
1367
1367
|
return await self._client._request(
|
|
1368
1368
|
endpoint=f"/api/guardian/nav-items/{nav_id}/tenants",
|
|
1369
|
-
body={"
|
|
1369
|
+
body={"ids": tenant_ids}
|
|
1370
1370
|
)
|
|
1371
1371
|
|
|
1372
1372
|
async def remove_nav_tenants(self, nav_id: str, tenant_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1374,7 +1374,7 @@ class AuthNamespace:
|
|
|
1374
1374
|
return await self._client._request(
|
|
1375
1375
|
endpoint=f"/api/guardian/nav-items/{nav_id}/tenants",
|
|
1376
1376
|
method="DELETE",
|
|
1377
|
-
body={"
|
|
1377
|
+
body={"ids": tenant_ids}
|
|
1378
1378
|
)
|
|
1379
1379
|
|
|
1380
1380
|
# Nav-scope junction
|
|
@@ -1389,7 +1389,7 @@ class AuthNamespace:
|
|
|
1389
1389
|
"""Add scopes to nav item."""
|
|
1390
1390
|
return await self._client._request(
|
|
1391
1391
|
endpoint=f"/api/guardian/nav-items/{nav_id}/scopes",
|
|
1392
|
-
body={"
|
|
1392
|
+
body={"ids": scope_ids}
|
|
1393
1393
|
)
|
|
1394
1394
|
|
|
1395
1395
|
async def remove_nav_scopes(self, nav_id: str, scope_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1397,7 +1397,7 @@ class AuthNamespace:
|
|
|
1397
1397
|
return await self._client._request(
|
|
1398
1398
|
endpoint=f"/api/guardian/nav-items/{nav_id}/scopes",
|
|
1399
1399
|
method="DELETE",
|
|
1400
|
-
body={"
|
|
1400
|
+
body={"ids": scope_ids}
|
|
1401
1401
|
)
|
|
1402
1402
|
|
|
1403
1403
|
# Nav-role junction
|
|
@@ -1412,7 +1412,7 @@ class AuthNamespace:
|
|
|
1412
1412
|
"""Add roles to nav item."""
|
|
1413
1413
|
return await self._client._request(
|
|
1414
1414
|
endpoint=f"/api/guardian/nav-items/{nav_id}/roles",
|
|
1415
|
-
body={"
|
|
1415
|
+
body={"ids": role_ids}
|
|
1416
1416
|
)
|
|
1417
1417
|
|
|
1418
1418
|
async def remove_nav_roles(self, nav_id: str, role_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1420,7 +1420,7 @@ class AuthNamespace:
|
|
|
1420
1420
|
return await self._client._request(
|
|
1421
1421
|
endpoint=f"/api/guardian/nav-items/{nav_id}/roles",
|
|
1422
1422
|
method="DELETE",
|
|
1423
|
-
body={"
|
|
1423
|
+
body={"ids": role_ids}
|
|
1424
1424
|
)
|
|
1425
1425
|
|
|
1426
1426
|
# Nav-subtype junction
|
|
@@ -1435,7 +1435,7 @@ class AuthNamespace:
|
|
|
1435
1435
|
"""Add subtypes to nav item."""
|
|
1436
1436
|
return await self._client._request(
|
|
1437
1437
|
endpoint=f"/api/guardian/nav-items/{nav_id}/subtypes",
|
|
1438
|
-
body={"
|
|
1438
|
+
body={"ids": subtype_ids}
|
|
1439
1439
|
)
|
|
1440
1440
|
|
|
1441
1441
|
async def remove_nav_subtypes(self, nav_id: str, subtype_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1443,7 +1443,7 @@ class AuthNamespace:
|
|
|
1443
1443
|
return await self._client._request(
|
|
1444
1444
|
endpoint=f"/api/guardian/nav-items/{nav_id}/subtypes",
|
|
1445
1445
|
method="DELETE",
|
|
1446
|
-
body={"
|
|
1446
|
+
body={"ids": subtype_ids}
|
|
1447
1447
|
)
|
|
1448
1448
|
|
|
1449
1449
|
# Nav-category junction
|
|
@@ -1458,7 +1458,7 @@ class AuthNamespace:
|
|
|
1458
1458
|
"""Add categories to nav item."""
|
|
1459
1459
|
return await self._client._request(
|
|
1460
1460
|
endpoint=f"/api/guardian/nav-items/{nav_id}/categories",
|
|
1461
|
-
body={"
|
|
1461
|
+
body={"ids": category_ids}
|
|
1462
1462
|
)
|
|
1463
1463
|
|
|
1464
1464
|
async def remove_nav_categories(self, nav_id: str, category_ids: List[str]) -> Dict[str, Any]:
|
|
@@ -1466,7 +1466,7 @@ class AuthNamespace:
|
|
|
1466
1466
|
return await self._client._request(
|
|
1467
1467
|
endpoint=f"/api/guardian/nav-items/{nav_id}/categories",
|
|
1468
1468
|
method="DELETE",
|
|
1469
|
-
body={"
|
|
1469
|
+
body={"ids": category_ids}
|
|
1470
1470
|
)
|
|
1471
1471
|
|
|
1472
1472
|
# ========================================
|
|
@@ -1525,7 +1525,7 @@ class AuthNamespace:
|
|
|
1525
1525
|
"""Add scope requirements to secure table."""
|
|
1526
1526
|
return await self._client._request(
|
|
1527
1527
|
endpoint=f"/api/guardian/secure-tables/{secure_table_id}/scopes",
|
|
1528
|
-
body={"
|
|
1528
|
+
body={"ids": scope_ids}
|
|
1529
1529
|
)
|
|
1530
1530
|
|
|
1531
1531
|
async def remove_secure_table_scopes(
|
|
@@ -1537,7 +1537,7 @@ class AuthNamespace:
|
|
|
1537
1537
|
return await self._client._request(
|
|
1538
1538
|
endpoint=f"/api/guardian/secure-tables/{secure_table_id}/scopes",
|
|
1539
1539
|
method="DELETE",
|
|
1540
|
-
body={"
|
|
1540
|
+
body={"ids": scope_ids}
|
|
1541
1541
|
)
|
|
1542
1542
|
|
|
1543
1543
|
# ========================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/__init__.py
RENAMED
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/audio_capture.py
RENAMED
|
File without changes
|
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/session.py
RENAMED
|
File without changes
|
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus/namespaces/oracle/vad_gate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/requires.txt
RENAMED
|
File without changes
|
{dominus_sdk_python-2.11.0 → dominus_sdk_python-2.12.0}/dominus_sdk_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|