carrier-python 0.1.17__tar.gz → 0.1.19__tar.gz

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.
Files changed (31) hide show
  1. {carrier_python-0.1.17 → carrier_python-0.1.19}/PKG-INFO +1 -1
  2. {carrier_python-0.1.17 → carrier_python-0.1.19}/pyproject.toml +1 -1
  3. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/data/cli.json +97 -0
  4. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/version.py +1 -1
  5. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier_python.egg-info/PKG-INFO +1 -1
  6. {carrier_python-0.1.17 → carrier_python-0.1.19}/tests/test_surface.py +1 -1
  7. {carrier_python-0.1.17 → carrier_python-0.1.19}/README.md +0 -0
  8. {carrier_python-0.1.17 → carrier_python-0.1.19}/setup.cfg +0 -0
  9. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/__init__.py +0 -0
  10. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/adapters.py +0 -0
  11. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/catalog.py +0 -0
  12. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/cli.py +0 -0
  13. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/client.py +0 -0
  14. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/data/operations.json +0 -0
  15. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/errors.py +0 -0
  16. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/http.py +0 -0
  17. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/idempotency.py +0 -0
  18. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/mcp.py +0 -0
  19. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/models.py +0 -0
  20. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/operation_ids.py +0 -0
  21. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.17 → carrier_python-0.1.19}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.17 → carrier_python-0.1.19}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.17 → carrier_python-0.1.19}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.17 → carrier_python-0.1.19}/tests/test_signature.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.17
3
+ Version: 0.1.19
4
4
  Summary: Python client for the Carrier API, MCP server, and CLI.
5
5
  Author: Lifecycle Innovations Limited
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "carrier-python"
7
- version = "0.1.17"
7
+ version = "0.1.19"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1777,6 +1777,103 @@
1777
1777
  "restPath": null,
1778
1778
  "options": []
1779
1779
  },
1780
+ {
1781
+ "invocation": "carrier offerings templates",
1782
+ "domain": "offerings",
1783
+ "summary": "List the versioned starter templates for a connectivity offering, for example travel-booking, own-brand and member-benefit.",
1784
+ "write": false,
1785
+ "transport": "mcp",
1786
+ "tool": "list_connectivity_offering_templates",
1787
+ "restMethod": null,
1788
+ "restPath": null,
1789
+ "options": []
1790
+ },
1791
+ {
1792
+ "invocation": "carrier benefits create",
1793
+ "domain": "benefits",
1794
+ "summary": "Create a member-benefit campaign: a capped number of eSIM claims for one offering revision, each costing a fixed amount from your sponsor wallet.",
1795
+ "write": false,
1796
+ "transport": "mcp",
1797
+ "tool": "create_benefit_campaign",
1798
+ "restMethod": null,
1799
+ "restPath": null,
1800
+ "options": [
1801
+ {
1802
+ "flags": "--offering-id <id>",
1803
+ "description": "Offering the campaign issues from.",
1804
+ "required": true
1805
+ },
1806
+ {
1807
+ "flags": "--revision <n>",
1808
+ "description": "Offering revision, 1 or higher.",
1809
+ "required": true
1810
+ },
1811
+ {
1812
+ "flags": "--max-claims <n>",
1813
+ "description": "Most claims the campaign accepts.",
1814
+ "required": true
1815
+ },
1816
+ {
1817
+ "flags": "--cost-cents <n>",
1818
+ "description": "Cost of one claim in cents.",
1819
+ "required": true
1820
+ },
1821
+ {
1822
+ "flags": "--expires-at <n>",
1823
+ "description": "Expiry as epoch milliseconds.",
1824
+ "required": true
1825
+ },
1826
+ {
1827
+ "flags": "--product-id <id>",
1828
+ "description": "Optional product to issue from.",
1829
+ "required": false
1830
+ }
1831
+ ]
1832
+ },
1833
+ {
1834
+ "invocation": "carrier benefits claim",
1835
+ "domain": "benefits",
1836
+ "summary": "Claim one benefit from a campaign for an external reference, which places a hold on the sponsor wallet.",
1837
+ "write": false,
1838
+ "transport": "mcp",
1839
+ "tool": "claim_benefit",
1840
+ "restMethod": null,
1841
+ "restPath": null,
1842
+ "options": [
1843
+ {
1844
+ "flags": "--campaign-id <id>",
1845
+ "description": "Campaign id, cbc_ followed by 32 hex characters.",
1846
+ "required": true
1847
+ },
1848
+ {
1849
+ "flags": "--external-ref <ref>",
1850
+ "description": "Your own reference for the claimant, 1 to 200 characters.",
1851
+ "required": true
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "invocation": "carrier benefits issue",
1857
+ "domain": "benefits",
1858
+ "summary": "Issue ONE REAL eSIM for a held claim and settle the wallet hold.",
1859
+ "write": false,
1860
+ "transport": "mcp",
1861
+ "tool": "issue_benefit_claim",
1862
+ "restMethod": null,
1863
+ "restPath": null,
1864
+ "options": [
1865
+ {
1866
+ "flags": "--campaign-id <id>",
1867
+ "description": "Campaign id, cbc_ followed by 32 hex characters.",
1868
+ "required": true
1869
+ },
1870
+ {
1871
+ "flags": "--claim-id <id>",
1872
+ "description": "Claim id from claim_benefit, cbl_ followed by 32 hex characters.",
1873
+ "required": true
1874
+ }
1875
+ ]
1876
+ },
1780
1877
  {
1781
1878
  "invocation": "carrier billing events",
1782
1879
  "domain": "billing",
@@ -1,3 +1,3 @@
1
1
  """Package version. Kept beside the HTTP client so the user agent stays in sync."""
2
2
 
3
- __version__ = "0.1.17"
3
+ __version__ = "0.1.19"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.17
3
+ Version: 0.1.19
4
4
  Summary: Python client for the Carrier API, MCP server, and CLI.
5
5
  Author: Lifecycle Innovations Limited
6
6
  License: MIT
@@ -201,7 +201,7 @@ class SurfaceTest(unittest.TestCase):
201
201
  package = Path(__file__).resolve().parents[1]
202
202
  with (package / "pyproject.toml").open("rb") as handle:
203
203
  version = tomllib.load(handle)["project"]["version"]
204
- self.assertEqual(version, "0.1.17")
204
+ self.assertEqual(version, "0.1.19")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)