carrier-python 0.1.41__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.
- {carrier_python-0.1.41 → carrier_python-0.1.43}/PKG-INFO +1 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/pyproject.toml +1 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/data/operations.json +152 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/operation_ids.py +7 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/version.py +1 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier_python.egg-info/PKG-INFO +1 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/tests/test_surface.py +1 -1
- {carrier_python-0.1.41 → carrier_python-0.1.43}/README.md +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/setup.cfg +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/__init__.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/adapters.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/catalog.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/cli.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/client.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/data/cli.json +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/errors.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/http.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/idempotency.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/mcp.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/models.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/operations.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/py.typed +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/records.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/resources.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier/signature.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier_python.egg-info/SOURCES.txt +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier_python.egg-info/dependency_links.txt +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/src/carrier_python.egg-info/top_level.txt +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/tests/test_client.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/tests/test_issuance.py +0 -0
- {carrier_python-0.1.41 → carrier_python-0.1.43}/tests/test_signature.py +0 -0
|
@@ -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",
|
|
@@ -3332,7 +3381,25 @@
|
|
|
3332
3381
|
"method": "GET",
|
|
3333
3382
|
"path": "/api/hosted/{slug}",
|
|
3334
3383
|
"tag": "Storefront",
|
|
3335
|
-
"summary": "Published hosted storefront, including its sellable plans",
|
|
3384
|
+
"summary": "Published hosted storefront, including its sellable plans and published content page titles",
|
|
3385
|
+
"security": "public",
|
|
3386
|
+
"body": false,
|
|
3387
|
+
"bodyRequired": false,
|
|
3388
|
+
"pathParams": [
|
|
3389
|
+
{
|
|
3390
|
+
"name": "slug",
|
|
3391
|
+
"required": true
|
|
3392
|
+
}
|
|
3393
|
+
],
|
|
3394
|
+
"queryParams": [],
|
|
3395
|
+
"headerParams": []
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"id": "get_hosted_storefront_page",
|
|
3399
|
+
"method": "GET",
|
|
3400
|
+
"path": "/api/hosted/{slug}/pages/{pageSlug}",
|
|
3401
|
+
"tag": "Storefront",
|
|
3402
|
+
"summary": "One published content page of a published hosted storefront, with its markdown body",
|
|
3336
3403
|
"security": "public",
|
|
3337
3404
|
"body": false,
|
|
3338
3405
|
"bodyRequired": false,
|
|
@@ -3340,6 +3407,10 @@
|
|
|
3340
3407
|
{
|
|
3341
3408
|
"name": "slug",
|
|
3342
3409
|
"required": true
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
"name": "pageSlug",
|
|
3413
|
+
"required": true
|
|
3343
3414
|
}
|
|
3344
3415
|
],
|
|
3345
3416
|
"queryParams": [],
|
|
@@ -3738,6 +3809,86 @@
|
|
|
3738
3809
|
"queryParams": [],
|
|
3739
3810
|
"headerParams": []
|
|
3740
3811
|
},
|
|
3812
|
+
{
|
|
3813
|
+
"id": "list_storefront_pages",
|
|
3814
|
+
"method": "GET",
|
|
3815
|
+
"path": "/v1/storefronts/{id}/pages",
|
|
3816
|
+
"tag": "Storefront",
|
|
3817
|
+
"summary": "Every content page of the storefront, drafts included, in display order",
|
|
3818
|
+
"security": "bearer",
|
|
3819
|
+
"body": false,
|
|
3820
|
+
"bodyRequired": false,
|
|
3821
|
+
"pathParams": [
|
|
3822
|
+
{
|
|
3823
|
+
"name": "id",
|
|
3824
|
+
"required": true
|
|
3825
|
+
}
|
|
3826
|
+
],
|
|
3827
|
+
"queryParams": [],
|
|
3828
|
+
"headerParams": []
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"id": "upsert_storefront_page",
|
|
3832
|
+
"method": "POST",
|
|
3833
|
+
"path": "/v1/storefronts/{id}/pages",
|
|
3834
|
+
"tag": "Storefront",
|
|
3835
|
+
"summary": "Create a content page, or fully replace the page with the same address",
|
|
3836
|
+
"security": "bearer",
|
|
3837
|
+
"body": true,
|
|
3838
|
+
"bodyRequired": true,
|
|
3839
|
+
"pathParams": [
|
|
3840
|
+
{
|
|
3841
|
+
"name": "id",
|
|
3842
|
+
"required": true
|
|
3843
|
+
}
|
|
3844
|
+
],
|
|
3845
|
+
"queryParams": [],
|
|
3846
|
+
"headerParams": []
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"id": "update_storefront_page",
|
|
3850
|
+
"method": "PATCH",
|
|
3851
|
+
"path": "/v1/storefronts/{id}/pages/{slug}",
|
|
3852
|
+
"tag": "Storefront",
|
|
3853
|
+
"summary": "Edit one content page: title, markdown body, publish state or order. The address never changes.",
|
|
3854
|
+
"security": "bearer",
|
|
3855
|
+
"body": true,
|
|
3856
|
+
"bodyRequired": true,
|
|
3857
|
+
"pathParams": [
|
|
3858
|
+
{
|
|
3859
|
+
"name": "id",
|
|
3860
|
+
"required": true
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"name": "slug",
|
|
3864
|
+
"required": true
|
|
3865
|
+
}
|
|
3866
|
+
],
|
|
3867
|
+
"queryParams": [],
|
|
3868
|
+
"headerParams": []
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"id": "delete_storefront_page",
|
|
3872
|
+
"method": "DELETE",
|
|
3873
|
+
"path": "/v1/storefronts/{id}/pages/{slug}",
|
|
3874
|
+
"tag": "Storefront",
|
|
3875
|
+
"summary": "Delete one content page. A published page disappears from the shop at once.",
|
|
3876
|
+
"security": "bearer",
|
|
3877
|
+
"body": false,
|
|
3878
|
+
"bodyRequired": false,
|
|
3879
|
+
"pathParams": [
|
|
3880
|
+
{
|
|
3881
|
+
"name": "id",
|
|
3882
|
+
"required": true
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"name": "slug",
|
|
3886
|
+
"required": true
|
|
3887
|
+
}
|
|
3888
|
+
],
|
|
3889
|
+
"queryParams": [],
|
|
3890
|
+
"headerParams": []
|
|
3891
|
+
},
|
|
3741
3892
|
{
|
|
3742
3893
|
"id": "health_check",
|
|
3743
3894
|
"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",
|
|
@@ -202,6 +204,7 @@ OperationId = Literal[
|
|
|
202
204
|
"get_storefront_order",
|
|
203
205
|
"rollback_storefront_order",
|
|
204
206
|
"get_hosted_storefront",
|
|
207
|
+
"get_hosted_storefront_page",
|
|
205
208
|
"get_hosted_storefront_by_host",
|
|
206
209
|
"get_hosted_storefront_plan_readiness",
|
|
207
210
|
"list_storefronts",
|
|
@@ -222,5 +225,9 @@ OperationId = Literal[
|
|
|
222
225
|
"verify_storefront",
|
|
223
226
|
"verify_storefront_domain",
|
|
224
227
|
"detach_storefront_domain",
|
|
228
|
+
"list_storefront_pages",
|
|
229
|
+
"upsert_storefront_page",
|
|
230
|
+
"update_storefront_page",
|
|
231
|
+
"delete_storefront_page",
|
|
225
232
|
"health_check",
|
|
226
233
|
]
|
|
@@ -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.43")
|
|
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.41 → carrier_python-0.1.43}/src/carrier_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|