agilicus 1.258.10__py3-none-any.whl → 1.258.11__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.258.10/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.258.11/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.06.06\n"\
390
- "SDK Package Version: 1.258.10".\
390
+ "SDK Package Version: 1.258.11".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -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.06.06
7
- - Package version: 1.258.10
7
+ - Package version: 1.258.11
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
@@ -1076,6 +1076,17 @@ def show_org(ctx, org_id, **kwargs):
1076
1076
  output_entry(ctx, orgs.get(ctx, org_id, **kwargs))
1077
1077
 
1078
1078
 
1079
+ @cli.command(name="show-customer")
1080
+ @click.argument("org-id", default=None, required=False)
1081
+ @click.pass_context
1082
+ def show_customer(ctx, org_id, **kwargs):
1083
+ org = orgs.get_raw(ctx, org_id, **kwargs)
1084
+ account = billing.get_billing_account(
1085
+ ctx, billing_account_id=org.billing_account_id, get_customer_data=True
1086
+ )
1087
+ output_entry(ctx, account.to_dict()["status"].get("customer"))
1088
+
1089
+
1079
1090
  @cli.command(name="show-org-billing-account")
1080
1091
  @click.option("--org-id", default=None)
1081
1092
  @click.pass_context
agilicus/orgs.py CHANGED
@@ -80,6 +80,7 @@ def query_suborgs(ctx, org_id=None, **kwargs):
80
80
 
81
81
 
82
82
  def get_raw(ctx, org_id):
83
+ org_id = get_org_from_input_or_ctx(ctx, org_id)
83
84
  apiclient = context.get_apiclient(ctx)
84
85
  org = apiclient.org_api.get_org(org_id=org_id)
85
86
  return org
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.258.10
3
+ Version: 1.258.11
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=yLAZAl2SON8C5_FZyUL96UDWFEyrfYt_th
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=XHbgEyONFotQ1X2XAU1E2mN_9Ncs6ki7T9G8LyiIw-Q,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=nkvmSqf9DitbWbE6ZZdGpkQPhSyJwKDk883rBdr9NR4,38846
74
+ agilicus/agilicus_api/api_client.py,sha256=vTz9RZi6ewON9pLC6lSn1wZGLYEPCORM9HWFZzP6E60,38846
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=JHVueXlTyyTbY5PishgdJ0Lo_koKUUjywAuPOjOJFu0,18448
76
+ agilicus/agilicus_api/configuration.py,sha256=T9dzwWZwL8wx5AwzpkzMnG9g9utLMlGgRWfdBu1pEsk,18448
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
@@ -2508,7 +2508,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=7h6jJDszOS9nkg3x
2508
2508
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=eduqxdVo6LmbNfBOLEidxAP9SHRYj6kYOo6mBy_KMzA,2832
2509
2509
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=7jWWtzYL6N0hTIfqH3Psy3NFMH0WulPgnRorwphGdIc,2846
2510
2510
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=KHWHiVvdVP2y31GpTpOFFVVTIPS0kETpbS-AK6KoC1A,2746
2511
- agilicus/agilicus_api_README.md,sha256=QBQ-hSzEKDXkCPN3-GLM4mEXhaidd-e8Oc5ravX87oM,160943
2511
+ agilicus/agilicus_api_README.md,sha256=PUdIdf14SPadswjDNRYw981zXZbbjLyVxjcoeH0VpHY,160943
2512
2512
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2513
2513
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2514
2514
  agilicus/apps.py,sha256=QMiV9ThED6lqS2l7Jr5Mei7fNBo8FEvPEtCae1NK3Pk,51814
@@ -2558,10 +2558,10 @@ agilicus/labels/labels_main.py,sha256=ptJ34mf-iVaf8ezf3RWLcpeP2O0ntezS4tqJ0ks0el
2558
2558
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2559
2559
  agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
2560
2560
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2561
- agilicus/main.py,sha256=lGbzH7QPpMWGtqQsCILMkT5OvFcHXD0DPEyZ9Lr94ZY,269251
2561
+ agilicus/main.py,sha256=lvkcRxXYfKOWRwgnNvCMUmQCCNcQ7flnQDyMm4axlXg,269647
2562
2562
  agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
2563
2563
  agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
2564
- agilicus/orgs.py,sha256=SPDKJPjZQfqdbNXTIc2Ae5gktEio5Llvs0Bqvh4wFP0,14127
2564
+ agilicus/orgs.py,sha256=cj8UW2nG5D7mR_OUrwHB1P6BOHg-XGGiWX06PDhu7kI,14179
2565
2565
  agilicus/output/__init__.py,sha256=UKZbHS4t15vazJuN46FN-3HHqkxMXU0p3df2VcsSLcY,110
2566
2566
  agilicus/output/column_builder.py,sha256=TWo4t8ygaTUv7qjD_moDroD1bKzzyTIao0FmLy5gs4o,4284
2567
2567
  agilicus/output/console.py,sha256=xBURxlA7H1kmQ7zIKuifs_aQJq1cvmCJ5CtQVSo3_Ns,400
@@ -2599,8 +2599,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2599
2599
  agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
2600
2600
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2601
2601
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2602
- agilicus-1.258.10.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
- agilicus-1.258.10.dist-info/METADATA,sha256=HwtI33h6NzbS2pIddDw9laPgVdtXHz-xgYvaM3PwGPE,3823
2604
- agilicus-1.258.10.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
- agilicus-1.258.10.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
- agilicus-1.258.10.dist-info/RECORD,,
2602
+ agilicus-1.258.11.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
+ agilicus-1.258.11.dist-info/METADATA,sha256=xQUANK8KMSarDcSR_3Q8LDTBMxOKjSaJZeAuUgQxSE0,3823
2604
+ agilicus-1.258.11.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
+ agilicus-1.258.11.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
+ agilicus-1.258.11.dist-info/RECORD,,