carrier-python 0.1.23__tar.gz → 0.1.25__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.23 → carrier_python-0.1.25}/PKG-INFO +1 -1
  2. {carrier_python-0.1.23 → carrier_python-0.1.25}/pyproject.toml +1 -1
  3. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/data/cli.json +11 -1
  4. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/data/operations.json +49 -0
  5. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/operation_ids.py +2 -0
  6. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/version.py +1 -1
  7. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier_python.egg-info/PKG-INFO +1 -1
  8. {carrier_python-0.1.23 → carrier_python-0.1.25}/tests/test_surface.py +1 -1
  9. {carrier_python-0.1.23 → carrier_python-0.1.25}/README.md +0 -0
  10. {carrier_python-0.1.23 → carrier_python-0.1.25}/setup.cfg +0 -0
  11. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/__init__.py +0 -0
  12. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/adapters.py +0 -0
  13. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/catalog.py +0 -0
  14. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/cli.py +0 -0
  15. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/client.py +0 -0
  16. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.23 → carrier_python-0.1.25}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.23 → carrier_python-0.1.25}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.23 → carrier_python-0.1.25}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.23 → carrier_python-0.1.25}/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.23
3
+ Version: 0.1.25
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.23"
7
+ version = "0.1.25"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1549,7 +1549,7 @@
1549
1549
  {
1550
1550
  "invocation": "carrier intelligence marketing",
1551
1551
  "domain": "intelligence",
1552
- "summary": "Where subscribers and revenue concentrate, and which markets grow.",
1552
+ "summary": "Regional ARPU from historical subscriber charges and catalogue coverage.",
1553
1553
  "write": false,
1554
1554
  "transport": "mcp",
1555
1555
  "tool": "marketing_intelligence",
@@ -1560,6 +1560,16 @@
1560
1560
  "flags": "--account-id <id>",
1561
1561
  "description": "Report on a single account",
1562
1562
  "required": false
1563
+ },
1564
+ {
1565
+ "flags": "--start <date>",
1566
+ "description": "Usage period start (YYYY-MM-DD, maximum seven inclusive days)",
1567
+ "required": false
1568
+ },
1569
+ {
1570
+ "flags": "--end <date>",
1571
+ "description": "Usage period end (YYYY-MM-DD, default today UTC)",
1572
+ "required": false
1563
1573
  }
1564
1574
  ]
1565
1575
  },
@@ -2460,6 +2460,28 @@
2460
2460
  "queryParams": [],
2461
2461
  "headerParams": []
2462
2462
  },
2463
+ {
2464
+ "id": "list_benefit_campaigns",
2465
+ "method": "GET",
2466
+ "path": "/v1/connectivity/benefit-campaigns",
2467
+ "tag": "Connectivity",
2468
+ "summary": "List the sponsored benefit campaigns of the org",
2469
+ "security": "bearer",
2470
+ "body": false,
2471
+ "bodyRequired": false,
2472
+ "pathParams": [],
2473
+ "queryParams": [
2474
+ {
2475
+ "name": "limit",
2476
+ "required": false
2477
+ },
2478
+ {
2479
+ "name": "after",
2480
+ "required": false
2481
+ }
2482
+ ],
2483
+ "headerParams": []
2484
+ },
2463
2485
  {
2464
2486
  "id": "set_benefit_campaign_status",
2465
2487
  "method": "POST",
@@ -2496,6 +2518,33 @@
2496
2518
  "queryParams": [],
2497
2519
  "headerParams": []
2498
2520
  },
2521
+ {
2522
+ "id": "list_benefit_claims",
2523
+ "method": "GET",
2524
+ "path": "/v1/connectivity/benefit-campaigns/{id}/claims",
2525
+ "tag": "Connectivity",
2526
+ "summary": "List the claims of one campaign",
2527
+ "security": "bearer",
2528
+ "body": false,
2529
+ "bodyRequired": false,
2530
+ "pathParams": [
2531
+ {
2532
+ "name": "id",
2533
+ "required": true
2534
+ }
2535
+ ],
2536
+ "queryParams": [
2537
+ {
2538
+ "name": "limit",
2539
+ "required": false
2540
+ },
2541
+ {
2542
+ "name": "after",
2543
+ "required": false
2544
+ }
2545
+ ],
2546
+ "headerParams": []
2547
+ },
2499
2548
  {
2500
2549
  "id": "claim_benefit",
2501
2550
  "method": "POST",
@@ -154,8 +154,10 @@ OperationId = Literal[
154
154
  "set_connectivity_link_status",
155
155
  "resolve_connectivity_public_link",
156
156
  "create_benefit_campaign",
157
+ "list_benefit_campaigns",
157
158
  "set_benefit_campaign_status",
158
159
  "create_benefit_entitlement",
160
+ "list_benefit_claims",
159
161
  "claim_benefit",
160
162
  "issue_benefit_claim",
161
163
  "reconcile_benefit_claim",
@@ -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.23"
3
+ __version__ = "0.1.25"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.23
3
+ Version: 0.1.25
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.23")
204
+ self.assertEqual(version, "0.1.25")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)