agilicus 1.294.1__py3-none-any.whl → 1.295.0__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.
@@ -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.294.1/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.295.0/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: 2025.07.14\n"\
390
- "SDK Package Version: 1.294.1".\
390
+ "SDK Package Version: 1.295.0".\
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: 2025.07.14
7
- - Package version: 1.294.1
7
+ - Package version: 1.295.0
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/billing.py CHANGED
@@ -155,7 +155,12 @@ def list_subscriptions(ctx, page_size=100, page_at_id=None, **kwargs):
155
155
 
156
156
 
157
157
  def format_accounts(
158
- ctx, accounts, get_subscription_data=False, get_customer_data=False, **kwargs
158
+ ctx,
159
+ accounts,
160
+ get_subscription_data=False,
161
+ get_customer_data=False,
162
+ get_usage_metrics=False,
163
+ **kwargs,
159
164
  ):
160
165
  orgs_column = [column("id"), column("organisation")]
161
166
  subscriptions = [
@@ -169,6 +174,14 @@ def format_accounts(
169
174
  optional=True,
170
175
  ),
171
176
  ]
177
+ if get_usage_metrics:
178
+ metrics_columns = [column("type"), column("active")]
179
+ subscriptions.append(
180
+ subtable(
181
+ ctx, "metrics", metrics_columns, subobject_name="status.usage_metrics"
182
+ )
183
+ )
184
+
172
185
  products_column = [
173
186
  column("name", optional=True),
174
187
  ]
agilicus/main.py CHANGED
@@ -7055,6 +7055,7 @@ def delete_upstream_alias_mapping(
7055
7055
  @click.option("--org-id", default=None)
7056
7056
  @click.option("--get-customer-data", is_flag=True, default=False)
7057
7057
  @click.option("--get-subscription-data", is_flag=True, default=False)
7058
+ @click.option("--get-usage-metrics", is_flag=True, default=False)
7058
7059
  @click.option("--limit", default=500, type=int)
7059
7060
  @click.option("--page-at-id", default="")
7060
7061
  @click.option("--page-size", default=100, type=int)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.294.1
3
+ Version: 1.295.0
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -73,9 +73,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=OngnJg4tgThwvKxbA-9lx865yXD595OzMt
73
73
  agilicus/agilicus_api/api/users_api_mock.py,sha256=GP0l1NcvX0ynOiZhRtuArS4D7lviWYADG_5KZNSNY-s,18930
74
74
  agilicus/agilicus_api/api/whoami_api.py,sha256=G_U0DrlRt84MKwcO5xuxGu4pvxjUKpvheRsBZI0nqQk,7941
75
75
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
76
- agilicus/agilicus_api/api_client.py,sha256=3is8TW2B0txnitVIIc7h4s-e7B0ubgNLSGDld_zXPUA,38845
76
+ agilicus/agilicus_api/api_client.py,sha256=fPy8f5Bpq06YiPXnJvWBqgqnunt3Lmm6LJ3RWBCtMQM,38845
77
77
  agilicus/agilicus_api/apis/__init__.py,sha256=ijG84bKeWq8lCvqXBtmWXrEnDMfw2t5qu5nQwgAyckU,2280
78
- agilicus/agilicus_api/configuration.py,sha256=5aDziVk9ZU-_JyJsgpQe3VCnUQ8Nht0K0_bTriFZ0Bo,18447
78
+ agilicus/agilicus_api/configuration.py,sha256=2-rROhSuEV8St4bjkD6QfXeqZKSHFz7Hs3RiszMx8QA,18447
79
79
  agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
80
80
  agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
81
81
  agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
@@ -2782,13 +2782,13 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=xrZ1ne_8J8oPUsic
2782
2782
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=vYM3oUtn5Orhw72Qq9kxryT__DflrXc16iguQRIg8YU,2832
2783
2783
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=SWP4XPtweSiemMuPEZcKSpuCNLx4_lEzKKWyy-DeObI,2846
2784
2784
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=4Su1n_2z4FUzfGG-ydfP8ggI-eN1RnZj_FGmJYI9nZM,2746
2785
- agilicus/agilicus_api_README.md,sha256=u4qkqMSgkJFu87LV-rkxVdrI1J_1iE65tKY3RpZHQyU,178505
2785
+ agilicus/agilicus_api_README.md,sha256=Zs2JRdIq6j72ouiVaaJZVCr9F6RWsFJC4Gt81hO23BU,178505
2786
2786
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2787
2787
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2788
2788
  agilicus/apps.py,sha256=Mdc_pRXyfa-IvIFH7gNbx0Ob64gUHggZyeSyLUDpjMs,54048
2789
2789
  agilicus/audit_destinations.py,sha256=twQon8YiiaW0ZP1nb0C0-XoTEXayEhFr7DrXryHJits,6908
2790
2790
  agilicus/audits.py,sha256=Jn9QijV6x_E0WH4teEs3HFr0RlTCU32k9yxJrpL0gu4,4235
2791
- agilicus/billing.py,sha256=bJ8z3MDEXCrkLg44YnwFp1NX6qw28cFBHar8n8zGUD4,27915
2791
+ agilicus/billing.py,sha256=0XSPqEdGb8kIW6VmKc40hVM3ILW6nvBBspgwfjWYXwQ,28212
2792
2792
  agilicus/catalogues.py,sha256=K8pcc-GLXzSXxvPauNNxIBN4fBVi1jTp57eAv_XmGqA,3218
2793
2793
  agilicus/certificate.py,sha256=Vv5xJK0kckvlmeJJ6rBV7FANODd3nQgSKWT1vJtOpqs,3953
2794
2794
  agilicus/challenges.py,sha256=Ig9888pHGMigBxI_e8m2T_HZiqbU6TxsBXT2EKZoIUY,6968
@@ -2843,7 +2843,7 @@ agilicus/licensing/licensing_main.py,sha256=0DE4sPZ2ZN7nUDCR5ik5HfcoxxjO70LZwwYH
2843
2843
  agilicus/licensing/product_table_versions.py,sha256=Zk8L--z8wu6DPnbtYMGifc2J2KdNtnTBgyJv-CRAbr8,3038
2844
2844
  agilicus/logs.py,sha256=Y4XVcLctY-2O-Q_CXbJs9sAqu0NknHKSsqilKiDM_A0,804
2845
2845
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2846
- agilicus/main.py,sha256=p55RciW7G2UehNv3vBngkFfT3Na5WlvAW_J2t8z3mnk,294853
2846
+ agilicus/main.py,sha256=zoU1flxjwExZ7B2nojoTT3IHDCPSohtOhs6WgIBQirM,294919
2847
2847
  agilicus/messages/__init__.py,sha256=cVqfaKUndO-AYfppkdFICM5WvYFFB1hRjXihFWmiGPQ,174
2848
2848
  agilicus/messages/messages.py,sha256=b2eO6BaWI9UZTLETcdy1NotyuNlKIJf6CS_TUzehuk4,9175
2849
2849
  agilicus/messages/messages_main.py,sha256=A0xucYwwUZFIuUc0bAyAqVwofErakmyawq5bwhZKcOU,1598
@@ -2890,8 +2890,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2890
2890
  agilicus/users.py,sha256=dDt86whkSHif85cb5w7ocVcBO0wKpMEo8H79b082qRM,44474
2891
2891
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2892
2892
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2893
- agilicus-1.294.1.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2894
- agilicus-1.294.1.dist-info/METADATA,sha256=Q_k-gM3oRG_FC1e8WzmakR2nxk_ttsLDZgq_DKrHTCQ,3878
2895
- agilicus-1.294.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2896
- agilicus-1.294.1.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2897
- agilicus-1.294.1.dist-info/RECORD,,
2893
+ agilicus-1.295.0.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2894
+ agilicus-1.295.0.dist-info/METADATA,sha256=Vhp9dbM9LGBKH-H2kWqrO_-d9KNi8mliVEBDmxSs2dc,3878
2895
+ agilicus-1.295.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2896
+ agilicus-1.295.0.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2897
+ agilicus-1.295.0.dist-info/RECORD,,