@graphlit/durable-agents-sdk 1.0.20260610015-dev → 1.0.20260610017-dev

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 (39) hide show
  1. package/dist/src/build-info.d.ts +1 -1
  2. package/dist/src/build-info.js +1 -1
  3. package/dist/src/generated/api/durable/billing/fundingRequests/index.d.ts +42 -0
  4. package/dist/src/generated/api/durable/billing/fundingRequests/index.d.ts.map +1 -0
  5. package/dist/src/generated/api/durable/billing/fundingRequests/index.js +41 -0
  6. package/dist/src/generated/api/durable/billing/fundingRequests/index.js.map +1 -0
  7. package/dist/src/generated/api/durable/billing/fundingRequests/item/index.d.ts +38 -0
  8. package/dist/src/generated/api/durable/billing/fundingRequests/item/index.d.ts.map +1 -0
  9. package/dist/src/generated/api/durable/billing/fundingRequests/item/index.js +36 -0
  10. package/dist/src/generated/api/durable/billing/fundingRequests/item/index.js.map +1 -0
  11. package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.d.ts +32 -0
  12. package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.d.ts.map +1 -0
  13. package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.js +30 -0
  14. package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.js.map +1 -0
  15. package/dist/src/generated/api/durable/billing/index.d.ts +5 -0
  16. package/dist/src/generated/api/durable/billing/index.d.ts.map +1 -1
  17. package/dist/src/generated/api/durable/billing/index.js +6 -0
  18. package/dist/src/generated/api/durable/billing/index.js.map +1 -1
  19. package/dist/src/generated/api/durable/content/index.d.ts.map +1 -1
  20. package/dist/src/generated/api/durable/content/index.js +2 -1
  21. package/dist/src/generated/api/durable/content/index.js.map +1 -1
  22. package/dist/src/generated/api/durable/content/item/index.d.ts +10 -1
  23. package/dist/src/generated/api/durable/content/item/index.d.ts.map +1 -1
  24. package/dist/src/generated/api/durable/content/item/index.js +10 -0
  25. package/dist/src/generated/api/durable/content/item/index.js.map +1 -1
  26. package/dist/src/generated/api/durable/content/item/inspect/index.d.ts +29 -0
  27. package/dist/src/generated/api/durable/content/item/inspect/index.d.ts.map +1 -0
  28. package/dist/src/generated/api/durable/content/item/inspect/index.js +26 -0
  29. package/dist/src/generated/api/durable/content/item/inspect/index.js.map +1 -0
  30. package/dist/src/generated/api/durable/vfs/search/index.d.ts +10 -1
  31. package/dist/src/generated/api/durable/vfs/search/index.d.ts.map +1 -1
  32. package/dist/src/generated/api/durable/vfs/search/index.js +6 -1
  33. package/dist/src/generated/api/durable/vfs/search/index.js.map +1 -1
  34. package/dist/src/generated/models/index.d.ts +926 -23
  35. package/dist/src/generated/models/index.d.ts.map +1 -1
  36. package/dist/src/generated/models/index.js +920 -7
  37. package/dist/src/generated/models/index.js.map +1 -1
  38. package/openapi/durable-agents.sdk.yaml +629 -1
  39. package/package.json +1 -1
@@ -44,7 +44,7 @@ tags:
44
44
  - name: Channels
45
45
  description: Launch channel connectors, endpoints, inboxes, messaging phones, and bindings.
46
46
  - name: Billing
47
- description: Usage and billing state. Purchases and top-up management are portal-only and are not exposed through public API-key auth.
47
+ description: Usage state and workspace wallet funding.
48
48
  - name: Audit
49
49
  description: Tenant audit events.
50
50
  - name: Webhooks
@@ -678,6 +678,26 @@ paths:
678
678
  $ref: "#/components/responses/DeletedResponse"
679
679
  default:
680
680
  $ref: "#/components/responses/ErrorResponse"
681
+ /api/durable/content/{content}/inspect:
682
+ get:
683
+ tags:
684
+ - Content
685
+ operationId: inspectContent
686
+ summary: Inspect content metadata and full rendered evidence.
687
+ description: Returns a content-ID addressed inspection payload modeled on MCP `inspect(contents://{id})`, including public content metadata, selected rendered text, sidecars, related content refs, provenance, and coverage.
688
+ security:
689
+ - apiKeyAuth: []
690
+ parameters:
691
+ - $ref: "#/components/parameters/ContentPath"
692
+ responses:
693
+ "200":
694
+ description: Content inspection.
695
+ content:
696
+ application/json:
697
+ schema:
698
+ $ref: "#/components/schemas/ContentInspection"
699
+ default:
700
+ $ref: "#/components/responses/ErrorResponse"
681
701
  /api/durable/vfs/entries:
682
702
  get:
683
703
  tags:
@@ -823,6 +843,16 @@ paths:
823
843
  required: true
824
844
  schema:
825
845
  type: string
846
+ - name: search_type
847
+ in: query
848
+ required: false
849
+ description: Search mode. `keyword` uses Graphlit keyword search for `durable fs grep`; `hybrid` uses Graphlit hybrid semantic search for `durable fs sgrep`.
850
+ schema:
851
+ type: string
852
+ enum:
853
+ - keyword
854
+ - hybrid
855
+ default: keyword
826
856
  - name: ignore_case
827
857
  in: query
828
858
  required: false
@@ -1971,6 +2001,86 @@ paths:
1971
2001
  $ref: "#/components/schemas/BillingUsage"
1972
2002
  default:
1973
2003
  $ref: "#/components/responses/ErrorResponse"
2004
+ /api/durable/billing/funding-requests:
2005
+ post:
2006
+ tags:
2007
+ - Billing
2008
+ operationId: createBillingFundingRequest
2009
+ summary: Create a wallet funding request for Link MPP payment.
2010
+ security:
2011
+ - apiKeyAuth: []
2012
+ requestBody:
2013
+ required: true
2014
+ content:
2015
+ application/json:
2016
+ schema:
2017
+ $ref: "#/components/schemas/BillingFundingRequestCreate"
2018
+ responses:
2019
+ "201":
2020
+ description: Funding request created.
2021
+ content:
2022
+ application/json:
2023
+ schema:
2024
+ $ref: "#/components/schemas/BillingFundingRequest"
2025
+ default:
2026
+ $ref: "#/components/responses/ErrorResponse"
2027
+ /api/durable/billing/funding-requests/{funding_request_id}:
2028
+ get:
2029
+ tags:
2030
+ - Billing
2031
+ operationId: getBillingFundingRequest
2032
+ summary: Get a wallet funding request.
2033
+ security:
2034
+ - apiKeyAuth: []
2035
+ parameters:
2036
+ - $ref: "#/components/parameters/FundingRequestPath"
2037
+ responses:
2038
+ "200":
2039
+ description: Funding request.
2040
+ content:
2041
+ application/json:
2042
+ schema:
2043
+ $ref: "#/components/schemas/BillingFundingRequest"
2044
+ default:
2045
+ $ref: "#/components/responses/ErrorResponse"
2046
+ /api/durable/billing/funding-requests/{funding_request_id}/mpp:
2047
+ post:
2048
+ tags:
2049
+ - Billing
2050
+ operationId: completeBillingFundingMpp
2051
+ summary: Complete a wallet funding request through MPP.
2052
+ description: |
2053
+ This endpoint is called by Link CLI `mpp pay`. Durable API-key bearer auth is
2054
+ not used here; the `Authorization` header carries the MPP `Payment` credential.
2055
+ security: []
2056
+ parameters:
2057
+ - $ref: "#/components/parameters/FundingRequestPath"
2058
+ requestBody:
2059
+ required: true
2060
+ content:
2061
+ application/json:
2062
+ schema:
2063
+ $ref: "#/components/schemas/BillingFundingMppComplete"
2064
+ responses:
2065
+ "200":
2066
+ description: Funding request completed and wallet credited.
2067
+ content:
2068
+ application/json:
2069
+ schema:
2070
+ $ref: "#/components/schemas/BillingFundingCompletion"
2071
+ "402":
2072
+ description: Payment credential required. The MPP challenge is also returned in `WWW-Authenticate`.
2073
+ headers:
2074
+ WWW-Authenticate:
2075
+ description: Serialized MPP `Payment` challenge.
2076
+ schema:
2077
+ type: string
2078
+ content:
2079
+ application/json:
2080
+ schema:
2081
+ $ref: "#/components/schemas/BillingFundingRequest"
2082
+ default:
2083
+ $ref: "#/components/responses/ErrorResponse"
1974
2084
  /api/durable/audit:
1975
2085
  get:
1976
2086
  tags:
@@ -2045,6 +2155,12 @@ components:
2045
2155
  required: true
2046
2156
  schema:
2047
2157
  type: string
2158
+ FundingRequestPath:
2159
+ name: funding_request_id
2160
+ in: path
2161
+ required: true
2162
+ schema:
2163
+ type: string
2048
2164
  KeyPath:
2049
2165
  name: key
2050
2166
  in: path
@@ -2276,6 +2392,9 @@ components:
2276
2392
  - description
2277
2393
  - state
2278
2394
  - mode
2395
+ - prompt
2396
+ - focus
2397
+ - trigger
2279
2398
  - persona
2280
2399
  - model
2281
2400
  - effort
@@ -2299,6 +2418,18 @@ components:
2299
2418
  $ref: "#/components/schemas/AgentMutableState"
2300
2419
  mode:
2301
2420
  $ref: "#/components/schemas/AgentMode"
2421
+ prompt:
2422
+ type:
2423
+ - string
2424
+ - "null"
2425
+ focus:
2426
+ type:
2427
+ - string
2428
+ - "null"
2429
+ trigger:
2430
+ anyOf:
2431
+ - $ref: "#/components/schemas/AgentTrigger"
2432
+ - type: "null"
2302
2433
  persona:
2303
2434
  anyOf:
2304
2435
  - $ref: "#/components/schemas/Ref"
@@ -2365,6 +2496,18 @@ components:
2365
2496
  anyOf:
2366
2497
  - $ref: "#/components/schemas/Effort"
2367
2498
  - type: "null"
2499
+ prompt:
2500
+ type:
2501
+ - string
2502
+ - "null"
2503
+ focus:
2504
+ type:
2505
+ - string
2506
+ - "null"
2507
+ trigger:
2508
+ anyOf:
2509
+ - $ref: "#/components/schemas/AgentTrigger"
2510
+ - type: "null"
2368
2511
  channels:
2369
2512
  type: array
2370
2513
  items:
@@ -2406,6 +2549,18 @@ components:
2406
2549
  anyOf:
2407
2550
  - $ref: "#/components/schemas/Effort"
2408
2551
  - type: "null"
2552
+ prompt:
2553
+ type:
2554
+ - string
2555
+ - "null"
2556
+ focus:
2557
+ type:
2558
+ - string
2559
+ - "null"
2560
+ trigger:
2561
+ anyOf:
2562
+ - $ref: "#/components/schemas/AgentTrigger"
2563
+ - type: "null"
2409
2564
  channels:
2410
2565
  type: array
2411
2566
  items:
@@ -2614,6 +2769,21 @@ components:
2614
2769
  type:
2615
2770
  - string
2616
2771
  - "null"
2772
+ AgentTrigger:
2773
+ type: object
2774
+ additionalProperties: false
2775
+ description: Content ingestion trigger. Empty object means any finished content.
2776
+ properties:
2777
+ kinds:
2778
+ type: array
2779
+ items:
2780
+ type: string
2781
+ description: Content or file kinds that should trigger the agent.
2782
+ sources:
2783
+ type: array
2784
+ items:
2785
+ $ref: "#/components/schemas/Ref"
2786
+ description: Data source references that should trigger the agent.
2617
2787
  RunCreate:
2618
2788
  type: object
2619
2789
  additionalProperties: false
@@ -2684,6 +2854,9 @@ components:
2684
2854
  - output
2685
2855
  - error
2686
2856
  - usage
2857
+ - current_execution_id
2858
+ - terminal_execution_id
2859
+ - latest_execution_id
2687
2860
  - started_at
2688
2861
  - completed_at
2689
2862
  - created_at
@@ -2713,6 +2886,18 @@ components:
2713
2886
  anyOf:
2714
2887
  - $ref: "#/components/schemas/UsageSummary"
2715
2888
  - type: "null"
2889
+ current_execution_id:
2890
+ type:
2891
+ - string
2892
+ - "null"
2893
+ terminal_execution_id:
2894
+ type:
2895
+ - string
2896
+ - "null"
2897
+ latest_execution_id:
2898
+ type:
2899
+ - string
2900
+ - "null"
2716
2901
  started_at:
2717
2902
  type:
2718
2903
  - string
@@ -3305,6 +3490,135 @@ components:
3305
3490
  items:
3306
3491
  type: string
3307
3492
  description: Replacement Graphlit collection GUIDs or unique names for the content.
3493
+ ContentInspectionRef:
3494
+ type: object
3495
+ additionalProperties: false
3496
+ required:
3497
+ - uri
3498
+ properties:
3499
+ uri:
3500
+ type: string
3501
+ description: MCP content resource URI.
3502
+ pattern: ^contents://.+
3503
+ name:
3504
+ type: string
3505
+ ContentInspectionProvenance:
3506
+ type: object
3507
+ additionalProperties: false
3508
+ required:
3509
+ - source
3510
+ - reused_existing_data
3511
+ properties:
3512
+ source:
3513
+ type: string
3514
+ enum:
3515
+ - markdown
3516
+ - summary
3517
+ - description
3518
+ - resource
3519
+ reused_existing_data:
3520
+ type: boolean
3521
+ ContentInspectionCoverage:
3522
+ type: object
3523
+ additionalProperties: false
3524
+ required:
3525
+ - status
3526
+ - source_kind
3527
+ - full_text_available
3528
+ - total_chars
3529
+ - returned_chars
3530
+ - truncation_reason
3531
+ properties:
3532
+ status:
3533
+ type: string
3534
+ enum:
3535
+ - full
3536
+ - partial
3537
+ - preview
3538
+ - truncated
3539
+ source_kind:
3540
+ type: string
3541
+ enum:
3542
+ - inline_markdown
3543
+ - stored_summary
3544
+ - stored_description
3545
+ - resource_name
3546
+ full_text_available:
3547
+ type: boolean
3548
+ total_chars:
3549
+ type: integer
3550
+ minimum: 0
3551
+ returned_chars:
3552
+ type: integer
3553
+ minimum: 0
3554
+ truncation_reason:
3555
+ type:
3556
+ - string
3557
+ - "null"
3558
+ ContentInspection:
3559
+ type: object
3560
+ additionalProperties: false
3561
+ required:
3562
+ - uri
3563
+ - resource_type
3564
+ - content
3565
+ - name
3566
+ - mime_type
3567
+ - text
3568
+ - summary
3569
+ - markdown
3570
+ - description
3571
+ - metadata
3572
+ - parent
3573
+ - children
3574
+ - provenance
3575
+ - coverage
3576
+ properties:
3577
+ uri:
3578
+ type: string
3579
+ pattern: ^contents://.+
3580
+ resource_type:
3581
+ type: string
3582
+ enum:
3583
+ - content
3584
+ content:
3585
+ $ref: "#/components/schemas/Content"
3586
+ name:
3587
+ type: string
3588
+ mime_type:
3589
+ type:
3590
+ - string
3591
+ - "null"
3592
+ text:
3593
+ type: string
3594
+ description: Selected rendered text for terminal inspection. This field is not locally truncated by the Durable CLI/API.
3595
+ summary:
3596
+ type:
3597
+ - string
3598
+ - "null"
3599
+ markdown:
3600
+ type:
3601
+ - string
3602
+ - "null"
3603
+ description:
3604
+ type:
3605
+ - string
3606
+ - "null"
3607
+ metadata:
3608
+ type: object
3609
+ additionalProperties: true
3610
+ parent:
3611
+ anyOf:
3612
+ - $ref: "#/components/schemas/ContentInspectionRef"
3613
+ - type: "null"
3614
+ children:
3615
+ type: array
3616
+ items:
3617
+ $ref: "#/components/schemas/ContentInspectionRef"
3618
+ provenance:
3619
+ $ref: "#/components/schemas/ContentInspectionProvenance"
3620
+ coverage:
3621
+ $ref: "#/components/schemas/ContentInspectionCoverage"
3308
3622
  VfsEntry:
3309
3623
  type: object
3310
3624
  additionalProperties: false
@@ -4944,6 +5258,320 @@ components:
4944
5258
  type: string
4945
5259
  code:
4946
5260
  type: string
5261
+ BillingFundingStatus:
5262
+ type: string
5263
+ enum:
5264
+ - payment_required
5265
+ - processing
5266
+ - succeeded
5267
+ - failed
5268
+ - expired
5269
+ - cancelled
5270
+ BillingFundingRequestCreate:
5271
+ type: object
5272
+ additionalProperties: false
5273
+ required:
5274
+ - credits
5275
+ - payment_method
5276
+ properties:
5277
+ credits:
5278
+ type: number
5279
+ minimum: 1
5280
+ maximum: 50000
5281
+ payment_method:
5282
+ type: string
5283
+ const: link_mpp
5284
+ BillingFundingMerchant:
5285
+ type: object
5286
+ additionalProperties: false
5287
+ required:
5288
+ - name
5289
+ - url
5290
+ properties:
5291
+ name:
5292
+ type: string
5293
+ url:
5294
+ type: string
5295
+ format: uri
5296
+ BillingFundingLineItem:
5297
+ type: object
5298
+ additionalProperties: false
5299
+ required:
5300
+ - name
5301
+ - unit_amount
5302
+ - quantity
5303
+ - description
5304
+ properties:
5305
+ name:
5306
+ type: string
5307
+ unit_amount:
5308
+ type: integer
5309
+ quantity:
5310
+ type: integer
5311
+ description:
5312
+ type: string
5313
+ BillingFundingTotal:
5314
+ type: object
5315
+ additionalProperties: false
5316
+ required:
5317
+ - type
5318
+ - display_text
5319
+ - amount
5320
+ properties:
5321
+ type:
5322
+ type: string
5323
+ const: total
5324
+ display_text:
5325
+ type: string
5326
+ amount:
5327
+ type: integer
5328
+ BillingFundingMpp:
5329
+ type: object
5330
+ additionalProperties: false
5331
+ required:
5332
+ - url
5333
+ - method
5334
+ - body
5335
+ - network_id
5336
+ - challenge
5337
+ - debug_decode_command
5338
+ - pay_command
5339
+ properties:
5340
+ url:
5341
+ type: string
5342
+ format: uri
5343
+ method:
5344
+ type: string
5345
+ const: POST
5346
+ body:
5347
+ type: object
5348
+ additionalProperties: false
5349
+ required:
5350
+ - funding_request_id
5351
+ properties:
5352
+ funding_request_id:
5353
+ type: string
5354
+ network_id:
5355
+ type: string
5356
+ challenge:
5357
+ type: string
5358
+ debug_decode_command:
5359
+ type: string
5360
+ pay_command:
5361
+ type: string
5362
+ BillingFundingLinkCli:
5363
+ type: object
5364
+ additionalProperties: false
5365
+ required:
5366
+ - spend_request_create
5367
+ - mpp_pay
5368
+ properties:
5369
+ spend_request_create:
5370
+ type: object
5371
+ additionalProperties: false
5372
+ required:
5373
+ - payment_method_id_required
5374
+ - args_without_payment_method
5375
+ properties:
5376
+ payment_method_id_required:
5377
+ type: boolean
5378
+ const: true
5379
+ args_without_payment_method:
5380
+ type: array
5381
+ items:
5382
+ type: string
5383
+ mpp_pay:
5384
+ type: object
5385
+ additionalProperties: false
5386
+ required:
5387
+ - spend_request_id_required
5388
+ - args_without_spend_request_id
5389
+ properties:
5390
+ spend_request_id_required:
5391
+ type: boolean
5392
+ const: true
5393
+ args_without_spend_request_id:
5394
+ type: array
5395
+ items:
5396
+ type: string
5397
+ BillingFundingLinkMcp:
5398
+ type: object
5399
+ additionalProperties: false
5400
+ required:
5401
+ - spend_request_create_input_without_payment_method
5402
+ - mpp_pay_input_without_spend_request_id
5403
+ properties:
5404
+ spend_request_create_input_without_payment_method:
5405
+ type: object
5406
+ additionalProperties: false
5407
+ required:
5408
+ - credentialType
5409
+ - networkId
5410
+ - context
5411
+ - amount
5412
+ - currency
5413
+ - lineItem
5414
+ - total
5415
+ - requestApproval
5416
+ properties:
5417
+ credentialType:
5418
+ type: string
5419
+ const: shared_payment_token
5420
+ networkId:
5421
+ type: string
5422
+ context:
5423
+ type: string
5424
+ amount:
5425
+ type: integer
5426
+ currency:
5427
+ type: string
5428
+ const: usd
5429
+ lineItem:
5430
+ type: array
5431
+ items:
5432
+ $ref: "#/components/schemas/BillingFundingLineItem"
5433
+ total:
5434
+ type: array
5435
+ items:
5436
+ $ref: "#/components/schemas/BillingFundingTotal"
5437
+ requestApproval:
5438
+ type: boolean
5439
+ const: true
5440
+ mpp_pay_input_without_spend_request_id:
5441
+ type: object
5442
+ additionalProperties: false
5443
+ required:
5444
+ - url
5445
+ - method
5446
+ - data
5447
+ properties:
5448
+ url:
5449
+ type: string
5450
+ format: uri
5451
+ method:
5452
+ type: string
5453
+ const: POST
5454
+ data:
5455
+ type: string
5456
+ BillingFundingProviderResult:
5457
+ type: object
5458
+ additionalProperties: false
5459
+ required:
5460
+ - kind
5461
+ - payment_intent_id
5462
+ - charge_id
5463
+ properties:
5464
+ kind:
5465
+ type: string
5466
+ const: stripe
5467
+ payment_intent_id:
5468
+ type:
5469
+ - string
5470
+ - "null"
5471
+ charge_id:
5472
+ type:
5473
+ - string
5474
+ - "null"
5475
+ BillingFundingRequest:
5476
+ type: object
5477
+ additionalProperties: false
5478
+ required:
5479
+ - id
5480
+ - status
5481
+ - credits
5482
+ - amount_cents
5483
+ - currency
5484
+ - merchant
5485
+ - line_items
5486
+ - totals
5487
+ - context
5488
+ - mpp
5489
+ - link_cli
5490
+ - link_mcp
5491
+ - provider_result
5492
+ - failure_code
5493
+ - failure_message
5494
+ - created_at
5495
+ - expires_at
5496
+ - completed_at
5497
+ - updated_at
5498
+ properties:
5499
+ id:
5500
+ type: string
5501
+ status:
5502
+ $ref: "#/components/schemas/BillingFundingStatus"
5503
+ credits:
5504
+ type: number
5505
+ amount_cents:
5506
+ type: integer
5507
+ currency:
5508
+ type: string
5509
+ const: usd
5510
+ merchant:
5511
+ $ref: "#/components/schemas/BillingFundingMerchant"
5512
+ line_items:
5513
+ type: array
5514
+ items:
5515
+ $ref: "#/components/schemas/BillingFundingLineItem"
5516
+ totals:
5517
+ type: array
5518
+ items:
5519
+ $ref: "#/components/schemas/BillingFundingTotal"
5520
+ context:
5521
+ type: string
5522
+ mpp:
5523
+ $ref: "#/components/schemas/BillingFundingMpp"
5524
+ link_cli:
5525
+ $ref: "#/components/schemas/BillingFundingLinkCli"
5526
+ link_mcp:
5527
+ $ref: "#/components/schemas/BillingFundingLinkMcp"
5528
+ provider_result:
5529
+ anyOf:
5530
+ - $ref: "#/components/schemas/BillingFundingProviderResult"
5531
+ - type: "null"
5532
+ failure_code:
5533
+ type:
5534
+ - string
5535
+ - "null"
5536
+ failure_message:
5537
+ type:
5538
+ - string
5539
+ - "null"
5540
+ created_at:
5541
+ type: string
5542
+ format: date-time
5543
+ expires_at:
5544
+ type: string
5545
+ format: date-time
5546
+ completed_at:
5547
+ type:
5548
+ - string
5549
+ - "null"
5550
+ format: date-time
5551
+ updated_at:
5552
+ type: string
5553
+ format: date-time
5554
+ BillingFundingMppComplete:
5555
+ type: object
5556
+ additionalProperties: false
5557
+ required:
5558
+ - funding_request_id
5559
+ properties:
5560
+ funding_request_id:
5561
+ type: string
5562
+ BillingFundingCompletion:
5563
+ type: object
5564
+ additionalProperties: false
5565
+ required:
5566
+ - funding_request
5567
+ - usage
5568
+ properties:
5569
+ funding_request:
5570
+ $ref: "#/components/schemas/BillingFundingRequest"
5571
+ usage:
5572
+ anyOf:
5573
+ - $ref: "#/components/schemas/BillingUsage"
5574
+ - type: "null"
4947
5575
  BillingUsage:
4948
5576
  type: object
4949
5577
  additionalProperties: false