@amigo-ai/platform-sdk 0.29.0 → 0.32.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.
@@ -2004,7 +2004,7 @@ export interface paths {
2004
2004
  put?: never;
2005
2005
  /**
2006
2006
  * Send a message and get the agent's response
2007
- * @description Send a user message and receive the agent's response. Set `Accept: text/event-stream` to receive an SSE stream of token, tool_call_started, tool_call_completed, message, and done events instead of the synchronous JSON response.
2007
+ * @description Send a user message and receive the agent's response. Set `Accept: text/event-stream` to receive an SSE stream of typed `TurnStreamEvent` frames (token, tool_call_started, tool_call_completed, thinking, message, done, error) instead of the synchronous JSON response. For new integrations prefer `POST /turns/stream`, which is always SSE.
2008
2008
  */
2009
2009
  post: operations["create_turn_v1__workspace_id__conversations__conversation_id__turns_post"];
2010
2010
  delete?: never;
@@ -2013,6 +2013,26 @@ export interface paths {
2013
2013
  patch?: never;
2014
2014
  trace?: never;
2015
2015
  };
2016
+ "/v1/{workspace_id}/conversations/{conversation_id}/turns/stream": {
2017
+ parameters: {
2018
+ query?: never;
2019
+ header?: never;
2020
+ path?: never;
2021
+ cookie?: never;
2022
+ };
2023
+ get?: never;
2024
+ put?: never;
2025
+ /**
2026
+ * Send a message and receive a streamed agent response
2027
+ * @description Streaming variant of `POST /turns`. Always returns `text/event-stream` regardless of the `Accept` header — no JSON fallback. Each frame is a `TurnStreamEvent` discriminated by the `event` field (token, tool_call_started, tool_call_completed, thinking, message, done, error). Use this endpoint for new integrations; the `Accept`-sniffing variant remains for backward compatibility.
2028
+ */
2029
+ post: operations["create_turn_stream_v1__workspace_id__conversations__conversation_id__turns_stream_post"];
2030
+ delete?: never;
2031
+ options?: never;
2032
+ head?: never;
2033
+ patch?: never;
2034
+ trace?: never;
2035
+ };
2016
2036
  "/v1/{workspace_id}/crm/companies": {
2017
2037
  parameters: {
2018
2038
  query?: never;
@@ -5398,6 +5418,62 @@ export interface paths {
5398
5418
  patch?: never;
5399
5419
  trace?: never;
5400
5420
  };
5421
+ "/v1/{workspace_id}/scheduling-rule-sets": {
5422
+ parameters: {
5423
+ query?: never;
5424
+ header?: never;
5425
+ path?: never;
5426
+ cookie?: never;
5427
+ };
5428
+ /**
5429
+ * List scheduling rule sets
5430
+ * @description List all scheduling rule sets for the workspace. Optional filters: `agent_kind` (tms / ketamine / general), `is_active`. Used by the agent-engine rules engine and by operators inspecting config.
5431
+ */
5432
+ get: operations["list-scheduling-rule-sets"];
5433
+ put?: never;
5434
+ /**
5435
+ * Create a scheduling rule set
5436
+ * @description Create one rule set for `(agent_kind, rule_kind)`. Returns 409 if a row already exists for that key — use PATCH on the existing row or DELETE first.
5437
+ */
5438
+ post: operations["create-scheduling-rule-set"];
5439
+ delete?: never;
5440
+ options?: never;
5441
+ head?: never;
5442
+ patch?: never;
5443
+ trace?: never;
5444
+ };
5445
+ "/v1/{workspace_id}/scheduling-rule-sets/{rule_set_id}": {
5446
+ parameters: {
5447
+ query?: never;
5448
+ header?: never;
5449
+ path?: never;
5450
+ cookie?: never;
5451
+ };
5452
+ /**
5453
+ * Get one scheduling rule set
5454
+ * @description Fetch one rule set by id. Returns 404 when the row doesn't exist
5455
+ * in this workspace (the RLS policy means cross-workspace lookups
5456
+ * surface as 404, never as a row from the wrong workspace).
5457
+ *
5458
+ * Permissions: ``Workspace.view``.
5459
+ */
5460
+ get: operations["get-scheduling-rule-set"];
5461
+ put?: never;
5462
+ post?: never;
5463
+ /**
5464
+ * Delete a scheduling rule set
5465
+ * @description Hard-delete. The audit log retains the deletion record.
5466
+ */
5467
+ delete: operations["delete-scheduling-rule-set"];
5468
+ options?: never;
5469
+ head?: never;
5470
+ /**
5471
+ * Partially update a scheduling rule set
5472
+ * @description Update `params` and/or `is_active` on an existing rule set. `agent_kind` and `rule_kind` are immutable — to change either, create a new rule set and delete the old one.
5473
+ */
5474
+ patch: operations["update-scheduling-rule-set"];
5475
+ trace?: never;
5476
+ };
5401
5477
  "/v1/{workspace_id}/scribe/encounters/{encounter_id}/finalize": {
5402
5478
  parameters: {
5403
5479
  query?: never;
@@ -6297,6 +6373,46 @@ export interface paths {
6297
6373
  patch?: never;
6298
6374
  trace?: never;
6299
6375
  };
6376
+ "/v1/{workspace_id}/simulations/benchmarks/results": {
6377
+ parameters: {
6378
+ query?: never;
6379
+ header?: never;
6380
+ path?: never;
6381
+ cookie?: never;
6382
+ };
6383
+ get?: never;
6384
+ put?: never;
6385
+ /**
6386
+ * Get Simulation Benchmark Results
6387
+ * @description Aggregate benchmark results over the run ids returned by benchmark start.
6388
+ */
6389
+ post: operations["get-simulation-benchmark-results"];
6390
+ delete?: never;
6391
+ options?: never;
6392
+ head?: never;
6393
+ patch?: never;
6394
+ trace?: never;
6395
+ };
6396
+ "/v1/{workspace_id}/simulations/benchmarks/run": {
6397
+ parameters: {
6398
+ query?: never;
6399
+ header?: never;
6400
+ path?: never;
6401
+ cookie?: never;
6402
+ };
6403
+ get?: never;
6404
+ put?: never;
6405
+ /**
6406
+ * Run Simulation Benchmark
6407
+ * @description Run a tag-selected benchmark batch as one saved-case run per case.
6408
+ */
6409
+ post: operations["run-simulation-benchmark"];
6410
+ delete?: never;
6411
+ options?: never;
6412
+ head?: never;
6413
+ patch?: never;
6414
+ trace?: never;
6415
+ };
6300
6416
  "/v1/{workspace_id}/simulations/branches": {
6301
6417
  parameters: {
6302
6418
  query?: never;
@@ -6366,6 +6482,26 @@ export interface paths {
6366
6482
  patch?: never;
6367
6483
  trace?: never;
6368
6484
  };
6485
+ "/v1/{workspace_id}/simulations/cases/{case_id}/run": {
6486
+ parameters: {
6487
+ query?: never;
6488
+ header?: never;
6489
+ path?: never;
6490
+ cookie?: never;
6491
+ };
6492
+ get?: never;
6493
+ put?: never;
6494
+ /**
6495
+ * Run Simulation Case
6496
+ * @description Run the current saved simulation case through the bridge executor.
6497
+ */
6498
+ post: operations["run-simulation-case"];
6499
+ delete?: never;
6500
+ options?: never;
6501
+ head?: never;
6502
+ patch?: never;
6503
+ trace?: never;
6504
+ };
6369
6505
  "/v1/{workspace_id}/simulations/config-to-policy": {
6370
6506
  parameters: {
6371
6507
  query?: never;
@@ -7090,11 +7226,11 @@ export interface paths {
7090
7226
  path?: never;
7091
7227
  cookie?: never;
7092
7228
  };
7093
- /** List Triggers */
7094
- get: operations["list_triggers_v1__workspace_id__triggers_get"];
7229
+ /** List triggers */
7230
+ get: operations["list-triggers"];
7095
7231
  put?: never;
7096
- /** Create Trigger */
7097
- post: operations["create_trigger_v1__workspace_id__triggers_post"];
7232
+ /** Create a trigger */
7233
+ post: operations["create-trigger"];
7098
7234
  delete?: never;
7099
7235
  options?: never;
7100
7236
  head?: never;
@@ -7108,13 +7244,13 @@ export interface paths {
7108
7244
  path?: never;
7109
7245
  cookie?: never;
7110
7246
  };
7111
- /** Get Trigger */
7112
- get: operations["get_trigger_v1__workspace_id__triggers__trigger_id__get"];
7113
- /** Update Trigger */
7114
- put: operations["update_trigger_v1__workspace_id__triggers__trigger_id__put"];
7247
+ /** Get a trigger */
7248
+ get: operations["get-trigger"];
7249
+ /** Update a trigger */
7250
+ put: operations["update-trigger"];
7115
7251
  post?: never;
7116
- /** Delete Trigger */
7117
- delete: operations["delete_trigger_v1__workspace_id__triggers__trigger_id__delete"];
7252
+ /** Delete a trigger */
7253
+ delete: operations["delete-trigger"];
7118
7254
  options?: never;
7119
7255
  head?: never;
7120
7256
  patch?: never;
@@ -7129,8 +7265,8 @@ export interface paths {
7129
7265
  };
7130
7266
  get?: never;
7131
7267
  put?: never;
7132
- /** Fire Trigger */
7133
- post: operations["fire_trigger_v1__workspace_id__triggers__trigger_id__fire_post"];
7268
+ /** Manually fire a trigger now */
7269
+ post: operations["fire-trigger"];
7134
7270
  delete?: never;
7135
7271
  options?: never;
7136
7272
  head?: never;
@@ -7146,8 +7282,8 @@ export interface paths {
7146
7282
  };
7147
7283
  get?: never;
7148
7284
  put?: never;
7149
- /** Pause Trigger */
7150
- post: operations["pause_trigger_v1__workspace_id__triggers__trigger_id__pause_post"];
7285
+ /** Pause a trigger */
7286
+ post: operations["pause-trigger"];
7151
7287
  delete?: never;
7152
7288
  options?: never;
7153
7289
  head?: never;
@@ -7163,8 +7299,8 @@ export interface paths {
7163
7299
  };
7164
7300
  get?: never;
7165
7301
  put?: never;
7166
- /** Resume Trigger */
7167
- post: operations["resume_trigger_v1__workspace_id__triggers__trigger_id__resume_post"];
7302
+ /** Resume a trigger */
7303
+ post: operations["resume-trigger"];
7168
7304
  delete?: never;
7169
7305
  options?: never;
7170
7306
  head?: never;
@@ -7179,10 +7315,10 @@ export interface paths {
7179
7315
  cookie?: never;
7180
7316
  };
7181
7317
  /**
7182
- * List Trigger Runs
7318
+ * List trigger execution history
7183
7319
  * @description Execution history from the Lakebase entity-event timeline read model.
7184
7320
  */
7185
- get: operations["list_trigger_runs_v1__workspace_id__triggers__trigger_id__runs_get"];
7321
+ get: operations["list-trigger-runs"];
7186
7322
  put?: never;
7187
7323
  post?: never;
7188
7324
  delete?: never;
@@ -7480,11 +7616,11 @@ export interface paths {
7480
7616
  path?: never;
7481
7617
  cookie?: never;
7482
7618
  };
7483
- /** List Webhook Destinations */
7484
- get: operations["list_webhook_destinations_v1__workspace_id__webhook_destinations_get"];
7619
+ /** List webhook destinations */
7620
+ get: operations["list-webhook-destinations"];
7485
7621
  put?: never;
7486
- /** Create Webhook Destination */
7487
- post: operations["create_webhook_destination_v1__workspace_id__webhook_destinations_post"];
7622
+ /** Create a webhook destination */
7623
+ post: operations["create-webhook-destination"];
7488
7624
  delete?: never;
7489
7625
  options?: never;
7490
7626
  head?: never;
@@ -7498,13 +7634,13 @@ export interface paths {
7498
7634
  path?: never;
7499
7635
  cookie?: never;
7500
7636
  };
7501
- /** Get Webhook Destination */
7502
- get: operations["get_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__get"];
7503
- /** Update Webhook Destination */
7504
- put: operations["update_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__put"];
7637
+ /** Get a webhook destination */
7638
+ get: operations["get-webhook-destination"];
7639
+ /** Update a webhook destination */
7640
+ put: operations["update-webhook-destination"];
7505
7641
  post?: never;
7506
- /** Delete Webhook Destination */
7507
- delete: operations["delete_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__delete"];
7642
+ /** Delete a webhook destination */
7643
+ delete: operations["delete-webhook-destination"];
7508
7644
  options?: never;
7509
7645
  head?: never;
7510
7646
  patch?: never;
@@ -7518,10 +7654,10 @@ export interface paths {
7518
7654
  cookie?: never;
7519
7655
  };
7520
7656
  /**
7521
- * List Deliveries
7657
+ * List webhook delivery history
7522
7658
  * @description Delivery history from the Lakebase entity-event timeline read model.
7523
7659
  */
7524
- get: operations["list_deliveries_v1__workspace_id__webhook_destinations__destination_id__deliveries_get"];
7660
+ get: operations["list-webhook-destination-deliveries"];
7525
7661
  put?: never;
7526
7662
  post?: never;
7527
7663
  delete?: never;
@@ -7539,8 +7675,8 @@ export interface paths {
7539
7675
  };
7540
7676
  get?: never;
7541
7677
  put?: never;
7542
- /** Rotate Secret */
7543
- post: operations["rotate_secret_v1__workspace_id__webhook_destinations__destination_id__rotate_secret_post"];
7678
+ /** Rotate the destination's HMAC signing secret */
7679
+ post: operations["rotate-webhook-destination-secret"];
7544
7680
  delete?: never;
7545
7681
  options?: never;
7546
7682
  head?: never;
@@ -7715,6 +7851,26 @@ export interface paths {
7715
7851
  patch?: never;
7716
7852
  trace?: never;
7717
7853
  };
7854
+ "/v1/{workspace_id}/world/entities/resolve": {
7855
+ parameters: {
7856
+ query?: never;
7857
+ header?: never;
7858
+ path?: never;
7859
+ cookie?: never;
7860
+ };
7861
+ get?: never;
7862
+ put?: never;
7863
+ /**
7864
+ * Resolve entity by identifier
7865
+ * @description Polymorphic identifier → ranked entity candidates. Accepts any subset of {phone, email, canonical_id, external_id, entity_id} plus a required ``entity_type``. Uses indexed lookups (phone, email, canonical_id) and the external_ids GIN index — sub-10ms for single-identifier queries on warm pods. Returns matches ranked by confidence + number of identifiers matched.
7866
+ */
7867
+ post: operations["resolve-entity"];
7868
+ delete?: never;
7869
+ options?: never;
7870
+ head?: never;
7871
+ patch?: never;
7872
+ trace?: never;
7873
+ };
7718
7874
  "/v1/{workspace_id}/world/entities/{entity_id}": {
7719
7875
  parameters: {
7720
7876
  query?: never;
@@ -9589,6 +9745,8 @@ export interface components {
9589
9745
  };
9590
9746
  /** BridgeResponse */
9591
9747
  BridgeResponse: {
9748
+ /** Case Ids */
9749
+ case_ids?: string[];
9592
9750
  inferred_target_spec?: components["schemas"]["TargetSpec"] | null;
9593
9751
  /** Inferred Target Spec Rationale */
9594
9752
  inferred_target_spec_rationale?: string | null;
@@ -10133,6 +10291,7 @@ export interface components {
10133
10291
  /** Total Segments */
10134
10292
  total_segments: number;
10135
10293
  };
10294
+ CanonicalIdString: string;
10136
10295
  /** CatalogEntry */
10137
10296
  CatalogEntry: {
10138
10297
  /** Description */
@@ -10569,6 +10728,30 @@ export interface components {
10569
10728
  /** Status */
10570
10729
  status: string;
10571
10730
  };
10731
+ /**
10732
+ * ClinicOpenHoursParams
10733
+ * @description Workspace clinic open-hours by weekday.
10734
+ *
10735
+ * Days not present mean "closed." Used by the rules engine to skip
10736
+ * slots outside open hours and (combined with ``weekend_skip``) by the
10737
+ * TMS-mapping release calculator.
10738
+ */
10739
+ ClinicOpenHoursParams: {
10740
+ friday?: components["schemas"]["_DayHours"] | null;
10741
+ monday?: components["schemas"]["_DayHours"] | null;
10742
+ /**
10743
+ * @description discriminator enum property added by openapi-typescript
10744
+ * @enum {string}
10745
+ */
10746
+ rule_kind: "clinic_open_hours";
10747
+ saturday?: components["schemas"]["_DayHours"] | null;
10748
+ sunday?: components["schemas"]["_DayHours"] | null;
10749
+ thursday?: components["schemas"]["_DayHours"] | null;
10750
+ /** Timezone */
10751
+ timezone: string;
10752
+ tuesday?: components["schemas"]["_DayHours"] | null;
10753
+ wednesday?: components["schemas"]["_DayHours"] | null;
10754
+ };
10572
10755
  /** ClusterForecastPointRow */
10573
10756
  ClusterForecastPointRow: {
10574
10757
  /** Cluster Name */
@@ -10895,6 +11078,18 @@ export interface components {
10895
11078
  /** Similarity */
10896
11079
  similarity: number;
10897
11080
  };
11081
+ /**
11082
+ * ConcurrentStartBlockParams
11083
+ * @description Disallow two slots starting at the same time within a TMS scope.
11084
+ * No additional params — the discriminator is the whole config.
11085
+ */
11086
+ ConcurrentStartBlockParams: {
11087
+ /**
11088
+ * @description discriminator enum property added by openapi-typescript
11089
+ * @enum {string}
11090
+ */
11091
+ rule_kind: "concurrent_start_block";
11092
+ };
10898
11093
  /** ConfidenceBucket */
10899
11094
  ConfidenceBucket: {
10900
11095
  /**
@@ -12140,6 +12335,24 @@ export interface components {
12140
12335
  /** Tags */
12141
12336
  tags?: string[];
12142
12337
  };
12338
+ /** CreateSchedulingRuleSetRequest */
12339
+ CreateSchedulingRuleSetRequest: {
12340
+ /**
12341
+ * Agent Kind
12342
+ * @enum {string}
12343
+ */
12344
+ agent_kind: "tms" | "ketamine" | "general";
12345
+ /**
12346
+ * Is Active
12347
+ * @default true
12348
+ */
12349
+ is_active?: boolean;
12350
+ /**
12351
+ * Params
12352
+ * @description Per-rule-kind typed parameters. The ``rule_kind`` discriminator field selects the params shape; one row per (agent_kind, rule_kind) per workspace.
12353
+ */
12354
+ params: components["schemas"]["ClinicOpenHoursParams"] | components["schemas"]["TMSMappingReleaseParams"] | components["schemas"]["TMSSessionGridParams"] | components["schemas"]["KetamineBlockOverlapParams"] | components["schemas"]["NinetyDayRollingParams"] | components["schemas"]["ConcurrentStartBlockParams"];
12355
+ };
12143
12356
  /** CreateServiceRequest */
12144
12357
  CreateServiceRequest: {
12145
12358
  /**
@@ -12396,8 +12609,7 @@ export interface components {
12396
12609
  event_filter?: {
12397
12610
  [key: string]: unknown;
12398
12611
  } | null;
12399
- /** Event Type */
12400
- event_type: string;
12612
+ event_type: components["schemas"]["EventTypeString"];
12401
12613
  /** Input Template */
12402
12614
  input_template?: {
12403
12615
  [key: string]: unknown;
@@ -12436,7 +12648,7 @@ export interface components {
12436
12648
  /** CreateWebhookDestinationRequest */
12437
12649
  CreateWebhookDestinationRequest: {
12438
12650
  /** Accepted Event Types */
12439
- accepted_event_types?: string[];
12651
+ accepted_event_types?: components["schemas"]["EventTypeString"][];
12440
12652
  description?: components["schemas"]["DescriptionString"] | null;
12441
12653
  /** Field Mapping */
12442
12654
  field_mapping?: {
@@ -14629,6 +14841,134 @@ export interface components {
14629
14841
  /** Total Same As Edges */
14630
14842
  total_same_as_edges: number;
14631
14843
  };
14844
+ /**
14845
+ * EntityResolveExternalId
14846
+ * @description Reference to an external-system identifier.
14847
+ *
14848
+ * ``system`` labels which system minted the value (``epic``, ``hubspot``,
14849
+ * ``charm``, ``revolution``, …). The value is matched against any
14850
+ * nested key in ``world.entities.external_ids`` whose value equals
14851
+ * ``value``. ``system`` is informational for scoring; it doesn't
14852
+ * constrain the lookup, since adapters disagree on naming.
14853
+ */
14854
+ EntityResolveExternalId: {
14855
+ /** @description External system label (lowercase, e.g. 'epic', 'hubspot'). */
14856
+ system: components["schemas"]["ExternalSystemString"];
14857
+ /** @description System-issued identifier. */
14858
+ value: components["schemas"]["ExternalValueString"];
14859
+ };
14860
+ /**
14861
+ * EntityResolveMatch
14862
+ * @description One candidate match with provenance + confidence.
14863
+ */
14864
+ EntityResolveMatch: {
14865
+ /**
14866
+ * Confidence
14867
+ * @description Match confidence (0-1).
14868
+ */
14869
+ confidence: number;
14870
+ /**
14871
+ * Entity Id
14872
+ * Format: uuid
14873
+ */
14874
+ entity_id: string;
14875
+ /** Entity Type */
14876
+ entity_type: string;
14877
+ /**
14878
+ * Matched On
14879
+ * @description Identifier kinds that actually matched this row.
14880
+ */
14881
+ matched_on?: ("entity_id" | "phone" | "email" | "canonical_id" | "external_id")[];
14882
+ summary: components["schemas"]["EntityResolveSummary"];
14883
+ };
14884
+ /**
14885
+ * EntityResolveRequest
14886
+ * @description Polymorphic identifier query.
14887
+ *
14888
+ * Provide ``entity_type`` plus any subset of identifier fields. Each
14889
+ * identifier is OR-ed in SQL; matches are ranked by confidence and
14890
+ * by the number of identifiers that actually matched the row.
14891
+ * Returns at most ``limit`` candidates (default 25, max 50).
14892
+ *
14893
+ * For latency-sensitive callers (inbound voice, webhook handlers),
14894
+ * pass exactly one identifier — the indexed lookup is sub-10ms.
14895
+ * Multi-identifier queries are useful for confirming a row matches
14896
+ * on more than one signal (phone + email + MRN).
14897
+ */
14898
+ EntityResolveRequest: {
14899
+ /** @description Canonical/MRN identifier ('charm:Patient:42' or raw MRN). */
14900
+ canonical_id?: components["schemas"]["CanonicalIdString"] | null;
14901
+ /**
14902
+ * Email
14903
+ * @description Primary email (case-insensitive match).
14904
+ */
14905
+ email?: string | null;
14906
+ /**
14907
+ * Entity Id
14908
+ * @description Direct UUID lookup. Useful for confirming an entity exists / re-fetching summary.
14909
+ */
14910
+ entity_id?: string | null;
14911
+ /** @description Required entity type filter (e.g. 'person'). Narrows the scan to the right index. */
14912
+ entity_type: components["schemas"]["EntityTypeString"];
14913
+ /** @description External-system identifier reference. */
14914
+ external_id?: components["schemas"]["EntityResolveExternalId"] | null;
14915
+ /**
14916
+ * Limit
14917
+ * @description Maximum candidates to return.
14918
+ * @default 25
14919
+ */
14920
+ limit?: number;
14921
+ /** @description E.164 phone number. */
14922
+ phone?: components["schemas"]["PhoneE164"] | null;
14923
+ };
14924
+ /** EntityResolveResponse */
14925
+ EntityResolveResponse: {
14926
+ /** Matches */
14927
+ matches?: components["schemas"]["EntityResolveMatch"][];
14928
+ /**
14929
+ * Total
14930
+ * @description Number of candidates returned.
14931
+ */
14932
+ total: number;
14933
+ };
14934
+ /**
14935
+ * EntityResolveSummary
14936
+ * @description Compact identity card returned for each match.
14937
+ *
14938
+ * Excludes the full ``state`` JSONB and the entity embedding — fetch
14939
+ * via ``GET /v1/{ws}/entities/{entity_id}`` if needed. The fields
14940
+ * here are the ones a UI / agent needs to confirm "yes, that's the
14941
+ * right person" before paying for the full state read.
14942
+ */
14943
+ EntityResolveSummary: {
14944
+ /** Birth Date */
14945
+ birth_date?: string | null;
14946
+ /** Canonical Id */
14947
+ canonical_id?: string | null;
14948
+ /** Display Name */
14949
+ display_name?: string | null;
14950
+ /** Email */
14951
+ email?: string | null;
14952
+ /**
14953
+ * Event Count
14954
+ * @default 0
14955
+ */
14956
+ event_count?: number;
14957
+ /** External Ids */
14958
+ external_ids?: {
14959
+ [key: string]: unknown;
14960
+ };
14961
+ /** Last Event At */
14962
+ last_event_at?: string | null;
14963
+ /** Mrn */
14964
+ mrn?: string | null;
14965
+ /** Name */
14966
+ name?: string | null;
14967
+ /** Phone */
14968
+ phone?: string | null;
14969
+ /** Tags */
14970
+ tags?: string[];
14971
+ };
14632
14972
  /** EntityResponse */
14633
14973
  EntityResponse: {
14634
14974
  /**
@@ -14845,6 +15185,7 @@ export interface components {
14845
15185
  /** Total Entities */
14846
15186
  total_entities: number;
14847
15187
  };
15188
+ EntityTypeString: string;
14848
15189
  /** EntityTypeSummary */
14849
15190
  EntityTypeSummary: {
14850
15191
  /** Count */
@@ -15173,6 +15514,7 @@ export interface components {
15173
15514
  /** Total Events */
15174
15515
  total_events: number;
15175
15516
  };
15517
+ EventTypeString: string;
15176
15518
  /** EventTypeSummary */
15177
15519
  EventTypeSummary: {
15178
15520
  /** Count */
@@ -15255,6 +15597,8 @@ export interface components {
15255
15597
  */
15256
15598
  recommend_candidates?: number;
15257
15599
  };
15600
+ ExternalSystemString: string;
15601
+ ExternalValueString: string;
15258
15602
  /** FeatureDef */
15259
15603
  FeatureDef: {
15260
15604
  /** Kind */
@@ -16430,6 +16774,11 @@ export interface components {
16430
16774
  /** Scan Interval Seconds */
16431
16775
  scan_interval_seconds: number;
16432
16776
  };
16777
+ /** GetSimulationBenchmarkResultsRequest */
16778
+ GetSimulationBenchmarkResultsRequest: {
16779
+ /** Run Ids */
16780
+ run_ids: string[];
16781
+ };
16433
16782
  /**
16434
16783
  * Guardrail
16435
16784
  * @description Typed safety rule enforced per-state (not just global freetext guidelines).
@@ -17257,6 +17606,20 @@ export interface components {
17257
17606
  */
17258
17607
  participant_call_sid: string;
17259
17608
  };
17609
+ /**
17610
+ * KetamineBlockOverlapParams
17611
+ * @description How many days after a ketamine session to block follow-up
17612
+ * appointments (clinical safety window).
17613
+ */
17614
+ KetamineBlockOverlapParams: {
17615
+ /**
17616
+ * @description discriminator enum property added by openapi-typescript
17617
+ * @enum {string}
17618
+ */
17619
+ rule_kind: "ketamine_block_overlap";
17620
+ /** Window Days */
17621
+ window_days: number;
17622
+ };
17260
17623
  /**
17261
17624
  * KeyMoment
17262
17625
  * @description Notable event during the call worth highlighting.
@@ -18288,6 +18651,20 @@ export interface components {
18288
18651
  */
18289
18652
  used_fallback?: boolean | null;
18290
18653
  };
18654
+ /**
18655
+ * NinetyDayRollingParams
18656
+ * @description Rolling-window cap on appointments per patient (e.g. 90 days
18657
+ * between TMS sessions).
18658
+ */
18659
+ NinetyDayRollingParams: {
18660
+ /** Days */
18661
+ days: number;
18662
+ /**
18663
+ * @description discriminator enum property added by openapi-typescript
18664
+ * @enum {string}
18665
+ */
18666
+ rule_kind: "ninety_day_rolling";
18667
+ };
18291
18668
  /** NonDesiredState */
18292
18669
  NonDesiredState: {
18293
18670
  /**
@@ -19174,6 +19551,17 @@ export interface components {
19174
19551
  /** Total */
19175
19552
  total?: number | null;
19176
19553
  };
19554
+ /** PaginatedResponse[SchedulingRuleSetResponse] */
19555
+ PaginatedResponse_SchedulingRuleSetResponse_: {
19556
+ /** Continuation Token */
19557
+ continuation_token?: number | null;
19558
+ /** Has More */
19559
+ has_more: boolean;
19560
+ /** Items */
19561
+ items: components["schemas"]["SchedulingRuleSetResponse"][];
19562
+ /** Total */
19563
+ total?: number | null;
19564
+ };
19177
19565
  /** PaginatedResponse[ServiceResponse] */
19178
19566
  PaginatedResponse_ServiceResponse_: {
19179
19567
  /** Continuation Token */
@@ -21125,6 +21513,53 @@ export interface components {
21125
21513
  /** Secret */
21126
21514
  secret: string;
21127
21515
  };
21516
+ /** RunSimulationBenchmarkRequest */
21517
+ RunSimulationBenchmarkRequest: {
21518
+ /** Branch Name */
21519
+ branch_name?: string | null;
21520
+ /**
21521
+ * Concurrency
21522
+ * @default 1
21523
+ */
21524
+ concurrency?: number;
21525
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
21526
+ /**
21527
+ * Max Cases
21528
+ * @default 20
21529
+ */
21530
+ max_cases?: number;
21531
+ /**
21532
+ * Max Turns
21533
+ * @default 20
21534
+ */
21535
+ max_turns?: number;
21536
+ /** Required Tags */
21537
+ required_tags?: string[];
21538
+ /** Service Id */
21539
+ service_id?: string | null;
21540
+ /** Tags */
21541
+ tags?: string[];
21542
+ };
21543
+ /** RunSimulationCaseRequest */
21544
+ RunSimulationCaseRequest: {
21545
+ /** Branch Name */
21546
+ branch_name?: string | null;
21547
+ /**
21548
+ * Concurrency
21549
+ * @default 1
21550
+ */
21551
+ concurrency?: number;
21552
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
21553
+ /**
21554
+ * Max Turns
21555
+ * @default 20
21556
+ */
21557
+ max_turns?: number;
21558
+ /** Service Id */
21559
+ service_id?: string | null;
21560
+ /** Tags */
21561
+ tags?: string[];
21562
+ };
21128
21563
  /** SafetyConfigResponse */
21129
21564
  SafetyConfigResponse: {
21130
21565
  /** Accumulation Cumulative Count */
@@ -21361,6 +21796,8 @@ export interface components {
21361
21796
  };
21362
21797
  /** Scenario */
21363
21798
  Scenario: {
21799
+ /** Case Id */
21800
+ case_id?: string | null;
21364
21801
  /** Description */
21365
21802
  description: string;
21366
21803
  /** Initial Message */
@@ -21402,6 +21839,47 @@ export interface components {
21402
21839
  */
21403
21840
  role?: string;
21404
21841
  };
21842
+ /**
21843
+ * SchedulingRuleSetResponse
21844
+ * @description Wire shape for a single rule set. ``params`` stays as ``dict``
21845
+ * here (not the discriminated union) so add-a-new-kind doesn't break
21846
+ * older clients still on the previous SDK version — the SDK's typed
21847
+ * helpers can re-validate into ``RuleParams`` when needed.
21848
+ */
21849
+ SchedulingRuleSetResponse: {
21850
+ /**
21851
+ * Agent Kind
21852
+ * @enum {string}
21853
+ */
21854
+ agent_kind: "tms" | "ketamine" | "general";
21855
+ /** Created At */
21856
+ created_at: string | null;
21857
+ /** Created By */
21858
+ created_by: string | null;
21859
+ /**
21860
+ * Id
21861
+ * Format: uuid
21862
+ */
21863
+ id: string;
21864
+ /** Is Active */
21865
+ is_active: boolean;
21866
+ /** Params */
21867
+ params: {
21868
+ [key: string]: unknown;
21869
+ };
21870
+ /**
21871
+ * Rule Kind
21872
+ * @enum {string}
21873
+ */
21874
+ rule_kind: "clinic_open_hours" | "tms_mapping_release" | "tms_session_grid" | "ketamine_block_overlap" | "ninety_day_rolling" | "concurrent_start_block";
21875
+ /** Updated At */
21876
+ updated_at: string | null;
21877
+ /**
21878
+ * Workspace Id
21879
+ * Format: uuid
21880
+ */
21881
+ workspace_id: string;
21882
+ };
21405
21883
  /** SchemaResponse */
21406
21884
  SchemaResponse: {
21407
21885
  /** Ai Functions */
@@ -22104,6 +22582,227 @@ export interface components {
22104
22582
  */
22105
22583
  signal: string;
22106
22584
  };
22585
+ /** SimulationBenchmarkAggregateSummary */
22586
+ SimulationBenchmarkAggregateSummary: {
22587
+ /** Average Score */
22588
+ average_score?: number | null;
22589
+ /** Failed To Start Count */
22590
+ failed_to_start_count: number;
22591
+ /**
22592
+ * Scored Count
22593
+ * @default 0
22594
+ */
22595
+ scored_count?: number;
22596
+ /** Selected Count */
22597
+ selected_count: number;
22598
+ /** Skipped Count */
22599
+ skipped_count: number;
22600
+ /** Started Count */
22601
+ started_count: number;
22602
+ /** Status Counts */
22603
+ status_counts?: {
22604
+ [key: string]: number;
22605
+ };
22606
+ };
22607
+ /** SimulationBenchmarkBreakdownSummary */
22608
+ SimulationBenchmarkBreakdownSummary: {
22609
+ /** Average Score */
22610
+ average_score?: number | null;
22611
+ /**
22612
+ * Completed Count
22613
+ * @default 0
22614
+ */
22615
+ completed_count?: number;
22616
+ /**
22617
+ * Fail Count
22618
+ * @default 0
22619
+ */
22620
+ fail_count?: number;
22621
+ /**
22622
+ * Failed Count
22623
+ * @default 0
22624
+ */
22625
+ failed_count?: number;
22626
+ /**
22627
+ * Pass Count
22628
+ * @default 0
22629
+ */
22630
+ pass_count?: number;
22631
+ /**
22632
+ * Run Count
22633
+ * @default 0
22634
+ */
22635
+ run_count?: number;
22636
+ /**
22637
+ * Scored Count
22638
+ * @default 0
22639
+ */
22640
+ scored_count?: number;
22641
+ /** Status Counts */
22642
+ status_counts?: {
22643
+ [key: string]: number;
22644
+ };
22645
+ };
22646
+ /** SimulationBenchmarkCaseResult */
22647
+ SimulationBenchmarkCaseResult: {
22648
+ /**
22649
+ * Case Id
22650
+ * Format: uuid
22651
+ */
22652
+ case_id: string;
22653
+ /** Reason */
22654
+ reason?: string | null;
22655
+ /** Result Pointer */
22656
+ result_pointer?: {
22657
+ [key: string]: unknown;
22658
+ } | null;
22659
+ /** Run Id */
22660
+ run_id?: string | null;
22661
+ /** Service Id */
22662
+ service_id?: string | null;
22663
+ /**
22664
+ * Status
22665
+ * @enum {string}
22666
+ */
22667
+ status: "started" | "skipped" | "failed_to_start";
22668
+ };
22669
+ /** SimulationBenchmarkPerRunSummary */
22670
+ SimulationBenchmarkPerRunSummary: {
22671
+ /** Average Score */
22672
+ average_score?: number | null;
22673
+ /** Capability Tags */
22674
+ capability_tags?: string[];
22675
+ /** Case Ids */
22676
+ case_ids?: string[];
22677
+ /** Completed At */
22678
+ completed_at?: string | null;
22679
+ /** Created At */
22680
+ created_at?: string | null;
22681
+ /**
22682
+ * Fail Count
22683
+ * @default 0
22684
+ */
22685
+ fail_count?: number;
22686
+ /**
22687
+ * Pass Count
22688
+ * @default 0
22689
+ */
22690
+ pass_count?: number;
22691
+ /** Passed */
22692
+ passed?: boolean | null;
22693
+ /** Result Pointer */
22694
+ result_pointer?: {
22695
+ [key: string]: unknown;
22696
+ };
22697
+ /**
22698
+ * Run Id
22699
+ * Format: uuid
22700
+ */
22701
+ run_id: string;
22702
+ /** Score Rationales */
22703
+ score_rationales?: string[];
22704
+ /**
22705
+ * Scored Session Count
22706
+ * @default 0
22707
+ */
22708
+ scored_session_count?: number;
22709
+ /**
22710
+ * Service Id
22711
+ * Format: uuid
22712
+ */
22713
+ service_id: string;
22714
+ /** Session Ids */
22715
+ session_ids?: string[];
22716
+ /**
22717
+ * Status
22718
+ * @enum {string}
22719
+ */
22720
+ status: "running" | "completed" | "failed";
22721
+ /** Tags */
22722
+ tags?: string[];
22723
+ /**
22724
+ * Terminal Session Count
22725
+ * @default 0
22726
+ */
22727
+ terminal_session_count?: number;
22728
+ /**
22729
+ * Total Sessions
22730
+ * @default 0
22731
+ */
22732
+ total_sessions?: number;
22733
+ /**
22734
+ * Total Turns
22735
+ * @default 0
22736
+ */
22737
+ total_turns?: number;
22738
+ };
22739
+ /** SimulationBenchmarkResultsResponse */
22740
+ SimulationBenchmarkResultsResponse: {
22741
+ /** Average Score */
22742
+ average_score?: number | null;
22743
+ /** Capability Breakdown */
22744
+ capability_breakdown?: {
22745
+ [key: string]: components["schemas"]["SimulationBenchmarkBreakdownSummary"];
22746
+ };
22747
+ /**
22748
+ * Completed Count
22749
+ * @default 0
22750
+ */
22751
+ completed_count?: number;
22752
+ /**
22753
+ * Fail Count
22754
+ * @default 0
22755
+ */
22756
+ fail_count?: number;
22757
+ /**
22758
+ * Failed Count
22759
+ * @default 0
22760
+ */
22761
+ failed_count?: number;
22762
+ /** Missing Run Ids */
22763
+ missing_run_ids?: string[];
22764
+ /**
22765
+ * Pass Count
22766
+ * @default 0
22767
+ */
22768
+ pass_count?: number;
22769
+ /** Per Run */
22770
+ per_run?: components["schemas"]["SimulationBenchmarkPerRunSummary"][];
22771
+ /** Run Ids */
22772
+ run_ids: string[];
22773
+ /**
22774
+ * Scored Count
22775
+ * @default 0
22776
+ */
22777
+ scored_count?: number;
22778
+ /** Status Counts */
22779
+ status_counts?: {
22780
+ [key: string]: number;
22781
+ };
22782
+ /** Total Runs */
22783
+ total_runs: number;
22784
+ };
22785
+ /** SimulationBenchmarkRunResponse */
22786
+ SimulationBenchmarkRunResponse: {
22787
+ aggregate_summary: components["schemas"]["SimulationBenchmarkAggregateSummary"];
22788
+ /**
22789
+ * Batch Id
22790
+ * Format: uuid
22791
+ */
22792
+ batch_id: string;
22793
+ /** Cases */
22794
+ cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22795
+ /** Failed To Start Cases */
22796
+ failed_to_start_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22797
+ /** Required Tags */
22798
+ required_tags: string[];
22799
+ /** Run Ids */
22800
+ run_ids: string[];
22801
+ /** Selected Case Ids */
22802
+ selected_case_ids: string[];
22803
+ /** Skipped Cases */
22804
+ skipped_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22805
+ };
22107
22806
  /** SimulationIntelligenceResponse */
22108
22807
  SimulationIntelligenceResponse: {
22109
22808
  /** Intelligence */
@@ -22183,6 +22882,10 @@ export interface components {
22183
22882
  * Format: uuid
22184
22883
  */
22185
22884
  service_id: string;
22885
+ /** Snapshot */
22886
+ snapshot?: {
22887
+ [key: string]: unknown;
22888
+ } | null;
22186
22889
  /**
22187
22890
  * Status
22188
22891
  * @enum {string}
@@ -23755,6 +24458,43 @@ export interface components {
23755
24458
  /** Status */
23756
24459
  status: string;
23757
24460
  };
24461
+ /**
24462
+ * TMSMappingReleaseParams
24463
+ * @description How long before a TMS mapping appointment its slot is released
24464
+ * back to the pool. ``weekend_skip=True`` adds Saturday + Sunday days
24465
+ * to the wall-clock countdown (clinic doesn't release on weekends).
24466
+ */
24467
+ TMSMappingReleaseParams: {
24468
+ /** Reservation Window Hours */
24469
+ reservation_window_hours: number;
24470
+ /**
24471
+ * @description discriminator enum property added by openapi-typescript
24472
+ * @enum {string}
24473
+ */
24474
+ rule_kind: "tms_mapping_release";
24475
+ /**
24476
+ * Weekend Skip
24477
+ * @default true
24478
+ */
24479
+ weekend_skip?: boolean;
24480
+ };
24481
+ /**
24482
+ * TMSSessionGridParams
24483
+ * @description TMS sessions only start at fixed minute-of-hour boundaries
24484
+ * (e.g. ``:00`` and ``:30``) so the technician can run them
24485
+ * back-to-back without gaps.
24486
+ */
24487
+ TMSSessionGridParams: {
24488
+ /** Boundary Minutes */
24489
+ boundary_minutes: number[];
24490
+ /** Interval Minutes */
24491
+ interval_minutes: number;
24492
+ /**
24493
+ * @description discriminator enum property added by openapi-typescript
24494
+ * @enum {string}
24495
+ */
24496
+ rule_kind: "tms_session_grid";
24497
+ };
23758
24498
  /** TargetSpec */
23759
24499
  TargetSpec: {
23760
24500
  completion_criteria?: components["schemas"]["CompletionCriteria"];
@@ -25533,6 +26273,18 @@ export interface components {
25533
26273
  /** Triage Timeout S */
25534
26274
  triage_timeout_s?: number | null;
25535
26275
  };
26276
+ /**
26277
+ * UpdateSchedulingRuleSetRequest
26278
+ * @description Partial update — fields not provided are unchanged. ``params``
26279
+ * must be the full per-kind shape (no patch within params); send the
26280
+ * whole RuleParams or omit.
26281
+ */
26282
+ UpdateSchedulingRuleSetRequest: {
26283
+ /** Is Active */
26284
+ is_active?: boolean | null;
26285
+ /** Params */
26286
+ params?: (components["schemas"]["ClinicOpenHoursParams"] | components["schemas"]["TMSMappingReleaseParams"] | components["schemas"]["TMSSessionGridParams"] | components["schemas"]["KetamineBlockOverlapParams"] | components["schemas"]["NinetyDayRollingParams"] | components["schemas"]["ConcurrentStartBlockParams"]) | null;
26287
+ };
25536
26288
  /** UpdateServiceRequest */
25537
26289
  UpdateServiceRequest: {
25538
26290
  /** Agent Id */
@@ -25687,8 +26439,7 @@ export interface components {
25687
26439
  event_filter?: {
25688
26440
  [key: string]: unknown;
25689
26441
  } | null;
25690
- /** Event Type */
25691
- event_type?: string | null;
26442
+ event_type?: components["schemas"]["EventTypeString"] | null;
25692
26443
  /** Input Template */
25693
26444
  input_template?: {
25694
26445
  [key: string]: unknown;
@@ -25721,7 +26472,7 @@ export interface components {
25721
26472
  /** UpdateWebhookDestinationRequest */
25722
26473
  UpdateWebhookDestinationRequest: {
25723
26474
  /** Accepted Event Types */
25724
- accepted_event_types?: string[] | null;
26475
+ accepted_event_types?: components["schemas"]["EventTypeString"][] | null;
25725
26476
  description?: components["schemas"]["DescriptionString"] | null;
25726
26477
  /** Field Mapping */
25727
26478
  field_mapping?: {
@@ -26948,6 +27699,17 @@ export interface components {
26948
27699
  /** Success */
26949
27700
  success: boolean;
26950
27701
  };
27702
+ /**
27703
+ * _DayHours
27704
+ * @description Open-hours window for one weekday. Times in 24h ``HH:MM`` form,
27705
+ * interpreted in the rule set's ``timezone``.
27706
+ */
27707
+ _DayHours: {
27708
+ /** End */
27709
+ end: string;
27710
+ /** Start */
27711
+ start: string;
27712
+ };
26951
27713
  _ToolMockKey: string;
26952
27714
  _ToolMockValue: string;
26953
27715
  /**
@@ -32231,6 +32993,65 @@ export interface operations {
32231
32993
  };
32232
32994
  };
32233
32995
  };
32996
+ create_turn_stream_v1__workspace_id__conversations__conversation_id__turns_stream_post: {
32997
+ parameters: {
32998
+ query?: {
32999
+ /** @description Include tool_call_started / tool_call_completed frames in the stream */
33000
+ include_tool_calls?: boolean;
33001
+ };
33002
+ header?: never;
33003
+ path: {
33004
+ workspace_id: string;
33005
+ conversation_id: string;
33006
+ };
33007
+ cookie?: never;
33008
+ };
33009
+ requestBody: {
33010
+ content: {
33011
+ "application/json": components["schemas"]["TurnRequest"];
33012
+ };
33013
+ };
33014
+ responses: {
33015
+ /** @description SSE stream of TurnStreamEvent frames */
33016
+ 200: {
33017
+ headers: {
33018
+ [name: string]: unknown;
33019
+ };
33020
+ content: {
33021
+ "application/json": unknown;
33022
+ "text/event-stream": components["schemas"]["TurnStreamEvent"];
33023
+ };
33024
+ };
33025
+ /** @description Conversation or service not found */
33026
+ 404: {
33027
+ headers: {
33028
+ [name: string]: unknown;
33029
+ };
33030
+ content?: never;
33031
+ };
33032
+ /** @description Conversation is closed */
33033
+ 409: {
33034
+ headers: {
33035
+ [name: string]: unknown;
33036
+ };
33037
+ content?: never;
33038
+ };
33039
+ /** @description Conversation is missing or has corrupt service binding */
33040
+ 422: {
33041
+ headers: {
33042
+ [name: string]: unknown;
33043
+ };
33044
+ content?: never;
33045
+ };
33046
+ /** @description Agent service unavailable */
33047
+ 503: {
33048
+ headers: {
33049
+ [name: string]: unknown;
33050
+ };
33051
+ content?: never;
33052
+ };
33053
+ };
33054
+ };
32234
33055
  "crm-company-search": {
32235
33056
  parameters: {
32236
33057
  query?: {
@@ -39674,6 +40495,304 @@ export interface operations {
39674
40495
  };
39675
40496
  };
39676
40497
  };
40498
+ "list-scheduling-rule-sets": {
40499
+ parameters: {
40500
+ query?: {
40501
+ agent_kind?: ("tms" | "ketamine" | "general") | null;
40502
+ is_active?: boolean | null;
40503
+ limit?: number;
40504
+ continuation_token?: number;
40505
+ };
40506
+ header?: never;
40507
+ path: {
40508
+ workspace_id: string;
40509
+ };
40510
+ cookie?: never;
40511
+ };
40512
+ requestBody?: never;
40513
+ responses: {
40514
+ /** @description Successful Response */
40515
+ 200: {
40516
+ headers: {
40517
+ [name: string]: unknown;
40518
+ };
40519
+ content: {
40520
+ "application/json": components["schemas"]["PaginatedResponse_SchedulingRuleSetResponse_"];
40521
+ };
40522
+ };
40523
+ /** @description Missing or invalid API key. */
40524
+ 401: {
40525
+ headers: {
40526
+ [name: string]: unknown;
40527
+ };
40528
+ content?: never;
40529
+ };
40530
+ /** @description Insufficient permissions. */
40531
+ 403: {
40532
+ headers: {
40533
+ [name: string]: unknown;
40534
+ };
40535
+ content?: never;
40536
+ };
40537
+ /** @description Validation Error */
40538
+ 422: {
40539
+ headers: {
40540
+ [name: string]: unknown;
40541
+ };
40542
+ content: {
40543
+ "application/json": components["schemas"]["HTTPValidationError"];
40544
+ };
40545
+ };
40546
+ /** @description Rate limited. */
40547
+ 429: {
40548
+ headers: {
40549
+ [name: string]: unknown;
40550
+ };
40551
+ content?: never;
40552
+ };
40553
+ };
40554
+ };
40555
+ "create-scheduling-rule-set": {
40556
+ parameters: {
40557
+ query?: never;
40558
+ header?: never;
40559
+ path: {
40560
+ workspace_id: string;
40561
+ };
40562
+ cookie?: never;
40563
+ };
40564
+ requestBody: {
40565
+ content: {
40566
+ "application/json": components["schemas"]["CreateSchedulingRuleSetRequest"];
40567
+ };
40568
+ };
40569
+ responses: {
40570
+ /** @description Successful Response */
40571
+ 201: {
40572
+ headers: {
40573
+ [name: string]: unknown;
40574
+ };
40575
+ content: {
40576
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40577
+ };
40578
+ };
40579
+ /** @description Missing or invalid API key. */
40580
+ 401: {
40581
+ headers: {
40582
+ [name: string]: unknown;
40583
+ };
40584
+ content?: never;
40585
+ };
40586
+ /** @description Insufficient permissions. */
40587
+ 403: {
40588
+ headers: {
40589
+ [name: string]: unknown;
40590
+ };
40591
+ content?: never;
40592
+ };
40593
+ /** @description Rule set already exists for this (agent_kind, rule_kind). */
40594
+ 409: {
40595
+ headers: {
40596
+ [name: string]: unknown;
40597
+ };
40598
+ content?: never;
40599
+ };
40600
+ /** @description Invalid request body or rule_kind discriminator. */
40601
+ 422: {
40602
+ headers: {
40603
+ [name: string]: unknown;
40604
+ };
40605
+ content?: never;
40606
+ };
40607
+ /** @description Rate limited. */
40608
+ 429: {
40609
+ headers: {
40610
+ [name: string]: unknown;
40611
+ };
40612
+ content?: never;
40613
+ };
40614
+ };
40615
+ };
40616
+ "get-scheduling-rule-set": {
40617
+ parameters: {
40618
+ query?: never;
40619
+ header?: never;
40620
+ path: {
40621
+ workspace_id: string;
40622
+ rule_set_id: string;
40623
+ };
40624
+ cookie?: never;
40625
+ };
40626
+ requestBody?: never;
40627
+ responses: {
40628
+ /** @description Successful Response */
40629
+ 200: {
40630
+ headers: {
40631
+ [name: string]: unknown;
40632
+ };
40633
+ content: {
40634
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40635
+ };
40636
+ };
40637
+ /** @description Missing or invalid API key. */
40638
+ 401: {
40639
+ headers: {
40640
+ [name: string]: unknown;
40641
+ };
40642
+ content?: never;
40643
+ };
40644
+ /** @description Insufficient permissions. */
40645
+ 403: {
40646
+ headers: {
40647
+ [name: string]: unknown;
40648
+ };
40649
+ content?: never;
40650
+ };
40651
+ /** @description Rule set not found in this workspace. */
40652
+ 404: {
40653
+ headers: {
40654
+ [name: string]: unknown;
40655
+ };
40656
+ content?: never;
40657
+ };
40658
+ /** @description Validation Error */
40659
+ 422: {
40660
+ headers: {
40661
+ [name: string]: unknown;
40662
+ };
40663
+ content: {
40664
+ "application/json": components["schemas"]["HTTPValidationError"];
40665
+ };
40666
+ };
40667
+ /** @description Rate limited. */
40668
+ 429: {
40669
+ headers: {
40670
+ [name: string]: unknown;
40671
+ };
40672
+ content?: never;
40673
+ };
40674
+ };
40675
+ };
40676
+ "delete-scheduling-rule-set": {
40677
+ parameters: {
40678
+ query?: never;
40679
+ header?: never;
40680
+ path: {
40681
+ workspace_id: string;
40682
+ rule_set_id: string;
40683
+ };
40684
+ cookie?: never;
40685
+ };
40686
+ requestBody?: never;
40687
+ responses: {
40688
+ /** @description Successful Response */
40689
+ 204: {
40690
+ headers: {
40691
+ [name: string]: unknown;
40692
+ };
40693
+ content?: never;
40694
+ };
40695
+ /** @description Missing or invalid API key. */
40696
+ 401: {
40697
+ headers: {
40698
+ [name: string]: unknown;
40699
+ };
40700
+ content?: never;
40701
+ };
40702
+ /** @description Insufficient permissions. */
40703
+ 403: {
40704
+ headers: {
40705
+ [name: string]: unknown;
40706
+ };
40707
+ content?: never;
40708
+ };
40709
+ /** @description Rule set not found in this workspace. */
40710
+ 404: {
40711
+ headers: {
40712
+ [name: string]: unknown;
40713
+ };
40714
+ content?: never;
40715
+ };
40716
+ /** @description Validation Error */
40717
+ 422: {
40718
+ headers: {
40719
+ [name: string]: unknown;
40720
+ };
40721
+ content: {
40722
+ "application/json": components["schemas"]["HTTPValidationError"];
40723
+ };
40724
+ };
40725
+ /** @description Rate limited. */
40726
+ 429: {
40727
+ headers: {
40728
+ [name: string]: unknown;
40729
+ };
40730
+ content?: never;
40731
+ };
40732
+ };
40733
+ };
40734
+ "update-scheduling-rule-set": {
40735
+ parameters: {
40736
+ query?: never;
40737
+ header?: never;
40738
+ path: {
40739
+ workspace_id: string;
40740
+ rule_set_id: string;
40741
+ };
40742
+ cookie?: never;
40743
+ };
40744
+ requestBody: {
40745
+ content: {
40746
+ "application/json": components["schemas"]["UpdateSchedulingRuleSetRequest"];
40747
+ };
40748
+ };
40749
+ responses: {
40750
+ /** @description Successful Response */
40751
+ 200: {
40752
+ headers: {
40753
+ [name: string]: unknown;
40754
+ };
40755
+ content: {
40756
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40757
+ };
40758
+ };
40759
+ /** @description Missing or invalid API key. */
40760
+ 401: {
40761
+ headers: {
40762
+ [name: string]: unknown;
40763
+ };
40764
+ content?: never;
40765
+ };
40766
+ /** @description Insufficient permissions. */
40767
+ 403: {
40768
+ headers: {
40769
+ [name: string]: unknown;
40770
+ };
40771
+ content?: never;
40772
+ };
40773
+ /** @description Rule set not found in this workspace. */
40774
+ 404: {
40775
+ headers: {
40776
+ [name: string]: unknown;
40777
+ };
40778
+ content?: never;
40779
+ };
40780
+ /** @description Submitted params discriminator does not match the existing rule's rule_kind. */
40781
+ 422: {
40782
+ headers: {
40783
+ [name: string]: unknown;
40784
+ };
40785
+ content?: never;
40786
+ };
40787
+ /** @description Rate limited. */
40788
+ 429: {
40789
+ headers: {
40790
+ [name: string]: unknown;
40791
+ };
40792
+ content?: never;
40793
+ };
40794
+ };
40795
+ };
39677
40796
  "finalize-encounter": {
39678
40797
  parameters: {
39679
40798
  query?: never;
@@ -41749,6 +42868,76 @@ export interface operations {
41749
42868
  };
41750
42869
  };
41751
42870
  };
42871
+ "get-simulation-benchmark-results": {
42872
+ parameters: {
42873
+ query?: never;
42874
+ header?: never;
42875
+ path: {
42876
+ workspace_id: string;
42877
+ };
42878
+ cookie?: never;
42879
+ };
42880
+ requestBody: {
42881
+ content: {
42882
+ "application/json": components["schemas"]["GetSimulationBenchmarkResultsRequest"];
42883
+ };
42884
+ };
42885
+ responses: {
42886
+ /** @description Successful Response */
42887
+ 200: {
42888
+ headers: {
42889
+ [name: string]: unknown;
42890
+ };
42891
+ content: {
42892
+ "application/json": components["schemas"]["SimulationBenchmarkResultsResponse"];
42893
+ };
42894
+ };
42895
+ /** @description Validation Error */
42896
+ 422: {
42897
+ headers: {
42898
+ [name: string]: unknown;
42899
+ };
42900
+ content: {
42901
+ "application/json": components["schemas"]["HTTPValidationError"];
42902
+ };
42903
+ };
42904
+ };
42905
+ };
42906
+ "run-simulation-benchmark": {
42907
+ parameters: {
42908
+ query?: never;
42909
+ header?: never;
42910
+ path: {
42911
+ workspace_id: string;
42912
+ };
42913
+ cookie?: never;
42914
+ };
42915
+ requestBody: {
42916
+ content: {
42917
+ "application/json": components["schemas"]["RunSimulationBenchmarkRequest"];
42918
+ };
42919
+ };
42920
+ responses: {
42921
+ /** @description Successful Response */
42922
+ 200: {
42923
+ headers: {
42924
+ [name: string]: unknown;
42925
+ };
42926
+ content: {
42927
+ "application/json": components["schemas"]["SimulationBenchmarkRunResponse"];
42928
+ };
42929
+ };
42930
+ /** @description Validation Error */
42931
+ 422: {
42932
+ headers: {
42933
+ [name: string]: unknown;
42934
+ };
42935
+ content: {
42936
+ "application/json": components["schemas"]["HTTPValidationError"];
42937
+ };
42938
+ };
42939
+ };
42940
+ };
41752
42941
  "list-simulation-branches": {
41753
42942
  parameters: {
41754
42943
  query?: never;
@@ -41880,6 +43069,42 @@ export interface operations {
41880
43069
  };
41881
43070
  };
41882
43071
  };
43072
+ "run-simulation-case": {
43073
+ parameters: {
43074
+ query?: never;
43075
+ header?: never;
43076
+ path: {
43077
+ workspace_id: string;
43078
+ case_id: string;
43079
+ };
43080
+ cookie?: never;
43081
+ };
43082
+ requestBody: {
43083
+ content: {
43084
+ "application/json": components["schemas"]["RunSimulationCaseRequest"];
43085
+ };
43086
+ };
43087
+ responses: {
43088
+ /** @description Successful Response */
43089
+ 200: {
43090
+ headers: {
43091
+ [name: string]: unknown;
43092
+ };
43093
+ content: {
43094
+ "application/json": components["schemas"]["BridgeResponse"];
43095
+ };
43096
+ };
43097
+ /** @description Validation Error */
43098
+ 422: {
43099
+ headers: {
43100
+ [name: string]: unknown;
43101
+ };
43102
+ content: {
43103
+ "application/json": components["schemas"]["HTTPValidationError"];
43104
+ };
43105
+ };
43106
+ };
43107
+ };
41883
43108
  "config-to-turn-policy": {
41884
43109
  parameters: {
41885
43110
  query?: never;
@@ -43677,7 +44902,7 @@ export interface operations {
43677
44902
  };
43678
44903
  };
43679
44904
  };
43680
- list_triggers_v1__workspace_id__triggers_get: {
44905
+ "list-triggers": {
43681
44906
  parameters: {
43682
44907
  query?: {
43683
44908
  is_active?: boolean | null;
@@ -43710,9 +44935,16 @@ export interface operations {
43710
44935
  "application/json": components["schemas"]["HTTPValidationError"];
43711
44936
  };
43712
44937
  };
44938
+ /** @description Rate limited */
44939
+ 429: {
44940
+ headers: {
44941
+ [name: string]: unknown;
44942
+ };
44943
+ content?: never;
44944
+ };
43713
44945
  };
43714
44946
  };
43715
- create_trigger_v1__workspace_id__triggers_post: {
44947
+ "create-trigger": {
43716
44948
  parameters: {
43717
44949
  query?: never;
43718
44950
  header?: never;
@@ -43736,18 +44968,23 @@ export interface operations {
43736
44968
  "application/json": components["schemas"]["TriggerResponse"];
43737
44969
  };
43738
44970
  };
43739
- /** @description Validation Error */
44971
+ /** @description Validation error */
43740
44972
  422: {
43741
44973
  headers: {
43742
44974
  [name: string]: unknown;
43743
44975
  };
43744
- content: {
43745
- "application/json": components["schemas"]["HTTPValidationError"];
44976
+ content?: never;
44977
+ };
44978
+ /** @description Rate limited */
44979
+ 429: {
44980
+ headers: {
44981
+ [name: string]: unknown;
43746
44982
  };
44983
+ content?: never;
43747
44984
  };
43748
44985
  };
43749
44986
  };
43750
- get_trigger_v1__workspace_id__triggers__trigger_id__get: {
44987
+ "get-trigger": {
43751
44988
  parameters: {
43752
44989
  query?: never;
43753
44990
  header?: never;
@@ -43768,6 +45005,13 @@ export interface operations {
43768
45005
  "application/json": components["schemas"]["TriggerResponse"];
43769
45006
  };
43770
45007
  };
45008
+ /** @description Trigger not found */
45009
+ 404: {
45010
+ headers: {
45011
+ [name: string]: unknown;
45012
+ };
45013
+ content?: never;
45014
+ };
43771
45015
  /** @description Validation Error */
43772
45016
  422: {
43773
45017
  headers: {
@@ -43777,9 +45021,16 @@ export interface operations {
43777
45021
  "application/json": components["schemas"]["HTTPValidationError"];
43778
45022
  };
43779
45023
  };
45024
+ /** @description Rate limited */
45025
+ 429: {
45026
+ headers: {
45027
+ [name: string]: unknown;
45028
+ };
45029
+ content?: never;
45030
+ };
43780
45031
  };
43781
45032
  };
43782
- update_trigger_v1__workspace_id__triggers__trigger_id__put: {
45033
+ "update-trigger": {
43783
45034
  parameters: {
43784
45035
  query?: never;
43785
45036
  header?: never;
@@ -43804,18 +45055,30 @@ export interface operations {
43804
45055
  "application/json": components["schemas"]["TriggerResponse"];
43805
45056
  };
43806
45057
  };
43807
- /** @description Validation Error */
45058
+ /** @description Trigger not found */
45059
+ 404: {
45060
+ headers: {
45061
+ [name: string]: unknown;
45062
+ };
45063
+ content?: never;
45064
+ };
45065
+ /** @description Validation error */
43808
45066
  422: {
43809
45067
  headers: {
43810
45068
  [name: string]: unknown;
43811
45069
  };
43812
- content: {
43813
- "application/json": components["schemas"]["HTTPValidationError"];
45070
+ content?: never;
45071
+ };
45072
+ /** @description Rate limited */
45073
+ 429: {
45074
+ headers: {
45075
+ [name: string]: unknown;
43814
45076
  };
45077
+ content?: never;
43815
45078
  };
43816
45079
  };
43817
45080
  };
43818
- delete_trigger_v1__workspace_id__triggers__trigger_id__delete: {
45081
+ "delete-trigger": {
43819
45082
  parameters: {
43820
45083
  query?: never;
43821
45084
  header?: never;
@@ -43843,9 +45106,16 @@ export interface operations {
43843
45106
  "application/json": components["schemas"]["HTTPValidationError"];
43844
45107
  };
43845
45108
  };
45109
+ /** @description Rate limited */
45110
+ 429: {
45111
+ headers: {
45112
+ [name: string]: unknown;
45113
+ };
45114
+ content?: never;
45115
+ };
43846
45116
  };
43847
45117
  };
43848
- fire_trigger_v1__workspace_id__triggers__trigger_id__fire_post: {
45118
+ "fire-trigger": {
43849
45119
  parameters: {
43850
45120
  query?: never;
43851
45121
  header?: never;
@@ -43870,18 +45140,37 @@ export interface operations {
43870
45140
  "application/json": components["schemas"]["TriggerFireResponse"];
43871
45141
  };
43872
45142
  };
43873
- /** @description Validation Error */
45143
+ /** @description Trigger not found */
45144
+ 404: {
45145
+ headers: {
45146
+ [name: string]: unknown;
45147
+ };
45148
+ content?: never;
45149
+ };
45150
+ /** @description Validation error */
43874
45151
  422: {
43875
45152
  headers: {
43876
45153
  [name: string]: unknown;
43877
45154
  };
43878
- content: {
43879
- "application/json": components["schemas"]["HTTPValidationError"];
45155
+ content?: never;
45156
+ };
45157
+ /** @description Rate limited */
45158
+ 429: {
45159
+ headers: {
45160
+ [name: string]: unknown;
43880
45161
  };
45162
+ content?: never;
45163
+ };
45164
+ /** @description Trigger scheduler not initialized */
45165
+ 503: {
45166
+ headers: {
45167
+ [name: string]: unknown;
45168
+ };
45169
+ content?: never;
43881
45170
  };
43882
45171
  };
43883
45172
  };
43884
- pause_trigger_v1__workspace_id__triggers__trigger_id__pause_post: {
45173
+ "pause-trigger": {
43885
45174
  parameters: {
43886
45175
  query?: never;
43887
45176
  header?: never;
@@ -43902,18 +45191,30 @@ export interface operations {
43902
45191
  "application/json": components["schemas"]["TriggerResponse"];
43903
45192
  };
43904
45193
  };
43905
- /** @description Validation Error */
45194
+ /** @description Trigger not found */
45195
+ 404: {
45196
+ headers: {
45197
+ [name: string]: unknown;
45198
+ };
45199
+ content?: never;
45200
+ };
45201
+ /** @description Validation error */
43906
45202
  422: {
43907
45203
  headers: {
43908
45204
  [name: string]: unknown;
43909
45205
  };
43910
- content: {
43911
- "application/json": components["schemas"]["HTTPValidationError"];
45206
+ content?: never;
45207
+ };
45208
+ /** @description Rate limited */
45209
+ 429: {
45210
+ headers: {
45211
+ [name: string]: unknown;
43912
45212
  };
45213
+ content?: never;
43913
45214
  };
43914
45215
  };
43915
45216
  };
43916
- resume_trigger_v1__workspace_id__triggers__trigger_id__resume_post: {
45217
+ "resume-trigger": {
43917
45218
  parameters: {
43918
45219
  query?: never;
43919
45220
  header?: never;
@@ -43934,18 +45235,30 @@ export interface operations {
43934
45235
  "application/json": components["schemas"]["TriggerResponse"];
43935
45236
  };
43936
45237
  };
43937
- /** @description Validation Error */
45238
+ /** @description Trigger not found */
45239
+ 404: {
45240
+ headers: {
45241
+ [name: string]: unknown;
45242
+ };
45243
+ content?: never;
45244
+ };
45245
+ /** @description Validation error */
43938
45246
  422: {
43939
45247
  headers: {
43940
45248
  [name: string]: unknown;
43941
45249
  };
43942
- content: {
43943
- "application/json": components["schemas"]["HTTPValidationError"];
45250
+ content?: never;
45251
+ };
45252
+ /** @description Rate limited */
45253
+ 429: {
45254
+ headers: {
45255
+ [name: string]: unknown;
43944
45256
  };
45257
+ content?: never;
43945
45258
  };
43946
45259
  };
43947
45260
  };
43948
- list_trigger_runs_v1__workspace_id__triggers__trigger_id__runs_get: {
45261
+ "list-trigger-runs": {
43949
45262
  parameters: {
43950
45263
  query?: {
43951
45264
  limit?: number;
@@ -43978,6 +45291,13 @@ export interface operations {
43978
45291
  "application/json": components["schemas"]["HTTPValidationError"];
43979
45292
  };
43980
45293
  };
45294
+ /** @description Rate limited */
45295
+ 429: {
45296
+ headers: {
45297
+ [name: string]: unknown;
45298
+ };
45299
+ content?: never;
45300
+ };
43981
45301
  };
43982
45302
  };
43983
45303
  "search-available-phone-numbers": {
@@ -44895,7 +46215,7 @@ export interface operations {
44895
46215
  };
44896
46216
  };
44897
46217
  };
44898
- list_webhook_destinations_v1__workspace_id__webhook_destinations_get: {
46218
+ "list-webhook-destinations": {
44899
46219
  parameters: {
44900
46220
  query?: {
44901
46221
  limit?: number;
@@ -44927,9 +46247,16 @@ export interface operations {
44927
46247
  "application/json": components["schemas"]["HTTPValidationError"];
44928
46248
  };
44929
46249
  };
46250
+ /** @description Rate limited */
46251
+ 429: {
46252
+ headers: {
46253
+ [name: string]: unknown;
46254
+ };
46255
+ content?: never;
46256
+ };
44930
46257
  };
44931
46258
  };
44932
- create_webhook_destination_v1__workspace_id__webhook_destinations_post: {
46259
+ "create-webhook-destination": {
44933
46260
  parameters: {
44934
46261
  query?: never;
44935
46262
  header?: never;
@@ -44953,18 +46280,23 @@ export interface operations {
44953
46280
  "application/json": components["schemas"]["WebhookDestinationCreatedResponse"];
44954
46281
  };
44955
46282
  };
44956
- /** @description Validation Error */
46283
+ /** @description Validation error */
44957
46284
  422: {
44958
46285
  headers: {
44959
46286
  [name: string]: unknown;
44960
46287
  };
44961
- content: {
44962
- "application/json": components["schemas"]["HTTPValidationError"];
46288
+ content?: never;
46289
+ };
46290
+ /** @description Rate limited */
46291
+ 429: {
46292
+ headers: {
46293
+ [name: string]: unknown;
44963
46294
  };
46295
+ content?: never;
44964
46296
  };
44965
46297
  };
44966
46298
  };
44967
- get_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__get: {
46299
+ "get-webhook-destination": {
44968
46300
  parameters: {
44969
46301
  query?: never;
44970
46302
  header?: never;
@@ -44985,6 +46317,13 @@ export interface operations {
44985
46317
  "application/json": components["schemas"]["WebhookDestinationResponse"];
44986
46318
  };
44987
46319
  };
46320
+ /** @description Webhook destination not found */
46321
+ 404: {
46322
+ headers: {
46323
+ [name: string]: unknown;
46324
+ };
46325
+ content?: never;
46326
+ };
44988
46327
  /** @description Validation Error */
44989
46328
  422: {
44990
46329
  headers: {
@@ -44994,9 +46333,16 @@ export interface operations {
44994
46333
  "application/json": components["schemas"]["HTTPValidationError"];
44995
46334
  };
44996
46335
  };
46336
+ /** @description Rate limited */
46337
+ 429: {
46338
+ headers: {
46339
+ [name: string]: unknown;
46340
+ };
46341
+ content?: never;
46342
+ };
44997
46343
  };
44998
46344
  };
44999
- update_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__put: {
46345
+ "update-webhook-destination": {
45000
46346
  parameters: {
45001
46347
  query?: never;
45002
46348
  header?: never;
@@ -45021,18 +46367,30 @@ export interface operations {
45021
46367
  "application/json": components["schemas"]["WebhookDestinationResponse"];
45022
46368
  };
45023
46369
  };
45024
- /** @description Validation Error */
46370
+ /** @description Webhook destination not found */
46371
+ 404: {
46372
+ headers: {
46373
+ [name: string]: unknown;
46374
+ };
46375
+ content?: never;
46376
+ };
46377
+ /** @description Validation error */
45025
46378
  422: {
45026
46379
  headers: {
45027
46380
  [name: string]: unknown;
45028
46381
  };
45029
- content: {
45030
- "application/json": components["schemas"]["HTTPValidationError"];
46382
+ content?: never;
46383
+ };
46384
+ /** @description Rate limited */
46385
+ 429: {
46386
+ headers: {
46387
+ [name: string]: unknown;
45031
46388
  };
46389
+ content?: never;
45032
46390
  };
45033
46391
  };
45034
46392
  };
45035
- delete_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__delete: {
46393
+ "delete-webhook-destination": {
45036
46394
  parameters: {
45037
46395
  query?: never;
45038
46396
  header?: never;
@@ -45060,9 +46418,16 @@ export interface operations {
45060
46418
  "application/json": components["schemas"]["HTTPValidationError"];
45061
46419
  };
45062
46420
  };
46421
+ /** @description Rate limited */
46422
+ 429: {
46423
+ headers: {
46424
+ [name: string]: unknown;
46425
+ };
46426
+ content?: never;
46427
+ };
45063
46428
  };
45064
46429
  };
45065
- list_deliveries_v1__workspace_id__webhook_destinations__destination_id__deliveries_get: {
46430
+ "list-webhook-destination-deliveries": {
45066
46431
  parameters: {
45067
46432
  query?: {
45068
46433
  limit?: number;
@@ -45095,9 +46460,16 @@ export interface operations {
45095
46460
  "application/json": components["schemas"]["HTTPValidationError"];
45096
46461
  };
45097
46462
  };
46463
+ /** @description Rate limited */
46464
+ 429: {
46465
+ headers: {
46466
+ [name: string]: unknown;
46467
+ };
46468
+ content?: never;
46469
+ };
45098
46470
  };
45099
46471
  };
45100
- rotate_secret_v1__workspace_id__webhook_destinations__destination_id__rotate_secret_post: {
46472
+ "rotate-webhook-destination-secret": {
45101
46473
  parameters: {
45102
46474
  query?: never;
45103
46475
  header?: never;
@@ -45118,14 +46490,26 @@ export interface operations {
45118
46490
  "application/json": components["schemas"]["RotateSecretResponse"];
45119
46491
  };
45120
46492
  };
45121
- /** @description Validation Error */
46493
+ /** @description Webhook destination not found */
46494
+ 404: {
46495
+ headers: {
46496
+ [name: string]: unknown;
46497
+ };
46498
+ content?: never;
46499
+ };
46500
+ /** @description Validation error */
45122
46501
  422: {
45123
46502
  headers: {
45124
46503
  [name: string]: unknown;
45125
46504
  };
45126
- content: {
45127
- "application/json": components["schemas"]["HTTPValidationError"];
46505
+ content?: never;
46506
+ };
46507
+ /** @description Rate limited */
46508
+ 429: {
46509
+ headers: {
46510
+ [name: string]: unknown;
45128
46511
  };
46512
+ content?: never;
45129
46513
  };
45130
46514
  };
45131
46515
  };
@@ -45555,6 +46939,55 @@ export interface operations {
45555
46939
  };
45556
46940
  };
45557
46941
  };
46942
+ "resolve-entity": {
46943
+ parameters: {
46944
+ query?: never;
46945
+ header?: never;
46946
+ path: {
46947
+ workspace_id: string;
46948
+ };
46949
+ cookie?: never;
46950
+ };
46951
+ requestBody: {
46952
+ content: {
46953
+ "application/json": components["schemas"]["EntityResolveRequest"];
46954
+ };
46955
+ };
46956
+ responses: {
46957
+ /** @description Successful Response */
46958
+ 200: {
46959
+ headers: {
46960
+ [name: string]: unknown;
46961
+ };
46962
+ content: {
46963
+ "application/json": components["schemas"]["EntityResolveResponse"];
46964
+ };
46965
+ };
46966
+ /** @description No identifier provided or invalid input. */
46967
+ 400: {
46968
+ headers: {
46969
+ [name: string]: unknown;
46970
+ };
46971
+ content?: never;
46972
+ };
46973
+ /** @description Missing or invalid API key. */
46974
+ 401: {
46975
+ headers: {
46976
+ [name: string]: unknown;
46977
+ };
46978
+ content?: never;
46979
+ };
46980
+ /** @description Validation Error */
46981
+ 422: {
46982
+ headers: {
46983
+ [name: string]: unknown;
46984
+ };
46985
+ content: {
46986
+ "application/json": components["schemas"]["HTTPValidationError"];
46987
+ };
46988
+ };
46989
+ };
46990
+ };
45558
46991
  "get-entity": {
45559
46992
  parameters: {
45560
46993
  query?: never;