carrier-python 0.1.41__tar.gz → 0.1.42__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.41 → carrier_python-0.1.42}/PKG-INFO +1 -1
  2. {carrier_python-0.1.41 → carrier_python-0.1.42}/pyproject.toml +1 -1
  3. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/data/operations.json +103 -1
  4. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/operation_ids.py +5 -0
  5. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/version.py +1 -1
  6. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier_python.egg-info/PKG-INFO +1 -1
  7. {carrier_python-0.1.41 → carrier_python-0.1.42}/tests/test_surface.py +1 -1
  8. {carrier_python-0.1.41 → carrier_python-0.1.42}/README.md +0 -0
  9. {carrier_python-0.1.41 → carrier_python-0.1.42}/setup.cfg +0 -0
  10. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/__init__.py +0 -0
  11. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/adapters.py +0 -0
  12. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/catalog.py +0 -0
  13. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/cli.py +0 -0
  14. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/client.py +0 -0
  15. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/data/cli.json +0 -0
  16. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.41 → carrier_python-0.1.42}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.41 → carrier_python-0.1.42}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.41 → carrier_python-0.1.42}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.41 → carrier_python-0.1.42}/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.41
3
+ Version: 0.1.42
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.41"
7
+ version = "0.1.42"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -3332,7 +3332,7 @@
3332
3332
  "method": "GET",
3333
3333
  "path": "/api/hosted/{slug}",
3334
3334
  "tag": "Storefront",
3335
- "summary": "Published hosted storefront, including its sellable plans",
3335
+ "summary": "Published hosted storefront, including its sellable plans and published content page titles",
3336
3336
  "security": "public",
3337
3337
  "body": false,
3338
3338
  "bodyRequired": false,
@@ -3345,6 +3345,28 @@
3345
3345
  "queryParams": [],
3346
3346
  "headerParams": []
3347
3347
  },
3348
+ {
3349
+ "id": "get_hosted_storefront_page",
3350
+ "method": "GET",
3351
+ "path": "/api/hosted/{slug}/pages/{pageSlug}",
3352
+ "tag": "Storefront",
3353
+ "summary": "One published content page of a published hosted storefront, with its markdown body",
3354
+ "security": "public",
3355
+ "body": false,
3356
+ "bodyRequired": false,
3357
+ "pathParams": [
3358
+ {
3359
+ "name": "slug",
3360
+ "required": true
3361
+ },
3362
+ {
3363
+ "name": "pageSlug",
3364
+ "required": true
3365
+ }
3366
+ ],
3367
+ "queryParams": [],
3368
+ "headerParams": []
3369
+ },
3348
3370
  {
3349
3371
  "id": "get_hosted_storefront_by_host",
3350
3372
  "method": "GET",
@@ -3738,6 +3760,86 @@
3738
3760
  "queryParams": [],
3739
3761
  "headerParams": []
3740
3762
  },
3763
+ {
3764
+ "id": "list_storefront_pages",
3765
+ "method": "GET",
3766
+ "path": "/v1/storefronts/{id}/pages",
3767
+ "tag": "Storefront",
3768
+ "summary": "Every content page of the storefront, drafts included, in display order",
3769
+ "security": "bearer",
3770
+ "body": false,
3771
+ "bodyRequired": false,
3772
+ "pathParams": [
3773
+ {
3774
+ "name": "id",
3775
+ "required": true
3776
+ }
3777
+ ],
3778
+ "queryParams": [],
3779
+ "headerParams": []
3780
+ },
3781
+ {
3782
+ "id": "upsert_storefront_page",
3783
+ "method": "POST",
3784
+ "path": "/v1/storefronts/{id}/pages",
3785
+ "tag": "Storefront",
3786
+ "summary": "Create a content page, or fully replace the page with the same address",
3787
+ "security": "bearer",
3788
+ "body": true,
3789
+ "bodyRequired": true,
3790
+ "pathParams": [
3791
+ {
3792
+ "name": "id",
3793
+ "required": true
3794
+ }
3795
+ ],
3796
+ "queryParams": [],
3797
+ "headerParams": []
3798
+ },
3799
+ {
3800
+ "id": "update_storefront_page",
3801
+ "method": "PATCH",
3802
+ "path": "/v1/storefronts/{id}/pages/{slug}",
3803
+ "tag": "Storefront",
3804
+ "summary": "Edit one content page: title, markdown body, publish state or order. The address never changes.",
3805
+ "security": "bearer",
3806
+ "body": true,
3807
+ "bodyRequired": true,
3808
+ "pathParams": [
3809
+ {
3810
+ "name": "id",
3811
+ "required": true
3812
+ },
3813
+ {
3814
+ "name": "slug",
3815
+ "required": true
3816
+ }
3817
+ ],
3818
+ "queryParams": [],
3819
+ "headerParams": []
3820
+ },
3821
+ {
3822
+ "id": "delete_storefront_page",
3823
+ "method": "DELETE",
3824
+ "path": "/v1/storefronts/{id}/pages/{slug}",
3825
+ "tag": "Storefront",
3826
+ "summary": "Delete one content page. A published page disappears from the shop at once.",
3827
+ "security": "bearer",
3828
+ "body": false,
3829
+ "bodyRequired": false,
3830
+ "pathParams": [
3831
+ {
3832
+ "name": "id",
3833
+ "required": true
3834
+ },
3835
+ {
3836
+ "name": "slug",
3837
+ "required": true
3838
+ }
3839
+ ],
3840
+ "queryParams": [],
3841
+ "headerParams": []
3842
+ },
3741
3843
  {
3742
3844
  "id": "health_check",
3743
3845
  "method": "GET",
@@ -202,6 +202,7 @@ OperationId = Literal[
202
202
  "get_storefront_order",
203
203
  "rollback_storefront_order",
204
204
  "get_hosted_storefront",
205
+ "get_hosted_storefront_page",
205
206
  "get_hosted_storefront_by_host",
206
207
  "get_hosted_storefront_plan_readiness",
207
208
  "list_storefronts",
@@ -222,5 +223,9 @@ OperationId = Literal[
222
223
  "verify_storefront",
223
224
  "verify_storefront_domain",
224
225
  "detach_storefront_domain",
226
+ "list_storefront_pages",
227
+ "upsert_storefront_page",
228
+ "update_storefront_page",
229
+ "delete_storefront_page",
225
230
  "health_check",
226
231
  ]
@@ -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.41"
3
+ __version__ = "0.1.42"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.41
3
+ Version: 0.1.42
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.41")
204
+ self.assertEqual(version, "0.1.42")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)