carrier-python 0.1.15__tar.gz → 0.1.16__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.15 → carrier_python-0.1.16}/PKG-INFO +1 -1
  2. {carrier_python-0.1.15 → carrier_python-0.1.16}/pyproject.toml +1 -1
  3. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/data/operations.json +281 -0
  4. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/operation_ids.py +15 -0
  5. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/version.py +1 -1
  6. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier_python.egg-info/PKG-INFO +1 -1
  7. {carrier_python-0.1.15 → carrier_python-0.1.16}/tests/test_surface.py +1 -1
  8. {carrier_python-0.1.15 → carrier_python-0.1.16}/README.md +0 -0
  9. {carrier_python-0.1.15 → carrier_python-0.1.16}/setup.cfg +0 -0
  10. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/__init__.py +0 -0
  11. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/adapters.py +0 -0
  12. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/catalog.py +0 -0
  13. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/cli.py +0 -0
  14. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/client.py +0 -0
  15. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/data/cli.json +0 -0
  16. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/errors.py +0 -0
  17. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/http.py +0 -0
  18. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/idempotency.py +0 -0
  19. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/mcp.py +0 -0
  20. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/models.py +0 -0
  21. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/operations.py +0 -0
  22. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/py.typed +0 -0
  23. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/records.py +0 -0
  24. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/resources.py +0 -0
  25. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier/signature.py +0 -0
  26. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier_python.egg-info/SOURCES.txt +0 -0
  27. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier_python.egg-info/dependency_links.txt +0 -0
  28. {carrier_python-0.1.15 → carrier_python-0.1.16}/src/carrier_python.egg-info/top_level.txt +0 -0
  29. {carrier_python-0.1.15 → carrier_python-0.1.16}/tests/test_client.py +0 -0
  30. {carrier_python-0.1.15 → carrier_python-0.1.16}/tests/test_issuance.py +0 -0
  31. {carrier_python-0.1.15 → carrier_python-0.1.16}/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.15
3
+ Version: 0.1.16
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.15"
7
+ version = "0.1.16"
8
8
  description = "Python client for the Carrier API, MCP server, and CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -2184,6 +2184,287 @@
2184
2184
  "queryParams": [],
2185
2185
  "headerParams": []
2186
2186
  },
2187
+ {
2188
+ "id": "create_connectivity_offering",
2189
+ "method": "POST",
2190
+ "path": "/v1/connectivity/offerings",
2191
+ "tag": "Connectivity",
2192
+ "summary": "Save an incomplete connectivity offer",
2193
+ "security": "bearer",
2194
+ "body": true,
2195
+ "bodyRequired": true,
2196
+ "pathParams": [],
2197
+ "queryParams": [],
2198
+ "headerParams": [
2199
+ {
2200
+ "name": "Idempotency-Key",
2201
+ "required": true
2202
+ }
2203
+ ]
2204
+ },
2205
+ {
2206
+ "id": "list_connectivity_offerings",
2207
+ "method": "GET",
2208
+ "path": "/v1/connectivity/offerings",
2209
+ "tag": "Connectivity",
2210
+ "summary": "List this organization's drafts",
2211
+ "security": "bearer",
2212
+ "body": false,
2213
+ "bodyRequired": false,
2214
+ "pathParams": [],
2215
+ "queryParams": [
2216
+ {
2217
+ "name": "limit",
2218
+ "required": false
2219
+ },
2220
+ {
2221
+ "name": "after",
2222
+ "required": false
2223
+ }
2224
+ ],
2225
+ "headerParams": []
2226
+ },
2227
+ {
2228
+ "id": "list_connectivity_offering_templates",
2229
+ "method": "GET",
2230
+ "path": "/v1/connectivity/offerings/templates",
2231
+ "tag": "Connectivity",
2232
+ "summary": "Choose a versioned connectivity concept starter",
2233
+ "security": "bearer",
2234
+ "body": false,
2235
+ "bodyRequired": false,
2236
+ "pathParams": [],
2237
+ "queryParams": [],
2238
+ "headerParams": []
2239
+ },
2240
+ {
2241
+ "id": "create_connectivity_offering_from_template",
2242
+ "method": "POST",
2243
+ "path": "/v1/connectivity/offerings/from-template",
2244
+ "tag": "Connectivity",
2245
+ "summary": "Start a private draft from a selected template version",
2246
+ "security": "bearer",
2247
+ "body": true,
2248
+ "bodyRequired": true,
2249
+ "pathParams": [],
2250
+ "queryParams": [],
2251
+ "headerParams": [
2252
+ {
2253
+ "name": "Idempotency-Key",
2254
+ "required": true
2255
+ }
2256
+ ]
2257
+ },
2258
+ {
2259
+ "id": "get_connectivity_offering_revision",
2260
+ "method": "GET",
2261
+ "path": "/v1/connectivity/offerings/{id}/revisions/{revision}",
2262
+ "tag": "Connectivity",
2263
+ "summary": "Read an immutable concept revision",
2264
+ "security": "bearer",
2265
+ "body": false,
2266
+ "bodyRequired": false,
2267
+ "pathParams": [
2268
+ {
2269
+ "name": "id",
2270
+ "required": true
2271
+ },
2272
+ {
2273
+ "name": "revision",
2274
+ "required": true
2275
+ }
2276
+ ],
2277
+ "queryParams": [],
2278
+ "headerParams": []
2279
+ },
2280
+ {
2281
+ "id": "validate_connectivity_offering_revision",
2282
+ "method": "GET",
2283
+ "path": "/v1/connectivity/offerings/{id}/revisions/{revision}/validation",
2284
+ "tag": "Connectivity",
2285
+ "summary": "Check which referenced products exist for this organization",
2286
+ "security": "bearer",
2287
+ "body": false,
2288
+ "bodyRequired": false,
2289
+ "pathParams": [
2290
+ {
2291
+ "name": "id",
2292
+ "required": true
2293
+ },
2294
+ {
2295
+ "name": "revision",
2296
+ "required": true
2297
+ }
2298
+ ],
2299
+ "queryParams": [],
2300
+ "headerParams": []
2301
+ },
2302
+ {
2303
+ "id": "get_connectivity_offering_template_source",
2304
+ "method": "GET",
2305
+ "path": "/v1/connectivity/offerings/{id}/template",
2306
+ "tag": "Connectivity",
2307
+ "summary": "Read the original starter setup and measurement suggestions",
2308
+ "security": "bearer",
2309
+ "body": false,
2310
+ "bodyRequired": false,
2311
+ "pathParams": [
2312
+ {
2313
+ "name": "id",
2314
+ "required": true
2315
+ }
2316
+ ],
2317
+ "queryParams": [],
2318
+ "headerParams": []
2319
+ },
2320
+ {
2321
+ "id": "duplicate_connectivity_offering",
2322
+ "method": "POST",
2323
+ "path": "/v1/connectivity/offerings/{id}/duplicate",
2324
+ "tag": "Connectivity",
2325
+ "summary": "Copy a selected revision into a new concept",
2326
+ "security": "bearer",
2327
+ "body": true,
2328
+ "bodyRequired": true,
2329
+ "pathParams": [
2330
+ {
2331
+ "name": "id",
2332
+ "required": true
2333
+ }
2334
+ ],
2335
+ "queryParams": [],
2336
+ "headerParams": [
2337
+ {
2338
+ "name": "Idempotency-Key",
2339
+ "required": true
2340
+ }
2341
+ ]
2342
+ },
2343
+ {
2344
+ "id": "get_connectivity_offering",
2345
+ "method": "GET",
2346
+ "path": "/v1/connectivity/offerings/{id}",
2347
+ "tag": "Connectivity",
2348
+ "summary": "Read an offering draft",
2349
+ "security": "bearer",
2350
+ "body": false,
2351
+ "bodyRequired": false,
2352
+ "pathParams": [
2353
+ {
2354
+ "name": "id",
2355
+ "required": true
2356
+ }
2357
+ ],
2358
+ "queryParams": [],
2359
+ "headerParams": []
2360
+ },
2361
+ {
2362
+ "id": "update_connectivity_offering",
2363
+ "method": "PATCH",
2364
+ "path": "/v1/connectivity/offerings/{id}",
2365
+ "tag": "Connectivity",
2366
+ "summary": "Edit a draft with revision protection",
2367
+ "security": "bearer",
2368
+ "body": true,
2369
+ "bodyRequired": true,
2370
+ "pathParams": [
2371
+ {
2372
+ "name": "id",
2373
+ "required": true
2374
+ }
2375
+ ],
2376
+ "queryParams": [],
2377
+ "headerParams": []
2378
+ },
2379
+ {
2380
+ "id": "create_benefit_campaign",
2381
+ "method": "POST",
2382
+ "path": "/v1/connectivity/benefit-campaigns",
2383
+ "tag": "Connectivity",
2384
+ "summary": "Create a sponsored benefit campaign",
2385
+ "security": "bearer",
2386
+ "body": true,
2387
+ "bodyRequired": true,
2388
+ "pathParams": [],
2389
+ "queryParams": [],
2390
+ "headerParams": []
2391
+ },
2392
+ {
2393
+ "id": "set_benefit_campaign_status",
2394
+ "method": "POST",
2395
+ "path": "/v1/connectivity/benefit-campaigns/{id}/status",
2396
+ "tag": "Connectivity",
2397
+ "summary": "Pause or resume a campaign",
2398
+ "security": "bearer",
2399
+ "body": true,
2400
+ "bodyRequired": true,
2401
+ "pathParams": [
2402
+ {
2403
+ "name": "id",
2404
+ "required": true
2405
+ }
2406
+ ],
2407
+ "queryParams": [],
2408
+ "headerParams": []
2409
+ },
2410
+ {
2411
+ "id": "claim_benefit",
2412
+ "method": "POST",
2413
+ "path": "/v1/connectivity/benefit-campaigns/{id}/claims",
2414
+ "tag": "Connectivity",
2415
+ "summary": "Reserve one sponsored claim",
2416
+ "security": "bearer",
2417
+ "body": true,
2418
+ "bodyRequired": true,
2419
+ "pathParams": [
2420
+ {
2421
+ "name": "id",
2422
+ "required": true
2423
+ }
2424
+ ],
2425
+ "queryParams": [],
2426
+ "headerParams": []
2427
+ },
2428
+ {
2429
+ "id": "record_experiment_event",
2430
+ "method": "POST",
2431
+ "path": "/v1/connectivity/experiment-events",
2432
+ "tag": "Connectivity",
2433
+ "summary": "Store one experiment event",
2434
+ "security": "bearer",
2435
+ "body": true,
2436
+ "bodyRequired": true,
2437
+ "pathParams": [],
2438
+ "queryParams": [],
2439
+ "headerParams": []
2440
+ },
2441
+ {
2442
+ "id": "experiment_report",
2443
+ "method": "GET",
2444
+ "path": "/v1/connectivity/experiment-events/{experimentId}/report",
2445
+ "tag": "Connectivity",
2446
+ "summary": "Counts for one experiment",
2447
+ "security": "bearer",
2448
+ "body": false,
2449
+ "bodyRequired": false,
2450
+ "pathParams": [
2451
+ {
2452
+ "name": "experimentId",
2453
+ "required": true
2454
+ }
2455
+ ],
2456
+ "queryParams": [
2457
+ {
2458
+ "name": "from",
2459
+ "required": true
2460
+ },
2461
+ {
2462
+ "name": "to",
2463
+ "required": true
2464
+ }
2465
+ ],
2466
+ "headerParams": []
2467
+ },
2187
2468
  {
2188
2469
  "id": "list_connectivity_products",
2189
2470
  "method": "GET",
@@ -139,6 +139,21 @@ OperationId = Literal[
139
139
  "void_invoice",
140
140
  "get_invoice_document",
141
141
  "list_connectivity_plans",
142
+ "create_connectivity_offering",
143
+ "list_connectivity_offerings",
144
+ "list_connectivity_offering_templates",
145
+ "create_connectivity_offering_from_template",
146
+ "get_connectivity_offering_revision",
147
+ "validate_connectivity_offering_revision",
148
+ "get_connectivity_offering_template_source",
149
+ "duplicate_connectivity_offering",
150
+ "get_connectivity_offering",
151
+ "update_connectivity_offering",
152
+ "create_benefit_campaign",
153
+ "set_benefit_campaign_status",
154
+ "claim_benefit",
155
+ "record_experiment_event",
156
+ "experiment_report",
142
157
  "list_connectivity_products",
143
158
  "create_connectivity_product",
144
159
  "get_connectivity_product",
@@ -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.15"
3
+ __version__ = "0.1.16"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: carrier-python
3
- Version: 0.1.15
3
+ Version: 0.1.16
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.15")
204
+ self.assertEqual(version, "0.1.16")
205
205
  self.assertEqual(version, __version__)
206
206
  with (package / "uv.lock").open("rb") as handle:
207
207
  lock = tomllib.load(handle)