agilicus 1.256.7__py3-none-any.whl → 1.256.8__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.
- agilicus/agilicus_api/api_client.py +1 -1
- agilicus/agilicus_api/configuration.py +1 -1
- agilicus/agilicus_api_README.md +1 -1
- agilicus/main.py +20 -1
- agilicus/orgs.py +21 -0
- {agilicus-1.256.7.dist-info → agilicus-1.256.8.dist-info}/METADATA +1 -1
- {agilicus-1.256.7.dist-info → agilicus-1.256.8.dist-info}/RECORD +10 -10
- {agilicus-1.256.7.dist-info → agilicus-1.256.8.dist-info}/LICENSE.txt +0 -0
- {agilicus-1.256.7.dist-info → agilicus-1.256.8.dist-info}/WHEEL +0 -0
- {agilicus-1.256.7.dist-info → agilicus-1.256.8.dist-info}/entry_points.txt +0 -0
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
77
77
|
self.default_headers[header_name] = header_value
|
78
78
|
self.cookie = cookie
|
79
79
|
# Set default User-Agent.
|
80
|
-
self.user_agent = 'OpenAPI-Generator/1.256.
|
80
|
+
self.user_agent = 'OpenAPI-Generator/1.256.8/python'
|
81
81
|
|
82
82
|
def __enter__(self):
|
83
83
|
return self
|
@@ -387,7 +387,7 @@ class Configuration(object):
|
|
387
387
|
"OS: {env}\n"\
|
388
388
|
"Python Version: {pyversion}\n"\
|
389
389
|
"Version of the API: 2024.05.09\n"\
|
390
|
-
"SDK Package Version: 1.256.
|
390
|
+
"SDK Package Version: 1.256.8".\
|
391
391
|
format(env=sys.platform, pyversion=sys.version)
|
392
392
|
|
393
393
|
def get_host_settings(self):
|
agilicus/agilicus_api_README.md
CHANGED
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
|
|
4
4
|
The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
5
5
|
|
6
6
|
- API version: 2024.05.09
|
7
|
-
- Package version: 1.256.
|
7
|
+
- Package version: 1.256.8
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
9
9
|
For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
|
10
10
|
|
agilicus/main.py
CHANGED
@@ -1013,7 +1013,8 @@ def list_useful_orgs_(ctx, **kwargs):
|
|
1013
1013
|
@click.option("--list-children", default=True, type=bool)
|
1014
1014
|
@click.option("--enabled", default=None, type=bool)
|
1015
1015
|
@click.option("--page-at-id", default=None)
|
1016
|
-
@click.option("--
|
1016
|
+
@click.option("--suborg-updated", default=False, type=bool)
|
1017
|
+
@click.option("--get-system-options", default=False)
|
1017
1018
|
@click.option(
|
1018
1019
|
"--page-size",
|
1019
1020
|
type=int,
|
@@ -1051,6 +1052,7 @@ def reconcile_sub_org_issuer(ctx, **kwargs):
|
|
1051
1052
|
|
1052
1053
|
@cli.command(name="show-org")
|
1053
1054
|
@click.argument("org-id", default=None, required=False)
|
1055
|
+
@click.option("--get-system-options", default=False)
|
1054
1056
|
@click.pass_context
|
1055
1057
|
def show_org(ctx, org_id, **kwargs):
|
1056
1058
|
output_entry(ctx, orgs.get(ctx, org_id, **kwargs))
|
@@ -1153,6 +1155,23 @@ def remove_feature(ctx, feature, **kwargs):
|
|
1153
1155
|
output_entry(ctx, result)
|
1154
1156
|
|
1155
1157
|
|
1158
|
+
@cli.command(name="update-system-options")
|
1159
|
+
@click.argument("org-id")
|
1160
|
+
@click.option("--allowed-domains", multiple=True)
|
1161
|
+
@click.pass_context
|
1162
|
+
def update_system_options(ctx, org_id, **kwargs):
|
1163
|
+
result = orgs.replace_system_options(ctx, org_id, **kwargs)
|
1164
|
+
output_entry(ctx, result)
|
1165
|
+
|
1166
|
+
|
1167
|
+
@cli.command(name="get-system-options")
|
1168
|
+
@click.argument("org-id")
|
1169
|
+
@click.pass_context
|
1170
|
+
def get_system_options(ctx, org_id):
|
1171
|
+
result = orgs.get_system_options(ctx, org_id)
|
1172
|
+
output_entry(ctx, result)
|
1173
|
+
|
1174
|
+
|
1156
1175
|
@cli.command(name="add-org")
|
1157
1176
|
@click.argument("organisation")
|
1158
1177
|
@click.argument("issuer")
|
agilicus/orgs.py
CHANGED
@@ -322,6 +322,27 @@ def delete(ctx, org_id):
|
|
322
322
|
return json.loads(resp.text)
|
323
323
|
|
324
324
|
|
325
|
+
def get_system_options(ctx, org_id=None):
|
326
|
+
token = context.get_token(ctx)
|
327
|
+
if not org_id:
|
328
|
+
org_id = context.get_org_id(ctx, token)
|
329
|
+
|
330
|
+
apiclient = context.get_apiclient_from_ctx(ctx)
|
331
|
+
return apiclient.org_api.get_system_options(org_id).to_dict()
|
332
|
+
|
333
|
+
|
334
|
+
def replace_system_options(ctx, org_id, allowed_domains):
|
335
|
+
apiclient = context.get_apiclient(ctx)
|
336
|
+
system_options = get_system_options(ctx, org_id)
|
337
|
+
|
338
|
+
if allowed_domains is not None:
|
339
|
+
system_options["allowed_domains"] = allowed_domains
|
340
|
+
|
341
|
+
return apiclient.org_api.replace_system_options(
|
342
|
+
org_id=org_id, organisation_system_options=system_options
|
343
|
+
).to_dict()
|
344
|
+
|
345
|
+
|
325
346
|
def find_feature(features, feature_name):
|
326
347
|
for feature in features:
|
327
348
|
if feature.feature == feature_name:
|
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=b2RPVEHcDTMMepm2ns3viUaz07Ssfy7XU5
|
|
71
71
|
agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
|
72
72
|
agilicus/agilicus_api/api/whoami_api.py,sha256=9C0-iX0n4sWlpD1RHsDWWDcARFjY90uOFjdWggRZytw,7941
|
73
73
|
agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
|
74
|
-
agilicus/agilicus_api/api_client.py,sha256=
|
74
|
+
agilicus/agilicus_api/api_client.py,sha256=ZPTsMZj1ok038zFOecNzI-zpOJuVyS7V1ILjRPWj4rA,38845
|
75
75
|
agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
|
76
|
-
agilicus/agilicus_api/configuration.py,sha256=
|
76
|
+
agilicus/agilicus_api/configuration.py,sha256=zXPRBvrFXd6qYG1AdRQu4_xDrIeZbA3GBUpP4MhFYrs,18447
|
77
77
|
agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
|
78
78
|
agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
|
79
79
|
agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
|
@@ -2481,7 +2481,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=qQsfg13-4vp6IddI
|
|
2481
2481
|
agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=9wWllirEPH1CuceQBSgVxW-TBQaPaZ3xuPc3jDMjg1I,2832
|
2482
2482
|
agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=COIYEeedyzr928jTCqkmFegB6L8fBfIBjh2c3AgP7to,2846
|
2483
2483
|
agilicus/agilicus_api/test/test_xss_settings.py,sha256=jewRl1k4ciHhxlv06Thi2ESci6sm0bVHaseA8orsQA8,2746
|
2484
|
-
agilicus/agilicus_api_README.md,sha256=
|
2484
|
+
agilicus/agilicus_api_README.md,sha256=LGAt7gN1mALeXpPyX4ySW0UweOfhpXWvqE-TrEez0C8,159245
|
2485
2485
|
agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
|
2486
2486
|
agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
|
2487
2487
|
agilicus/apps.py,sha256=cq_EDY49XLg4y3kxET_whzA0mOXVGinlo0rA9GLQDxM,51082
|
@@ -2531,10 +2531,10 @@ agilicus/labels/labels_main.py,sha256=ptJ34mf-iVaf8ezf3RWLcpeP2O0ntezS4tqJ0ks0el
|
|
2531
2531
|
agilicus/launchers.py,sha256=XRW8cO_S7HHs-Cc6_baol9AOOsuGlMto7bLcsKYk6qA,11199
|
2532
2532
|
agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
|
2533
2533
|
agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
|
2534
|
-
agilicus/main.py,sha256=
|
2534
|
+
agilicus/main.py,sha256=1AMlFBzcw8eabPG-KzM8liCPUX8qUzMEQl8E-s2rgyw,266985
|
2535
2535
|
agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
|
2536
2536
|
agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
|
2537
|
-
agilicus/orgs.py,sha256=
|
2537
|
+
agilicus/orgs.py,sha256=SPDKJPjZQfqdbNXTIc2Ae5gktEio5Llvs0Bqvh4wFP0,14127
|
2538
2538
|
agilicus/output/__init__.py,sha256=UKZbHS4t15vazJuN46FN-3HHqkxMXU0p3df2VcsSLcY,110
|
2539
2539
|
agilicus/output/column_builder.py,sha256=TWo4t8ygaTUv7qjD_moDroD1bKzzyTIao0FmLy5gs4o,4284
|
2540
2540
|
agilicus/output/console.py,sha256=xBURxlA7H1kmQ7zIKuifs_aQJq1cvmCJ5CtQVSo3_Ns,400
|
@@ -2572,8 +2572,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
|
|
2572
2572
|
agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
|
2573
2573
|
agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
|
2574
2574
|
agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
|
2575
|
-
agilicus-1.256.
|
2576
|
-
agilicus-1.256.
|
2577
|
-
agilicus-1.256.
|
2578
|
-
agilicus-1.256.
|
2579
|
-
agilicus-1.256.
|
2575
|
+
agilicus-1.256.8.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
|
2576
|
+
agilicus-1.256.8.dist-info/METADATA,sha256=GBixz0cLSM0j-TvLfyUGL41ka1FvsDZgEbe3yDdFND4,3822
|
2577
|
+
agilicus-1.256.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
2578
|
+
agilicus-1.256.8.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
|
2579
|
+
agilicus-1.256.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|