carrier-python 0.1.37__tar.gz → 0.1.38__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.37 → carrier_python-0.1.38}/PKG-INFO +1 -1
  2. {carrier_python-0.1.37 → carrier_python-0.1.38}/pyproject.toml +1 -1
  3. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/data/operations.json +36 -0
  4. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/operation_ids.py +2 -0
  5. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/version.py +1 -1
  6. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier_python.egg-info/PKG-INFO +1 -1
  7. {carrier_python-0.1.37 → carrier_python-0.1.38}/tests/test_surface.py +1 -1
  8. {carrier_python-0.1.37 → carrier_python-0.1.38}/README.md +0 -0
  9. {carrier_python-0.1.37 → carrier_python-0.1.38}/setup.cfg +0 -0
  10. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/__init__.py +0 -0
  11. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/adapters.py +0 -0
  12. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/catalog.py +0 -0
  13. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/cli.py +0 -0
  14. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/client.py +0 -0
  15. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/data/cli.json +0 -0
  16. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.37 → carrier_python-0.1.38}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.37 → carrier_python-0.1.38}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.37 → carrier_python-0.1.38}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.37 → carrier_python-0.1.38}/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.37
3
+ Version: 0.1.38
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.37"
7
+ version = "0.1.38"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1417,6 +1417,42 @@
1417
1417
  ],
1418
1418
  "headerParams": []
1419
1419
  },
1420
+ {
1421
+ "id": "affiliates_me_report",
1422
+ "method": "GET",
1423
+ "path": "/v1/affiliates/me/report",
1424
+ "tag": "Affiliates",
1425
+ "summary": "Partner report: per referred org and month, gross charge to net margin to commission",
1426
+ "security": "bearer",
1427
+ "body": false,
1428
+ "bodyRequired": false,
1429
+ "pathParams": [],
1430
+ "queryParams": [
1431
+ {
1432
+ "name": "period",
1433
+ "required": false
1434
+ }
1435
+ ],
1436
+ "headerParams": []
1437
+ },
1438
+ {
1439
+ "id": "partners_me_statement",
1440
+ "method": "GET",
1441
+ "path": "/v1/partners/me/statement",
1442
+ "tag": "Partners",
1443
+ "summary": "Partner statement: every managed org and month with net margin, 70% share, reserve and payable amount",
1444
+ "security": "bearer",
1445
+ "body": false,
1446
+ "bodyRequired": false,
1447
+ "pathParams": [],
1448
+ "queryParams": [
1449
+ {
1450
+ "name": "period",
1451
+ "required": false
1452
+ }
1453
+ ],
1454
+ "headerParams": []
1455
+ },
1420
1456
  {
1421
1457
  "id": "affiliates_link",
1422
1458
  "method": "POST",
@@ -90,6 +90,8 @@ OperationId = Literal[
90
90
  "affiliates_me_get",
91
91
  "affiliates_me_create",
92
92
  "affiliates_me_commissions_list",
93
+ "affiliates_me_report",
94
+ "partners_me_statement",
93
95
  "affiliates_link",
94
96
  "operator_identity_status",
95
97
  "operator_identity_create_session",
@@ -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.37"
3
+ __version__ = "0.1.38"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.37
3
+ Version: 0.1.38
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.37")
204
+ self.assertEqual(version, "0.1.38")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)