Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.
Cortex tenant license, SKU, and add-on metadata.
The response from /public_api/v1/system/get_tenant_info is a wide record
of license expiration timestamps, installed/purchased counts, and nested
"purchased" sub-records describing each add-on. Every field is optional —
which fields are populated depends on the tenant's product mix.
Two notable wire-format quirks this module handles:
Polymorphic expirations. *_expiration fields are sometimes
returned as the integer 0 (the add-on is not purchased), sometimes
as a positive integer (a unix-epoch timestamp), and sometimes as a
pre-formatted date string (e.g. "Mar 19th 2027 23:59:59"). Decoded
into the Expiration union.
Polymorphic purchased_* shapes. Most purchased_* fields can
be either the integer 0 (not purchased) or a small nested record
listing the purchased capacity ({ "users": 100, "gb": 100, ... }).
Decoded as Maybe SomePurchasedShape where Nothing covers both
"field absent" and "integer 0".
A license expiration as the API actually emits it.
Disabled — wire integer 0 (the add-on is not purchased).Timestamp — wire positive integer (unix-epoch millis or seconds).DateString — wire pre-formatted string (e.g. "Mar 19th 2027 23:59:59").purchased_xsiam_premium capacity breakdown.
purchased_pro_cloud / purchased_pro_per_endpoint capacity.
purchased_pro_gb / purchased_data_lake_gb capacity.
purchased_agentix_soar / purchased_agentix_tim capacity.
purchased_cloud_posture capacity.
POST /public_api/v1/system/get_tenant_info
Retrieve license, SKU, and add-on metadata for the tenant. Response is
wrapped in the reply envelope; this function unwraps it and decodes
into TenantInfo.
Full tenant licensing/configuration record. Every field is
Maybe— the API only emits fields relevant to the tenant's purchased products, and field coverage varies between tenants and SKUs.