carrier-python 0.1.40__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.
- {carrier_python-0.1.40 → carrier_python-0.1.42}/PKG-INFO +1 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/pyproject.toml +1 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/data/operations.json +121 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/operation_ids.py +6 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/version.py +1 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier_python.egg-info/PKG-INFO +1 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/tests/test_surface.py +1 -1
- {carrier_python-0.1.40 → carrier_python-0.1.42}/README.md +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/setup.cfg +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/__init__.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/adapters.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/catalog.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/cli.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/client.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/data/cli.json +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/errors.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/http.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/idempotency.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/mcp.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/models.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/operations.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/py.typed +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/records.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/resources.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier/signature.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier_python.egg-info/SOURCES.txt +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier_python.egg-info/dependency_links.txt +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier_python.egg-info/top_level.txt +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/tests/test_client.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/tests/test_issuance.py +0 -0
- {carrier_python-0.1.40 → carrier_python-0.1.42}/tests/test_signature.py +0 -0
|
@@ -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",
|
|
@@ -3478,6 +3500,24 @@
|
|
|
3478
3500
|
"queryParams": [],
|
|
3479
3501
|
"headerParams": []
|
|
3480
3502
|
},
|
|
3503
|
+
{
|
|
3504
|
+
"id": "delete_storefront",
|
|
3505
|
+
"method": "DELETE",
|
|
3506
|
+
"path": "/v1/storefronts/{id}",
|
|
3507
|
+
"tag": "Storefront",
|
|
3508
|
+
"summary": "Delete a hosted storefront and its plans. Refused (409) while the shop is live, has a custom domain attached, has sales history, or has plans and changed in the last 24 hours (an open checkout session can live that long).",
|
|
3509
|
+
"security": "bearer",
|
|
3510
|
+
"body": false,
|
|
3511
|
+
"bodyRequired": false,
|
|
3512
|
+
"pathParams": [
|
|
3513
|
+
{
|
|
3514
|
+
"name": "id",
|
|
3515
|
+
"required": true
|
|
3516
|
+
}
|
|
3517
|
+
],
|
|
3518
|
+
"queryParams": [],
|
|
3519
|
+
"headerParams": []
|
|
3520
|
+
},
|
|
3481
3521
|
{
|
|
3482
3522
|
"id": "upsert_storefront_plan",
|
|
3483
3523
|
"method": "POST",
|
|
@@ -3720,6 +3760,86 @@
|
|
|
3720
3760
|
"queryParams": [],
|
|
3721
3761
|
"headerParams": []
|
|
3722
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
|
+
},
|
|
3723
3843
|
{
|
|
3724
3844
|
"id": "health_check",
|
|
3725
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",
|
|
@@ -209,6 +210,7 @@ OperationId = Literal[
|
|
|
209
210
|
"list_storefront_orders",
|
|
210
211
|
"get_storefront",
|
|
211
212
|
"update_storefront",
|
|
213
|
+
"delete_storefront",
|
|
212
214
|
"upsert_storefront_plan",
|
|
213
215
|
"update_storefront_plan",
|
|
214
216
|
"publish_storefront",
|
|
@@ -221,5 +223,9 @@ OperationId = Literal[
|
|
|
221
223
|
"verify_storefront",
|
|
222
224
|
"verify_storefront_domain",
|
|
223
225
|
"detach_storefront_domain",
|
|
226
|
+
"list_storefront_pages",
|
|
227
|
+
"upsert_storefront_page",
|
|
228
|
+
"update_storefront_page",
|
|
229
|
+
"delete_storefront_page",
|
|
224
230
|
"health_check",
|
|
225
231
|
]
|
|
@@ -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.
|
|
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{carrier_python-0.1.40 → carrier_python-0.1.42}/src/carrier_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|