@amigo-ai/platform-sdk 0.31.0 → 0.33.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.
@@ -2741,6 +2741,26 @@ export interface paths {
2741
2741
  patch?: never;
2742
2742
  trace?: never;
2743
2743
  };
2744
+ "/v1/{workspace_id}/fhir/import-stream": {
2745
+ parameters: {
2746
+ query?: never;
2747
+ header?: never;
2748
+ path?: never;
2749
+ cookie?: never;
2750
+ };
2751
+ get?: never;
2752
+ put?: never;
2753
+ /**
2754
+ * Import FHIR resources via NDJSON streaming
2755
+ * @description Stream FHIR resources as NDJSON (one resource per line). Bypasses the buffered-body size cap on /fhir/import. Callers MUST send Patient resources before resources that reference them, and MUST pre-resolve any bundle-internal urn:uuid: references.
2756
+ */
2757
+ post: operations["fhir-import-stream"];
2758
+ delete?: never;
2759
+ options?: never;
2760
+ head?: never;
2761
+ patch?: never;
2762
+ trace?: never;
2763
+ };
2744
2764
  "/v1/{workspace_id}/fhir/patients": {
2745
2765
  parameters: {
2746
2766
  query?: never;
@@ -5418,6 +5438,62 @@ export interface paths {
5418
5438
  patch?: never;
5419
5439
  trace?: never;
5420
5440
  };
5441
+ "/v1/{workspace_id}/scheduling-rule-sets": {
5442
+ parameters: {
5443
+ query?: never;
5444
+ header?: never;
5445
+ path?: never;
5446
+ cookie?: never;
5447
+ };
5448
+ /**
5449
+ * List scheduling rule sets
5450
+ * @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.
5451
+ */
5452
+ get: operations["list-scheduling-rule-sets"];
5453
+ put?: never;
5454
+ /**
5455
+ * Create a scheduling rule set
5456
+ * @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.
5457
+ */
5458
+ post: operations["create-scheduling-rule-set"];
5459
+ delete?: never;
5460
+ options?: never;
5461
+ head?: never;
5462
+ patch?: never;
5463
+ trace?: never;
5464
+ };
5465
+ "/v1/{workspace_id}/scheduling-rule-sets/{rule_set_id}": {
5466
+ parameters: {
5467
+ query?: never;
5468
+ header?: never;
5469
+ path?: never;
5470
+ cookie?: never;
5471
+ };
5472
+ /**
5473
+ * Get one scheduling rule set
5474
+ * @description Fetch one rule set by id. Returns 404 when the row doesn't exist
5475
+ * in this workspace (the RLS policy means cross-workspace lookups
5476
+ * surface as 404, never as a row from the wrong workspace).
5477
+ *
5478
+ * Permissions: ``Workspace.view``.
5479
+ */
5480
+ get: operations["get-scheduling-rule-set"];
5481
+ put?: never;
5482
+ post?: never;
5483
+ /**
5484
+ * Delete a scheduling rule set
5485
+ * @description Hard-delete. The audit log retains the deletion record.
5486
+ */
5487
+ delete: operations["delete-scheduling-rule-set"];
5488
+ options?: never;
5489
+ head?: never;
5490
+ /**
5491
+ * Partially update a scheduling rule set
5492
+ * @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.
5493
+ */
5494
+ patch: operations["update-scheduling-rule-set"];
5495
+ trace?: never;
5496
+ };
5421
5497
  "/v1/{workspace_id}/scribe/encounters/{encounter_id}/finalize": {
5422
5498
  parameters: {
5423
5499
  query?: never;
@@ -6317,6 +6393,46 @@ export interface paths {
6317
6393
  patch?: never;
6318
6394
  trace?: never;
6319
6395
  };
6396
+ "/v1/{workspace_id}/simulations/benchmarks/results": {
6397
+ parameters: {
6398
+ query?: never;
6399
+ header?: never;
6400
+ path?: never;
6401
+ cookie?: never;
6402
+ };
6403
+ get?: never;
6404
+ put?: never;
6405
+ /**
6406
+ * Get Simulation Benchmark Results
6407
+ * @description Aggregate benchmark results over the run ids returned by benchmark start.
6408
+ */
6409
+ post: operations["get-simulation-benchmark-results"];
6410
+ delete?: never;
6411
+ options?: never;
6412
+ head?: never;
6413
+ patch?: never;
6414
+ trace?: never;
6415
+ };
6416
+ "/v1/{workspace_id}/simulations/benchmarks/run": {
6417
+ parameters: {
6418
+ query?: never;
6419
+ header?: never;
6420
+ path?: never;
6421
+ cookie?: never;
6422
+ };
6423
+ get?: never;
6424
+ put?: never;
6425
+ /**
6426
+ * Run Simulation Benchmark
6427
+ * @description Run a tag-selected benchmark batch as one saved-case run per case.
6428
+ */
6429
+ post: operations["run-simulation-benchmark"];
6430
+ delete?: never;
6431
+ options?: never;
6432
+ head?: never;
6433
+ patch?: never;
6434
+ trace?: never;
6435
+ };
6320
6436
  "/v1/{workspace_id}/simulations/branches": {
6321
6437
  parameters: {
6322
6438
  query?: never;
@@ -6386,6 +6502,26 @@ export interface paths {
6386
6502
  patch?: never;
6387
6503
  trace?: never;
6388
6504
  };
6505
+ "/v1/{workspace_id}/simulations/cases/{case_id}/run": {
6506
+ parameters: {
6507
+ query?: never;
6508
+ header?: never;
6509
+ path?: never;
6510
+ cookie?: never;
6511
+ };
6512
+ get?: never;
6513
+ put?: never;
6514
+ /**
6515
+ * Run Simulation Case
6516
+ * @description Run the current saved simulation case through the bridge executor.
6517
+ */
6518
+ post: operations["run-simulation-case"];
6519
+ delete?: never;
6520
+ options?: never;
6521
+ head?: never;
6522
+ patch?: never;
6523
+ trace?: never;
6524
+ };
6389
6525
  "/v1/{workspace_id}/simulations/config-to-policy": {
6390
6526
  parameters: {
6391
6527
  query?: never;
@@ -6765,13 +6901,19 @@ export interface paths {
6765
6901
  get: operations["get-skill"];
6766
6902
  /**
6767
6903
  * Update a skill
6768
- * @description Update a skill's configuration. Increments version and creates an audit trail snapshot. Requires `Skill.update` permission.
6904
+ * @description Update a skill's configuration. Increments version and creates an audit trail snapshot.
6905
+ *
6906
+ * **Field semantics.** Omitted fields and explicit ``null`` are treated identically — both leave the existing value unchanged. Empty-string is rejected with 422 for fields that carry a ``minLength`` bound (``browser_start_url``, ``browser_auth_integration``, ``model``). Clearing a previously-set optional value back to ``null`` is not currently supported via PUT.
6907
+ *
6908
+ * Requires `Skill.update` permission.
6769
6909
  */
6770
6910
  put: operations["update-skill"];
6771
6911
  post?: never;
6772
6912
  /**
6773
6913
  * Delete a skill
6774
- * @description Delete a skill. SkillVersion audit trail is retained. Requires `Skill.delete` permission.
6914
+ * @description Delete a skill. SkillVersion audit trail is retained.
6915
+ *
6916
+ * **Not idempotent.** A second concurrent caller racing the same delete will receive ``404 Not Found`` once the row is gone — clients should treat 404 as success-equivalent for cleanup workflows. Requires `Skill.delete` permission.
6775
6917
  */
6776
6918
  delete: operations["delete-skill"];
6777
6919
  options?: never;
@@ -7110,11 +7252,11 @@ export interface paths {
7110
7252
  path?: never;
7111
7253
  cookie?: never;
7112
7254
  };
7113
- /** List Triggers */
7114
- get: operations["list_triggers_v1__workspace_id__triggers_get"];
7255
+ /** List triggers */
7256
+ get: operations["list-triggers"];
7115
7257
  put?: never;
7116
- /** Create Trigger */
7117
- post: operations["create_trigger_v1__workspace_id__triggers_post"];
7258
+ /** Create a trigger */
7259
+ post: operations["create-trigger"];
7118
7260
  delete?: never;
7119
7261
  options?: never;
7120
7262
  head?: never;
@@ -7128,13 +7270,13 @@ export interface paths {
7128
7270
  path?: never;
7129
7271
  cookie?: never;
7130
7272
  };
7131
- /** Get Trigger */
7132
- get: operations["get_trigger_v1__workspace_id__triggers__trigger_id__get"];
7133
- /** Update Trigger */
7134
- put: operations["update_trigger_v1__workspace_id__triggers__trigger_id__put"];
7273
+ /** Get a trigger */
7274
+ get: operations["get-trigger"];
7275
+ /** Update a trigger */
7276
+ put: operations["update-trigger"];
7135
7277
  post?: never;
7136
- /** Delete Trigger */
7137
- delete: operations["delete_trigger_v1__workspace_id__triggers__trigger_id__delete"];
7278
+ /** Delete a trigger */
7279
+ delete: operations["delete-trigger"];
7138
7280
  options?: never;
7139
7281
  head?: never;
7140
7282
  patch?: never;
@@ -7149,8 +7291,8 @@ export interface paths {
7149
7291
  };
7150
7292
  get?: never;
7151
7293
  put?: never;
7152
- /** Fire Trigger */
7153
- post: operations["fire_trigger_v1__workspace_id__triggers__trigger_id__fire_post"];
7294
+ /** Manually fire a trigger now */
7295
+ post: operations["fire-trigger"];
7154
7296
  delete?: never;
7155
7297
  options?: never;
7156
7298
  head?: never;
@@ -7166,8 +7308,8 @@ export interface paths {
7166
7308
  };
7167
7309
  get?: never;
7168
7310
  put?: never;
7169
- /** Pause Trigger */
7170
- post: operations["pause_trigger_v1__workspace_id__triggers__trigger_id__pause_post"];
7311
+ /** Pause a trigger */
7312
+ post: operations["pause-trigger"];
7171
7313
  delete?: never;
7172
7314
  options?: never;
7173
7315
  head?: never;
@@ -7183,8 +7325,8 @@ export interface paths {
7183
7325
  };
7184
7326
  get?: never;
7185
7327
  put?: never;
7186
- /** Resume Trigger */
7187
- post: operations["resume_trigger_v1__workspace_id__triggers__trigger_id__resume_post"];
7328
+ /** Resume a trigger */
7329
+ post: operations["resume-trigger"];
7188
7330
  delete?: never;
7189
7331
  options?: never;
7190
7332
  head?: never;
@@ -7199,10 +7341,10 @@ export interface paths {
7199
7341
  cookie?: never;
7200
7342
  };
7201
7343
  /**
7202
- * List Trigger Runs
7344
+ * List trigger execution history
7203
7345
  * @description Execution history from the Lakebase entity-event timeline read model.
7204
7346
  */
7205
- get: operations["list_trigger_runs_v1__workspace_id__triggers__trigger_id__runs_get"];
7347
+ get: operations["list-trigger-runs"];
7206
7348
  put?: never;
7207
7349
  post?: never;
7208
7350
  delete?: never;
@@ -7500,11 +7642,11 @@ export interface paths {
7500
7642
  path?: never;
7501
7643
  cookie?: never;
7502
7644
  };
7503
- /** List Webhook Destinations */
7504
- get: operations["list_webhook_destinations_v1__workspace_id__webhook_destinations_get"];
7645
+ /** List webhook destinations */
7646
+ get: operations["list-webhook-destinations"];
7505
7647
  put?: never;
7506
- /** Create Webhook Destination */
7507
- post: operations["create_webhook_destination_v1__workspace_id__webhook_destinations_post"];
7648
+ /** Create a webhook destination */
7649
+ post: operations["create-webhook-destination"];
7508
7650
  delete?: never;
7509
7651
  options?: never;
7510
7652
  head?: never;
@@ -7518,13 +7660,13 @@ export interface paths {
7518
7660
  path?: never;
7519
7661
  cookie?: never;
7520
7662
  };
7521
- /** Get Webhook Destination */
7522
- get: operations["get_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__get"];
7523
- /** Update Webhook Destination */
7524
- put: operations["update_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__put"];
7663
+ /** Get a webhook destination */
7664
+ get: operations["get-webhook-destination"];
7665
+ /** Update a webhook destination */
7666
+ put: operations["update-webhook-destination"];
7525
7667
  post?: never;
7526
- /** Delete Webhook Destination */
7527
- delete: operations["delete_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__delete"];
7668
+ /** Delete a webhook destination */
7669
+ delete: operations["delete-webhook-destination"];
7528
7670
  options?: never;
7529
7671
  head?: never;
7530
7672
  patch?: never;
@@ -7538,10 +7680,10 @@ export interface paths {
7538
7680
  cookie?: never;
7539
7681
  };
7540
7682
  /**
7541
- * List Deliveries
7683
+ * List webhook delivery history
7542
7684
  * @description Delivery history from the Lakebase entity-event timeline read model.
7543
7685
  */
7544
- get: operations["list_deliveries_v1__workspace_id__webhook_destinations__destination_id__deliveries_get"];
7686
+ get: operations["list-webhook-destination-deliveries"];
7545
7687
  put?: never;
7546
7688
  post?: never;
7547
7689
  delete?: never;
@@ -7559,8 +7701,8 @@ export interface paths {
7559
7701
  };
7560
7702
  get?: never;
7561
7703
  put?: never;
7562
- /** Rotate Secret */
7563
- post: operations["rotate_secret_v1__workspace_id__webhook_destinations__destination_id__rotate_secret_post"];
7704
+ /** Rotate the destination's HMAC signing secret */
7705
+ post: operations["rotate-webhook-destination-secret"];
7564
7706
  delete?: never;
7565
7707
  options?: never;
7566
7708
  head?: never;
@@ -7735,6 +7877,26 @@ export interface paths {
7735
7877
  patch?: never;
7736
7878
  trace?: never;
7737
7879
  };
7880
+ "/v1/{workspace_id}/world/entities/resolve": {
7881
+ parameters: {
7882
+ query?: never;
7883
+ header?: never;
7884
+ path?: never;
7885
+ cookie?: never;
7886
+ };
7887
+ get?: never;
7888
+ put?: never;
7889
+ /**
7890
+ * Resolve entity by identifier
7891
+ * @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.
7892
+ */
7893
+ post: operations["resolve-entity"];
7894
+ delete?: never;
7895
+ options?: never;
7896
+ head?: never;
7897
+ patch?: never;
7898
+ trace?: never;
7899
+ };
7738
7900
  "/v1/{workspace_id}/world/entities/{entity_id}": {
7739
7901
  parameters: {
7740
7902
  query?: never;
@@ -8920,8 +9082,8 @@ export interface components {
8920
9082
  * @description Authentication configuration for an integration.
8921
9083
  *
8922
9084
  * Supports api_key_header, bearer_token, oauth2_client_credentials,
8923
- * oauth2_jwt_bearer, gcp_wif, smart_backend_services, and
8924
- * bearer_token_exchange.
9085
+ * json_token_exchange, oauth2_jwt_bearer, gcp_wif,
9086
+ * smart_backend_services, and bearer_token_exchange.
8925
9087
  */
8926
9088
  AuthConfig: {
8927
9089
  /** Assertion Algorithm */
@@ -8986,6 +9148,12 @@ export interface components {
8986
9148
  * @default 3600
8987
9149
  */
8988
9150
  token_lifetime_seconds?: number;
9151
+ /** Token Request Client Id Field */
9152
+ token_request_client_id_field?: string | null;
9153
+ /** Token Request Client Secret Field */
9154
+ token_request_client_secret_field?: string | null;
9155
+ /** Token Response Path */
9156
+ token_response_path?: string | null;
8989
9157
  /** Token Ssm Param Path */
8990
9158
  token_ssm_param_path?: string | null;
8991
9159
  /** Token Url */
@@ -8994,7 +9162,7 @@ export interface components {
8994
9162
  * Type
8995
9163
  * @enum {string}
8996
9164
  */
8997
- type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
9165
+ type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "json_token_exchange" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
8998
9166
  };
8999
9167
  /**
9000
9168
  * AuthConfigWithSecrets
@@ -9071,6 +9239,12 @@ export interface components {
9071
9239
  * @default 3600
9072
9240
  */
9073
9241
  token_lifetime_seconds?: number;
9242
+ /** Token Request Client Id Field */
9243
+ token_request_client_id_field?: string | null;
9244
+ /** Token Request Client Secret Field */
9245
+ token_request_client_secret_field?: string | null;
9246
+ /** Token Response Path */
9247
+ token_response_path?: string | null;
9074
9248
  /** Token Ssm Param Path */
9075
9249
  token_ssm_param_path?: string | null;
9076
9250
  /** Token Url */
@@ -9079,7 +9253,7 @@ export interface components {
9079
9253
  * Type
9080
9254
  * @enum {string}
9081
9255
  */
9082
- type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
9256
+ type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "json_token_exchange" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
9083
9257
  };
9084
9258
  /** AuthInfoResponse */
9085
9259
  AuthInfoResponse: {
@@ -9609,6 +9783,8 @@ export interface components {
9609
9783
  };
9610
9784
  /** BridgeResponse */
9611
9785
  BridgeResponse: {
9786
+ /** Case Ids */
9787
+ case_ids?: string[];
9612
9788
  inferred_target_spec?: components["schemas"]["TargetSpec"] | null;
9613
9789
  /** Inferred Target Spec Rationale */
9614
9790
  inferred_target_spec_rationale?: string | null;
@@ -10153,6 +10329,7 @@ export interface components {
10153
10329
  /** Total Segments */
10154
10330
  total_segments: number;
10155
10331
  };
10332
+ CanonicalIdString: string;
10156
10333
  /** CatalogEntry */
10157
10334
  CatalogEntry: {
10158
10335
  /** Description */
@@ -10589,6 +10766,30 @@ export interface components {
10589
10766
  /** Status */
10590
10767
  status: string;
10591
10768
  };
10769
+ /**
10770
+ * ClinicOpenHoursParams
10771
+ * @description Workspace clinic open-hours by weekday.
10772
+ *
10773
+ * Days not present mean "closed." Used by the rules engine to skip
10774
+ * slots outside open hours and (combined with ``weekend_skip``) by the
10775
+ * TMS-mapping release calculator.
10776
+ */
10777
+ ClinicOpenHoursParams: {
10778
+ friday?: components["schemas"]["_DayHours"] | null;
10779
+ monday?: components["schemas"]["_DayHours"] | null;
10780
+ /**
10781
+ * @description discriminator enum property added by openapi-typescript
10782
+ * @enum {string}
10783
+ */
10784
+ rule_kind: "clinic_open_hours";
10785
+ saturday?: components["schemas"]["_DayHours"] | null;
10786
+ sunday?: components["schemas"]["_DayHours"] | null;
10787
+ thursday?: components["schemas"]["_DayHours"] | null;
10788
+ /** Timezone */
10789
+ timezone: string;
10790
+ tuesday?: components["schemas"]["_DayHours"] | null;
10791
+ wednesday?: components["schemas"]["_DayHours"] | null;
10792
+ };
10592
10793
  /** ClusterForecastPointRow */
10593
10794
  ClusterForecastPointRow: {
10594
10795
  /** Cluster Name */
@@ -10915,6 +11116,18 @@ export interface components {
10915
11116
  /** Similarity */
10916
11117
  similarity: number;
10917
11118
  };
11119
+ /**
11120
+ * ConcurrentStartBlockParams
11121
+ * @description Disallow two slots starting at the same time within a TMS scope.
11122
+ * No additional params — the discriminator is the whole config.
11123
+ */
11124
+ ConcurrentStartBlockParams: {
11125
+ /**
11126
+ * @description discriminator enum property added by openapi-typescript
11127
+ * @enum {string}
11128
+ */
11129
+ rule_kind: "concurrent_start_block";
11130
+ };
10918
11131
  /** ConfidenceBucket */
10919
11132
  ConfidenceBucket: {
10920
11133
  /**
@@ -12160,6 +12373,24 @@ export interface components {
12160
12373
  /** Tags */
12161
12374
  tags?: string[];
12162
12375
  };
12376
+ /** CreateSchedulingRuleSetRequest */
12377
+ CreateSchedulingRuleSetRequest: {
12378
+ /**
12379
+ * Agent Kind
12380
+ * @enum {string}
12381
+ */
12382
+ agent_kind: "tms" | "ketamine" | "general";
12383
+ /**
12384
+ * Is Active
12385
+ * @default true
12386
+ */
12387
+ is_active?: boolean;
12388
+ /**
12389
+ * Params
12390
+ * @description Per-rule-kind typed parameters. The ``rule_kind`` discriminator field selects the params shape; one row per (agent_kind, rule_kind) per workspace.
12391
+ */
12392
+ params: components["schemas"]["ClinicOpenHoursParams"] | components["schemas"]["TMSMappingReleaseParams"] | components["schemas"]["TMSSessionGridParams"] | components["schemas"]["KetamineBlockOverlapParams"] | components["schemas"]["NinetyDayRollingParams"] | components["schemas"]["ConcurrentStartBlockParams"];
12393
+ };
12163
12394
  /** CreateServiceRequest */
12164
12395
  CreateServiceRequest: {
12165
12396
  /**
@@ -12251,7 +12482,7 @@ export interface components {
12251
12482
  * @enum {string}
12252
12483
  */
12253
12484
  delivery?: "interrupt" | "queue";
12254
- description: components["schemas"]["StrippedNonemptyString"];
12485
+ description: components["schemas"]["DescriptionString"];
12255
12486
  /**
12256
12487
  * Enable Caching
12257
12488
  * @default true
@@ -12301,7 +12532,7 @@ export interface components {
12301
12532
  * @default claude-sonnet-4-6
12302
12533
  */
12303
12534
  model?: string;
12304
- name: components["schemas"]["StrippedNonemptyString"];
12535
+ name: components["schemas"]["NameString"];
12305
12536
  /** Result Schema */
12306
12537
  result_schema?: {
12307
12538
  [key: string]: unknown;
@@ -12310,7 +12541,7 @@ export interface components {
12310
12541
  slug: string;
12311
12542
  /** Static Tools */
12312
12543
  static_tools?: components["schemas"]["StaticToolDef-Input"][];
12313
- system_prompt?: components["schemas"]["StrippedNonemptyString"] | null;
12544
+ system_prompt?: components["schemas"]["BackgroundString"] | null;
12314
12545
  /** Thinking Effort */
12315
12546
  thinking_effort?: ("low" | "medium" | "high") | null;
12316
12547
  /**
@@ -12416,8 +12647,7 @@ export interface components {
12416
12647
  event_filter?: {
12417
12648
  [key: string]: unknown;
12418
12649
  } | null;
12419
- /** Event Type */
12420
- event_type: string;
12650
+ event_type: components["schemas"]["EventTypeString"];
12421
12651
  /** Input Template */
12422
12652
  input_template?: {
12423
12653
  [key: string]: unknown;
@@ -12456,7 +12686,7 @@ export interface components {
12456
12686
  /** CreateWebhookDestinationRequest */
12457
12687
  CreateWebhookDestinationRequest: {
12458
12688
  /** Accepted Event Types */
12459
- accepted_event_types?: string[];
12689
+ accepted_event_types?: components["schemas"]["EventTypeString"][];
12460
12690
  description?: components["schemas"]["DescriptionString"] | null;
12461
12691
  /** Field Mapping */
12462
12692
  field_mapping?: {
@@ -14649,6 +14879,134 @@ export interface components {
14649
14879
  /** Total Same As Edges */
14650
14880
  total_same_as_edges: number;
14651
14881
  };
14882
+ /**
14883
+ * EntityResolveExternalId
14884
+ * @description Reference to an external-system identifier.
14885
+ *
14886
+ * ``system`` labels which system minted the value (``epic``, ``hubspot``,
14887
+ * ``charm``, ``revolution``, …). The value is matched against any
14888
+ * nested key in ``world.entities.external_ids`` whose value equals
14889
+ * ``value``. ``system`` is informational for scoring; it doesn't
14890
+ * constrain the lookup, since adapters disagree on naming.
14891
+ */
14892
+ EntityResolveExternalId: {
14893
+ /** @description External system label (lowercase, e.g. 'epic', 'hubspot'). */
14894
+ system: components["schemas"]["ExternalSystemString"];
14895
+ /** @description System-issued identifier. */
14896
+ value: components["schemas"]["ExternalValueString"];
14897
+ };
14898
+ /**
14899
+ * EntityResolveMatch
14900
+ * @description One candidate match with provenance + confidence.
14901
+ */
14902
+ EntityResolveMatch: {
14903
+ /**
14904
+ * Confidence
14905
+ * @description Match confidence (0-1).
14906
+ */
14907
+ confidence: number;
14908
+ /**
14909
+ * Entity Id
14910
+ * Format: uuid
14911
+ */
14912
+ entity_id: string;
14913
+ /** Entity Type */
14914
+ entity_type: string;
14915
+ /**
14916
+ * Matched On
14917
+ * @description Identifier kinds that actually matched this row.
14918
+ */
14919
+ matched_on?: ("entity_id" | "phone" | "email" | "canonical_id" | "external_id")[];
14920
+ summary: components["schemas"]["EntityResolveSummary"];
14921
+ };
14922
+ /**
14923
+ * EntityResolveRequest
14924
+ * @description Polymorphic identifier query.
14925
+ *
14926
+ * Provide ``entity_type`` plus any subset of identifier fields. Each
14927
+ * identifier is OR-ed in SQL; matches are ranked by confidence and
14928
+ * by the number of identifiers that actually matched the row.
14929
+ * Returns at most ``limit`` candidates (default 25, max 50).
14930
+ *
14931
+ * For latency-sensitive callers (inbound voice, webhook handlers),
14932
+ * pass exactly one identifier — the indexed lookup is sub-10ms.
14933
+ * Multi-identifier queries are useful for confirming a row matches
14934
+ * on more than one signal (phone + email + MRN).
14935
+ */
14936
+ EntityResolveRequest: {
14937
+ /** @description Canonical/MRN identifier ('charm:Patient:42' or raw MRN). */
14938
+ canonical_id?: components["schemas"]["CanonicalIdString"] | null;
14939
+ /**
14940
+ * Email
14941
+ * @description Primary email (case-insensitive match).
14942
+ */
14943
+ email?: string | null;
14944
+ /**
14945
+ * Entity Id
14946
+ * @description Direct UUID lookup. Useful for confirming an entity exists / re-fetching summary.
14947
+ */
14948
+ entity_id?: string | null;
14949
+ /** @description Required entity type filter (e.g. 'person'). Narrows the scan to the right index. */
14950
+ entity_type: components["schemas"]["EntityTypeString"];
14951
+ /** @description External-system identifier reference. */
14952
+ external_id?: components["schemas"]["EntityResolveExternalId"] | null;
14953
+ /**
14954
+ * Limit
14955
+ * @description Maximum candidates to return.
14956
+ * @default 25
14957
+ */
14958
+ limit?: number;
14959
+ /** @description E.164 phone number. */
14960
+ phone?: components["schemas"]["PhoneE164"] | null;
14961
+ };
14962
+ /** EntityResolveResponse */
14963
+ EntityResolveResponse: {
14964
+ /** Matches */
14965
+ matches?: components["schemas"]["EntityResolveMatch"][];
14966
+ /**
14967
+ * Total
14968
+ * @description Number of candidates returned.
14969
+ */
14970
+ total: number;
14971
+ };
14972
+ /**
14973
+ * EntityResolveSummary
14974
+ * @description Compact identity card returned for each match.
14975
+ *
14976
+ * Excludes the full ``state`` JSONB and the entity embedding — fetch
14977
+ * via ``GET /v1/{ws}/entities/{entity_id}`` if needed. The fields
14978
+ * here are the ones a UI / agent needs to confirm "yes, that's the
14979
+ * right person" before paying for the full state read.
14980
+ */
14981
+ EntityResolveSummary: {
14982
+ /** Birth Date */
14983
+ birth_date?: string | null;
14984
+ /** Canonical Id */
14985
+ canonical_id?: string | null;
14986
+ /** Display Name */
14987
+ display_name?: string | null;
14988
+ /** Email */
14989
+ email?: string | null;
14990
+ /**
14991
+ * Event Count
14992
+ * @default 0
14993
+ */
14994
+ event_count?: number;
14995
+ /** External Ids */
14996
+ external_ids?: {
14997
+ [key: string]: unknown;
14998
+ };
14999
+ /** Last Event At */
15000
+ last_event_at?: string | null;
15001
+ /** Mrn */
15002
+ mrn?: string | null;
15003
+ /** Name */
15004
+ name?: string | null;
15005
+ /** Phone */
15006
+ phone?: string | null;
15007
+ /** Tags */
15008
+ tags?: string[];
15009
+ };
14652
15010
  /** EntityResponse */
14653
15011
  EntityResponse: {
14654
15012
  /**
@@ -14865,6 +15223,7 @@ export interface components {
14865
15223
  /** Total Entities */
14866
15224
  total_entities: number;
14867
15225
  };
15226
+ EntityTypeString: string;
14868
15227
  /** EntityTypeSummary */
14869
15228
  EntityTypeSummary: {
14870
15229
  /** Count */
@@ -15193,6 +15552,7 @@ export interface components {
15193
15552
  /** Total Events */
15194
15553
  total_events: number;
15195
15554
  };
15555
+ EventTypeString: string;
15196
15556
  /** EventTypeSummary */
15197
15557
  EventTypeSummary: {
15198
15558
  /** Count */
@@ -15275,6 +15635,8 @@ export interface components {
15275
15635
  */
15276
15636
  recommend_candidates?: number;
15277
15637
  };
15638
+ ExternalSystemString: string;
15639
+ ExternalValueString: string;
15278
15640
  /** FeatureDef */
15279
15641
  FeatureDef: {
15280
15642
  /** Kind */
@@ -16450,6 +16812,11 @@ export interface components {
16450
16812
  /** Scan Interval Seconds */
16451
16813
  scan_interval_seconds: number;
16452
16814
  };
16815
+ /** GetSimulationBenchmarkResultsRequest */
16816
+ GetSimulationBenchmarkResultsRequest: {
16817
+ /** Run Ids */
16818
+ run_ids: string[];
16819
+ };
16453
16820
  /**
16454
16821
  * Guardrail
16455
16822
  * @description Typed safety rule enforced per-state (not just global freetext guidelines).
@@ -17277,6 +17644,20 @@ export interface components {
17277
17644
  */
17278
17645
  participant_call_sid: string;
17279
17646
  };
17647
+ /**
17648
+ * KetamineBlockOverlapParams
17649
+ * @description How many days after a ketamine session to block follow-up
17650
+ * appointments (clinical safety window).
17651
+ */
17652
+ KetamineBlockOverlapParams: {
17653
+ /**
17654
+ * @description discriminator enum property added by openapi-typescript
17655
+ * @enum {string}
17656
+ */
17657
+ rule_kind: "ketamine_block_overlap";
17658
+ /** Window Days */
17659
+ window_days: number;
17660
+ };
17280
17661
  /**
17281
17662
  * KeyMoment
17282
17663
  * @description Notable event during the call worth highlighting.
@@ -18308,6 +18689,20 @@ export interface components {
18308
18689
  */
18309
18690
  used_fallback?: boolean | null;
18310
18691
  };
18692
+ /**
18693
+ * NinetyDayRollingParams
18694
+ * @description Rolling-window cap on appointments per patient (e.g. 90 days
18695
+ * between TMS sessions).
18696
+ */
18697
+ NinetyDayRollingParams: {
18698
+ /** Days */
18699
+ days: number;
18700
+ /**
18701
+ * @description discriminator enum property added by openapi-typescript
18702
+ * @enum {string}
18703
+ */
18704
+ rule_kind: "ninety_day_rolling";
18705
+ };
18311
18706
  /** NonDesiredState */
18312
18707
  NonDesiredState: {
18313
18708
  /**
@@ -19194,6 +19589,17 @@ export interface components {
19194
19589
  /** Total */
19195
19590
  total?: number | null;
19196
19591
  };
19592
+ /** PaginatedResponse[SchedulingRuleSetResponse] */
19593
+ PaginatedResponse_SchedulingRuleSetResponse_: {
19594
+ /** Continuation Token */
19595
+ continuation_token?: number | null;
19596
+ /** Has More */
19597
+ has_more: boolean;
19598
+ /** Items */
19599
+ items: components["schemas"]["SchedulingRuleSetResponse"][];
19600
+ /** Total */
19601
+ total?: number | null;
19602
+ };
19197
19603
  /** PaginatedResponse[ServiceResponse] */
19198
19604
  PaginatedResponse_ServiceResponse_: {
19199
19605
  /** Continuation Token */
@@ -21145,6 +21551,53 @@ export interface components {
21145
21551
  /** Secret */
21146
21552
  secret: string;
21147
21553
  };
21554
+ /** RunSimulationBenchmarkRequest */
21555
+ RunSimulationBenchmarkRequest: {
21556
+ /** Branch Name */
21557
+ branch_name?: string | null;
21558
+ /**
21559
+ * Concurrency
21560
+ * @default 1
21561
+ */
21562
+ concurrency?: number;
21563
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
21564
+ /**
21565
+ * Max Cases
21566
+ * @default 20
21567
+ */
21568
+ max_cases?: number;
21569
+ /**
21570
+ * Max Turns
21571
+ * @default 20
21572
+ */
21573
+ max_turns?: number;
21574
+ /** Required Tags */
21575
+ required_tags?: string[];
21576
+ /** Service Id */
21577
+ service_id?: string | null;
21578
+ /** Tags */
21579
+ tags?: string[];
21580
+ };
21581
+ /** RunSimulationCaseRequest */
21582
+ RunSimulationCaseRequest: {
21583
+ /** Branch Name */
21584
+ branch_name?: string | null;
21585
+ /**
21586
+ * Concurrency
21587
+ * @default 1
21588
+ */
21589
+ concurrency?: number;
21590
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
21591
+ /**
21592
+ * Max Turns
21593
+ * @default 20
21594
+ */
21595
+ max_turns?: number;
21596
+ /** Service Id */
21597
+ service_id?: string | null;
21598
+ /** Tags */
21599
+ tags?: string[];
21600
+ };
21148
21601
  /** SafetyConfigResponse */
21149
21602
  SafetyConfigResponse: {
21150
21603
  /** Accumulation Cumulative Count */
@@ -21381,6 +21834,8 @@ export interface components {
21381
21834
  };
21382
21835
  /** Scenario */
21383
21836
  Scenario: {
21837
+ /** Case Id */
21838
+ case_id?: string | null;
21384
21839
  /** Description */
21385
21840
  description: string;
21386
21841
  /** Initial Message */
@@ -21422,6 +21877,47 @@ export interface components {
21422
21877
  */
21423
21878
  role?: string;
21424
21879
  };
21880
+ /**
21881
+ * SchedulingRuleSetResponse
21882
+ * @description Wire shape for a single rule set. ``params`` stays as ``dict``
21883
+ * here (not the discriminated union) so add-a-new-kind doesn't break
21884
+ * older clients still on the previous SDK version — the SDK's typed
21885
+ * helpers can re-validate into ``RuleParams`` when needed.
21886
+ */
21887
+ SchedulingRuleSetResponse: {
21888
+ /**
21889
+ * Agent Kind
21890
+ * @enum {string}
21891
+ */
21892
+ agent_kind: "tms" | "ketamine" | "general";
21893
+ /** Created At */
21894
+ created_at: string | null;
21895
+ /** Created By */
21896
+ created_by: string | null;
21897
+ /**
21898
+ * Id
21899
+ * Format: uuid
21900
+ */
21901
+ id: string;
21902
+ /** Is Active */
21903
+ is_active: boolean;
21904
+ /** Params */
21905
+ params: {
21906
+ [key: string]: unknown;
21907
+ };
21908
+ /**
21909
+ * Rule Kind
21910
+ * @enum {string}
21911
+ */
21912
+ rule_kind: "clinic_open_hours" | "tms_mapping_release" | "tms_session_grid" | "ketamine_block_overlap" | "ninety_day_rolling" | "concurrent_start_block";
21913
+ /** Updated At */
21914
+ updated_at: string | null;
21915
+ /**
21916
+ * Workspace Id
21917
+ * Format: uuid
21918
+ */
21919
+ workspace_id: string;
21920
+ };
21425
21921
  /** SchemaResponse */
21426
21922
  SchemaResponse: {
21427
21923
  /** Ai Functions */
@@ -22124,6 +22620,267 @@ export interface components {
22124
22620
  */
22125
22621
  signal: string;
22126
22622
  };
22623
+ /** SimulationBenchmarkAggregateSummary */
22624
+ SimulationBenchmarkAggregateSummary: {
22625
+ /** Average Score */
22626
+ average_score?: number | null;
22627
+ /** Failed To Start Count */
22628
+ failed_to_start_count: number;
22629
+ /**
22630
+ * Scored Count
22631
+ * @default 0
22632
+ */
22633
+ scored_count?: number;
22634
+ /** Selected Count */
22635
+ selected_count: number;
22636
+ /** Skipped Count */
22637
+ skipped_count: number;
22638
+ /** Started Count */
22639
+ started_count: number;
22640
+ /** Status Counts */
22641
+ status_counts?: {
22642
+ [key: string]: number;
22643
+ };
22644
+ };
22645
+ /** SimulationBenchmarkBreakdownSummary */
22646
+ SimulationBenchmarkBreakdownSummary: {
22647
+ /** Average Score */
22648
+ average_score?: number | null;
22649
+ /**
22650
+ * Completed Count
22651
+ * @default 0
22652
+ */
22653
+ completed_count?: number;
22654
+ /**
22655
+ * Fail Count
22656
+ * @default 0
22657
+ */
22658
+ fail_count?: number;
22659
+ /**
22660
+ * Failed Count
22661
+ * @default 0
22662
+ */
22663
+ failed_count?: number;
22664
+ /**
22665
+ * Pass Count
22666
+ * @default 0
22667
+ */
22668
+ pass_count?: number;
22669
+ /**
22670
+ * Run Count
22671
+ * @default 0
22672
+ */
22673
+ run_count?: number;
22674
+ /**
22675
+ * Scored Count
22676
+ * @default 0
22677
+ */
22678
+ scored_count?: number;
22679
+ /** Status Counts */
22680
+ status_counts?: {
22681
+ [key: string]: number;
22682
+ };
22683
+ };
22684
+ /** SimulationBenchmarkCaseResult */
22685
+ SimulationBenchmarkCaseResult: {
22686
+ /**
22687
+ * Case Id
22688
+ * Format: uuid
22689
+ */
22690
+ case_id: string;
22691
+ /** Reason */
22692
+ reason?: string | null;
22693
+ /** Result Pointer */
22694
+ result_pointer?: {
22695
+ [key: string]: unknown;
22696
+ } | null;
22697
+ /** Run Id */
22698
+ run_id?: string | null;
22699
+ /** Service Id */
22700
+ service_id?: string | null;
22701
+ /**
22702
+ * Status
22703
+ * @enum {string}
22704
+ */
22705
+ status: "started" | "skipped" | "failed_to_start";
22706
+ };
22707
+ /** SimulationBenchmarkPerRunSummary */
22708
+ SimulationBenchmarkPerRunSummary: {
22709
+ /** Average Score */
22710
+ average_score?: number | null;
22711
+ /** Capability Tags */
22712
+ capability_tags?: string[];
22713
+ /** Case Ids */
22714
+ case_ids?: string[];
22715
+ /** Completed At */
22716
+ completed_at?: string | null;
22717
+ /** Created At */
22718
+ created_at?: string | null;
22719
+ /**
22720
+ * Fail Count
22721
+ * @default 0
22722
+ */
22723
+ fail_count?: number;
22724
+ /** Immediate Average Score */
22725
+ immediate_average_score?: number | null;
22726
+ /**
22727
+ * Immediate Fail Count
22728
+ * @default 0
22729
+ */
22730
+ immediate_fail_count?: number;
22731
+ /**
22732
+ * Immediate Pass Count
22733
+ * @default 0
22734
+ */
22735
+ immediate_pass_count?: number;
22736
+ /** Immediate Passed */
22737
+ immediate_passed?: boolean | null;
22738
+ /**
22739
+ * Metric Result Count
22740
+ * @default 0
22741
+ */
22742
+ metric_result_count?: number;
22743
+ /**
22744
+ * Metric Status
22745
+ * @default pending
22746
+ * @enum {string}
22747
+ */
22748
+ metric_status?: "pending" | "available" | "unavailable";
22749
+ /** Metrics Last Checked At */
22750
+ metrics_last_checked_at?: string | null;
22751
+ /**
22752
+ * Pass Count
22753
+ * @default 0
22754
+ */
22755
+ pass_count?: number;
22756
+ /** Passed */
22757
+ passed?: boolean | null;
22758
+ /** Result Pointer */
22759
+ result_pointer?: {
22760
+ [key: string]: unknown;
22761
+ };
22762
+ /**
22763
+ * Run Id
22764
+ * Format: uuid
22765
+ */
22766
+ run_id: string;
22767
+ /** Score Rationales */
22768
+ score_rationales?: string[];
22769
+ /**
22770
+ * Scored Session Count
22771
+ * @default 0
22772
+ */
22773
+ scored_session_count?: number;
22774
+ /**
22775
+ * Service Id
22776
+ * Format: uuid
22777
+ */
22778
+ service_id: string;
22779
+ /** Session Ids */
22780
+ session_ids?: string[];
22781
+ /**
22782
+ * Status
22783
+ * @enum {string}
22784
+ */
22785
+ status: "running" | "completed" | "failed";
22786
+ /** Tags */
22787
+ tags?: string[];
22788
+ /**
22789
+ * Terminal Session Count
22790
+ * @default 0
22791
+ */
22792
+ terminal_session_count?: number;
22793
+ /**
22794
+ * Total Sessions
22795
+ * @default 0
22796
+ */
22797
+ total_sessions?: number;
22798
+ /**
22799
+ * Total Turns
22800
+ * @default 0
22801
+ */
22802
+ total_turns?: number;
22803
+ };
22804
+ /** SimulationBenchmarkResultsResponse */
22805
+ SimulationBenchmarkResultsResponse: {
22806
+ /** Average Score */
22807
+ average_score?: number | null;
22808
+ /** Capability Breakdown */
22809
+ capability_breakdown?: {
22810
+ [key: string]: components["schemas"]["SimulationBenchmarkBreakdownSummary"];
22811
+ };
22812
+ /**
22813
+ * Completed Count
22814
+ * @default 0
22815
+ */
22816
+ completed_count?: number;
22817
+ /**
22818
+ * Fail Count
22819
+ * @default 0
22820
+ */
22821
+ fail_count?: number;
22822
+ /**
22823
+ * Failed Count
22824
+ * @default 0
22825
+ */
22826
+ failed_count?: number;
22827
+ /**
22828
+ * Metric Result Count
22829
+ * @default 0
22830
+ */
22831
+ metric_result_count?: number;
22832
+ /**
22833
+ * Metric Status
22834
+ * @default pending
22835
+ * @enum {string}
22836
+ */
22837
+ metric_status?: "pending" | "available" | "unavailable";
22838
+ /** Metrics Last Checked At */
22839
+ metrics_last_checked_at?: string | null;
22840
+ /** Missing Run Ids */
22841
+ missing_run_ids?: string[];
22842
+ /**
22843
+ * Pass Count
22844
+ * @default 0
22845
+ */
22846
+ pass_count?: number;
22847
+ /** Per Run */
22848
+ per_run?: components["schemas"]["SimulationBenchmarkPerRunSummary"][];
22849
+ /** Run Ids */
22850
+ run_ids: string[];
22851
+ /**
22852
+ * Scored Count
22853
+ * @default 0
22854
+ */
22855
+ scored_count?: number;
22856
+ /** Status Counts */
22857
+ status_counts?: {
22858
+ [key: string]: number;
22859
+ };
22860
+ /** Total Runs */
22861
+ total_runs: number;
22862
+ };
22863
+ /** SimulationBenchmarkRunResponse */
22864
+ SimulationBenchmarkRunResponse: {
22865
+ aggregate_summary: components["schemas"]["SimulationBenchmarkAggregateSummary"];
22866
+ /**
22867
+ * Batch Id
22868
+ * Format: uuid
22869
+ */
22870
+ batch_id: string;
22871
+ /** Cases */
22872
+ cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22873
+ /** Failed To Start Cases */
22874
+ failed_to_start_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22875
+ /** Required Tags */
22876
+ required_tags: string[];
22877
+ /** Run Ids */
22878
+ run_ids: string[];
22879
+ /** Selected Case Ids */
22880
+ selected_case_ids: string[];
22881
+ /** Skipped Cases */
22882
+ skipped_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
22883
+ };
22127
22884
  /** SimulationIntelligenceResponse */
22128
22885
  SimulationIntelligenceResponse: {
22129
22886
  /** Intelligence */
@@ -22192,6 +22949,19 @@ export interface components {
22192
22949
  * Format: uuid
22193
22950
  */
22194
22951
  id: string;
22952
+ /**
22953
+ * Metric Result Count
22954
+ * @default 0
22955
+ */
22956
+ metric_result_count?: number;
22957
+ /**
22958
+ * Metric Status
22959
+ * @default pending
22960
+ * @enum {string}
22961
+ */
22962
+ metric_status?: "pending" | "available" | "unavailable";
22963
+ /** Metrics Last Checked At */
22964
+ metrics_last_checked_at?: string | null;
22195
22965
  /** Objective */
22196
22966
  objective?: string | null;
22197
22967
  /** Scenarios */
@@ -22203,6 +22973,10 @@ export interface components {
22203
22973
  * Format: uuid
22204
22974
  */
22205
22975
  service_id: string;
22976
+ /** Snapshot */
22977
+ snapshot?: {
22978
+ [key: string]: unknown;
22979
+ } | null;
22206
22980
  /**
22207
22981
  * Status
22208
22982
  * @enum {string}
@@ -23775,6 +24549,43 @@ export interface components {
23775
24549
  /** Status */
23776
24550
  status: string;
23777
24551
  };
24552
+ /**
24553
+ * TMSMappingReleaseParams
24554
+ * @description How long before a TMS mapping appointment its slot is released
24555
+ * back to the pool. ``weekend_skip=True`` adds Saturday + Sunday days
24556
+ * to the wall-clock countdown (clinic doesn't release on weekends).
24557
+ */
24558
+ TMSMappingReleaseParams: {
24559
+ /** Reservation Window Hours */
24560
+ reservation_window_hours: number;
24561
+ /**
24562
+ * @description discriminator enum property added by openapi-typescript
24563
+ * @enum {string}
24564
+ */
24565
+ rule_kind: "tms_mapping_release";
24566
+ /**
24567
+ * Weekend Skip
24568
+ * @default true
24569
+ */
24570
+ weekend_skip?: boolean;
24571
+ };
24572
+ /**
24573
+ * TMSSessionGridParams
24574
+ * @description TMS sessions only start at fixed minute-of-hour boundaries
24575
+ * (e.g. ``:00`` and ``:30``) so the technician can run them
24576
+ * back-to-back without gaps.
24577
+ */
24578
+ TMSSessionGridParams: {
24579
+ /** Boundary Minutes */
24580
+ boundary_minutes: number[];
24581
+ /** Interval Minutes */
24582
+ interval_minutes: number;
24583
+ /**
24584
+ * @description discriminator enum property added by openapi-typescript
24585
+ * @enum {string}
24586
+ */
24587
+ rule_kind: "tms_session_grid";
24588
+ };
23778
24589
  /** TargetSpec */
23779
24590
  TargetSpec: {
23780
24591
  completion_criteria?: components["schemas"]["CompletionCriteria"];
@@ -24258,21 +25069,43 @@ export interface components {
24258
25069
  };
24259
25070
  /** ToolCallCompletedEvent */
24260
25071
  ToolCallCompletedEvent: {
25072
+ /** Call Id */
25073
+ call_id: string;
24261
25074
  /**
24262
25075
  * Duration Ms
24263
25076
  * @default null
24264
25077
  */
24265
25078
  duration_ms?: number | null;
24266
25079
  /**
24267
- * Error
25080
+ * Endpoint Name
24268
25081
  * @default null
24269
25082
  */
24270
- error?: string | null;
25083
+ endpoint_name?: string | null;
25084
+ /**
25085
+ * Error Message
25086
+ * @default null
25087
+ */
25088
+ error_message?: string | null;
25089
+ /**
25090
+ * Integration Name
25091
+ * @default null
25092
+ */
25093
+ integration_name?: string | null;
24271
25094
  /**
24272
25095
  * Output
24273
25096
  * @default null
24274
25097
  */
24275
25098
  output?: string | null;
25099
+ /**
25100
+ * Parent Call Id
25101
+ * @default null
25102
+ */
25103
+ parent_call_id?: string | null;
25104
+ /**
25105
+ * Protocol
25106
+ * @default null
25107
+ */
25108
+ protocol?: string | null;
24276
25109
  /**
24277
25110
  * Succeeded
24278
25111
  * @default true
@@ -24345,13 +25178,35 @@ export interface components {
24345
25178
  };
24346
25179
  /** ToolCallStartedEvent */
24347
25180
  ToolCallStartedEvent: {
25181
+ /** Call Id */
25182
+ call_id: string;
25183
+ /**
25184
+ * Endpoint Name
25185
+ * @default null
25186
+ */
25187
+ endpoint_name?: string | null;
24348
25188
  /**
24349
- * Tool Input
25189
+ * Input
24350
25190
  * @default null
24351
25191
  */
24352
- tool_input?: {
25192
+ input?: {
24353
25193
  [key: string]: unknown;
24354
- } | null;
25194
+ } | string | null;
25195
+ /**
25196
+ * Integration Name
25197
+ * @default null
25198
+ */
25199
+ integration_name?: string | null;
25200
+ /**
25201
+ * Parent Call Id
25202
+ * @default null
25203
+ */
25204
+ parent_call_id?: string | null;
25205
+ /**
25206
+ * Protocol
25207
+ * @default null
25208
+ */
25209
+ protocol?: string | null;
24355
25210
  /** Tool Name */
24356
25211
  tool_name: string;
24357
25212
  /**
@@ -25553,6 +26408,18 @@ export interface components {
25553
26408
  /** Triage Timeout S */
25554
26409
  triage_timeout_s?: number | null;
25555
26410
  };
26411
+ /**
26412
+ * UpdateSchedulingRuleSetRequest
26413
+ * @description Partial update — fields not provided are unchanged. ``params``
26414
+ * must be the full per-kind shape (no patch within params); send the
26415
+ * whole RuleParams or omit.
26416
+ */
26417
+ UpdateSchedulingRuleSetRequest: {
26418
+ /** Is Active */
26419
+ is_active?: boolean | null;
26420
+ /** Params */
26421
+ params?: (components["schemas"]["ClinicOpenHoursParams"] | components["schemas"]["TMSMappingReleaseParams"] | components["schemas"]["TMSSessionGridParams"] | components["schemas"]["KetamineBlockOverlapParams"] | components["schemas"]["NinetyDayRollingParams"] | components["schemas"]["ConcurrentStartBlockParams"]) | null;
26422
+ };
25556
26423
  /** UpdateServiceRequest */
25557
26424
  UpdateServiceRequest: {
25558
26425
  /** Agent Id */
@@ -25598,7 +26465,7 @@ export interface components {
25598
26465
  checkpoint_enabled?: boolean | null;
25599
26466
  /** Delivery */
25600
26467
  delivery?: ("interrupt" | "queue") | null;
25601
- description?: components["schemas"]["StrippedNonemptyString"] | null;
26468
+ description?: components["schemas"]["DescriptionString"] | null;
25602
26469
  /** Enable Caching */
25603
26470
  enable_caching?: boolean | null;
25604
26471
  /** Enable Citations */
@@ -25623,14 +26490,14 @@ export interface components {
25623
26490
  max_tokens?: number | null;
25624
26491
  /** Model */
25625
26492
  model?: string | null;
25626
- name?: components["schemas"]["StrippedNonemptyString"] | null;
26493
+ name?: components["schemas"]["NameString"] | null;
25627
26494
  /** Result Schema */
25628
26495
  result_schema?: {
25629
26496
  [key: string]: unknown;
25630
26497
  } | null;
25631
26498
  /** Static Tools */
25632
26499
  static_tools?: components["schemas"]["StaticToolDef-Input"][] | null;
25633
- system_prompt?: components["schemas"]["StrippedNonemptyString"] | null;
26500
+ system_prompt?: components["schemas"]["BackgroundString"] | null;
25634
26501
  /** Thinking Effort */
25635
26502
  thinking_effort?: ("low" | "medium" | "high") | null;
25636
26503
  /** Timeout S */
@@ -25707,8 +26574,7 @@ export interface components {
25707
26574
  event_filter?: {
25708
26575
  [key: string]: unknown;
25709
26576
  } | null;
25710
- /** Event Type */
25711
- event_type?: string | null;
26577
+ event_type?: components["schemas"]["EventTypeString"] | null;
25712
26578
  /** Input Template */
25713
26579
  input_template?: {
25714
26580
  [key: string]: unknown;
@@ -25741,7 +26607,7 @@ export interface components {
25741
26607
  /** UpdateWebhookDestinationRequest */
25742
26608
  UpdateWebhookDestinationRequest: {
25743
26609
  /** Accepted Event Types */
25744
- accepted_event_types?: string[] | null;
26610
+ accepted_event_types?: components["schemas"]["EventTypeString"][] | null;
25745
26611
  description?: components["schemas"]["DescriptionString"] | null;
25746
26612
  /** Field Mapping */
25747
26613
  field_mapping?: {
@@ -26968,6 +27834,17 @@ export interface components {
26968
27834
  /** Success */
26969
27835
  success: boolean;
26970
27836
  };
27837
+ /**
27838
+ * _DayHours
27839
+ * @description Open-hours window for one weekday. Times in 24h ``HH:MM`` form,
27840
+ * interpreted in the rule set's ``timezone``.
27841
+ */
27842
+ _DayHours: {
27843
+ /** End */
27844
+ end: string;
27845
+ /** Start */
27846
+ start: string;
27847
+ };
26971
27848
  _ToolMockKey: string;
26972
27849
  _ToolMockValue: string;
26973
27850
  /**
@@ -33879,6 +34756,48 @@ export interface operations {
33879
34756
  };
33880
34757
  };
33881
34758
  };
34759
+ "fhir-import-stream": {
34760
+ parameters: {
34761
+ query?: {
34762
+ source?: string;
34763
+ source_system?: string | null;
34764
+ data_source_id?: string | null;
34765
+ };
34766
+ header?: never;
34767
+ path: {
34768
+ workspace_id: string;
34769
+ };
34770
+ cookie?: never;
34771
+ };
34772
+ requestBody?: never;
34773
+ responses: {
34774
+ /** @description Successful Response */
34775
+ 200: {
34776
+ headers: {
34777
+ [name: string]: unknown;
34778
+ };
34779
+ content: {
34780
+ "application/json": components["schemas"]["FhirImportResponse"];
34781
+ };
34782
+ };
34783
+ /** @description Stream exceeded line cap. */
34784
+ 400: {
34785
+ headers: {
34786
+ [name: string]: unknown;
34787
+ };
34788
+ content?: never;
34789
+ };
34790
+ /** @description Validation Error */
34791
+ 422: {
34792
+ headers: {
34793
+ [name: string]: unknown;
34794
+ };
34795
+ content: {
34796
+ "application/json": components["schemas"]["HTTPValidationError"];
34797
+ };
34798
+ };
34799
+ };
34800
+ };
33882
34801
  "fhir-patient-search": {
33883
34802
  parameters: {
33884
34803
  query?: {
@@ -39753,6 +40672,304 @@ export interface operations {
39753
40672
  };
39754
40673
  };
39755
40674
  };
40675
+ "list-scheduling-rule-sets": {
40676
+ parameters: {
40677
+ query?: {
40678
+ agent_kind?: ("tms" | "ketamine" | "general") | null;
40679
+ is_active?: boolean | null;
40680
+ limit?: number;
40681
+ continuation_token?: number;
40682
+ };
40683
+ header?: never;
40684
+ path: {
40685
+ workspace_id: string;
40686
+ };
40687
+ cookie?: never;
40688
+ };
40689
+ requestBody?: never;
40690
+ responses: {
40691
+ /** @description Successful Response */
40692
+ 200: {
40693
+ headers: {
40694
+ [name: string]: unknown;
40695
+ };
40696
+ content: {
40697
+ "application/json": components["schemas"]["PaginatedResponse_SchedulingRuleSetResponse_"];
40698
+ };
40699
+ };
40700
+ /** @description Missing or invalid API key. */
40701
+ 401: {
40702
+ headers: {
40703
+ [name: string]: unknown;
40704
+ };
40705
+ content?: never;
40706
+ };
40707
+ /** @description Insufficient permissions. */
40708
+ 403: {
40709
+ headers: {
40710
+ [name: string]: unknown;
40711
+ };
40712
+ content?: never;
40713
+ };
40714
+ /** @description Validation Error */
40715
+ 422: {
40716
+ headers: {
40717
+ [name: string]: unknown;
40718
+ };
40719
+ content: {
40720
+ "application/json": components["schemas"]["HTTPValidationError"];
40721
+ };
40722
+ };
40723
+ /** @description Rate limited. */
40724
+ 429: {
40725
+ headers: {
40726
+ [name: string]: unknown;
40727
+ };
40728
+ content?: never;
40729
+ };
40730
+ };
40731
+ };
40732
+ "create-scheduling-rule-set": {
40733
+ parameters: {
40734
+ query?: never;
40735
+ header?: never;
40736
+ path: {
40737
+ workspace_id: string;
40738
+ };
40739
+ cookie?: never;
40740
+ };
40741
+ requestBody: {
40742
+ content: {
40743
+ "application/json": components["schemas"]["CreateSchedulingRuleSetRequest"];
40744
+ };
40745
+ };
40746
+ responses: {
40747
+ /** @description Successful Response */
40748
+ 201: {
40749
+ headers: {
40750
+ [name: string]: unknown;
40751
+ };
40752
+ content: {
40753
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40754
+ };
40755
+ };
40756
+ /** @description Missing or invalid API key. */
40757
+ 401: {
40758
+ headers: {
40759
+ [name: string]: unknown;
40760
+ };
40761
+ content?: never;
40762
+ };
40763
+ /** @description Insufficient permissions. */
40764
+ 403: {
40765
+ headers: {
40766
+ [name: string]: unknown;
40767
+ };
40768
+ content?: never;
40769
+ };
40770
+ /** @description Rule set already exists for this (agent_kind, rule_kind). */
40771
+ 409: {
40772
+ headers: {
40773
+ [name: string]: unknown;
40774
+ };
40775
+ content?: never;
40776
+ };
40777
+ /** @description Invalid request body or rule_kind discriminator. */
40778
+ 422: {
40779
+ headers: {
40780
+ [name: string]: unknown;
40781
+ };
40782
+ content?: never;
40783
+ };
40784
+ /** @description Rate limited. */
40785
+ 429: {
40786
+ headers: {
40787
+ [name: string]: unknown;
40788
+ };
40789
+ content?: never;
40790
+ };
40791
+ };
40792
+ };
40793
+ "get-scheduling-rule-set": {
40794
+ parameters: {
40795
+ query?: never;
40796
+ header?: never;
40797
+ path: {
40798
+ workspace_id: string;
40799
+ rule_set_id: string;
40800
+ };
40801
+ cookie?: never;
40802
+ };
40803
+ requestBody?: never;
40804
+ responses: {
40805
+ /** @description Successful Response */
40806
+ 200: {
40807
+ headers: {
40808
+ [name: string]: unknown;
40809
+ };
40810
+ content: {
40811
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40812
+ };
40813
+ };
40814
+ /** @description Missing or invalid API key. */
40815
+ 401: {
40816
+ headers: {
40817
+ [name: string]: unknown;
40818
+ };
40819
+ content?: never;
40820
+ };
40821
+ /** @description Insufficient permissions. */
40822
+ 403: {
40823
+ headers: {
40824
+ [name: string]: unknown;
40825
+ };
40826
+ content?: never;
40827
+ };
40828
+ /** @description Rule set not found in this workspace. */
40829
+ 404: {
40830
+ headers: {
40831
+ [name: string]: unknown;
40832
+ };
40833
+ content?: never;
40834
+ };
40835
+ /** @description Validation Error */
40836
+ 422: {
40837
+ headers: {
40838
+ [name: string]: unknown;
40839
+ };
40840
+ content: {
40841
+ "application/json": components["schemas"]["HTTPValidationError"];
40842
+ };
40843
+ };
40844
+ /** @description Rate limited. */
40845
+ 429: {
40846
+ headers: {
40847
+ [name: string]: unknown;
40848
+ };
40849
+ content?: never;
40850
+ };
40851
+ };
40852
+ };
40853
+ "delete-scheduling-rule-set": {
40854
+ parameters: {
40855
+ query?: never;
40856
+ header?: never;
40857
+ path: {
40858
+ workspace_id: string;
40859
+ rule_set_id: string;
40860
+ };
40861
+ cookie?: never;
40862
+ };
40863
+ requestBody?: never;
40864
+ responses: {
40865
+ /** @description Successful Response */
40866
+ 204: {
40867
+ headers: {
40868
+ [name: string]: unknown;
40869
+ };
40870
+ content?: never;
40871
+ };
40872
+ /** @description Missing or invalid API key. */
40873
+ 401: {
40874
+ headers: {
40875
+ [name: string]: unknown;
40876
+ };
40877
+ content?: never;
40878
+ };
40879
+ /** @description Insufficient permissions. */
40880
+ 403: {
40881
+ headers: {
40882
+ [name: string]: unknown;
40883
+ };
40884
+ content?: never;
40885
+ };
40886
+ /** @description Rule set not found in this workspace. */
40887
+ 404: {
40888
+ headers: {
40889
+ [name: string]: unknown;
40890
+ };
40891
+ content?: never;
40892
+ };
40893
+ /** @description Validation Error */
40894
+ 422: {
40895
+ headers: {
40896
+ [name: string]: unknown;
40897
+ };
40898
+ content: {
40899
+ "application/json": components["schemas"]["HTTPValidationError"];
40900
+ };
40901
+ };
40902
+ /** @description Rate limited. */
40903
+ 429: {
40904
+ headers: {
40905
+ [name: string]: unknown;
40906
+ };
40907
+ content?: never;
40908
+ };
40909
+ };
40910
+ };
40911
+ "update-scheduling-rule-set": {
40912
+ parameters: {
40913
+ query?: never;
40914
+ header?: never;
40915
+ path: {
40916
+ workspace_id: string;
40917
+ rule_set_id: string;
40918
+ };
40919
+ cookie?: never;
40920
+ };
40921
+ requestBody: {
40922
+ content: {
40923
+ "application/json": components["schemas"]["UpdateSchedulingRuleSetRequest"];
40924
+ };
40925
+ };
40926
+ responses: {
40927
+ /** @description Successful Response */
40928
+ 200: {
40929
+ headers: {
40930
+ [name: string]: unknown;
40931
+ };
40932
+ content: {
40933
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
40934
+ };
40935
+ };
40936
+ /** @description Missing or invalid API key. */
40937
+ 401: {
40938
+ headers: {
40939
+ [name: string]: unknown;
40940
+ };
40941
+ content?: never;
40942
+ };
40943
+ /** @description Insufficient permissions. */
40944
+ 403: {
40945
+ headers: {
40946
+ [name: string]: unknown;
40947
+ };
40948
+ content?: never;
40949
+ };
40950
+ /** @description Rule set not found in this workspace. */
40951
+ 404: {
40952
+ headers: {
40953
+ [name: string]: unknown;
40954
+ };
40955
+ content?: never;
40956
+ };
40957
+ /** @description Submitted params discriminator does not match the existing rule's rule_kind. */
40958
+ 422: {
40959
+ headers: {
40960
+ [name: string]: unknown;
40961
+ };
40962
+ content?: never;
40963
+ };
40964
+ /** @description Rate limited. */
40965
+ 429: {
40966
+ headers: {
40967
+ [name: string]: unknown;
40968
+ };
40969
+ content?: never;
40970
+ };
40971
+ };
40972
+ };
39756
40973
  "finalize-encounter": {
39757
40974
  parameters: {
39758
40975
  query?: never;
@@ -41448,7 +42665,311 @@ export interface operations {
41448
42665
  };
41449
42666
  };
41450
42667
  };
41451
- "get-retention-policy": {
42668
+ "get-retention-policy": {
42669
+ parameters: {
42670
+ query?: never;
42671
+ header?: never;
42672
+ path: {
42673
+ workspace_id: string;
42674
+ };
42675
+ cookie?: never;
42676
+ };
42677
+ requestBody?: never;
42678
+ responses: {
42679
+ /** @description Successful Response */
42680
+ 200: {
42681
+ headers: {
42682
+ [name: string]: unknown;
42683
+ };
42684
+ content: {
42685
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
42686
+ };
42687
+ };
42688
+ /** @description Rate limited */
42689
+ 429: {
42690
+ headers: {
42691
+ [name: string]: unknown;
42692
+ };
42693
+ content?: never;
42694
+ };
42695
+ };
42696
+ };
42697
+ "update-retention-policy": {
42698
+ parameters: {
42699
+ query?: never;
42700
+ header?: never;
42701
+ path: {
42702
+ workspace_id: string;
42703
+ };
42704
+ cookie?: never;
42705
+ };
42706
+ requestBody: {
42707
+ content: {
42708
+ "application/json": components["schemas"]["RetentionPolicyRequest"];
42709
+ };
42710
+ };
42711
+ responses: {
42712
+ /** @description Successful Response */
42713
+ 200: {
42714
+ headers: {
42715
+ [name: string]: unknown;
42716
+ };
42717
+ content: {
42718
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
42719
+ };
42720
+ };
42721
+ /** @description Workspace not found */
42722
+ 404: {
42723
+ headers: {
42724
+ [name: string]: unknown;
42725
+ };
42726
+ content?: never;
42727
+ };
42728
+ /** @description Validation error */
42729
+ 422: {
42730
+ headers: {
42731
+ [name: string]: unknown;
42732
+ };
42733
+ content?: never;
42734
+ };
42735
+ /** @description Rate limited */
42736
+ 429: {
42737
+ headers: {
42738
+ [name: string]: unknown;
42739
+ };
42740
+ content?: never;
42741
+ };
42742
+ };
42743
+ };
42744
+ "get-scribe-settings": {
42745
+ parameters: {
42746
+ query?: never;
42747
+ header?: never;
42748
+ path: {
42749
+ workspace_id: string;
42750
+ };
42751
+ cookie?: never;
42752
+ };
42753
+ requestBody?: never;
42754
+ responses: {
42755
+ /** @description Successful Response */
42756
+ 200: {
42757
+ headers: {
42758
+ [name: string]: unknown;
42759
+ };
42760
+ content: {
42761
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
42762
+ };
42763
+ };
42764
+ /** @description Rate limited */
42765
+ 429: {
42766
+ headers: {
42767
+ [name: string]: unknown;
42768
+ };
42769
+ content?: never;
42770
+ };
42771
+ };
42772
+ };
42773
+ "update-scribe-settings": {
42774
+ parameters: {
42775
+ query?: never;
42776
+ header?: never;
42777
+ path: {
42778
+ workspace_id: string;
42779
+ };
42780
+ cookie?: never;
42781
+ };
42782
+ requestBody: {
42783
+ content: {
42784
+ "application/json": components["schemas"]["ScribeSettingsRequest"];
42785
+ };
42786
+ };
42787
+ responses: {
42788
+ /** @description Successful Response */
42789
+ 200: {
42790
+ headers: {
42791
+ [name: string]: unknown;
42792
+ };
42793
+ content: {
42794
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
42795
+ };
42796
+ };
42797
+ /** @description Workspace not found */
42798
+ 404: {
42799
+ headers: {
42800
+ [name: string]: unknown;
42801
+ };
42802
+ content?: never;
42803
+ };
42804
+ /** @description Validation error */
42805
+ 422: {
42806
+ headers: {
42807
+ [name: string]: unknown;
42808
+ };
42809
+ content?: never;
42810
+ };
42811
+ /** @description Rate limited */
42812
+ 429: {
42813
+ headers: {
42814
+ [name: string]: unknown;
42815
+ };
42816
+ content?: never;
42817
+ };
42818
+ };
42819
+ };
42820
+ "get-security-settings": {
42821
+ parameters: {
42822
+ query?: never;
42823
+ header?: never;
42824
+ path: {
42825
+ workspace_id: string;
42826
+ };
42827
+ cookie?: never;
42828
+ };
42829
+ requestBody?: never;
42830
+ responses: {
42831
+ /** @description Successful Response */
42832
+ 200: {
42833
+ headers: {
42834
+ [name: string]: unknown;
42835
+ };
42836
+ content: {
42837
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
42838
+ };
42839
+ };
42840
+ /** @description Rate limited */
42841
+ 429: {
42842
+ headers: {
42843
+ [name: string]: unknown;
42844
+ };
42845
+ content?: never;
42846
+ };
42847
+ };
42848
+ };
42849
+ "update-security-settings": {
42850
+ parameters: {
42851
+ query?: never;
42852
+ header?: never;
42853
+ path: {
42854
+ workspace_id: string;
42855
+ };
42856
+ cookie?: never;
42857
+ };
42858
+ requestBody: {
42859
+ content: {
42860
+ "application/json": components["schemas"]["SecuritySettingsRequest"];
42861
+ };
42862
+ };
42863
+ responses: {
42864
+ /** @description Successful Response */
42865
+ 200: {
42866
+ headers: {
42867
+ [name: string]: unknown;
42868
+ };
42869
+ content: {
42870
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
42871
+ };
42872
+ };
42873
+ /** @description Workspace not found */
42874
+ 404: {
42875
+ headers: {
42876
+ [name: string]: unknown;
42877
+ };
42878
+ content?: never;
42879
+ };
42880
+ /** @description Validation error */
42881
+ 422: {
42882
+ headers: {
42883
+ [name: string]: unknown;
42884
+ };
42885
+ content?: never;
42886
+ };
42887
+ /** @description Rate limited */
42888
+ 429: {
42889
+ headers: {
42890
+ [name: string]: unknown;
42891
+ };
42892
+ content?: never;
42893
+ };
42894
+ };
42895
+ };
42896
+ "get-voice-settings": {
42897
+ parameters: {
42898
+ query?: never;
42899
+ header?: never;
42900
+ path: {
42901
+ workspace_id: string;
42902
+ };
42903
+ cookie?: never;
42904
+ };
42905
+ requestBody?: never;
42906
+ responses: {
42907
+ /** @description Successful Response */
42908
+ 200: {
42909
+ headers: {
42910
+ [name: string]: unknown;
42911
+ };
42912
+ content: {
42913
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
42914
+ };
42915
+ };
42916
+ /** @description Rate limited */
42917
+ 429: {
42918
+ headers: {
42919
+ [name: string]: unknown;
42920
+ };
42921
+ content?: never;
42922
+ };
42923
+ };
42924
+ };
42925
+ "update-voice-settings": {
42926
+ parameters: {
42927
+ query?: never;
42928
+ header?: never;
42929
+ path: {
42930
+ workspace_id: string;
42931
+ };
42932
+ cookie?: never;
42933
+ };
42934
+ requestBody: {
42935
+ content: {
42936
+ "application/json": components["schemas"]["VoiceSettingsRequest"];
42937
+ };
42938
+ };
42939
+ responses: {
42940
+ /** @description Successful Response */
42941
+ 200: {
42942
+ headers: {
42943
+ [name: string]: unknown;
42944
+ };
42945
+ content: {
42946
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
42947
+ };
42948
+ };
42949
+ /** @description Workspace not found */
42950
+ 404: {
42951
+ headers: {
42952
+ [name: string]: unknown;
42953
+ };
42954
+ content?: never;
42955
+ };
42956
+ /** @description Validation error */
42957
+ 422: {
42958
+ headers: {
42959
+ [name: string]: unknown;
42960
+ };
42961
+ content?: never;
42962
+ };
42963
+ /** @description Rate limited */
42964
+ 429: {
42965
+ headers: {
42966
+ [name: string]: unknown;
42967
+ };
42968
+ content?: never;
42969
+ };
42970
+ };
42971
+ };
42972
+ "get-workflow-settings": {
41452
42973
  parameters: {
41453
42974
  query?: never;
41454
42975
  header?: never;
@@ -41465,7 +42986,7 @@ export interface operations {
41465
42986
  [name: string]: unknown;
41466
42987
  };
41467
42988
  content: {
41468
- "application/json": components["schemas"]["RetentionPolicyResponse"];
42989
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
41469
42990
  };
41470
42991
  };
41471
42992
  /** @description Rate limited */
@@ -41477,7 +42998,7 @@ export interface operations {
41477
42998
  };
41478
42999
  };
41479
43000
  };
41480
- "update-retention-policy": {
43001
+ "update-workflow-settings": {
41481
43002
  parameters: {
41482
43003
  query?: never;
41483
43004
  header?: never;
@@ -41488,7 +43009,7 @@ export interface operations {
41488
43009
  };
41489
43010
  requestBody: {
41490
43011
  content: {
41491
- "application/json": components["schemas"]["RetentionPolicyRequest"];
43012
+ "application/json": components["schemas"]["WorkflowSettingsRequest"];
41492
43013
  };
41493
43014
  };
41494
43015
  responses: {
@@ -41498,7 +43019,7 @@ export interface operations {
41498
43019
  [name: string]: unknown;
41499
43020
  };
41500
43021
  content: {
41501
- "application/json": components["schemas"]["RetentionPolicyResponse"];
43022
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
41502
43023
  };
41503
43024
  };
41504
43025
  /** @description Workspace not found */
@@ -41524,36 +43045,7 @@ export interface operations {
41524
43045
  };
41525
43046
  };
41526
43047
  };
41527
- "get-scribe-settings": {
41528
- parameters: {
41529
- query?: never;
41530
- header?: never;
41531
- path: {
41532
- workspace_id: string;
41533
- };
41534
- cookie?: never;
41535
- };
41536
- requestBody?: never;
41537
- responses: {
41538
- /** @description Successful Response */
41539
- 200: {
41540
- headers: {
41541
- [name: string]: unknown;
41542
- };
41543
- content: {
41544
- "application/json": components["schemas"]["ScribeSettingsResponse"];
41545
- };
41546
- };
41547
- /** @description Rate limited */
41548
- 429: {
41549
- headers: {
41550
- [name: string]: unknown;
41551
- };
41552
- content?: never;
41553
- };
41554
- };
41555
- };
41556
- "update-scribe-settings": {
43048
+ "get-simulation-benchmark-results": {
41557
43049
  parameters: {
41558
43050
  query?: never;
41559
43051
  header?: never;
@@ -41564,7 +43056,7 @@ export interface operations {
41564
43056
  };
41565
43057
  requestBody: {
41566
43058
  content: {
41567
- "application/json": components["schemas"]["ScribeSettingsRequest"];
43059
+ "application/json": components["schemas"]["GetSimulationBenchmarkResultsRequest"];
41568
43060
  };
41569
43061
  };
41570
43062
  responses: {
@@ -41574,62 +43066,21 @@ export interface operations {
41574
43066
  [name: string]: unknown;
41575
43067
  };
41576
43068
  content: {
41577
- "application/json": components["schemas"]["ScribeSettingsResponse"];
41578
- };
41579
- };
41580
- /** @description Workspace not found */
41581
- 404: {
41582
- headers: {
41583
- [name: string]: unknown;
43069
+ "application/json": components["schemas"]["SimulationBenchmarkResultsResponse"];
41584
43070
  };
41585
- content?: never;
41586
43071
  };
41587
- /** @description Validation error */
43072
+ /** @description Validation Error */
41588
43073
  422: {
41589
- headers: {
41590
- [name: string]: unknown;
41591
- };
41592
- content?: never;
41593
- };
41594
- /** @description Rate limited */
41595
- 429: {
41596
- headers: {
41597
- [name: string]: unknown;
41598
- };
41599
- content?: never;
41600
- };
41601
- };
41602
- };
41603
- "get-security-settings": {
41604
- parameters: {
41605
- query?: never;
41606
- header?: never;
41607
- path: {
41608
- workspace_id: string;
41609
- };
41610
- cookie?: never;
41611
- };
41612
- requestBody?: never;
41613
- responses: {
41614
- /** @description Successful Response */
41615
- 200: {
41616
43074
  headers: {
41617
43075
  [name: string]: unknown;
41618
43076
  };
41619
43077
  content: {
41620
- "application/json": components["schemas"]["SecuritySettingsResponse"];
41621
- };
41622
- };
41623
- /** @description Rate limited */
41624
- 429: {
41625
- headers: {
41626
- [name: string]: unknown;
43078
+ "application/json": components["schemas"]["HTTPValidationError"];
41627
43079
  };
41628
- content?: never;
41629
43080
  };
41630
43081
  };
41631
43082
  };
41632
- "update-security-settings": {
43083
+ "run-simulation-benchmark": {
41633
43084
  parameters: {
41634
43085
  query?: never;
41635
43086
  header?: never;
@@ -41640,7 +43091,7 @@ export interface operations {
41640
43091
  };
41641
43092
  requestBody: {
41642
43093
  content: {
41643
- "application/json": components["schemas"]["SecuritySettingsRequest"];
43094
+ "application/json": components["schemas"]["RunSimulationBenchmarkRequest"];
41644
43095
  };
41645
43096
  };
41646
43097
  responses: {
@@ -41650,109 +43101,21 @@ export interface operations {
41650
43101
  [name: string]: unknown;
41651
43102
  };
41652
43103
  content: {
41653
- "application/json": components["schemas"]["SecuritySettingsResponse"];
43104
+ "application/json": components["schemas"]["SimulationBenchmarkRunResponse"];
41654
43105
  };
41655
43106
  };
41656
- /** @description Workspace not found */
41657
- 404: {
41658
- headers: {
41659
- [name: string]: unknown;
41660
- };
41661
- content?: never;
41662
- };
41663
- /** @description Validation error */
43107
+ /** @description Validation Error */
41664
43108
  422: {
41665
- headers: {
41666
- [name: string]: unknown;
41667
- };
41668
- content?: never;
41669
- };
41670
- /** @description Rate limited */
41671
- 429: {
41672
- headers: {
41673
- [name: string]: unknown;
41674
- };
41675
- content?: never;
41676
- };
41677
- };
41678
- };
41679
- "get-voice-settings": {
41680
- parameters: {
41681
- query?: never;
41682
- header?: never;
41683
- path: {
41684
- workspace_id: string;
41685
- };
41686
- cookie?: never;
41687
- };
41688
- requestBody?: never;
41689
- responses: {
41690
- /** @description Successful Response */
41691
- 200: {
41692
43109
  headers: {
41693
43110
  [name: string]: unknown;
41694
43111
  };
41695
43112
  content: {
41696
- "application/json": components["schemas"]["VoiceSettingsResponse"];
41697
- };
41698
- };
41699
- /** @description Rate limited */
41700
- 429: {
41701
- headers: {
41702
- [name: string]: unknown;
41703
- };
41704
- content?: never;
41705
- };
41706
- };
41707
- };
41708
- "update-voice-settings": {
41709
- parameters: {
41710
- query?: never;
41711
- header?: never;
41712
- path: {
41713
- workspace_id: string;
41714
- };
41715
- cookie?: never;
41716
- };
41717
- requestBody: {
41718
- content: {
41719
- "application/json": components["schemas"]["VoiceSettingsRequest"];
41720
- };
41721
- };
41722
- responses: {
41723
- /** @description Successful Response */
41724
- 200: {
41725
- headers: {
41726
- [name: string]: unknown;
41727
- };
41728
- content: {
41729
- "application/json": components["schemas"]["VoiceSettingsResponse"];
41730
- };
41731
- };
41732
- /** @description Workspace not found */
41733
- 404: {
41734
- headers: {
41735
- [name: string]: unknown;
41736
- };
41737
- content?: never;
41738
- };
41739
- /** @description Validation error */
41740
- 422: {
41741
- headers: {
41742
- [name: string]: unknown;
41743
- };
41744
- content?: never;
41745
- };
41746
- /** @description Rate limited */
41747
- 429: {
41748
- headers: {
41749
- [name: string]: unknown;
43113
+ "application/json": components["schemas"]["HTTPValidationError"];
41750
43114
  };
41751
- content?: never;
41752
43115
  };
41753
43116
  };
41754
43117
  };
41755
- "get-workflow-settings": {
43118
+ "list-simulation-branches": {
41756
43119
  parameters: {
41757
43120
  query?: never;
41758
43121
  header?: never;
@@ -41769,19 +43132,14 @@ export interface operations {
41769
43132
  [name: string]: unknown;
41770
43133
  };
41771
43134
  content: {
41772
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
41773
- };
41774
- };
41775
- /** @description Rate limited */
41776
- 429: {
41777
- headers: {
41778
- [name: string]: unknown;
43135
+ "application/json": {
43136
+ [key: string]: unknown;
43137
+ };
41779
43138
  };
41780
- content?: never;
41781
43139
  };
41782
43140
  };
41783
43141
  };
41784
- "update-workflow-settings": {
43142
+ "create-simulation-branch": {
41785
43143
  parameters: {
41786
43144
  query?: never;
41787
43145
  header?: never;
@@ -41792,7 +43150,7 @@ export interface operations {
41792
43150
  };
41793
43151
  requestBody: {
41794
43152
  content: {
41795
- "application/json": components["schemas"]["WorkflowSettingsRequest"];
43153
+ "application/json": components["schemas"]["CreateBranchRequest"];
41796
43154
  };
41797
43155
  };
41798
43156
  responses: {
@@ -41802,57 +43160,23 @@ export interface operations {
41802
43160
  [name: string]: unknown;
41803
43161
  };
41804
43162
  content: {
41805
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
41806
- };
41807
- };
41808
- /** @description Workspace not found */
41809
- 404: {
41810
- headers: {
41811
- [name: string]: unknown;
43163
+ "application/json": {
43164
+ [key: string]: unknown;
43165
+ };
41812
43166
  };
41813
- content?: never;
41814
43167
  };
41815
- /** @description Validation error */
43168
+ /** @description Validation Error */
41816
43169
  422: {
41817
- headers: {
41818
- [name: string]: unknown;
41819
- };
41820
- content?: never;
41821
- };
41822
- /** @description Rate limited */
41823
- 429: {
41824
- headers: {
41825
- [name: string]: unknown;
41826
- };
41827
- content?: never;
41828
- };
41829
- };
41830
- };
41831
- "list-simulation-branches": {
41832
- parameters: {
41833
- query?: never;
41834
- header?: never;
41835
- path: {
41836
- workspace_id: string;
41837
- };
41838
- cookie?: never;
41839
- };
41840
- requestBody?: never;
41841
- responses: {
41842
- /** @description Successful Response */
41843
- 200: {
41844
43170
  headers: {
41845
43171
  [name: string]: unknown;
41846
43172
  };
41847
43173
  content: {
41848
- "application/json": {
41849
- [key: string]: unknown;
41850
- };
43174
+ "application/json": components["schemas"]["HTTPValidationError"];
41851
43175
  };
41852
43176
  };
41853
43177
  };
41854
43178
  };
41855
- "create-simulation-branch": {
43179
+ "simulation-bridge": {
41856
43180
  parameters: {
41857
43181
  query?: never;
41858
43182
  header?: never;
@@ -41863,7 +43187,7 @@ export interface operations {
41863
43187
  };
41864
43188
  requestBody: {
41865
43189
  content: {
41866
- "application/json": components["schemas"]["CreateBranchRequest"];
43190
+ "application/json": components["schemas"]["BridgeRequest"];
41867
43191
  };
41868
43192
  };
41869
43193
  responses: {
@@ -41873,9 +43197,7 @@ export interface operations {
41873
43197
  [name: string]: unknown;
41874
43198
  };
41875
43199
  content: {
41876
- "application/json": {
41877
- [key: string]: unknown;
41878
- };
43200
+ "application/json": components["schemas"]["BridgeResponse"];
41879
43201
  };
41880
43202
  };
41881
43203
  /** @description Validation Error */
@@ -41889,7 +43211,7 @@ export interface operations {
41889
43211
  };
41890
43212
  };
41891
43213
  };
41892
- "simulation-bridge": {
43214
+ "simulation-bridge-plan": {
41893
43215
  parameters: {
41894
43216
  query?: never;
41895
43217
  header?: never;
@@ -41900,7 +43222,7 @@ export interface operations {
41900
43222
  };
41901
43223
  requestBody: {
41902
43224
  content: {
41903
- "application/json": components["schemas"]["BridgeRequest"];
43225
+ "application/json": components["schemas"]["BridgePlanRequest"];
41904
43226
  };
41905
43227
  };
41906
43228
  responses: {
@@ -41910,7 +43232,7 @@ export interface operations {
41910
43232
  [name: string]: unknown;
41911
43233
  };
41912
43234
  content: {
41913
- "application/json": components["schemas"]["BridgeResponse"];
43235
+ "application/json": components["schemas"]["BridgePlanResponse"];
41914
43236
  };
41915
43237
  };
41916
43238
  /** @description Validation Error */
@@ -41924,18 +43246,19 @@ export interface operations {
41924
43246
  };
41925
43247
  };
41926
43248
  };
41927
- "simulation-bridge-plan": {
43249
+ "run-simulation-case": {
41928
43250
  parameters: {
41929
43251
  query?: never;
41930
43252
  header?: never;
41931
43253
  path: {
41932
43254
  workspace_id: string;
43255
+ case_id: string;
41933
43256
  };
41934
43257
  cookie?: never;
41935
43258
  };
41936
43259
  requestBody: {
41937
43260
  content: {
41938
- "application/json": components["schemas"]["BridgePlanRequest"];
43261
+ "application/json": components["schemas"]["RunSimulationCaseRequest"];
41939
43262
  };
41940
43263
  };
41941
43264
  responses: {
@@ -41945,7 +43268,7 @@ export interface operations {
41945
43268
  [name: string]: unknown;
41946
43269
  };
41947
43270
  content: {
41948
- "application/json": components["schemas"]["BridgePlanResponse"];
43271
+ "application/json": components["schemas"]["BridgeResponse"];
41949
43272
  };
41950
43273
  };
41951
43274
  /** @description Validation Error */
@@ -42707,7 +44030,7 @@ export interface operations {
42707
44030
  parameters: {
42708
44031
  query?: {
42709
44032
  enabled?: boolean | null;
42710
- execution_tier?: string | null;
44033
+ execution_tier?: ("direct" | "orchestrated" | "autonomous" | "browser" | "computer_use") | null;
42711
44034
  search?: components["schemas"]["SearchString"] | null;
42712
44035
  sort_by?: string | null;
42713
44036
  limit?: number;
@@ -42753,6 +44076,13 @@ export interface operations {
42753
44076
  "application/json": components["schemas"]["HTTPValidationError"];
42754
44077
  };
42755
44078
  };
44079
+ /** @description Rate limited. */
44080
+ 429: {
44081
+ headers: {
44082
+ [name: string]: unknown;
44083
+ };
44084
+ content?: never;
44085
+ };
42756
44086
  };
42757
44087
  };
42758
44088
  "create-skill": {
@@ -42814,6 +44144,13 @@ export interface operations {
42814
44144
  };
42815
44145
  content?: never;
42816
44146
  };
44147
+ /** @description Rate limited. */
44148
+ 429: {
44149
+ headers: {
44150
+ [name: string]: unknown;
44151
+ };
44152
+ content?: never;
44153
+ };
42817
44154
  };
42818
44155
  };
42819
44156
  "get-skill": {
@@ -42867,6 +44204,13 @@ export interface operations {
42867
44204
  "application/json": components["schemas"]["HTTPValidationError"];
42868
44205
  };
42869
44206
  };
44207
+ /** @description Rate limited. */
44208
+ 429: {
44209
+ headers: {
44210
+ [name: string]: unknown;
44211
+ };
44212
+ content?: never;
44213
+ };
42870
44214
  };
42871
44215
  };
42872
44216
  "update-skill": {
@@ -42922,6 +44266,13 @@ export interface operations {
42922
44266
  };
42923
44267
  content?: never;
42924
44268
  };
44269
+ /** @description Rate limited. */
44270
+ 429: {
44271
+ headers: {
44272
+ [name: string]: unknown;
44273
+ };
44274
+ content?: never;
44275
+ };
42925
44276
  };
42926
44277
  };
42927
44278
  "delete-skill": {
@@ -42964,6 +44315,13 @@ export interface operations {
42964
44315
  };
42965
44316
  content?: never;
42966
44317
  };
44318
+ /** @description Skill is referenced by one or more context graphs. */
44319
+ 409: {
44320
+ headers: {
44321
+ [name: string]: unknown;
44322
+ };
44323
+ content?: never;
44324
+ };
42967
44325
  /** @description Validation Error */
42968
44326
  422: {
42969
44327
  headers: {
@@ -42973,6 +44331,13 @@ export interface operations {
42973
44331
  "application/json": components["schemas"]["HTTPValidationError"];
42974
44332
  };
42975
44333
  };
44334
+ /** @description Rate limited. */
44335
+ 429: {
44336
+ headers: {
44337
+ [name: string]: unknown;
44338
+ };
44339
+ content?: never;
44340
+ };
42976
44341
  };
42977
44342
  };
42978
44343
  "get-skill-references": {
@@ -43026,6 +44391,13 @@ export interface operations {
43026
44391
  "application/json": components["schemas"]["HTTPValidationError"];
43027
44392
  };
43028
44393
  };
44394
+ /** @description Rate limited. */
44395
+ 429: {
44396
+ headers: {
44397
+ [name: string]: unknown;
44398
+ };
44399
+ content?: never;
44400
+ };
43029
44401
  };
43030
44402
  };
43031
44403
  "test-skill": {
@@ -43756,7 +45128,7 @@ export interface operations {
43756
45128
  };
43757
45129
  };
43758
45130
  };
43759
- list_triggers_v1__workspace_id__triggers_get: {
45131
+ "list-triggers": {
43760
45132
  parameters: {
43761
45133
  query?: {
43762
45134
  is_active?: boolean | null;
@@ -43789,9 +45161,16 @@ export interface operations {
43789
45161
  "application/json": components["schemas"]["HTTPValidationError"];
43790
45162
  };
43791
45163
  };
45164
+ /** @description Rate limited */
45165
+ 429: {
45166
+ headers: {
45167
+ [name: string]: unknown;
45168
+ };
45169
+ content?: never;
45170
+ };
43792
45171
  };
43793
45172
  };
43794
- create_trigger_v1__workspace_id__triggers_post: {
45173
+ "create-trigger": {
43795
45174
  parameters: {
43796
45175
  query?: never;
43797
45176
  header?: never;
@@ -43815,18 +45194,23 @@ export interface operations {
43815
45194
  "application/json": components["schemas"]["TriggerResponse"];
43816
45195
  };
43817
45196
  };
43818
- /** @description Validation Error */
45197
+ /** @description Validation error */
43819
45198
  422: {
43820
45199
  headers: {
43821
45200
  [name: string]: unknown;
43822
45201
  };
43823
- content: {
43824
- "application/json": components["schemas"]["HTTPValidationError"];
45202
+ content?: never;
45203
+ };
45204
+ /** @description Rate limited */
45205
+ 429: {
45206
+ headers: {
45207
+ [name: string]: unknown;
43825
45208
  };
45209
+ content?: never;
43826
45210
  };
43827
45211
  };
43828
45212
  };
43829
- get_trigger_v1__workspace_id__triggers__trigger_id__get: {
45213
+ "get-trigger": {
43830
45214
  parameters: {
43831
45215
  query?: never;
43832
45216
  header?: never;
@@ -43847,6 +45231,13 @@ export interface operations {
43847
45231
  "application/json": components["schemas"]["TriggerResponse"];
43848
45232
  };
43849
45233
  };
45234
+ /** @description Trigger not found */
45235
+ 404: {
45236
+ headers: {
45237
+ [name: string]: unknown;
45238
+ };
45239
+ content?: never;
45240
+ };
43850
45241
  /** @description Validation Error */
43851
45242
  422: {
43852
45243
  headers: {
@@ -43856,9 +45247,16 @@ export interface operations {
43856
45247
  "application/json": components["schemas"]["HTTPValidationError"];
43857
45248
  };
43858
45249
  };
45250
+ /** @description Rate limited */
45251
+ 429: {
45252
+ headers: {
45253
+ [name: string]: unknown;
45254
+ };
45255
+ content?: never;
45256
+ };
43859
45257
  };
43860
45258
  };
43861
- update_trigger_v1__workspace_id__triggers__trigger_id__put: {
45259
+ "update-trigger": {
43862
45260
  parameters: {
43863
45261
  query?: never;
43864
45262
  header?: never;
@@ -43883,18 +45281,30 @@ export interface operations {
43883
45281
  "application/json": components["schemas"]["TriggerResponse"];
43884
45282
  };
43885
45283
  };
43886
- /** @description Validation Error */
45284
+ /** @description Trigger not found */
45285
+ 404: {
45286
+ headers: {
45287
+ [name: string]: unknown;
45288
+ };
45289
+ content?: never;
45290
+ };
45291
+ /** @description Validation error */
43887
45292
  422: {
43888
45293
  headers: {
43889
45294
  [name: string]: unknown;
43890
45295
  };
43891
- content: {
43892
- "application/json": components["schemas"]["HTTPValidationError"];
45296
+ content?: never;
45297
+ };
45298
+ /** @description Rate limited */
45299
+ 429: {
45300
+ headers: {
45301
+ [name: string]: unknown;
43893
45302
  };
45303
+ content?: never;
43894
45304
  };
43895
45305
  };
43896
45306
  };
43897
- delete_trigger_v1__workspace_id__triggers__trigger_id__delete: {
45307
+ "delete-trigger": {
43898
45308
  parameters: {
43899
45309
  query?: never;
43900
45310
  header?: never;
@@ -43922,9 +45332,16 @@ export interface operations {
43922
45332
  "application/json": components["schemas"]["HTTPValidationError"];
43923
45333
  };
43924
45334
  };
45335
+ /** @description Rate limited */
45336
+ 429: {
45337
+ headers: {
45338
+ [name: string]: unknown;
45339
+ };
45340
+ content?: never;
45341
+ };
43925
45342
  };
43926
45343
  };
43927
- fire_trigger_v1__workspace_id__triggers__trigger_id__fire_post: {
45344
+ "fire-trigger": {
43928
45345
  parameters: {
43929
45346
  query?: never;
43930
45347
  header?: never;
@@ -43949,18 +45366,37 @@ export interface operations {
43949
45366
  "application/json": components["schemas"]["TriggerFireResponse"];
43950
45367
  };
43951
45368
  };
43952
- /** @description Validation Error */
45369
+ /** @description Trigger not found */
45370
+ 404: {
45371
+ headers: {
45372
+ [name: string]: unknown;
45373
+ };
45374
+ content?: never;
45375
+ };
45376
+ /** @description Validation error */
43953
45377
  422: {
43954
45378
  headers: {
43955
45379
  [name: string]: unknown;
43956
45380
  };
43957
- content: {
43958
- "application/json": components["schemas"]["HTTPValidationError"];
45381
+ content?: never;
45382
+ };
45383
+ /** @description Rate limited */
45384
+ 429: {
45385
+ headers: {
45386
+ [name: string]: unknown;
45387
+ };
45388
+ content?: never;
45389
+ };
45390
+ /** @description Trigger scheduler not initialized */
45391
+ 503: {
45392
+ headers: {
45393
+ [name: string]: unknown;
43959
45394
  };
45395
+ content?: never;
43960
45396
  };
43961
45397
  };
43962
45398
  };
43963
- pause_trigger_v1__workspace_id__triggers__trigger_id__pause_post: {
45399
+ "pause-trigger": {
43964
45400
  parameters: {
43965
45401
  query?: never;
43966
45402
  header?: never;
@@ -43981,18 +45417,30 @@ export interface operations {
43981
45417
  "application/json": components["schemas"]["TriggerResponse"];
43982
45418
  };
43983
45419
  };
43984
- /** @description Validation Error */
45420
+ /** @description Trigger not found */
45421
+ 404: {
45422
+ headers: {
45423
+ [name: string]: unknown;
45424
+ };
45425
+ content?: never;
45426
+ };
45427
+ /** @description Validation error */
43985
45428
  422: {
43986
45429
  headers: {
43987
45430
  [name: string]: unknown;
43988
45431
  };
43989
- content: {
43990
- "application/json": components["schemas"]["HTTPValidationError"];
45432
+ content?: never;
45433
+ };
45434
+ /** @description Rate limited */
45435
+ 429: {
45436
+ headers: {
45437
+ [name: string]: unknown;
43991
45438
  };
45439
+ content?: never;
43992
45440
  };
43993
45441
  };
43994
45442
  };
43995
- resume_trigger_v1__workspace_id__triggers__trigger_id__resume_post: {
45443
+ "resume-trigger": {
43996
45444
  parameters: {
43997
45445
  query?: never;
43998
45446
  header?: never;
@@ -44013,18 +45461,30 @@ export interface operations {
44013
45461
  "application/json": components["schemas"]["TriggerResponse"];
44014
45462
  };
44015
45463
  };
44016
- /** @description Validation Error */
45464
+ /** @description Trigger not found */
45465
+ 404: {
45466
+ headers: {
45467
+ [name: string]: unknown;
45468
+ };
45469
+ content?: never;
45470
+ };
45471
+ /** @description Validation error */
44017
45472
  422: {
44018
45473
  headers: {
44019
45474
  [name: string]: unknown;
44020
45475
  };
44021
- content: {
44022
- "application/json": components["schemas"]["HTTPValidationError"];
45476
+ content?: never;
45477
+ };
45478
+ /** @description Rate limited */
45479
+ 429: {
45480
+ headers: {
45481
+ [name: string]: unknown;
44023
45482
  };
45483
+ content?: never;
44024
45484
  };
44025
45485
  };
44026
45486
  };
44027
- list_trigger_runs_v1__workspace_id__triggers__trigger_id__runs_get: {
45487
+ "list-trigger-runs": {
44028
45488
  parameters: {
44029
45489
  query?: {
44030
45490
  limit?: number;
@@ -44057,6 +45517,13 @@ export interface operations {
44057
45517
  "application/json": components["schemas"]["HTTPValidationError"];
44058
45518
  };
44059
45519
  };
45520
+ /** @description Rate limited */
45521
+ 429: {
45522
+ headers: {
45523
+ [name: string]: unknown;
45524
+ };
45525
+ content?: never;
45526
+ };
44060
45527
  };
44061
45528
  };
44062
45529
  "search-available-phone-numbers": {
@@ -44974,7 +46441,7 @@ export interface operations {
44974
46441
  };
44975
46442
  };
44976
46443
  };
44977
- list_webhook_destinations_v1__workspace_id__webhook_destinations_get: {
46444
+ "list-webhook-destinations": {
44978
46445
  parameters: {
44979
46446
  query?: {
44980
46447
  limit?: number;
@@ -45006,9 +46473,16 @@ export interface operations {
45006
46473
  "application/json": components["schemas"]["HTTPValidationError"];
45007
46474
  };
45008
46475
  };
46476
+ /** @description Rate limited */
46477
+ 429: {
46478
+ headers: {
46479
+ [name: string]: unknown;
46480
+ };
46481
+ content?: never;
46482
+ };
45009
46483
  };
45010
46484
  };
45011
- create_webhook_destination_v1__workspace_id__webhook_destinations_post: {
46485
+ "create-webhook-destination": {
45012
46486
  parameters: {
45013
46487
  query?: never;
45014
46488
  header?: never;
@@ -45032,18 +46506,23 @@ export interface operations {
45032
46506
  "application/json": components["schemas"]["WebhookDestinationCreatedResponse"];
45033
46507
  };
45034
46508
  };
45035
- /** @description Validation Error */
46509
+ /** @description Validation error */
45036
46510
  422: {
45037
46511
  headers: {
45038
46512
  [name: string]: unknown;
45039
46513
  };
45040
- content: {
45041
- "application/json": components["schemas"]["HTTPValidationError"];
46514
+ content?: never;
46515
+ };
46516
+ /** @description Rate limited */
46517
+ 429: {
46518
+ headers: {
46519
+ [name: string]: unknown;
45042
46520
  };
46521
+ content?: never;
45043
46522
  };
45044
46523
  };
45045
46524
  };
45046
- get_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__get: {
46525
+ "get-webhook-destination": {
45047
46526
  parameters: {
45048
46527
  query?: never;
45049
46528
  header?: never;
@@ -45064,6 +46543,13 @@ export interface operations {
45064
46543
  "application/json": components["schemas"]["WebhookDestinationResponse"];
45065
46544
  };
45066
46545
  };
46546
+ /** @description Webhook destination not found */
46547
+ 404: {
46548
+ headers: {
46549
+ [name: string]: unknown;
46550
+ };
46551
+ content?: never;
46552
+ };
45067
46553
  /** @description Validation Error */
45068
46554
  422: {
45069
46555
  headers: {
@@ -45073,9 +46559,16 @@ export interface operations {
45073
46559
  "application/json": components["schemas"]["HTTPValidationError"];
45074
46560
  };
45075
46561
  };
46562
+ /** @description Rate limited */
46563
+ 429: {
46564
+ headers: {
46565
+ [name: string]: unknown;
46566
+ };
46567
+ content?: never;
46568
+ };
45076
46569
  };
45077
46570
  };
45078
- update_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__put: {
46571
+ "update-webhook-destination": {
45079
46572
  parameters: {
45080
46573
  query?: never;
45081
46574
  header?: never;
@@ -45100,18 +46593,30 @@ export interface operations {
45100
46593
  "application/json": components["schemas"]["WebhookDestinationResponse"];
45101
46594
  };
45102
46595
  };
45103
- /** @description Validation Error */
46596
+ /** @description Webhook destination not found */
46597
+ 404: {
46598
+ headers: {
46599
+ [name: string]: unknown;
46600
+ };
46601
+ content?: never;
46602
+ };
46603
+ /** @description Validation error */
45104
46604
  422: {
45105
46605
  headers: {
45106
46606
  [name: string]: unknown;
45107
46607
  };
45108
- content: {
45109
- "application/json": components["schemas"]["HTTPValidationError"];
46608
+ content?: never;
46609
+ };
46610
+ /** @description Rate limited */
46611
+ 429: {
46612
+ headers: {
46613
+ [name: string]: unknown;
45110
46614
  };
46615
+ content?: never;
45111
46616
  };
45112
46617
  };
45113
46618
  };
45114
- delete_webhook_destination_v1__workspace_id__webhook_destinations__destination_id__delete: {
46619
+ "delete-webhook-destination": {
45115
46620
  parameters: {
45116
46621
  query?: never;
45117
46622
  header?: never;
@@ -45139,9 +46644,16 @@ export interface operations {
45139
46644
  "application/json": components["schemas"]["HTTPValidationError"];
45140
46645
  };
45141
46646
  };
46647
+ /** @description Rate limited */
46648
+ 429: {
46649
+ headers: {
46650
+ [name: string]: unknown;
46651
+ };
46652
+ content?: never;
46653
+ };
45142
46654
  };
45143
46655
  };
45144
- list_deliveries_v1__workspace_id__webhook_destinations__destination_id__deliveries_get: {
46656
+ "list-webhook-destination-deliveries": {
45145
46657
  parameters: {
45146
46658
  query?: {
45147
46659
  limit?: number;
@@ -45174,9 +46686,16 @@ export interface operations {
45174
46686
  "application/json": components["schemas"]["HTTPValidationError"];
45175
46687
  };
45176
46688
  };
46689
+ /** @description Rate limited */
46690
+ 429: {
46691
+ headers: {
46692
+ [name: string]: unknown;
46693
+ };
46694
+ content?: never;
46695
+ };
45177
46696
  };
45178
46697
  };
45179
- rotate_secret_v1__workspace_id__webhook_destinations__destination_id__rotate_secret_post: {
46698
+ "rotate-webhook-destination-secret": {
45180
46699
  parameters: {
45181
46700
  query?: never;
45182
46701
  header?: never;
@@ -45197,14 +46716,26 @@ export interface operations {
45197
46716
  "application/json": components["schemas"]["RotateSecretResponse"];
45198
46717
  };
45199
46718
  };
45200
- /** @description Validation Error */
46719
+ /** @description Webhook destination not found */
46720
+ 404: {
46721
+ headers: {
46722
+ [name: string]: unknown;
46723
+ };
46724
+ content?: never;
46725
+ };
46726
+ /** @description Validation error */
45201
46727
  422: {
45202
46728
  headers: {
45203
46729
  [name: string]: unknown;
45204
46730
  };
45205
- content: {
45206
- "application/json": components["schemas"]["HTTPValidationError"];
46731
+ content?: never;
46732
+ };
46733
+ /** @description Rate limited */
46734
+ 429: {
46735
+ headers: {
46736
+ [name: string]: unknown;
45207
46737
  };
46738
+ content?: never;
45208
46739
  };
45209
46740
  };
45210
46741
  };
@@ -45634,6 +47165,55 @@ export interface operations {
45634
47165
  };
45635
47166
  };
45636
47167
  };
47168
+ "resolve-entity": {
47169
+ parameters: {
47170
+ query?: never;
47171
+ header?: never;
47172
+ path: {
47173
+ workspace_id: string;
47174
+ };
47175
+ cookie?: never;
47176
+ };
47177
+ requestBody: {
47178
+ content: {
47179
+ "application/json": components["schemas"]["EntityResolveRequest"];
47180
+ };
47181
+ };
47182
+ responses: {
47183
+ /** @description Successful Response */
47184
+ 200: {
47185
+ headers: {
47186
+ [name: string]: unknown;
47187
+ };
47188
+ content: {
47189
+ "application/json": components["schemas"]["EntityResolveResponse"];
47190
+ };
47191
+ };
47192
+ /** @description No identifier provided or invalid input. */
47193
+ 400: {
47194
+ headers: {
47195
+ [name: string]: unknown;
47196
+ };
47197
+ content?: never;
47198
+ };
47199
+ /** @description Missing or invalid API key. */
47200
+ 401: {
47201
+ headers: {
47202
+ [name: string]: unknown;
47203
+ };
47204
+ content?: never;
47205
+ };
47206
+ /** @description Validation Error */
47207
+ 422: {
47208
+ headers: {
47209
+ [name: string]: unknown;
47210
+ };
47211
+ content: {
47212
+ "application/json": components["schemas"]["HTTPValidationError"];
47213
+ };
47214
+ };
47215
+ };
47216
+ };
45637
47217
  "get-entity": {
45638
47218
  parameters: {
45639
47219
  query?: never;