@amigo-ai/platform-sdk 0.24.0 → 0.26.0

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 (38) hide show
  1. package/api.md +6 -3
  2. package/dist/core/errors.js +155 -9
  3. package/dist/core/errors.js.map +1 -1
  4. package/dist/core/reconnecting-websocket.js +371 -0
  5. package/dist/core/reconnecting-websocket.js.map +1 -0
  6. package/dist/index.cjs +711 -13
  7. package/dist/index.cjs.map +4 -4
  8. package/dist/index.js +18 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +711 -13
  11. package/dist/index.mjs.map +4 -4
  12. package/dist/resources/events.js +139 -3
  13. package/dist/resources/events.js.map +1 -1
  14. package/dist/resources/integrations.js +25 -0
  15. package/dist/resources/integrations.js.map +1 -1
  16. package/dist/resources/observers.js +238 -0
  17. package/dist/resources/observers.js.map +1 -0
  18. package/dist/types/core/errors.d.ts +93 -1
  19. package/dist/types/core/errors.d.ts.map +1 -1
  20. package/dist/types/core/reconnecting-websocket.d.ts +156 -0
  21. package/dist/types/core/reconnecting-websocket.d.ts.map +1 -0
  22. package/dist/types/generated/api.d.ts +686 -113
  23. package/dist/types/generated/api.d.ts.map +1 -1
  24. package/dist/types/index.d.cts +42 -2
  25. package/dist/types/index.d.cts.map +1 -1
  26. package/dist/types/index.d.ts +42 -2
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/dist/types/resources/events.d.ts +33 -0
  29. package/dist/types/resources/events.d.ts.map +1 -1
  30. package/dist/types/resources/functions.d.ts.map +1 -1
  31. package/dist/types/resources/integrations.d.ts +33 -0
  32. package/dist/types/resources/integrations.d.ts.map +1 -1
  33. package/dist/types/resources/metrics.d.ts.map +1 -1
  34. package/dist/types/resources/observers.d.ts +148 -0
  35. package/dist/types/resources/observers.d.ts.map +1 -0
  36. package/dist/types/resources/operators.d.ts.map +1 -1
  37. package/dist/types/resources/settings.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -3508,6 +3508,26 @@ export interface paths {
3508
3508
  patch?: never;
3509
3509
  trace?: never;
3510
3510
  };
3511
+ "/v1/{workspace_id}/integrations/{integration_id}/test-connection": {
3512
+ parameters: {
3513
+ query?: never;
3514
+ header?: never;
3515
+ path?: never;
3516
+ cookie?: never;
3517
+ };
3518
+ get?: never;
3519
+ put?: never;
3520
+ /**
3521
+ * Probe an integration's connection + auth
3522
+ * @description Pre-flight probe of an integration without invoking any specific endpoint. Exercises auth resolution end-to-end (SSM lookup, OAuth2 token mint, JWT signing) and sends a HEAD request to ``base_url`` (REST/FHIR) or to ``mcp_url`` (MCP sse/http). The most recent probe outcome is persisted on the integration so the UI can display a health badge without re-probing on every render. Safe to run on production integrations — HEAD requests carry no side effects. Requires `Integration.view` permission.
3523
+ */
3524
+ post: operations["test-integration-connection"];
3525
+ delete?: never;
3526
+ options?: never;
3527
+ head?: never;
3528
+ patch?: never;
3529
+ trace?: never;
3530
+ };
3511
3531
  "/v1/{workspace_id}/m42/anomalies/ranked": {
3512
3532
  parameters: {
3513
3533
  query?: never;
@@ -8813,7 +8833,10 @@ export interface components {
8813
8833
  };
8814
8834
  /** AuditExportRequest */
8815
8835
  AuditExportRequest: {
8816
- /** Action */
8836
+ /**
8837
+ * Action
8838
+ * @description Filter by action type.
8839
+ */
8817
8840
  action?: string | null;
8818
8841
  /**
8819
8842
  * Date From
@@ -8830,7 +8853,10 @@ export interface components {
8830
8853
  * @default false
8831
8854
  */
8832
8855
  phi_only?: boolean;
8833
- /** Service */
8856
+ /**
8857
+ * Service
8858
+ * @description Filter by service name.
8859
+ */
8834
8860
  service?: string | null;
8835
8861
  };
8836
8862
  /** AuditExportResponse */
@@ -9054,6 +9080,32 @@ export interface components {
9054
9080
  */
9055
9081
  workspace_id: string;
9056
9082
  };
9083
+ /** AvailabilityDate */
9084
+ AvailabilityDate: {
9085
+ /** Date */
9086
+ date: string;
9087
+ /** Slots */
9088
+ slots?: components["schemas"]["AvailabilitySlot"][];
9089
+ };
9090
+ /**
9091
+ * AvailabilityResponse
9092
+ * @description Available appointment slots grouped by date.
9093
+ */
9094
+ AvailabilityResponse: {
9095
+ /** Dates */
9096
+ dates?: components["schemas"]["AvailabilityDate"][];
9097
+ };
9098
+ /** AvailabilitySlot */
9099
+ AvailabilitySlot: {
9100
+ /** End */
9101
+ end: string;
9102
+ /** Id */
9103
+ id: string;
9104
+ /** Provider */
9105
+ provider?: string | null;
9106
+ /** Start */
9107
+ start: string;
9108
+ };
9057
9109
  /** AvailableNumber */
9058
9110
  AvailableNumber: {
9059
9111
  /**
@@ -9387,6 +9439,22 @@ export interface components {
9387
9439
  */
9388
9440
  slot_id: string;
9389
9441
  };
9442
+ /**
9443
+ * BookingResponse
9444
+ * @description Acknowledgement returned when a booking request is accepted.
9445
+ */
9446
+ BookingResponse: {
9447
+ /** Message */
9448
+ message: string;
9449
+ /** Slot Id */
9450
+ slot_id: string;
9451
+ /**
9452
+ * Status
9453
+ * @description Booking lifecycle status.
9454
+ * @constant
9455
+ */
9456
+ status: "pending";
9457
+ };
9390
9458
  /** BooleanMetricValueResponse */
9391
9459
  BooleanMetricValueResponse: {
9392
9460
  /** Avg Confidence */
@@ -10486,7 +10554,10 @@ export interface components {
10486
10554
  };
10487
10555
  /** ChatRequest */
10488
10556
  ChatRequest: {
10489
- /** Message */
10557
+ /**
10558
+ * Message
10559
+ * @description Insights chat user message.
10560
+ */
10490
10561
  message: string;
10491
10562
  };
10492
10563
  /** ClaimResponse */
@@ -11608,15 +11679,9 @@ export interface components {
11608
11679
  CreateAgentVersionRequest: {
11609
11680
  /** @default */
11610
11681
  background?: components["schemas"]["BackgroundString"];
11611
- /**
11612
- * Behaviors
11613
- * @default []
11614
- */
11682
+ /** Behaviors */
11615
11683
  behaviors?: string[];
11616
- /**
11617
- * Communication Patterns
11618
- * @default []
11619
- */
11684
+ /** Communication Patterns */
11620
11685
  communication_patterns?: string[];
11621
11686
  identity: components["schemas"]["Identity"];
11622
11687
  /**
@@ -11631,8 +11696,11 @@ export interface components {
11631
11696
  CreateApiKeyRequest: {
11632
11697
  /** Duration Days */
11633
11698
  duration_days: number;
11634
- name?: components["schemas"]["StrippedNonemptyString"] | null;
11635
- /** Permissions */
11699
+ name?: components["schemas"]["NameString"] | null;
11700
+ /**
11701
+ * Permissions
11702
+ * @description Permission names. Max 128 entries; each entry up to 128 chars.
11703
+ */
11636
11704
  permissions?: string[];
11637
11705
  /**
11638
11706
  * Role
@@ -11810,7 +11878,10 @@ export interface components {
11810
11878
  * @default true
11811
11879
  */
11812
11880
  enabled?: boolean;
11813
- /** Endpoints */
11881
+ /**
11882
+ * Endpoints
11883
+ * @default []
11884
+ */
11814
11885
  endpoints?: components["schemas"]["EndpointConfig-Input"][];
11815
11886
  /** Mcp Args */
11816
11887
  mcp_args?: string[] | null;
@@ -11940,16 +12011,10 @@ export interface components {
11940
12011
  * @description Patient entity in the world model. Must exist in workspace as a person entity.
11941
12012
  */
11942
12013
  patient_entity_id: string;
11943
- /**
11944
- * Phone From
11945
- * @description Caller ID phone number in E.164 format. Must belong to this workspace.
11946
- */
11947
- phone_from?: string | null;
11948
- /**
11949
- * Phone To
11950
- * @description Destination phone number in E.164 format.
11951
- */
11952
- phone_to: string;
12014
+ /** @description Caller ID phone number in E.164 format. Must belong to this workspace. */
12015
+ phone_from?: components["schemas"]["PhoneE164"] | null;
12016
+ /** @description Destination phone number in E.164 format. */
12017
+ phone_to: components["schemas"]["PhoneE164"];
11953
12018
  /** @description Why the call is being made (e.g. appointment_reminder, follow_up, lab_results). */
11954
12019
  reason: components["schemas"]["NameString"];
11955
12020
  /**
@@ -12030,7 +12095,7 @@ export interface components {
12030
12095
  * "outbound"
12031
12096
  * ]
12032
12097
  */
12033
- capabilities?: string[];
12098
+ capabilities?: ("inbound" | "outbound")[];
12034
12099
  /** Channel Phone Id */
12035
12100
  channel_phone_id?: string | null;
12036
12101
  /**
@@ -12046,8 +12111,7 @@ export interface components {
12046
12111
  * @default
12047
12112
  */
12048
12113
  notes?: string;
12049
- /** Phone Number */
12050
- phone_number: string;
12114
+ phone_number: components["schemas"]["PhoneE164"];
12051
12115
  /**
12052
12116
  * Provider
12053
12117
  * @default twilio
@@ -12109,10 +12173,7 @@ export interface components {
12109
12173
  * @default true
12110
12174
  */
12111
12175
  is_active?: boolean;
12112
- /**
12113
- * Keyterms
12114
- * @default []
12115
- */
12176
+ /** Keyterms */
12116
12177
  keyterms?: string[];
12117
12178
  name: components["schemas"]["NameString"];
12118
12179
  /** Persona Id */
@@ -12122,10 +12183,7 @@ export interface components {
12122
12183
  * @default true
12123
12184
  */
12124
12185
  safety_filters_enabled?: boolean;
12125
- /**
12126
- * Tags
12127
- * @default []
12128
- */
12186
+ /** Tags */
12129
12187
  tags?: components["schemas"]["ServiceTag"][];
12130
12188
  /**
12131
12189
  * Tool Capacity
@@ -12200,10 +12258,7 @@ export interface components {
12200
12258
  input_schema: {
12201
12259
  [key: string]: unknown;
12202
12260
  };
12203
- /**
12204
- * Integration Tools
12205
- * @default []
12206
- */
12261
+ /** Integration Tools */
12207
12262
  integration_tools?: components["schemas"]["IntegrationToolRef-Input"][];
12208
12263
  /**
12209
12264
  * Max Agent Turns
@@ -12234,10 +12289,7 @@ export interface components {
12234
12289
  } | null;
12235
12290
  /** Slug */
12236
12291
  slug: string;
12237
- /**
12238
- * Static Tools
12239
- * @default []
12240
- */
12292
+ /** Static Tools */
12241
12293
  static_tools?: components["schemas"]["StaticToolDef-Input"][];
12242
12294
  system_prompt?: components["schemas"]["StrippedNonemptyString"] | null;
12243
12295
  /** Thinking Effort */
@@ -16102,8 +16154,7 @@ export interface components {
16102
16154
  * @default true
16103
16155
  */
16104
16156
  enabled?: boolean;
16105
- /** Forward To */
16106
- forward_to: string;
16157
+ forward_to: components["schemas"]["PhoneE164"];
16107
16158
  /**
16108
16159
  * Should Disconnect
16109
16160
  * @default true
@@ -16459,6 +16510,15 @@ export interface components {
16459
16510
  /** Value */
16460
16511
  value: string;
16461
16512
  };
16513
+ /** HealFieldResponse */
16514
+ HealFieldResponse: {
16515
+ /** Confidence */
16516
+ confidence: number;
16517
+ /** Corrected Value */
16518
+ corrected_value: string;
16519
+ /** Explanation */
16520
+ explanation?: string | null;
16521
+ };
16462
16522
  /** HealthSyncResponse */
16463
16523
  HealthSyncResponse: {
16464
16524
  /** Connector Heartbeats */
@@ -16710,6 +16770,16 @@ export interface components {
16710
16770
  * @description Integration ID
16711
16771
  */
16712
16772
  id: string;
16773
+ /**
16774
+ * Last Test Status
16775
+ * @description Status of the most recent connection probe. ``None`` if never tested.
16776
+ */
16777
+ last_test_status?: ("healthy" | "auth_failed" | "unreachable" | "timeout" | "ssl_error" | "misconfigured") | null;
16778
+ /**
16779
+ * Last Tested At
16780
+ * @description When this integration was last successfully or unsuccessfully tested (server UTC).
16781
+ */
16782
+ last_tested_at?: string | null;
16713
16783
  /**
16714
16784
  * Mcp Args
16715
16785
  * @description MCP stdio command arguments
@@ -17326,6 +17396,59 @@ export interface components {
17326
17396
  /** Success */
17327
17397
  success: boolean;
17328
17398
  };
17399
+ /**
17400
+ * LinkErrorResponse
17401
+ * @description Error envelope returned for token / link validation failures.
17402
+ */
17403
+ LinkErrorResponse: {
17404
+ /**
17405
+ * Error Code
17406
+ * @description Machine-readable error code.
17407
+ * @enum {string}
17408
+ */
17409
+ error_code: "invalid_token" | "link_not_found" | "link_expired" | "link_exhausted";
17410
+ /**
17411
+ * Message
17412
+ * @description Human-readable error message.
17413
+ */
17414
+ message: string;
17415
+ };
17416
+ /**
17417
+ * LinkInfoResponse
17418
+ * @description Public metadata for an intake upload link, returned to the forms app.
17419
+ */
17420
+ LinkInfoResponse: {
17421
+ /**
17422
+ * Allowed Content Types
17423
+ * @description Allowed Content-Type values for uploads, sorted lexicographically.
17424
+ */
17425
+ allowed_content_types?: string[];
17426
+ /**
17427
+ * Customer Slug
17428
+ * @description Stable URL-safe customer identifier.
17429
+ */
17430
+ customer_slug: string;
17431
+ /**
17432
+ * Display Name
17433
+ * @description Human-readable display name (falls back to customer slug).
17434
+ */
17435
+ display_name: string;
17436
+ /**
17437
+ * Max Upload Bytes
17438
+ * @description Maximum allowed upload size in bytes.
17439
+ */
17440
+ max_upload_bytes: number;
17441
+ };
17442
+ /**
17443
+ * LookupResponse
17444
+ * @description Autocompletion results for a surface lookup field.
17445
+ */
17446
+ LookupResponse: {
17447
+ /** Results */
17448
+ results?: {
17449
+ [key: string]: unknown;
17450
+ }[];
17451
+ };
17329
17452
  /** LoopLatencyPointItem */
17330
17453
  LoopLatencyPointItem: {
17331
17454
  /**
@@ -17673,6 +17796,20 @@ export interface components {
17673
17796
  /** Metering Unit */
17674
17797
  metering_unit?: string | null;
17675
17798
  };
17799
+ /** MeteringEmitResponse */
17800
+ MeteringEmitResponse: {
17801
+ /**
17802
+ * Event Type
17803
+ * @description Echo of the emitted event_type.
17804
+ */
17805
+ event_type: string;
17806
+ /**
17807
+ * Status
17808
+ * @description Emission outcome. Always 'accepted' on 202.
17809
+ * @constant
17810
+ */
17811
+ status: "accepted";
17812
+ };
17676
17813
  /** MetricCatalogEntry */
17677
17814
  MetricCatalogEntry: {
17678
17815
  /** Builtin */
@@ -18236,6 +18373,18 @@ export interface components {
18236
18373
  */
18237
18374
  target_fields?: string[] | null;
18238
18375
  };
18376
+ /**
18377
+ * OcrResponse
18378
+ * @description Structured field extraction result for an uploaded image.
18379
+ */
18380
+ OcrResponse: {
18381
+ /** Confidence */
18382
+ confidence: number;
18383
+ /** Extracted Fields */
18384
+ extracted_fields?: {
18385
+ [key: string]: unknown;
18386
+ };
18387
+ };
18239
18388
  /**
18240
18389
  * OperatorAction
18241
18390
  * @description Today's behavior — write escalation.requested + publish SSE, wait for a
@@ -19495,6 +19644,47 @@ export interface components {
19495
19644
  [key: string]: unknown;
19496
19645
  };
19497
19646
  };
19647
+ /**
19648
+ * PatientSurfaceSpec
19649
+ * @description Patient-facing surface spec — what forms-app renders.
19650
+ *
19651
+ * Free-form by design: ``fields``/``sections``/``branding`` are forwarded
19652
+ * from the upstream surface document as raw dicts. Renamed from
19653
+ * ``SurfaceSpec`` to avoid an OpenAPI schema-name collision with
19654
+ * ``platform_lib.surfaces.models.SurfaceSpec`` (which would otherwise
19655
+ * force FastAPI to namespace both classes and rename the existing
19656
+ * ``SurfaceSpec`` schema in the committed openapi.json).
19657
+ */
19658
+ PatientSurfaceSpec: {
19659
+ /** Branding */
19660
+ branding?: {
19661
+ [key: string]: unknown;
19662
+ } | null;
19663
+ /** Completion Action Url */
19664
+ completion_action_url?: string | null;
19665
+ /** Completion Message */
19666
+ completion_message?: string | null;
19667
+ /** Completion Title */
19668
+ completion_title?: string | null;
19669
+ /** Context */
19670
+ context?: {
19671
+ [key: string]: unknown;
19672
+ } | null;
19673
+ /** Description */
19674
+ description?: string | null;
19675
+ /** Fields */
19676
+ fields?: {
19677
+ [key: string]: unknown;
19678
+ }[];
19679
+ /** Sections */
19680
+ sections?: {
19681
+ [key: string]: unknown;
19682
+ }[] | null;
19683
+ /** Submit Button Text */
19684
+ submit_button_text?: string | null;
19685
+ /** Title */
19686
+ title?: string | null;
19687
+ };
19498
19688
  /** PatientTimelineResponse */
19499
19689
  PatientTimelineResponse: {
19500
19690
  /**
@@ -19656,6 +19846,7 @@ export interface components {
19656
19846
  */
19657
19847
  workspace_id: string;
19658
19848
  };
19849
+ PhoneE164: string;
19659
19850
  /** PhoneNumberCallVolume */
19660
19851
  PhoneNumberCallVolume: {
19661
19852
  /**
@@ -20177,8 +20368,7 @@ export interface components {
20177
20368
  * @default
20178
20369
  */
20179
20370
  display_name?: string;
20180
- /** Phone Number */
20181
- phone_number: string;
20371
+ phone_number: components["schemas"]["PhoneE164"];
20182
20372
  };
20183
20373
  /** PurgeEntityResponse */
20184
20374
  PurgeEntityResponse: {
@@ -21127,6 +21317,18 @@ export interface components {
21127
21317
  */
21128
21318
  workspace_id: string;
21129
21319
  };
21320
+ /**
21321
+ * SaveFieldResponse
21322
+ * @description Acknowledgement returned when a field is auto-saved.
21323
+ */
21324
+ SaveFieldResponse: {
21325
+ /**
21326
+ * Status
21327
+ * @default saved
21328
+ * @constant
21329
+ */
21330
+ status?: "saved";
21331
+ };
21130
21332
  /** Scenario */
21131
21333
  Scenario: {
21132
21334
  /** Description */
@@ -22548,7 +22750,10 @@ export interface components {
22548
22750
  };
22549
22751
  /** SqlQueryRequest */
22550
22752
  SqlQueryRequest: {
22551
- /** Sql */
22753
+ /**
22754
+ * Sql
22755
+ * @description Read-only SQL query against Databricks.
22756
+ */
22552
22757
  sql: string;
22553
22758
  };
22554
22759
  /** SqlQueryResponse */
@@ -22584,11 +22789,8 @@ export interface components {
22584
22789
  * @description Client-provided idempotency key for SMS/WhatsApp.
22585
22790
  */
22586
22791
  idempotency_key?: string | null;
22587
- /**
22588
- * Phone To
22589
- * @description E.164 phone override for SMS/WhatsApp. Resolved from entity if omitted.
22590
- */
22591
- phone_to?: string | null;
22792
+ /** @description E.164 phone override for SMS/WhatsApp. Resolved from entity if omitted. */
22793
+ phone_to?: components["schemas"]["PhoneE164"] | null;
22592
22794
  /**
22593
22795
  * Service Id
22594
22796
  * Format: uuid
@@ -22958,6 +23160,39 @@ export interface components {
22958
23160
  */
22959
23161
  surface_id: string;
22960
23162
  };
23163
+ /**
23164
+ * SurfaceErrorResponse
23165
+ * @description Error envelope returned by patient-facing surface JSON endpoints.
23166
+ *
23167
+ * Frontend (forms-app) reads ``error_code`` for branching and ``message``
23168
+ * for user-visible copy. ``reason`` is a debug-only field set by the token
23169
+ * validator. ``details`` is set when a request body fails server-side
23170
+ * validation.
23171
+ */
23172
+ SurfaceErrorResponse: {
23173
+ /**
23174
+ * Details
23175
+ * @description Optional structured validation details for 422 responses.
23176
+ */
23177
+ details?: {
23178
+ [key: string]: unknown;
23179
+ } | null;
23180
+ /**
23181
+ * Error Code
23182
+ * @description Machine-readable error code.
23183
+ */
23184
+ error_code: string;
23185
+ /**
23186
+ * Message
23187
+ * @description Human-readable error message. Omitted for token-validator errors that only carry ``reason``.
23188
+ */
23189
+ message?: string | null;
23190
+ /**
23191
+ * Reason
23192
+ * @description Debug detail from the token validator (e.g. ``token expired``).
23193
+ */
23194
+ reason?: string | null;
23195
+ };
22961
23196
  /**
22962
23197
  * SurfaceField
22963
23198
  * @description A single data collection field in a surface spec.
@@ -23257,6 +23492,23 @@ export interface components {
23257
23492
  submit_button_text?: string | null;
23258
23493
  title: components["schemas"]["NameString"];
23259
23494
  };
23495
+ /**
23496
+ * SurfaceSpecResponse
23497
+ * @description Surface render bundle returned to forms-app SSR.
23498
+ */
23499
+ SurfaceSpecResponse: {
23500
+ /** Entity Id */
23501
+ entity_id?: string | null;
23502
+ /** Saved Values */
23503
+ saved_values?: {
23504
+ [key: string]: unknown;
23505
+ };
23506
+ spec: components["schemas"]["PatientSurfaceSpec"];
23507
+ /** Status */
23508
+ status?: string | null;
23509
+ /** Surface Id */
23510
+ surface_id?: string | null;
23511
+ };
23260
23512
  /** SurfaceSubmittedEvent */
23261
23513
  SurfaceSubmittedEvent: {
23262
23514
  /**
@@ -23557,9 +23809,57 @@ export interface components {
23557
23809
  /** Numbers */
23558
23810
  numbers: string[];
23559
23811
  };
23812
+ /**
23813
+ * TestConnectionResponse
23814
+ * @description Result of a pre-flight connection probe.
23815
+ *
23816
+ * Exercised by the developer-console "Test Connection" button. Probes
23817
+ * auth resolution + upstream reachability without invoking any
23818
+ * specific endpoint, so it's safe to run on production integrations.
23819
+ */
23820
+ TestConnectionResponse: {
23821
+ /**
23822
+ * Auth Resolved
23823
+ * @description True if the auth credential successfully resolved (SSM lookup, OAuth2 token mint, JWT signing). False does not necessarily mean the auth is wrong — for ``bearer_token_exchange`` it can mean per-call params weren't supplied.
23824
+ * @default false
23825
+ */
23826
+ auth_resolved?: boolean;
23827
+ /**
23828
+ * Duration Ms
23829
+ * @description End-to-end probe duration in milliseconds.
23830
+ * @default 0
23831
+ */
23832
+ duration_ms?: number;
23833
+ /**
23834
+ * Http Status
23835
+ * @description HTTP status code from the upstream HEAD probe (REST/FHIR/MCP-http only).
23836
+ */
23837
+ http_status?: number | null;
23838
+ /**
23839
+ * Message
23840
+ * @description Human-readable summary suitable for direct display to the user.
23841
+ * @default
23842
+ */
23843
+ message?: string;
23844
+ /**
23845
+ * Status
23846
+ * @description Coarse classification of the probe outcome. The console maps each value to a distinct remediation message: ``healthy`` is green, ``auth_failed`` prompts re-auth, ``unreachable`` / ``timeout`` suggest checking the URL or VPN, ``ssl_error`` calls out cert issues, ``misconfigured`` highlights missing required fields.
23847
+ * @enum {string}
23848
+ */
23849
+ status: "healthy" | "auth_failed" | "unreachable" | "timeout" | "ssl_error" | "misconfigured";
23850
+ /**
23851
+ * Tested At
23852
+ * Format: date-time
23853
+ * @description When the probe ran (server time, UTC).
23854
+ */
23855
+ tested_at: string;
23856
+ };
23560
23857
  /** TestEndpointRequest */
23561
23858
  TestEndpointRequest: {
23562
- /** Params */
23859
+ /**
23860
+ * Params
23861
+ * @default {}
23862
+ */
23563
23863
  params?: {
23564
23864
  [key: string]: unknown;
23565
23865
  };
@@ -23611,16 +23911,19 @@ export interface components {
23611
23911
  };
23612
23912
  /** TestSkillRequest */
23613
23913
  TestSkillRequest: {
23614
- /** Input */
23914
+ /**
23915
+ * Input
23916
+ * @description Input parameters to pass to the skill executor.
23917
+ */
23615
23918
  input: {
23616
23919
  [key: string]: unknown;
23617
23920
  };
23618
23921
  /**
23619
23922
  * Static Tool Mocks
23620
- * @default {}
23923
+ * @description Map of static tool name (max 128 chars) to mocked output string (max 16 KB). Up to 64 entries.
23621
23924
  */
23622
23925
  static_tool_mocks?: {
23623
- [key: string]: string;
23926
+ [key: string]: components["schemas"]["_ToolMockValue"];
23624
23927
  };
23625
23928
  };
23626
23929
  /** TestSkillResponse */
@@ -24748,8 +25051,23 @@ export interface components {
24748
25051
  /** Turn Count */
24749
25052
  turn_count: number;
24750
25053
  };
24751
- /** TurnErrorEvent */
25054
+ /**
25055
+ * TurnErrorEvent
25056
+ * @description Terminal error frame on the turn stream.
25057
+ *
25058
+ * Carries a stable ``code`` so SDK consumers can branch deterministically
25059
+ * without parsing free-form ``message`` text. ``retryable`` tells the
25060
+ * consumer whether issuing the same turn again is likely to succeed.
25061
+ * ``status_code`` is the upstream HTTP status when the error originated
25062
+ * from a downstream service (agent-engine), and is otherwise omitted.
25063
+ */
24752
25064
  TurnErrorEvent: {
25065
+ /**
25066
+ * Code
25067
+ * @default unknown
25068
+ * @enum {string}
25069
+ */
25070
+ code?: "upstream_error" | "stream_interrupted" | "client_error" | "unknown";
24753
25071
  /**
24754
25072
  * @description discriminator enum property added by openapi-typescript
24755
25073
  * @enum {string}
@@ -24757,6 +25075,16 @@ export interface components {
24757
25075
  event: "error";
24758
25076
  /** Message */
24759
25077
  message: string;
25078
+ /**
25079
+ * Retryable
25080
+ * @default false
25081
+ */
25082
+ retryable?: boolean;
25083
+ /**
25084
+ * Status Code
25085
+ * @default null
25086
+ */
25087
+ status_code?: number | null;
24760
25088
  };
24761
25089
  /** TurnMessageEvent */
24762
25090
  TurnMessageEvent: {
@@ -25123,7 +25451,7 @@ export interface components {
25123
25451
  /** UpdatePhoneNumberRequest */
25124
25452
  UpdatePhoneNumberRequest: {
25125
25453
  /** Capabilities */
25126
- capabilities?: string[] | null;
25454
+ capabilities?: ("inbound" | "outbound")[] | null;
25127
25455
  /** Channel Phone Id */
25128
25456
  channel_phone_id?: string | null;
25129
25457
  /** Display Name */
@@ -25375,6 +25703,55 @@ export interface components {
25375
25703
  /** Region */
25376
25704
  region?: ("us-east-1" | "ap-southeast-2" | "eu-central-1" | "ca-central-1") | null;
25377
25705
  };
25706
+ /**
25707
+ * UploadDuplicateInfo
25708
+ * @description Pointer to an existing upload row when content-hash dedup fires.
25709
+ */
25710
+ UploadDuplicateInfo: {
25711
+ /**
25712
+ * Id
25713
+ * @description UUID of the existing upload row.
25714
+ */
25715
+ id: string;
25716
+ /**
25717
+ * Received At
25718
+ * @description ISO-8601 timestamp the original upload was received.
25719
+ */
25720
+ received_at: string;
25721
+ };
25722
+ /**
25723
+ * UploadFileResponse
25724
+ * @description Receipt for a successful upload via an intake link.
25725
+ */
25726
+ UploadFileResponse: {
25727
+ /** @description Set when this upload's content hash matched a prior upload; otherwise null. */
25728
+ duplicate_of?: components["schemas"]["UploadDuplicateInfo"] | null;
25729
+ /**
25730
+ * Filename
25731
+ * @description Stored filename.
25732
+ */
25733
+ filename: string;
25734
+ /**
25735
+ * Id
25736
+ * @description UUID of the newly created upload row.
25737
+ */
25738
+ id: string;
25739
+ /**
25740
+ * Scan Status
25741
+ * @description Virus-scan status (e.g. ``clean``, ``skipped``).
25742
+ */
25743
+ scan_status: string;
25744
+ /**
25745
+ * Sha256
25746
+ * @description SHA-256 of the uploaded bytes (lowercase hex).
25747
+ */
25748
+ sha256: string;
25749
+ /**
25750
+ * Size Bytes
25751
+ * @description Stored size in bytes.
25752
+ */
25753
+ size_bytes: number;
25754
+ };
25378
25755
  /** UpsertVersionSetRequest */
25379
25756
  UpsertVersionSetRequest: {
25380
25757
  version_set: components["schemas"]["VersionSet"];
@@ -26531,6 +26908,8 @@ export interface components {
26531
26908
  /** Success */
26532
26909
  success: boolean;
26533
26910
  };
26911
+ _ToolMockKey: string;
26912
+ _ToolMockValue: string;
26534
26913
  /**
26535
26914
  * IntegrationToolRef
26536
26915
  * @description Reference to an integration endpoint by integration + endpoint name.
@@ -26978,7 +27357,7 @@ export interface operations {
26978
27357
  [name: string]: unknown;
26979
27358
  };
26980
27359
  content: {
26981
- "application/json": unknown;
27360
+ "application/json": components["schemas"]["AvailabilityResponse"];
26982
27361
  };
26983
27362
  };
26984
27363
  /** @description Invalid token */
@@ -26986,21 +27365,27 @@ export interface operations {
26986
27365
  headers: {
26987
27366
  [name: string]: unknown;
26988
27367
  };
26989
- content?: never;
27368
+ content: {
27369
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27370
+ };
26990
27371
  };
26991
27372
  /** @description Token expired */
26992
27373
  410: {
26993
27374
  headers: {
26994
27375
  [name: string]: unknown;
26995
27376
  };
26996
- content?: never;
27377
+ content: {
27378
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27379
+ };
26997
27380
  };
26998
27381
  /** @description Invalid date format */
26999
27382
  422: {
27000
27383
  headers: {
27001
27384
  [name: string]: unknown;
27002
27385
  };
27003
- content?: never;
27386
+ content: {
27387
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27388
+ };
27004
27389
  };
27005
27390
  /** @description Rate limited */
27006
27391
  429: {
@@ -27032,7 +27417,7 @@ export interface operations {
27032
27417
  [name: string]: unknown;
27033
27418
  };
27034
27419
  content: {
27035
- "application/json": unknown;
27420
+ "application/json": components["schemas"]["BookingResponse"];
27036
27421
  };
27037
27422
  };
27038
27423
  /** @description Invalid token */
@@ -27040,22 +27425,44 @@ export interface operations {
27040
27425
  headers: {
27041
27426
  [name: string]: unknown;
27042
27427
  };
27043
- content?: never;
27428
+ content: {
27429
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27430
+ };
27431
+ };
27432
+ /** @description Slot not found */
27433
+ 404: {
27434
+ headers: {
27435
+ [name: string]: unknown;
27436
+ };
27437
+ content: {
27438
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27439
+ };
27440
+ };
27441
+ /** @description Slot unavailable */
27442
+ 409: {
27443
+ headers: {
27444
+ [name: string]: unknown;
27445
+ };
27446
+ content: {
27447
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27448
+ };
27044
27449
  };
27045
27450
  /** @description Token expired */
27046
27451
  410: {
27047
27452
  headers: {
27048
27453
  [name: string]: unknown;
27049
27454
  };
27050
- content?: never;
27455
+ content: {
27456
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27457
+ };
27051
27458
  };
27052
- /** @description Validation Error */
27459
+ /** @description Validation error */
27053
27460
  422: {
27054
27461
  headers: {
27055
27462
  [name: string]: unknown;
27056
27463
  };
27057
27464
  content: {
27058
- "application/json": components["schemas"]["HTTPValidationError"];
27465
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27059
27466
  };
27060
27467
  };
27061
27468
  /** @description Rate limited */
@@ -27089,7 +27496,7 @@ export interface operations {
27089
27496
  [name: string]: unknown;
27090
27497
  };
27091
27498
  content: {
27092
- "application/json": unknown;
27499
+ "application/json": components["schemas"]["SaveFieldResponse"];
27093
27500
  };
27094
27501
  };
27095
27502
  /** @description Invalid token */
@@ -27097,14 +27504,18 @@ export interface operations {
27097
27504
  headers: {
27098
27505
  [name: string]: unknown;
27099
27506
  };
27100
- content?: never;
27507
+ content: {
27508
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27509
+ };
27101
27510
  };
27102
27511
  /** @description Payload too large */
27103
27512
  413: {
27104
27513
  headers: {
27105
27514
  [name: string]: unknown;
27106
27515
  };
27107
- content?: never;
27516
+ content: {
27517
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27518
+ };
27108
27519
  };
27109
27520
  /** @description Validation Error */
27110
27521
  422: {
@@ -27127,7 +27538,9 @@ export interface operations {
27127
27538
  headers: {
27128
27539
  [name: string]: unknown;
27129
27540
  };
27130
- content?: never;
27541
+ content: {
27542
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27543
+ };
27131
27544
  };
27132
27545
  };
27133
27546
  };
@@ -27152,7 +27565,7 @@ export interface operations {
27152
27565
  [name: string]: unknown;
27153
27566
  };
27154
27567
  content: {
27155
- "application/json": unknown;
27568
+ "application/json": components["schemas"]["HealFieldResponse"];
27156
27569
  };
27157
27570
  };
27158
27571
  /** @description Invalid token */
@@ -27160,7 +27573,9 @@ export interface operations {
27160
27573
  headers: {
27161
27574
  [name: string]: unknown;
27162
27575
  };
27163
- content?: never;
27576
+ content: {
27577
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27578
+ };
27164
27579
  };
27165
27580
  /** @description Validation Error */
27166
27581
  422: {
@@ -27200,7 +27615,7 @@ export interface operations {
27200
27615
  [name: string]: unknown;
27201
27616
  };
27202
27617
  content: {
27203
- "application/json": unknown;
27618
+ "application/json": components["schemas"]["LookupResponse"];
27204
27619
  };
27205
27620
  };
27206
27621
  /** @description Invalid token */
@@ -27208,14 +27623,18 @@ export interface operations {
27208
27623
  headers: {
27209
27624
  [name: string]: unknown;
27210
27625
  };
27211
- content?: never;
27626
+ content: {
27627
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27628
+ };
27212
27629
  };
27213
27630
  /** @description Invalid lookup type */
27214
27631
  422: {
27215
27632
  headers: {
27216
27633
  [name: string]: unknown;
27217
27634
  };
27218
- content?: never;
27635
+ content: {
27636
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27637
+ };
27219
27638
  };
27220
27639
  /** @description Rate limited */
27221
27640
  429: {
@@ -27247,7 +27666,7 @@ export interface operations {
27247
27666
  [name: string]: unknown;
27248
27667
  };
27249
27668
  content: {
27250
- "application/json": unknown;
27669
+ "application/json": components["schemas"]["OcrResponse"];
27251
27670
  };
27252
27671
  };
27253
27672
  /** @description Invalid token */
@@ -27255,7 +27674,9 @@ export interface operations {
27255
27674
  headers: {
27256
27675
  [name: string]: unknown;
27257
27676
  };
27258
- content?: never;
27677
+ content: {
27678
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27679
+ };
27259
27680
  };
27260
27681
  /** @description Validation Error */
27261
27682
  422: {
@@ -27292,7 +27713,7 @@ export interface operations {
27292
27713
  [name: string]: unknown;
27293
27714
  };
27294
27715
  content: {
27295
- "application/json": unknown;
27716
+ "application/json": components["schemas"]["SurfaceSpecResponse"];
27296
27717
  };
27297
27718
  };
27298
27719
  /** @description Invalid token */
@@ -27300,28 +27721,36 @@ export interface operations {
27300
27721
  headers: {
27301
27722
  [name: string]: unknown;
27302
27723
  };
27303
- content?: never;
27724
+ content: {
27725
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27726
+ };
27304
27727
  };
27305
27728
  /** @description Surface not found */
27306
27729
  404: {
27307
27730
  headers: {
27308
27731
  [name: string]: unknown;
27309
27732
  };
27310
- content?: never;
27733
+ content: {
27734
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27735
+ };
27311
27736
  };
27312
27737
  /** @description Already submitted */
27313
27738
  409: {
27314
27739
  headers: {
27315
27740
  [name: string]: unknown;
27316
27741
  };
27317
- content?: never;
27742
+ content: {
27743
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27744
+ };
27318
27745
  };
27319
27746
  /** @description Token expired or surface archived */
27320
27747
  410: {
27321
27748
  headers: {
27322
27749
  [name: string]: unknown;
27323
27750
  };
27324
- content?: never;
27751
+ content: {
27752
+ "application/json": components["schemas"]["SurfaceErrorResponse"];
27753
+ };
27325
27754
  };
27326
27755
  /** @description Validation Error */
27327
27756
  422: {
@@ -27414,21 +27843,14 @@ export interface operations {
27414
27843
  };
27415
27844
  requestBody?: never;
27416
27845
  responses: {
27417
- /** @description Successful Response */
27418
- 200: {
27419
- headers: {
27420
- [name: string]: unknown;
27421
- };
27422
- content: {
27423
- "application/json": unknown;
27424
- };
27425
- };
27426
27846
  /** @description File uploaded successfully */
27427
27847
  201: {
27428
27848
  headers: {
27429
27849
  [name: string]: unknown;
27430
27850
  };
27431
- content?: never;
27851
+ content: {
27852
+ "application/json": components["schemas"]["UploadFileResponse"];
27853
+ };
27432
27854
  };
27433
27855
  /** @description Link not found */
27434
27856
  404: {
@@ -27491,7 +27913,7 @@ export interface operations {
27491
27913
  [name: string]: unknown;
27492
27914
  };
27493
27915
  content: {
27494
- "application/json": unknown;
27916
+ "application/json": components["schemas"]["LinkInfoResponse"];
27495
27917
  };
27496
27918
  };
27497
27919
  /** @description Invalid token */
@@ -27499,21 +27921,27 @@ export interface operations {
27499
27921
  headers: {
27500
27922
  [name: string]: unknown;
27501
27923
  };
27502
- content?: never;
27924
+ content: {
27925
+ "application/json": components["schemas"]["LinkErrorResponse"];
27926
+ };
27503
27927
  };
27504
27928
  /** @description Link not found */
27505
27929
  404: {
27506
27930
  headers: {
27507
27931
  [name: string]: unknown;
27508
27932
  };
27509
- content?: never;
27933
+ content: {
27934
+ "application/json": components["schemas"]["LinkErrorResponse"];
27935
+ };
27510
27936
  };
27511
- /** @description Link expired */
27937
+ /** @description Link expired or exhausted */
27512
27938
  410: {
27513
27939
  headers: {
27514
27940
  [name: string]: unknown;
27515
27941
  };
27516
- content?: never;
27942
+ content: {
27943
+ "application/json": components["schemas"]["LinkErrorResponse"];
27944
+ };
27517
27945
  };
27518
27946
  /** @description Validation Error */
27519
27947
  422: {
@@ -27524,7 +27952,7 @@ export interface operations {
27524
27952
  "application/json": components["schemas"]["HTTPValidationError"];
27525
27953
  };
27526
27954
  };
27527
- /** @description Upload limit reached */
27955
+ /** @description Rate limited */
27528
27956
  429: {
27529
27957
  headers: {
27530
27958
  [name: string]: unknown;
@@ -29089,7 +29517,7 @@ export interface operations {
29089
29517
  interval?: "1h" | "1d" | "1w";
29090
29518
  service_id?: string | null;
29091
29519
  /** @description Filter by call direction: inbound or outbound */
29092
- direction?: string | null;
29520
+ direction?: ("inbound" | "outbound") | null;
29093
29521
  };
29094
29522
  header?: never;
29095
29523
  path: {
@@ -30093,7 +30521,10 @@ export interface operations {
30093
30521
  };
30094
30522
  "list-audit-exports": {
30095
30523
  parameters: {
30096
- query?: never;
30524
+ query?: {
30525
+ /** @description Max exports to return */
30526
+ limit?: number;
30527
+ };
30097
30528
  header?: never;
30098
30529
  path: {
30099
30530
  workspace_id: string;
@@ -30111,6 +30542,15 @@ export interface operations {
30111
30542
  "application/json": components["schemas"]["AuditExportListResponse"];
30112
30543
  };
30113
30544
  };
30545
+ /** @description Validation Error */
30546
+ 422: {
30547
+ headers: {
30548
+ [name: string]: unknown;
30549
+ };
30550
+ content: {
30551
+ "application/json": components["schemas"]["HTTPValidationError"];
30552
+ };
30553
+ };
30114
30554
  /** @description Rate limited */
30115
30555
  429: {
30116
30556
  headers: {
@@ -34550,6 +34990,8 @@ export interface operations {
34550
34990
  parameters: {
34551
34991
  query?: {
34552
34992
  include_expired?: boolean;
34993
+ limit?: number;
34994
+ offset?: number;
34553
34995
  };
34554
34996
  header?: never;
34555
34997
  path: {
@@ -34646,7 +35088,10 @@ export interface operations {
34646
35088
  };
34647
35089
  "list-intake-link-uploads": {
34648
35090
  parameters: {
34649
- query?: never;
35091
+ query?: {
35092
+ limit?: number;
35093
+ offset?: number;
35094
+ };
34650
35095
  header?: never;
34651
35096
  path: {
34652
35097
  workspace_id: string;
@@ -35077,10 +35522,65 @@ export interface operations {
35077
35522
  };
35078
35523
  };
35079
35524
  };
35525
+ "test-integration-connection": {
35526
+ parameters: {
35527
+ query?: never;
35528
+ header?: never;
35529
+ path: {
35530
+ workspace_id: string;
35531
+ integration_id: string;
35532
+ };
35533
+ cookie?: never;
35534
+ };
35535
+ requestBody?: never;
35536
+ responses: {
35537
+ /** @description Successful Response */
35538
+ 200: {
35539
+ headers: {
35540
+ [name: string]: unknown;
35541
+ };
35542
+ content: {
35543
+ "application/json": components["schemas"]["TestConnectionResponse"];
35544
+ };
35545
+ };
35546
+ /** @description Missing or invalid API key. */
35547
+ 401: {
35548
+ headers: {
35549
+ [name: string]: unknown;
35550
+ };
35551
+ content?: never;
35552
+ };
35553
+ /** @description Insufficient permissions. */
35554
+ 403: {
35555
+ headers: {
35556
+ [name: string]: unknown;
35557
+ };
35558
+ content?: never;
35559
+ };
35560
+ /** @description Integration not found. */
35561
+ 404: {
35562
+ headers: {
35563
+ [name: string]: unknown;
35564
+ };
35565
+ content?: never;
35566
+ };
35567
+ /** @description Validation Error */
35568
+ 422: {
35569
+ headers: {
35570
+ [name: string]: unknown;
35571
+ };
35572
+ content: {
35573
+ "application/json": components["schemas"]["HTTPValidationError"];
35574
+ };
35575
+ };
35576
+ };
35577
+ };
35080
35578
  list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
35081
35579
  parameters: {
35082
35580
  query?: {
35083
35581
  indicator?: string | null;
35582
+ limit?: number;
35583
+ offset?: number;
35084
35584
  };
35085
35585
  header?: never;
35086
35586
  path: {
@@ -35115,6 +35615,7 @@ export interface operations {
35115
35615
  query?: {
35116
35616
  severity?: ("high" | "medium" | "low") | null;
35117
35617
  limit?: number;
35618
+ offset?: number;
35118
35619
  };
35119
35620
  header?: never;
35120
35621
  path: {
@@ -35236,6 +35737,8 @@ export interface operations {
35236
35737
  parameters: {
35237
35738
  query?: {
35238
35739
  focus_area?: string | null;
35740
+ limit?: number;
35741
+ offset?: number;
35239
35742
  };
35240
35743
  header?: never;
35241
35744
  path: {
@@ -35267,7 +35770,10 @@ export interface operations {
35267
35770
  };
35268
35771
  list_cluster_summary_v1__workspace_id__m42_clusters_summary_get: {
35269
35772
  parameters: {
35270
- query?: never;
35773
+ query?: {
35774
+ limit?: number;
35775
+ offset?: number;
35776
+ };
35271
35777
  header?: never;
35272
35778
  path: {
35273
35779
  workspace_id: string;
@@ -35285,11 +35791,23 @@ export interface operations {
35285
35791
  "application/json": components["schemas"]["ClusterSummaryResponse"];
35286
35792
  };
35287
35793
  };
35794
+ /** @description Validation Error */
35795
+ 422: {
35796
+ headers: {
35797
+ [name: string]: unknown;
35798
+ };
35799
+ content: {
35800
+ "application/json": components["schemas"]["HTTPValidationError"];
35801
+ };
35802
+ };
35288
35803
  };
35289
35804
  };
35290
35805
  list_district_metrics_v1__workspace_id__m42_district_metrics_get: {
35291
35806
  parameters: {
35292
- query?: never;
35807
+ query?: {
35808
+ limit?: number;
35809
+ offset?: number;
35810
+ };
35293
35811
  header?: never;
35294
35812
  path: {
35295
35813
  workspace_id: string;
@@ -35307,6 +35825,15 @@ export interface operations {
35307
35825
  "application/json": components["schemas"]["DistrictMetricsResponse"];
35308
35826
  };
35309
35827
  };
35828
+ /** @description Validation Error */
35829
+ 422: {
35830
+ headers: {
35831
+ [name: string]: unknown;
35832
+ };
35833
+ content: {
35834
+ "application/json": components["schemas"]["HTTPValidationError"];
35835
+ };
35836
+ };
35310
35837
  };
35311
35838
  };
35312
35839
  list_features_v1__workspace_id__m42_features_get: {
@@ -35370,6 +35897,8 @@ export interface operations {
35370
35897
  query?: {
35371
35898
  run_id?: string | null;
35372
35899
  scenario?: ("baseline" | "with_policy" | "observational") | null;
35900
+ limit?: number;
35901
+ offset?: number;
35373
35902
  };
35374
35903
  header?: never;
35375
35904
  path: {
@@ -35436,7 +35965,10 @@ export interface operations {
35436
35965
  };
35437
35966
  list_model_registry_v1__workspace_id__m42_model_registry_get: {
35438
35967
  parameters: {
35439
- query?: never;
35968
+ query?: {
35969
+ limit?: number;
35970
+ offset?: number;
35971
+ };
35440
35972
  header?: never;
35441
35973
  path: {
35442
35974
  workspace_id: string;
@@ -35454,6 +35986,15 @@ export interface operations {
35454
35986
  "application/json": components["schemas"]["ModelRegistryResponse"];
35455
35987
  };
35456
35988
  };
35989
+ /** @description Validation Error */
35990
+ 422: {
35991
+ headers: {
35992
+ [name: string]: unknown;
35993
+ };
35994
+ content: {
35995
+ "application/json": components["schemas"]["HTTPValidationError"];
35996
+ };
35997
+ };
35457
35998
  };
35458
35999
  };
35459
36000
  get_notes_rollup_v1__workspace_id__m42_notes_rollup_get: {
@@ -35528,7 +36069,10 @@ export interface operations {
35528
36069
  };
35529
36070
  list_patient_labs_v1__workspace_id__m42_patients__patient_id__labs_get: {
35530
36071
  parameters: {
35531
- query?: never;
36072
+ query?: {
36073
+ limit?: number;
36074
+ offset?: number;
36075
+ };
35532
36076
  header?: never;
35533
36077
  path: {
35534
36078
  workspace_id: string;
@@ -35592,7 +36136,10 @@ export interface operations {
35592
36136
  };
35593
36137
  list_positive_signals_v1__workspace_id__m42_positive_signals_get: {
35594
36138
  parameters: {
35595
- query?: never;
36139
+ query?: {
36140
+ limit?: number;
36141
+ offset?: number;
36142
+ };
35596
36143
  header?: never;
35597
36144
  path: {
35598
36145
  workspace_id: string;
@@ -35610,12 +36157,23 @@ export interface operations {
35610
36157
  "application/json": components["schemas"]["PositiveSignalResponse"];
35611
36158
  };
35612
36159
  };
36160
+ /** @description Validation Error */
36161
+ 422: {
36162
+ headers: {
36163
+ [name: string]: unknown;
36164
+ };
36165
+ content: {
36166
+ "application/json": components["schemas"]["HTTPValidationError"];
36167
+ };
36168
+ };
35613
36169
  };
35614
36170
  };
35615
36171
  list_stratified_fits_v1__workspace_id__m42_stratified_fits_get: {
35616
36172
  parameters: {
35617
36173
  query?: {
35618
36174
  outcome_key?: string | null;
36175
+ limit?: number;
36176
+ offset?: number;
35619
36177
  };
35620
36178
  header?: never;
35621
36179
  path: {
@@ -35776,9 +36334,7 @@ export interface operations {
35776
36334
  [name: string]: unknown;
35777
36335
  };
35778
36336
  content: {
35779
- "application/json": {
35780
- [key: string]: string;
35781
- };
36337
+ "application/json": components["schemas"]["MeteringEmitResponse"];
35782
36338
  };
35783
36339
  };
35784
36340
  /** @description Validation Error */
@@ -35802,6 +36358,8 @@ export interface operations {
35802
36358
  service_id?: string | null;
35803
36359
  run_id?: string | null;
35804
36360
  session_id?: string | null;
36361
+ limit?: number;
36362
+ offset?: number;
35805
36363
  };
35806
36364
  header?: never;
35807
36365
  path: {
@@ -39706,6 +40264,8 @@ export interface operations {
39706
40264
  query?: {
39707
40265
  /** @description Max rows to return (default 20, max 100) */
39708
40266
  limit?: number;
40267
+ /** @description Offset for pagination (default 0) */
40268
+ offset?: number;
39709
40269
  };
39710
40270
  header?: never;
39711
40271
  path: {
@@ -44038,7 +44598,7 @@ export interface operations {
44038
44598
  query?: {
44039
44599
  use_case_id?: string | null;
44040
44600
  setup_id?: string | null;
44041
- status?: string[] | null;
44601
+ status?: ("pending" | "skipped" | "failed" | "delivered" | "not_delivered")[] | null;
44042
44602
  recipient_phone_number?: string | null;
44043
44603
  };
44044
44604
  header?: never;
@@ -44654,6 +45214,10 @@ export interface operations {
44654
45214
  query?: {
44655
45215
  /** @description Filter by entity type. */
44656
45216
  entity_type?: string | null;
45217
+ /** @description Max keys to return */
45218
+ limit?: number;
45219
+ /** @description Page offset */
45220
+ offset?: number;
44657
45221
  };
44658
45222
  header?: never;
44659
45223
  path: {
@@ -44895,6 +45459,10 @@ export interface operations {
44895
45459
  entity_type?: string | null;
44896
45460
  /** @description Max confidence threshold */
44897
45461
  confidence_max?: number;
45462
+ /** @description Max edges to return */
45463
+ limit?: number;
45464
+ /** @description Page offset */
45465
+ offset?: number;
44898
45466
  };
44899
45467
  header?: never;
44900
45468
  path: {
@@ -44988,7 +45556,12 @@ export interface operations {
44988
45556
  };
44989
45557
  "list-entity-enrichment": {
44990
45558
  parameters: {
44991
- query?: never;
45559
+ query?: {
45560
+ /** @description Max enrichment rows */
45561
+ limit?: number;
45562
+ /** @description Page offset */
45563
+ offset?: number;
45564
+ };
44992
45565
  header?: never;
44993
45566
  path: {
44994
45567
  workspace_id: string;