agilicus 1.301.4__py3-none-any.whl → 1.302.1__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.
@@ -1449,7 +1449,7 @@ class LicensingApi(object):
1449
1449
  ):
1450
1450
  """Create or update a license # noqa: E501
1451
1451
 
1452
- Update a license # noqa: E501
1452
+ Update a license. If subscription_reconcil is set and the product changes, then the system will update the prices in the billing system to align. # noqa: E501
1453
1453
  This method makes a synchronous HTTP request by default. To make an
1454
1454
  asynchronous HTTP request, please pass async_req=True
1455
1455
 
@@ -1460,6 +1460,7 @@ class LicensingApi(object):
1460
1460
  license_id (str): A license id
1461
1461
 
1462
1462
  Keyword Args:
1463
+ subscription_reconcile (bool): Allows control when communicating with backend provider, specifically with regard to subscriptions, and reconcile the subscription with the product . [optional]
1463
1464
  license (License): [optional]
1464
1465
  _return_http_data_only (bool): response data without head status
1465
1466
  code and headers. Default is True.
@@ -1524,6 +1525,7 @@ class LicensingApi(object):
1524
1525
  params_map={
1525
1526
  'all': [
1526
1527
  'license_id',
1528
+ 'subscription_reconcile',
1527
1529
  'license',
1528
1530
  ],
1529
1531
  'required': [
@@ -1544,14 +1546,18 @@ class LicensingApi(object):
1544
1546
  'openapi_types': {
1545
1547
  'license_id':
1546
1548
  (str,),
1549
+ 'subscription_reconcile':
1550
+ (bool,),
1547
1551
  'license':
1548
1552
  (License,),
1549
1553
  },
1550
1554
  'attribute_map': {
1551
1555
  'license_id': 'license_id',
1556
+ 'subscription_reconcile': 'subscription_reconcile',
1552
1557
  },
1553
1558
  'location_map': {
1554
1559
  'license_id': 'path',
1560
+ 'subscription_reconcile': 'query',
1555
1561
  'license': 'body',
1556
1562
  },
1557
1563
  'collection_format_map': {
@@ -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.301.4/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.302.1/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.10.06\n"\
390
- "SDK Package Version: 1.301.4".\
390
+ "SDK Package Version: 1.302.1".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -1027,7 +1027,7 @@ Name | Type | Description | Notes
1027
1027
 
1028
1028
  Create or update a license
1029
1029
 
1030
- Update a license
1030
+ Update a license. If subscription_reconcil is set and the product changes, then the system will update the prices in the billing system to align.
1031
1031
 
1032
1032
  ### Example
1033
1033
 
@@ -1059,6 +1059,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
1059
1059
  # Create an instance of the API class
1060
1060
  api_instance = licensing_api.LicensingApi(api_client)
1061
1061
  license_id = "1234" # str | A license id
1062
+ subscription_reconcile = True # bool | Allows control when communicating with backend provider, specifically with regard to subscriptions, and reconcile the subscription with the product (optional)
1062
1063
  license = License(
1063
1064
  metadata=MetadataWithId(),
1064
1065
  spec=LicenseSpec(
@@ -1088,7 +1089,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
1088
1089
  # and optional values
1089
1090
  try:
1090
1091
  # Create or update a license
1091
- api_response = api_instance.replace_license(license_id, license=license)
1092
+ api_response = api_instance.replace_license(license_id, subscription_reconcile=subscription_reconcile, license=license)
1092
1093
  pprint(api_response)
1093
1094
  except agilicus_api.ApiException as e:
1094
1095
  print("Exception when calling LicensingApi->replace_license: %s\n" % e)
@@ -1100,6 +1101,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
1100
1101
  Name | Type | Description | Notes
1101
1102
  ------------- | ------------- | ------------- | -------------
1102
1103
  **license_id** | **str**| A license id |
1104
+ **subscription_reconcile** | **bool**| Allows control when communicating with backend provider, specifically with regard to subscriptions, and reconcile the subscription with the product | [optional]
1103
1105
  **license** | [**License**](License.md)| | [optional]
1104
1106
 
1105
1107
  ### Return type
@@ -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.10.06
7
- - Package version: 1.301.4
7
+ - Package version: 1.302.1
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
 
@@ -88,6 +88,7 @@ def update_license(
88
88
  vars=None,
89
89
  replace_constraints=None,
90
90
  replace_vars=None,
91
+ subscription_reconcile=None,
91
92
  **kwargs,
92
93
  ):
93
94
  apiclient = context.get_apiclient_from_ctx(ctx)
@@ -102,7 +103,10 @@ def update_license(
102
103
  agilicus_api.LicenseSpec, mapping.spec, kwargs, check_type=False
103
104
  )
104
105
 
105
- return apiclient.licensing_api.replace_license(license_id, license=mapping)
106
+ query = {}
107
+ if subscription_reconcile:
108
+ query["subscription_reconcile"] = subscription_reconcile
109
+ return apiclient.licensing_api.replace_license(license_id, license=mapping, **query)
106
110
 
107
111
 
108
112
  def apply_constraint_and_vars(obj, constraints, vars, replace_constraints, replace_vars):
@@ -125,6 +125,11 @@ def add_license(ctx, **kwargs):
125
125
  type=bool,
126
126
  is_flag=True,
127
127
  )
128
+ @click.option(
129
+ "--subscription-reconcile",
130
+ type=bool,
131
+ is_flag=True,
132
+ )
128
133
  @click.pass_context
129
134
  def replace_license(ctx, **kwargs):
130
135
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agilicus
3
- Version: 1.301.4
3
+ Version: 1.302.1
4
4
  Summary: Agilicus SDK
5
5
  License: MIT
6
6
  Author: Agilicus Devs
@@ -16,7 +16,7 @@ Provides-Extra: billing
16
16
  Requires-Dist: PyJWT (>=2.10.1,<3.0.0)
17
17
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
18
18
  Requires-Dist: babel (>=2.13.1,<3.0.0)
19
- Requires-Dist: certifi (==2025.8.3)
19
+ Requires-Dist: certifi (==2025.10.5)
20
20
  Requires-Dist: click (>=8.2.1,<9.0.0)
21
21
  Requires-Dist: click-shell (>=2.1,<3.0)
22
22
  Requires-Dist: colorama (>=0.4.6,<0.5.0)
@@ -41,7 +41,7 @@ agilicus/agilicus_api/api/labels_api.py,sha256=aay7rbjWbHxF0HjwuoMm8SIVceJIZQZOm
41
41
  agilicus/agilicus_api/api/labels_api_mock.py,sha256=ezN7URWdOlec-RTFnXUQI9bvVEaH7zGl6XfXapQ3OiY,3946
42
42
  agilicus/agilicus_api/api/launchers_api.py,sha256=2E99bq5V-WHCy-Qc2KQQDA7UdOIXoHr87YDuJEz3mxE,30046
43
43
  agilicus/agilicus_api/api/launchers_api_mock.py,sha256=xTKffM5RAWW3ey1OK7nuC7YgV90HNu_LeTXfqjeWtuQ,1440
44
- agilicus/agilicus_api/api/licensing_api.py,sha256=WzdY2RjP7p70WnfAGcFu_xRyZ9tSOF-dvCdJAw8VLXo,70546
44
+ agilicus/agilicus_api/api/licensing_api.py,sha256=iTegI6KX89ve94JSH8shq9fvc69iFAzzRoG_8E_bVYM,71156
45
45
  agilicus/agilicus_api/api/licensing_api_mock.py,sha256=NVAXvEIN1Cx21tGFWsO_riecHrBpVtk2iLzgdEFqob4,4044
46
46
  agilicus/agilicus_api/api/lookups_api.py,sha256=MlTrUWPTNLdCZ7B7yeubt5V6GGYH_vCY6vfzVQjodkE,12666
47
47
  agilicus/agilicus_api/api/lookups_api_mock.py,sha256=QYAyrjg4xHsq4oLR4gKfK7JbP5jQgeG12T9gJgXqErs,647
@@ -73,9 +73,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=7zCLPmh0gS2gVLbIqTkU5Vhr6OcVbBi1f9
73
73
  agilicus/agilicus_api/api/users_api_mock.py,sha256=8FL2tkK1zGGN_SuPxtZ7CX-B6gqfZaqq37TuY9ETVV0,20960
74
74
  agilicus/agilicus_api/api/whoami_api.py,sha256=NI17eg_PkdYUv_S64n8dZq13mLLqUNiy6vUQa0YG1cA,7941
75
75
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
76
- agilicus/agilicus_api/api_client.py,sha256=CvIkyp43zAKHFKbWJq06jqEaN9ytrp4GLnmiddrQY7E,38845
76
+ agilicus/agilicus_api/api_client.py,sha256=0iTV5-xgRHCBA655wmWH5VpJYS-mVKLcTLPaC4JMvAs,38845
77
77
  agilicus/agilicus_api/apis/__init__.py,sha256=ijG84bKeWq8lCvqXBtmWXrEnDMfw2t5qu5nQwgAyckU,2280
78
- agilicus/agilicus_api/configuration.py,sha256=TWoANyYlVm-bFhkLQ1EEfA4qQjPoeLBz23DHvOlezvc,18447
78
+ agilicus/agilicus_api/configuration.py,sha256=HP9S3vY7ePPBc69NOjBAzn63sL6YNf0n7w-RWVUtHdc,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
@@ -481,7 +481,7 @@ agilicus/agilicus_api/docs/LicensedProduct.md,sha256=EwGiQtbwLlgpHODWWY7rA46sqdY
481
481
  agilicus/agilicus_api/docs/LicensedProductName.md,sha256=3yXj0F6UnIAzaVQp-9q0sAguyvrEzSLNDVC-bX-ozTA,552
482
482
  agilicus/agilicus_api/docs/LicensedProductPrice.md,sha256=fE9m7hRFh0I3QJ4h4bmTQnawIRvkLElzY9-NfFv-o1M,652
483
483
  agilicus/agilicus_api/docs/LicensedProductPriceBreakdown.md,sha256=AZ4IiBtDHIwzGfhLB7rLbjZi7wokYUg8kp11FXCwfzc,774
484
- agilicus/agilicus_api/docs/LicensingApi.md,sha256=Gzx6UOcLVu-Re4NXMWmFy93hJ_0pwwMcR_4h-GBDSro,49677
484
+ agilicus/agilicus_api/docs/LicensingApi.md,sha256=e-avBVYFIT5z_jU81dS17suGcVUf9Xva-LW1-A9tZKg,50259
485
485
  agilicus/agilicus_api/docs/ListAPIKeysResponse.md,sha256=KUJywGuu--nLr95xwwPsGp_28cU4ALreI8n-uKPmI9M,1272
486
486
  agilicus/agilicus_api/docs/ListAccessRequestsResponse.md,sha256=-tUhb6otlQyktm3WePJ7ySkgR9RQGhDmyeBudxTF0k0,860
487
487
  agilicus/agilicus_api/docs/ListActiveUsersResponse.md,sha256=n0xBgqAYccmXGvchLsZdhG5OnRa2ZVpyyAzyJ7P_FkI,635
@@ -2851,7 +2851,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=nmkNlAA2SZ234qNh
2851
2851
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=CrIB9e7h8xRvqauh26L5HwGzbFFHsixGcwx4LGWMdsw,2832
2852
2852
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=8jOqZoAuQ8v3NtLo3oGmVQn9em7RIgwVamEH2mqq9a0,2846
2853
2853
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=_pn4IqQgqnPivZ1vGhXtWGsXabdY3Fu5eOUpY3DutPQ,2746
2854
- agilicus/agilicus_api_README.md,sha256=eglOSvDxnUAT1TYpPcq_zcYSPQnU6_zvli0K1RuXI_g,182463
2854
+ agilicus/agilicus_api_README.md,sha256=whcYOrOU3gfAyHGxIMatPigyEDCCdpR9ru1sI8O56Uc,182463
2855
2855
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2856
2856
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2857
2857
  agilicus/apps.py,sha256=jLp8UXURj3y6jd_tLxqHcVipglb-4ZtnEcN1V0PWcys,54647
@@ -2907,8 +2907,8 @@ agilicus/labels/labels_main.py,sha256=l2z_41X3sMJoSM483LmAzJE6bKKHVAEvrPjfz7QvFg
2907
2907
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2908
2908
  agilicus/licensing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2909
2909
  agilicus/licensing/formatters.py,sha256=oZAey_PTD8ywy8ujhgsOTcMcIRnIkVqgNFBEJhViyxE,608
2910
- agilicus/licensing/licenses.py,sha256=bw94uXaaunJEAnlMRkaV_oTp1ZijpISIiPhndbTpKK8,7238
2911
- agilicus/licensing/licensing_main.py,sha256=go1GCWK3evgpwsA2TnHLZgi7joGG2s1vwKX3gYq_QaU,5481
2910
+ agilicus/licensing/licenses.py,sha256=r-TOAnGVnlwuOyDTI8gJUL3e_TKZRoJDoSdslGi8xYk,7391
2911
+ agilicus/licensing/licensing_main.py,sha256=VzDuONgpCIPnGxWdTQzpVNKDc22tFZTXW65L5f-BUT4,5563
2912
2912
  agilicus/licensing/product_table_versions.py,sha256=Zk8L--z8wu6DPnbtYMGifc2J2KdNtnTBgyJv-CRAbr8,3038
2913
2913
  agilicus/logs.py,sha256=Y4XVcLctY-2O-Q_CXbJs9sAqu0NknHKSsqilKiDM_A0,804
2914
2914
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
@@ -2959,8 +2959,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2959
2959
  agilicus/users.py,sha256=DusnnWKg4gkkKkdUjuz1NXpC6FKvE9xwHKdKm3kjHZo,44910
2960
2960
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2961
2961
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2962
- agilicus-1.301.4.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2963
- agilicus-1.301.4.dist-info/METADATA,sha256=KXiP7YudvLC1WoHPFzONMBmYVmyF9qKHkIKGbh6R4io,3837
2964
- agilicus-1.301.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
2965
- agilicus-1.301.4.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2966
- agilicus-1.301.4.dist-info/RECORD,,
2962
+ agilicus-1.302.1.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2963
+ agilicus-1.302.1.dist-info/METADATA,sha256=9fVLxx_nRcJZVNnVSpvt_aYf77amtNiEdeRTT6uzwa0,3838
2964
+ agilicus-1.302.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
2965
+ agilicus-1.302.1.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2966
+ agilicus-1.302.1.dist-info/RECORD,,