carrier-python 0.1.42__tar.gz → 0.1.43__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.42 → carrier_python-0.1.43}/PKG-INFO +1 -1
  2. {carrier_python-0.1.42 → carrier_python-0.1.43}/pyproject.toml +1 -1
  3. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/data/operations.json +49 -0
  4. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/operation_ids.py +2 -0
  5. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/version.py +1 -1
  6. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier_python.egg-info/PKG-INFO +1 -1
  7. {carrier_python-0.1.42 → carrier_python-0.1.43}/tests/test_surface.py +1 -1
  8. {carrier_python-0.1.42 → carrier_python-0.1.43}/README.md +0 -0
  9. {carrier_python-0.1.42 → carrier_python-0.1.43}/setup.cfg +0 -0
  10. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/__init__.py +0 -0
  11. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/adapters.py +0 -0
  12. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/catalog.py +0 -0
  13. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/cli.py +0 -0
  14. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/client.py +0 -0
  15. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/data/cli.json +0 -0
  16. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.42 → carrier_python-0.1.43}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.42 → carrier_python-0.1.43}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.42 → carrier_python-0.1.43}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.42 → carrier_python-0.1.43}/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.42
3
+ Version: 0.1.43
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.42"
7
+ version = "0.1.43"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -3190,6 +3190,55 @@
3190
3190
  ],
3191
3191
  "headerParams": []
3192
3192
  },
3193
+ {
3194
+ "id": "list_storefront_buyer_subscriptions",
3195
+ "method": "GET",
3196
+ "path": "/api/subscriptions",
3197
+ "tag": "Storefront",
3198
+ "summary": "List subscriptions one buyer holds on one shop",
3199
+ "security": "storefront",
3200
+ "body": false,
3201
+ "bodyRequired": false,
3202
+ "pathParams": [],
3203
+ "queryParams": [
3204
+ {
3205
+ "name": "storefront",
3206
+ "required": true
3207
+ },
3208
+ {
3209
+ "name": "email",
3210
+ "required": true
3211
+ }
3212
+ ],
3213
+ "headerParams": []
3214
+ },
3215
+ {
3216
+ "id": "cancel_storefront_subscription",
3217
+ "method": "POST",
3218
+ "path": "/api/subscriptions/{subscriptionId}/cancel",
3219
+ "tag": "Storefront",
3220
+ "summary": "Cancel a buyer's subscription at period end",
3221
+ "security": "storefront",
3222
+ "body": false,
3223
+ "bodyRequired": false,
3224
+ "pathParams": [
3225
+ {
3226
+ "name": "subscriptionId",
3227
+ "required": true
3228
+ }
3229
+ ],
3230
+ "queryParams": [
3231
+ {
3232
+ "name": "storefront",
3233
+ "required": true
3234
+ },
3235
+ {
3236
+ "name": "email",
3237
+ "required": true
3238
+ }
3239
+ ],
3240
+ "headerParams": []
3241
+ },
3193
3242
  {
3194
3243
  "id": "get_storefront_order_usage",
3195
3244
  "method": "GET",
@@ -195,6 +195,8 @@ OperationId = Literal[
195
195
  "aggregate_cdr",
196
196
  "list_storefront_templates",
197
197
  "list_storefront_buyer_orders",
198
+ "list_storefront_buyer_subscriptions",
199
+ "cancel_storefront_subscription",
198
200
  "get_storefront_order_usage",
199
201
  "get_storefront_order_top_up_options",
200
202
  "cancel_storefront_top_up_checkout",
@@ -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.42"
3
+ __version__ = "0.1.43"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.42
3
+ Version: 0.1.43
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.42")
204
+ self.assertEqual(version, "0.1.43")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)