carrier-python 0.1.28__tar.gz → 0.1.30__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.28 → carrier_python-0.1.30}/PKG-INFO +1 -1
  2. {carrier_python-0.1.28 → carrier_python-0.1.30}/pyproject.toml +1 -1
  3. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/data/cli.json +11 -0
  4. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/data/operations.json +39 -0
  5. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/operation_ids.py +3 -0
  6. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/version.py +1 -1
  7. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier_python.egg-info/PKG-INFO +1 -1
  8. {carrier_python-0.1.28 → carrier_python-0.1.30}/tests/test_surface.py +1 -1
  9. {carrier_python-0.1.28 → carrier_python-0.1.30}/README.md +0 -0
  10. {carrier_python-0.1.28 → carrier_python-0.1.30}/setup.cfg +0 -0
  11. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/__init__.py +0 -0
  12. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/adapters.py +0 -0
  13. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/catalog.py +0 -0
  14. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/cli.py +0 -0
  15. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/client.py +0 -0
  16. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.28 → carrier_python-0.1.30}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.28 → carrier_python-0.1.30}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.28 → carrier_python-0.1.30}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.28 → carrier_python-0.1.30}/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.28
3
+ Version: 0.1.30
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.28"
7
+ version = "0.1.30"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -2093,6 +2093,17 @@
2093
2093
  }
2094
2094
  ]
2095
2095
  },
2096
+ {
2097
+ "invocation": "carrier billing ai-credits",
2098
+ "domain": "billing",
2099
+ "summary": "Read your organization's AI credit wallet in EUR: balance_eur and available_eur.",
2100
+ "write": false,
2101
+ "transport": "mcp",
2102
+ "tool": "ai_credit_balance",
2103
+ "restMethod": null,
2104
+ "restPath": null,
2105
+ "options": []
2106
+ },
2096
2107
  {
2097
2108
  "invocation": "carrier billing credits",
2098
2109
  "domain": "billing",
@@ -1943,6 +1943,19 @@
1943
1943
  ],
1944
1944
  "headerParams": []
1945
1945
  },
1946
+ {
1947
+ "id": "ai_credit_balance",
1948
+ "method": "GET",
1949
+ "path": "/v1/ai/wallet",
1950
+ "tag": "AI",
1951
+ "summary": "Read your organization's AI credits in EUR",
1952
+ "security": "bearer",
1953
+ "body": false,
1954
+ "bodyRequired": false,
1955
+ "pathParams": [],
1956
+ "queryParams": [],
1957
+ "headerParams": []
1958
+ },
1946
1959
  {
1947
1960
  "id": "ai_chat",
1948
1961
  "method": "POST",
@@ -2179,6 +2192,32 @@
2179
2192
  "queryParams": [],
2180
2193
  "headerParams": []
2181
2194
  },
2195
+ {
2196
+ "id": "list_sandbox_carriers",
2197
+ "method": "GET",
2198
+ "path": "/v1/connectivity/sandbox/carriers",
2199
+ "tag": "Connectivity",
2200
+ "summary": "List sandbox telecom carriers available for simulation",
2201
+ "security": "bearer",
2202
+ "body": false,
2203
+ "bodyRequired": false,
2204
+ "pathParams": [],
2205
+ "queryParams": [],
2206
+ "headerParams": []
2207
+ },
2208
+ {
2209
+ "id": "simulate_sandbox_event",
2210
+ "method": "POST",
2211
+ "path": "/v1/connectivity/sandbox/simulate-event",
2212
+ "tag": "Connectivity",
2213
+ "summary": "Simulate a carrier network or connectivity telemetry event",
2214
+ "security": "bearer",
2215
+ "body": true,
2216
+ "bodyRequired": true,
2217
+ "pathParams": [],
2218
+ "queryParams": [],
2219
+ "headerParams": []
2220
+ },
2182
2221
  {
2183
2222
  "id": "create_connectivity_offering",
2184
2223
  "method": "POST",
@@ -124,6 +124,7 @@ OperationId = Literal[
124
124
  "set_network_default",
125
125
  "plan_network_default",
126
126
  "carrier_webhook_config",
127
+ "ai_credit_balance",
127
128
  "ai_chat",
128
129
  "ai_insights",
129
130
  "ai_quota",
@@ -139,6 +140,8 @@ OperationId = Literal[
139
140
  "void_invoice",
140
141
  "get_invoice_document",
141
142
  "list_connectivity_plans",
143
+ "list_sandbox_carriers",
144
+ "simulate_sandbox_event",
142
145
  "create_connectivity_offering",
143
146
  "list_connectivity_offerings",
144
147
  "list_connectivity_offering_templates",
@@ -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.28"
3
+ __version__ = "0.1.30"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.28
3
+ Version: 0.1.30
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.28")
204
+ self.assertEqual(version, "0.1.30")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)