carrier-python 0.1.21__tar.gz → 0.1.22__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.21 → carrier_python-0.1.22}/PKG-INFO +1 -1
- {carrier_python-0.1.21 → carrier_python-0.1.22}/pyproject.toml +1 -1
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/data/cli.json +135 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/data/operations.json +71 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/operation_ids.py +4 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/version.py +1 -1
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier_python.egg-info/PKG-INFO +1 -1
- {carrier_python-0.1.21 → carrier_python-0.1.22}/tests/test_surface.py +1 -1
- {carrier_python-0.1.21 → carrier_python-0.1.22}/README.md +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/setup.cfg +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/__init__.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/adapters.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/catalog.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/cli.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/client.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/errors.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/http.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/idempotency.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/mcp.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/models.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/operations.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/py.typed +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/records.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/resources.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier/signature.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier_python.egg-info/SOURCES.txt +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier_python.egg-info/dependency_links.txt +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier_python.egg-info/top_level.txt +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/tests/test_client.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/tests/test_issuance.py +0 -0
- {carrier_python-0.1.21 → carrier_python-0.1.22}/tests/test_signature.py +0 -0
|
@@ -1830,6 +1830,55 @@
|
|
|
1830
1830
|
}
|
|
1831
1831
|
]
|
|
1832
1832
|
},
|
|
1833
|
+
{
|
|
1834
|
+
"invocation": "carrier benefits status",
|
|
1835
|
+
"domain": "benefits",
|
|
1836
|
+
"summary": "Pause a campaign so it accepts no new claims, or resume it.",
|
|
1837
|
+
"write": false,
|
|
1838
|
+
"transport": "mcp",
|
|
1839
|
+
"tool": "set_benefit_campaign_status",
|
|
1840
|
+
"restMethod": null,
|
|
1841
|
+
"restPath": null,
|
|
1842
|
+
"options": [
|
|
1843
|
+
{
|
|
1844
|
+
"flags": "--campaign-id <id>",
|
|
1845
|
+
"description": "Campaign id, cbc_ followed by 32 hex characters.",
|
|
1846
|
+
"required": true
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"flags": "--status <status>",
|
|
1850
|
+
"description": "The status to set. One of: active, paused.",
|
|
1851
|
+
"required": true
|
|
1852
|
+
}
|
|
1853
|
+
]
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"invocation": "carrier benefits entitle",
|
|
1857
|
+
"domain": "benefits",
|
|
1858
|
+
"summary": "Issue ONE single-use right for one external booking or member reference, which the claimant presents to claim a benefit.",
|
|
1859
|
+
"write": false,
|
|
1860
|
+
"transport": "mcp",
|
|
1861
|
+
"tool": "create_benefit_entitlement",
|
|
1862
|
+
"restMethod": null,
|
|
1863
|
+
"restPath": null,
|
|
1864
|
+
"options": [
|
|
1865
|
+
{
|
|
1866
|
+
"flags": "--campaign-id <id>",
|
|
1867
|
+
"description": "Campaign id, cbc_ followed by 32 hex characters.",
|
|
1868
|
+
"required": true
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"flags": "--external-ref <ref>",
|
|
1872
|
+
"description": "Your own reference for the person, 1 to 200 characters.",
|
|
1873
|
+
"required": true
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"flags": "--ttl-ms <n>",
|
|
1877
|
+
"description": "Lifetime of the right in milliseconds.",
|
|
1878
|
+
"required": false
|
|
1879
|
+
}
|
|
1880
|
+
]
|
|
1881
|
+
},
|
|
1833
1882
|
{
|
|
1834
1883
|
"invocation": "carrier benefits claim",
|
|
1835
1884
|
"domain": "benefits",
|
|
@@ -1874,6 +1923,92 @@
|
|
|
1874
1923
|
}
|
|
1875
1924
|
]
|
|
1876
1925
|
},
|
|
1926
|
+
{
|
|
1927
|
+
"invocation": "carrier benefits reconcile",
|
|
1928
|
+
"domain": "benefits",
|
|
1929
|
+
"summary": "Ask the provider what happened to a claim whose issuance ended in an unknown outcome.",
|
|
1930
|
+
"write": false,
|
|
1931
|
+
"transport": "mcp",
|
|
1932
|
+
"tool": "reconcile_benefit_claim",
|
|
1933
|
+
"restMethod": null,
|
|
1934
|
+
"restPath": null,
|
|
1935
|
+
"options": [
|
|
1936
|
+
{
|
|
1937
|
+
"flags": "--campaign-id <id>",
|
|
1938
|
+
"description": "Campaign id, cbc_ followed by 32 hex characters.",
|
|
1939
|
+
"required": true
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"flags": "--claim-id <id>",
|
|
1943
|
+
"description": "Claim id, cbl_ followed by 32 hex characters.",
|
|
1944
|
+
"required": true
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"invocation": "carrier experiments record",
|
|
1950
|
+
"domain": "experiments",
|
|
1951
|
+
"summary": "Record ONE event of an experiment: what a participant saw or did.",
|
|
1952
|
+
"write": false,
|
|
1953
|
+
"transport": "mcp",
|
|
1954
|
+
"tool": "record_experiment_event",
|
|
1955
|
+
"restMethod": null,
|
|
1956
|
+
"restPath": null,
|
|
1957
|
+
"options": [
|
|
1958
|
+
{
|
|
1959
|
+
"flags": "--event-id <id>",
|
|
1960
|
+
"description": "Your own id for this event.",
|
|
1961
|
+
"required": true
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"flags": "--experiment-id <id>",
|
|
1965
|
+
"description": "The experiment this event belongs to.",
|
|
1966
|
+
"required": true
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
"flags": "--revision <n>",
|
|
1970
|
+
"description": "The revision of the experiment.",
|
|
1971
|
+
"required": true
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"flags": "--link <link>",
|
|
1975
|
+
"description": "The participant this event is about.",
|
|
1976
|
+
"required": true
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"flags": "--measure <measure>",
|
|
1980
|
+
"description": "What the participant did. One of: viewed, confirmed, issued, first_data.",
|
|
1981
|
+
"required": true
|
|
1982
|
+
}
|
|
1983
|
+
]
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"invocation": "carrier experiments report",
|
|
1987
|
+
"domain": "experiments",
|
|
1988
|
+
"summary": "Count the events of one experiment per measure inside a time window.",
|
|
1989
|
+
"write": false,
|
|
1990
|
+
"transport": "mcp",
|
|
1991
|
+
"tool": "experiment_report",
|
|
1992
|
+
"restMethod": null,
|
|
1993
|
+
"restPath": null,
|
|
1994
|
+
"options": [
|
|
1995
|
+
{
|
|
1996
|
+
"flags": "--experiment-id <id>",
|
|
1997
|
+
"description": "The experiment to report on.",
|
|
1998
|
+
"required": true
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"flags": "--from <n>",
|
|
2002
|
+
"description": "Start of the window, epoch milliseconds.",
|
|
2003
|
+
"required": true
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"flags": "--to <n>",
|
|
2007
|
+
"description": "End of the window, epoch milliseconds, exclusive.",
|
|
2008
|
+
"required": true
|
|
2009
|
+
}
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
1877
2012
|
{
|
|
1878
2013
|
"invocation": "carrier billing events",
|
|
1879
2014
|
"domain": "billing",
|
|
@@ -2376,6 +2376,77 @@
|
|
|
2376
2376
|
"queryParams": [],
|
|
2377
2377
|
"headerParams": []
|
|
2378
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
"id": "create_connectivity_link",
|
|
2381
|
+
"method": "POST",
|
|
2382
|
+
"path": "/v1/connectivity/links",
|
|
2383
|
+
"tag": "Connectivity",
|
|
2384
|
+
"summary": "Create a share link for one offering revision",
|
|
2385
|
+
"security": "bearer",
|
|
2386
|
+
"body": true,
|
|
2387
|
+
"bodyRequired": true,
|
|
2388
|
+
"pathParams": [],
|
|
2389
|
+
"queryParams": [],
|
|
2390
|
+
"headerParams": []
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"id": "list_connectivity_links",
|
|
2394
|
+
"method": "GET",
|
|
2395
|
+
"path": "/v1/connectivity/links",
|
|
2396
|
+
"tag": "Connectivity",
|
|
2397
|
+
"summary": "List the share links of the caller's org",
|
|
2398
|
+
"security": "bearer",
|
|
2399
|
+
"body": false,
|
|
2400
|
+
"bodyRequired": false,
|
|
2401
|
+
"pathParams": [],
|
|
2402
|
+
"queryParams": [
|
|
2403
|
+
{
|
|
2404
|
+
"name": "limit",
|
|
2405
|
+
"required": false
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "after",
|
|
2409
|
+
"required": false
|
|
2410
|
+
}
|
|
2411
|
+
],
|
|
2412
|
+
"headerParams": []
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"id": "set_connectivity_link_status",
|
|
2416
|
+
"method": "POST",
|
|
2417
|
+
"path": "/v1/connectivity/links/{id}/status",
|
|
2418
|
+
"tag": "Connectivity",
|
|
2419
|
+
"summary": "Pause, resume or expire a share link",
|
|
2420
|
+
"security": "bearer",
|
|
2421
|
+
"body": true,
|
|
2422
|
+
"bodyRequired": true,
|
|
2423
|
+
"pathParams": [
|
|
2424
|
+
{
|
|
2425
|
+
"name": "id",
|
|
2426
|
+
"required": true
|
|
2427
|
+
}
|
|
2428
|
+
],
|
|
2429
|
+
"queryParams": [],
|
|
2430
|
+
"headerParams": []
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"id": "resolve_connectivity_public_link",
|
|
2434
|
+
"method": "GET",
|
|
2435
|
+
"path": "/v1/connectivity/public-links/{publicId}",
|
|
2436
|
+
"tag": "Connectivity",
|
|
2437
|
+
"summary": "Resolve a public share link",
|
|
2438
|
+
"security": "public",
|
|
2439
|
+
"body": false,
|
|
2440
|
+
"bodyRequired": false,
|
|
2441
|
+
"pathParams": [
|
|
2442
|
+
{
|
|
2443
|
+
"name": "publicId",
|
|
2444
|
+
"required": true
|
|
2445
|
+
}
|
|
2446
|
+
],
|
|
2447
|
+
"queryParams": [],
|
|
2448
|
+
"headerParams": []
|
|
2449
|
+
},
|
|
2379
2450
|
{
|
|
2380
2451
|
"id": "create_benefit_campaign",
|
|
2381
2452
|
"method": "POST",
|
|
@@ -149,6 +149,10 @@ OperationId = Literal[
|
|
|
149
149
|
"duplicate_connectivity_offering",
|
|
150
150
|
"get_connectivity_offering",
|
|
151
151
|
"update_connectivity_offering",
|
|
152
|
+
"create_connectivity_link",
|
|
153
|
+
"list_connectivity_links",
|
|
154
|
+
"set_connectivity_link_status",
|
|
155
|
+
"resolve_connectivity_public_link",
|
|
152
156
|
"create_benefit_campaign",
|
|
153
157
|
"set_benefit_campaign_status",
|
|
154
158
|
"create_benefit_entitlement",
|
|
@@ -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.22")
|
|
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
|
{carrier_python-0.1.21 → carrier_python-0.1.22}/src/carrier_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|