carrier-python 0.1.34__tar.gz → 0.1.36__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.34 → carrier_python-0.1.36}/PKG-INFO +1 -1
  2. {carrier_python-0.1.34 → carrier_python-0.1.36}/pyproject.toml +1 -1
  3. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/data/cli.json +2 -2
  4. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/data/operations.json +122 -1
  5. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/operation_ids.py +6 -0
  6. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/version.py +1 -1
  7. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier_python.egg-info/PKG-INFO +1 -1
  8. {carrier_python-0.1.34 → carrier_python-0.1.36}/tests/test_surface.py +1 -1
  9. {carrier_python-0.1.34 → carrier_python-0.1.36}/README.md +0 -0
  10. {carrier_python-0.1.34 → carrier_python-0.1.36}/setup.cfg +0 -0
  11. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/__init__.py +0 -0
  12. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/adapters.py +0 -0
  13. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/catalog.py +0 -0
  14. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/cli.py +0 -0
  15. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/client.py +0 -0
  16. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.34 → carrier_python-0.1.36}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.34 → carrier_python-0.1.36}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.34 → carrier_python-0.1.36}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.34 → carrier_python-0.1.36}/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.34
3
+ Version: 0.1.36
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.34"
7
+ version = "0.1.36"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -2096,7 +2096,7 @@
2096
2096
  {
2097
2097
  "invocation": "carrier billing ai-credits",
2098
2098
  "domain": "billing",
2099
- "summary": "Read your organization's AI credit wallet in EUR: balance_eur and available_eur.",
2099
+ "summary": "Read your organization's AI credit wallet in USD: balance_usd and available_usd.",
2100
2100
  "write": false,
2101
2101
  "transport": "mcp",
2102
2102
  "tool": "ai_credit_balance",
@@ -2208,7 +2208,7 @@
2208
2208
  {
2209
2209
  "invocation": "carrier ai-wallet auto-topup",
2210
2210
  "domain": "ai-wallet",
2211
- "summary": "Read or change automatic EUR replenishment for the separate AI-credit wallet.",
2211
+ "summary": "Read or change automatic USD replenishment for the separate AI-credit wallet.",
2212
2212
  "write": true,
2213
2213
  "transport": "mcp",
2214
2214
  "tool": "ai_wallet_auto_topup",
@@ -1948,7 +1948,7 @@
1948
1948
  "method": "GET",
1949
1949
  "path": "/v1/ai/wallet",
1950
1950
  "tag": "AI",
1951
- "summary": "Read your organization's AI credits in EUR",
1951
+ "summary": "Read your organization's AI credits in USD",
1952
1952
  "security": "bearer",
1953
1953
  "body": false,
1954
1954
  "bodyRequired": false,
@@ -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,109 @@
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": "verify_storefront_domain",
3605
+ "method": "POST",
3606
+ "path": "/v1/storefronts/{id}/domains/{hostname}/verify",
3607
+ "tag": "Storefront",
3608
+ "summary": "Check the ownership record, attach the domain and check routing. The domain starts serving only when all three pass.",
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": "detach_storefront_domain",
3627
+ "method": "DELETE",
3628
+ "path": "/v1/storefronts/{id}/domains/{hostname}",
3629
+ "tag": "Storefront",
3630
+ "summary": "Remove the custom domain. The storefront keeps its stores.carrier.llc address.",
3631
+ "security": "bearer",
3632
+ "body": false,
3633
+ "bodyRequired": false,
3634
+ "pathParams": [
3635
+ {
3636
+ "name": "id",
3637
+ "required": true
3638
+ },
3639
+ {
3640
+ "name": "hostname",
3641
+ "required": true
3642
+ }
3643
+ ],
3644
+ "queryParams": [],
3645
+ "headerParams": []
3646
+ },
3526
3647
  {
3527
3648
  "id": "health_check",
3528
3649
  "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,10 @@ 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
+ "verify_storefront_domain",
219
+ "detach_storefront_domain",
214
220
  "health_check",
215
221
  ]
@@ -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.34"
3
+ __version__ = "0.1.36"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.34
3
+ Version: 0.1.36
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.34")
204
+ self.assertEqual(version, "0.1.36")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)