carrier-python 0.1.35__tar.gz → 0.1.37__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.35 → carrier_python-0.1.37}/PKG-INFO +1 -1
- {carrier_python-0.1.35 → carrier_python-0.1.37}/pyproject.toml +1 -1
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/data/operations.json +161 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/operation_ids.py +8 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/version.py +1 -1
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier_python.egg-info/PKG-INFO +1 -1
- {carrier_python-0.1.35 → carrier_python-0.1.37}/tests/test_surface.py +1 -1
- {carrier_python-0.1.35 → carrier_python-0.1.37}/README.md +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/setup.cfg +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/__init__.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/adapters.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/catalog.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/cli.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/client.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/data/cli.json +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/errors.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/http.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/idempotency.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/mcp.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/models.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/operations.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/py.typed +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/records.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/resources.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier/signature.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier_python.egg-info/SOURCES.txt +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier_python.egg-info/dependency_links.txt +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/src/carrier_python.egg-info/top_level.txt +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/tests/test_client.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/tests/test_issuance.py +0 -0
- {carrier_python-0.1.35 → carrier_python-0.1.37}/tests/test_signature.py +0 -0
|
@@ -3309,6 +3309,24 @@
|
|
|
3309
3309
|
"queryParams": [],
|
|
3310
3310
|
"headerParams": []
|
|
3311
3311
|
},
|
|
3312
|
+
{
|
|
3313
|
+
"id": "get_hosted_storefront_by_host",
|
|
3314
|
+
"method": "GET",
|
|
3315
|
+
"path": "/api/hosted/by-host/{host}",
|
|
3316
|
+
"tag": "Storefront",
|
|
3317
|
+
"summary": "Published hosted storefront served on a custom domain. Answers only for a verified, attached domain.",
|
|
3318
|
+
"security": "public",
|
|
3319
|
+
"body": false,
|
|
3320
|
+
"bodyRequired": false,
|
|
3321
|
+
"pathParams": [
|
|
3322
|
+
{
|
|
3323
|
+
"name": "host",
|
|
3324
|
+
"required": true
|
|
3325
|
+
}
|
|
3326
|
+
],
|
|
3327
|
+
"queryParams": [],
|
|
3328
|
+
"headerParams": []
|
|
3329
|
+
},
|
|
3312
3330
|
{
|
|
3313
3331
|
"id": "get_hosted_storefront_plan_readiness",
|
|
3314
3332
|
"method": "GET",
|
|
@@ -3523,6 +3541,149 @@
|
|
|
3523
3541
|
"queryParams": [],
|
|
3524
3542
|
"headerParams": []
|
|
3525
3543
|
},
|
|
3544
|
+
{
|
|
3545
|
+
"id": "list_storefront_domains",
|
|
3546
|
+
"method": "GET",
|
|
3547
|
+
"path": "/v1/storefronts/{id}/domains",
|
|
3548
|
+
"tag": "Storefront",
|
|
3549
|
+
"summary": "The storefront's custom domain with its DNS records and status. At most one.",
|
|
3550
|
+
"security": "bearer",
|
|
3551
|
+
"body": false,
|
|
3552
|
+
"bodyRequired": false,
|
|
3553
|
+
"pathParams": [
|
|
3554
|
+
{
|
|
3555
|
+
"name": "id",
|
|
3556
|
+
"required": true
|
|
3557
|
+
}
|
|
3558
|
+
],
|
|
3559
|
+
"queryParams": [],
|
|
3560
|
+
"headerParams": []
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"id": "attach_storefront_domain",
|
|
3564
|
+
"method": "POST",
|
|
3565
|
+
"path": "/v1/storefronts/{id}/domains",
|
|
3566
|
+
"tag": "Storefront",
|
|
3567
|
+
"summary": "Claim a hostname for the storefront. Returns the DNS records to add; nothing is served until verify succeeds.",
|
|
3568
|
+
"security": "bearer",
|
|
3569
|
+
"body": true,
|
|
3570
|
+
"bodyRequired": true,
|
|
3571
|
+
"pathParams": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "id",
|
|
3574
|
+
"required": true
|
|
3575
|
+
}
|
|
3576
|
+
],
|
|
3577
|
+
"queryParams": [],
|
|
3578
|
+
"headerParams": [
|
|
3579
|
+
{
|
|
3580
|
+
"name": "Idempotency-Key",
|
|
3581
|
+
"required": true
|
|
3582
|
+
}
|
|
3583
|
+
]
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
"id": "plan_storefront_domain",
|
|
3587
|
+
"method": "POST",
|
|
3588
|
+
"path": "/v1/storefronts/{id}/domains/plan",
|
|
3589
|
+
"tag": "Storefront",
|
|
3590
|
+
"summary": "Check a hostname and preview the steps. Writes nothing.",
|
|
3591
|
+
"security": "bearer",
|
|
3592
|
+
"body": true,
|
|
3593
|
+
"bodyRequired": true,
|
|
3594
|
+
"pathParams": [
|
|
3595
|
+
{
|
|
3596
|
+
"name": "id",
|
|
3597
|
+
"required": true
|
|
3598
|
+
}
|
|
3599
|
+
],
|
|
3600
|
+
"queryParams": [],
|
|
3601
|
+
"headerParams": []
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"id": "plan_storefront_dns",
|
|
3605
|
+
"method": "POST",
|
|
3606
|
+
"path": "/v1/storefronts/{id}/domains/{hostname}/dns-plan",
|
|
3607
|
+
"tag": "Storefront",
|
|
3608
|
+
"summary": "The DNS records to add for the claimed hostname, with the real ownership value. Writes nothing. Carrier holds no registrar credentials, so the owner adds the records.",
|
|
3609
|
+
"security": "bearer",
|
|
3610
|
+
"body": false,
|
|
3611
|
+
"bodyRequired": false,
|
|
3612
|
+
"pathParams": [
|
|
3613
|
+
{
|
|
3614
|
+
"name": "id",
|
|
3615
|
+
"required": true
|
|
3616
|
+
},
|
|
3617
|
+
{
|
|
3618
|
+
"name": "hostname",
|
|
3619
|
+
"required": true
|
|
3620
|
+
}
|
|
3621
|
+
],
|
|
3622
|
+
"queryParams": [],
|
|
3623
|
+
"headerParams": []
|
|
3624
|
+
},
|
|
3625
|
+
{
|
|
3626
|
+
"id": "verify_storefront",
|
|
3627
|
+
"method": "GET",
|
|
3628
|
+
"path": "/v1/storefronts/{id}/readiness",
|
|
3629
|
+
"tag": "Storefront",
|
|
3630
|
+
"summary": "Whether the storefront could go live now: the publish checks on its saved state. Writes nothing.",
|
|
3631
|
+
"security": "bearer",
|
|
3632
|
+
"body": false,
|
|
3633
|
+
"bodyRequired": false,
|
|
3634
|
+
"pathParams": [
|
|
3635
|
+
{
|
|
3636
|
+
"name": "id",
|
|
3637
|
+
"required": true
|
|
3638
|
+
}
|
|
3639
|
+
],
|
|
3640
|
+
"queryParams": [],
|
|
3641
|
+
"headerParams": []
|
|
3642
|
+
},
|
|
3643
|
+
{
|
|
3644
|
+
"id": "verify_storefront_domain",
|
|
3645
|
+
"method": "POST",
|
|
3646
|
+
"path": "/v1/storefronts/{id}/domains/{hostname}/verify",
|
|
3647
|
+
"tag": "Storefront",
|
|
3648
|
+
"summary": "Check the ownership record, attach the domain and check routing. The domain starts serving only when all three pass.",
|
|
3649
|
+
"security": "bearer",
|
|
3650
|
+
"body": false,
|
|
3651
|
+
"bodyRequired": false,
|
|
3652
|
+
"pathParams": [
|
|
3653
|
+
{
|
|
3654
|
+
"name": "id",
|
|
3655
|
+
"required": true
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"name": "hostname",
|
|
3659
|
+
"required": true
|
|
3660
|
+
}
|
|
3661
|
+
],
|
|
3662
|
+
"queryParams": [],
|
|
3663
|
+
"headerParams": []
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
"id": "detach_storefront_domain",
|
|
3667
|
+
"method": "DELETE",
|
|
3668
|
+
"path": "/v1/storefronts/{id}/domains/{hostname}",
|
|
3669
|
+
"tag": "Storefront",
|
|
3670
|
+
"summary": "Remove the custom domain. The storefront keeps its stores.carrier.llc address.",
|
|
3671
|
+
"security": "bearer",
|
|
3672
|
+
"body": false,
|
|
3673
|
+
"bodyRequired": false,
|
|
3674
|
+
"pathParams": [
|
|
3675
|
+
{
|
|
3676
|
+
"name": "id",
|
|
3677
|
+
"required": true
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"name": "hostname",
|
|
3681
|
+
"required": true
|
|
3682
|
+
}
|
|
3683
|
+
],
|
|
3684
|
+
"queryParams": [],
|
|
3685
|
+
"headerParams": []
|
|
3686
|
+
},
|
|
3526
3687
|
{
|
|
3527
3688
|
"id": "health_check",
|
|
3528
3689
|
"method": "GET",
|
|
@@ -200,6 +200,7 @@ OperationId = Literal[
|
|
|
200
200
|
"get_storefront_order",
|
|
201
201
|
"rollback_storefront_order",
|
|
202
202
|
"get_hosted_storefront",
|
|
203
|
+
"get_hosted_storefront_by_host",
|
|
203
204
|
"get_hosted_storefront_plan_readiness",
|
|
204
205
|
"list_storefronts",
|
|
205
206
|
"create_storefront",
|
|
@@ -211,5 +212,12 @@ OperationId = Literal[
|
|
|
211
212
|
"publish_storefront",
|
|
212
213
|
"plan_storefront_publish",
|
|
213
214
|
"unpublish_storefront",
|
|
215
|
+
"list_storefront_domains",
|
|
216
|
+
"attach_storefront_domain",
|
|
217
|
+
"plan_storefront_domain",
|
|
218
|
+
"plan_storefront_dns",
|
|
219
|
+
"verify_storefront",
|
|
220
|
+
"verify_storefront_domain",
|
|
221
|
+
"detach_storefront_domain",
|
|
214
222
|
"health_check",
|
|
215
223
|
]
|
|
@@ -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.37")
|
|
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.35 → carrier_python-0.1.37}/src/carrier_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|