@amigo-ai/platform-sdk 0.5.7 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/types/generated/api.d.ts +6 -0
  2. package/dist/types/generated/api.d.ts.map +1 -1
  3. package/dist/types/resources/actions.d.ts +126 -22
  4. package/dist/types/resources/actions.d.ts.map +1 -1
  5. package/dist/types/resources/agents.d.ts +102 -16
  6. package/dist/types/resources/agents.d.ts.map +1 -1
  7. package/dist/types/resources/analytics.d.ts +74 -22
  8. package/dist/types/resources/analytics.d.ts.map +1 -1
  9. package/dist/types/resources/api-keys.d.ts +16 -3
  10. package/dist/types/resources/api-keys.d.ts.map +1 -1
  11. package/dist/types/resources/audit.d.ts +87 -31
  12. package/dist/types/resources/audit.d.ts.map +1 -1
  13. package/dist/types/resources/billing.d.ts +42 -9
  14. package/dist/types/resources/billing.d.ts.map +1 -1
  15. package/dist/types/resources/calls.d.ts +169 -65
  16. package/dist/types/resources/calls.d.ts.map +1 -1
  17. package/dist/types/resources/compliance.d.ts +6 -6
  18. package/dist/types/resources/context-graphs.d.ts +974 -17
  19. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  20. package/dist/types/resources/data-sources.d.ts +50 -13
  21. package/dist/types/resources/data-sources.d.ts.map +1 -1
  22. package/dist/types/resources/functions.d.ts +49 -22
  23. package/dist/types/resources/functions.d.ts.map +1 -1
  24. package/dist/types/resources/integrations.d.ts +379 -49
  25. package/dist/types/resources/integrations.d.ts.map +1 -1
  26. package/dist/types/resources/memory.d.ts +48 -4
  27. package/dist/types/resources/memory.d.ts.map +1 -1
  28. package/dist/types/resources/operators.d.ts +189 -64
  29. package/dist/types/resources/operators.d.ts.map +1 -1
  30. package/dist/types/resources/personas.d.ts +20 -7
  31. package/dist/types/resources/personas.d.ts.map +1 -1
  32. package/dist/types/resources/phone-numbers.d.ts +46 -8
  33. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  34. package/dist/types/resources/recordings.d.ts +4 -4
  35. package/dist/types/resources/review-queue.d.ts +350 -49
  36. package/dist/types/resources/review-queue.d.ts.map +1 -1
  37. package/dist/types/resources/safety.d.ts +32 -6
  38. package/dist/types/resources/safety.d.ts.map +1 -1
  39. package/dist/types/resources/services.d.ts +242 -47
  40. package/dist/types/resources/services.d.ts.map +1 -1
  41. package/dist/types/resources/settings.d.ts +404 -36
  42. package/dist/types/resources/settings.d.ts.map +1 -1
  43. package/dist/types/resources/simulations.d.ts +148 -20
  44. package/dist/types/resources/simulations.d.ts.map +1 -1
  45. package/dist/types/resources/skills.d.ts +117 -21
  46. package/dist/types/resources/skills.d.ts.map +1 -1
  47. package/dist/types/resources/triggers.d.ts +92 -64
  48. package/dist/types/resources/triggers.d.ts.map +1 -1
  49. package/dist/types/resources/webhook-destinations.d.ts +44 -20
  50. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  51. package/dist/types/resources/workspaces.d.ts +26 -4
  52. package/dist/types/resources/workspaces.d.ts.map +1 -1
  53. package/dist/types/resources/world.d.ts +322 -121
  54. package/dist/types/resources/world.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -15,25 +15,34 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
15
15
  created_at: string;
16
16
  description: string;
17
17
  id: string;
18
- latest_version?: number;
18
+ latest_version?: number | undefined;
19
19
  name: string;
20
- state_count?: number;
20
+ state_count?: number | undefined;
21
21
  updated_at: string;
22
22
  workspace_id: string;
23
23
  } & import("../index.js").ResponseMetadata>;
24
24
  list(params?: ListContextGraphsParams): Promise<{
25
- continuation_token?: number | null;
25
+ continuation_token?: number | null | undefined;
26
26
  has_more: boolean;
27
- items: components["schemas"]["ContextGraphResponse"][];
28
- total?: number | null;
27
+ items: {
28
+ created_at: string;
29
+ description: string;
30
+ id: string;
31
+ latest_version?: number | undefined;
32
+ name: string;
33
+ state_count?: number | undefined;
34
+ updated_at: string;
35
+ workspace_id: string;
36
+ }[];
37
+ total?: number | null | undefined;
29
38
  } & import("../index.js").ResponseMetadata>;
30
39
  listAutoPaging(params?: ListContextGraphsParams): AsyncGenerator<{
31
40
  created_at: string;
32
41
  description: string;
33
42
  id: string;
34
- latest_version?: number;
43
+ latest_version?: number | undefined;
35
44
  name: string;
36
- state_count?: number;
45
+ state_count?: number | undefined;
37
46
  updated_at: string;
38
47
  workspace_id: string;
39
48
  }, any, any>;
@@ -41,9 +50,9 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
41
50
  created_at: string;
42
51
  description: string;
43
52
  id: string;
44
- latest_version?: number;
53
+ latest_version?: number | undefined;
45
54
  name: string;
46
- state_count?: number;
55
+ state_count?: number | undefined;
47
56
  updated_at: string;
48
57
  workspace_id: string;
49
58
  } & import("../index.js").ResponseMetadata>;
@@ -51,9 +60,9 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
51
60
  created_at: string;
52
61
  description: string;
53
62
  id: string;
54
- latest_version?: number;
63
+ latest_version?: number | undefined;
55
64
  name: string;
56
- state_count?: number;
65
+ state_count?: number | undefined;
57
66
  updated_at: string;
58
67
  workspace_id: string;
59
68
  } & import("../index.js").ResponseMetadata>;
@@ -69,7 +78,240 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
69
78
  id: string;
70
79
  new_user_initial_state: string;
71
80
  returning_user_initial_state: string;
72
- states: components["schemas"]["ContextGraphState-Output"][];
81
+ states: ({
82
+ action_guidelines: string[];
83
+ action_tool_call_specs?: {
84
+ additional_instruction?: string | undefined;
85
+ audio_filler_triggered_after?: number | null | undefined;
86
+ audio_fillers?: string[] | null | undefined;
87
+ navigate_on_completion?: boolean | undefined;
88
+ progress?: {
89
+ custom_phrase?: string | null | undefined;
90
+ deterministic?: boolean | undefined;
91
+ expected_latency_ms?: number | null | undefined;
92
+ interval_ms?: number | null | undefined;
93
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
94
+ phrases?: string[] | null | undefined;
95
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
96
+ trigger_delay_ms?: number | null | undefined;
97
+ } | null | undefined;
98
+ result_persistence?: "accumulate" | "override" | undefined;
99
+ tool_id: string;
100
+ }[] | undefined;
101
+ actions: {
102
+ description: string;
103
+ filler_hint?: string | null | undefined;
104
+ }[];
105
+ boundary_constraints: string[];
106
+ channel_overrides?: {
107
+ [x: string]: {
108
+ action_guidelines?: string[] | undefined;
109
+ objective?: string | null | undefined;
110
+ progress?: {
111
+ custom_phrase?: string | null | undefined;
112
+ deterministic?: boolean | undefined;
113
+ expected_latency_ms?: number | null | undefined;
114
+ interval_ms?: number | null | undefined;
115
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
116
+ phrases?: string[] | null | undefined;
117
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
118
+ trigger_delay_ms?: number | null | undefined;
119
+ } | null | undefined;
120
+ };
121
+ } | undefined;
122
+ escalation_config?: {
123
+ auto_escalate_threshold?: number | null | undefined;
124
+ max_loop_count?: number | undefined;
125
+ operator_skill?: string | null | undefined;
126
+ topic_risk_score?: number | undefined;
127
+ } | null | undefined;
128
+ exit_condition_tool_call_specs?: {
129
+ additional_instruction?: string | undefined;
130
+ audio_filler_triggered_after?: number | null | undefined;
131
+ audio_fillers?: string[] | null | undefined;
132
+ navigate_on_completion?: boolean | undefined;
133
+ progress?: {
134
+ custom_phrase?: string | null | undefined;
135
+ deterministic?: boolean | undefined;
136
+ expected_latency_ms?: number | null | undefined;
137
+ interval_ms?: number | null | undefined;
138
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
139
+ phrases?: string[] | null | undefined;
140
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
141
+ trigger_delay_ms?: number | null | undefined;
142
+ } | null | undefined;
143
+ result_persistence?: "accumulate" | "override" | undefined;
144
+ tool_id: string;
145
+ }[] | undefined;
146
+ exit_conditions: {
147
+ description: string;
148
+ filler_hint?: string | null | undefined;
149
+ next_state: string;
150
+ }[];
151
+ guardrails?: {
152
+ description: string;
153
+ enforcement?: "hard" | "soft" | undefined;
154
+ name: string;
155
+ }[] | undefined;
156
+ intra_state_navigation_guidelines: string[];
157
+ name: string;
158
+ objective: string;
159
+ surface_spec_template?: {
160
+ [x: string]: unknown;
161
+ } | null | undefined;
162
+ turn_policy?: {
163
+ barge_in_enabled?: boolean | undefined;
164
+ block_forward_call?: boolean | undefined;
165
+ block_forward_call_after_turns?: number | undefined;
166
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
167
+ degradation_threshold?: number | undefined;
168
+ greeting_shield_s?: number | undefined;
169
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
170
+ stt_eager_eot_threshold?: number | null | undefined;
171
+ stt_eot_threshold?: number | null | undefined;
172
+ stt_eot_timeout_ms?: number | null | undefined;
173
+ } | null | undefined;
174
+ type: "action";
175
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
176
+ } | {
177
+ inner_thought: string;
178
+ name: string;
179
+ next_state: string;
180
+ type: "annotation";
181
+ } | {
182
+ channel_overrides?: {
183
+ [x: string]: {
184
+ action_guidelines?: string[] | undefined;
185
+ objective?: string | null | undefined;
186
+ progress?: {
187
+ custom_phrase?: string | null | undefined;
188
+ deterministic?: boolean | undefined;
189
+ expected_latency_ms?: number | null | undefined;
190
+ interval_ms?: number | null | undefined;
191
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
192
+ phrases?: string[] | null | undefined;
193
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
194
+ trigger_delay_ms?: number | null | undefined;
195
+ } | null | undefined;
196
+ };
197
+ } | undefined;
198
+ decision_guidelines?: string[] | undefined;
199
+ exit_conditions: {
200
+ description: string;
201
+ filler_hint?: string | null | undefined;
202
+ next_state: string;
203
+ }[];
204
+ guardrails?: {
205
+ description: string;
206
+ enforcement?: "hard" | "soft" | undefined;
207
+ name: string;
208
+ }[] | undefined;
209
+ name: string;
210
+ objective: string;
211
+ tool_call_specs?: {
212
+ additional_instruction?: string | undefined;
213
+ audio_filler_triggered_after?: number | null | undefined;
214
+ audio_fillers?: string[] | null | undefined;
215
+ navigate_on_completion?: boolean | undefined;
216
+ progress?: {
217
+ custom_phrase?: string | null | undefined;
218
+ deterministic?: boolean | undefined;
219
+ expected_latency_ms?: number | null | undefined;
220
+ interval_ms?: number | null | undefined;
221
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
222
+ phrases?: string[] | null | undefined;
223
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
224
+ trigger_delay_ms?: number | null | undefined;
225
+ } | null | undefined;
226
+ result_persistence?: "accumulate" | "override" | undefined;
227
+ tool_id: string;
228
+ }[] | undefined;
229
+ turn_policy?: {
230
+ barge_in_enabled?: boolean | undefined;
231
+ block_forward_call?: boolean | undefined;
232
+ block_forward_call_after_turns?: number | undefined;
233
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
234
+ degradation_threshold?: number | undefined;
235
+ greeting_shield_s?: number | undefined;
236
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
237
+ stt_eager_eot_threshold?: number | null | undefined;
238
+ stt_eot_threshold?: number | null | undefined;
239
+ stt_eot_timeout_ms?: number | null | undefined;
240
+ } | null | undefined;
241
+ type: "decision";
242
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
243
+ } | {
244
+ action_guidelines?: string[] | undefined;
245
+ boundary_constraints?: string[] | undefined;
246
+ channel_overrides?: {
247
+ [x: string]: {
248
+ action_guidelines?: string[] | undefined;
249
+ objective?: string | null | undefined;
250
+ progress?: {
251
+ custom_phrase?: string | null | undefined;
252
+ deterministic?: boolean | undefined;
253
+ expected_latency_ms?: number | null | undefined;
254
+ interval_ms?: number | null | undefined;
255
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
256
+ phrases?: string[] | null | undefined;
257
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
258
+ trigger_delay_ms?: number | null | undefined;
259
+ } | null | undefined;
260
+ };
261
+ } | undefined;
262
+ fields: {
263
+ ask_prompt?: string | null | undefined;
264
+ fhir_path?: string | null | undefined;
265
+ key: string;
266
+ label: string;
267
+ options?: string[] | null | undefined;
268
+ required?: boolean | undefined;
269
+ type: string;
270
+ validation?: string | null | undefined;
271
+ }[];
272
+ guardrails?: {
273
+ description: string;
274
+ enforcement?: "hard" | "soft" | undefined;
275
+ name: string;
276
+ }[] | undefined;
277
+ max_turns?: number | undefined;
278
+ name: string;
279
+ objective: string;
280
+ on_complete: string;
281
+ surface_fallback?: boolean | undefined;
282
+ surface_fallback_after_turns?: number | undefined;
283
+ tool_call_specs?: {
284
+ additional_instruction?: string | undefined;
285
+ audio_filler_triggered_after?: number | null | undefined;
286
+ audio_fillers?: string[] | null | undefined;
287
+ navigate_on_completion?: boolean | undefined;
288
+ progress?: {
289
+ custom_phrase?: string | null | undefined;
290
+ deterministic?: boolean | undefined;
291
+ expected_latency_ms?: number | null | undefined;
292
+ interval_ms?: number | null | undefined;
293
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
294
+ phrases?: string[] | null | undefined;
295
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
296
+ trigger_delay_ms?: number | null | undefined;
297
+ } | null | undefined;
298
+ result_persistence?: "accumulate" | "override" | undefined;
299
+ tool_id: string;
300
+ }[] | undefined;
301
+ turn_policy?: {
302
+ barge_in_enabled?: boolean | undefined;
303
+ block_forward_call?: boolean | undefined;
304
+ block_forward_call_after_turns?: number | undefined;
305
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
306
+ degradation_threshold?: number | undefined;
307
+ greeting_shield_s?: number | undefined;
308
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
309
+ stt_eager_eot_threshold?: number | null | undefined;
310
+ stt_eot_threshold?: number | null | undefined;
311
+ stt_eot_timeout_ms?: number | null | undefined;
312
+ } | null | undefined;
313
+ type: "data_collection";
314
+ })[];
73
315
  terminal_state: string;
74
316
  topology_description: string | null;
75
317
  updated_at: string;
@@ -78,10 +320,259 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
78
320
  } & import("../index.js").ResponseMetadata>;
79
321
  /** List all versions of a context graph */
80
322
  listVersions(contextGraphId: ContextGraphId | string, params?: ListParams): Promise<{
81
- continuation_token?: number | null;
323
+ continuation_token?: number | null | undefined;
82
324
  has_more: boolean;
83
- items: components["schemas"]["ContextGraphVersionResponse"][];
84
- total?: number | null;
325
+ items: {
326
+ context_graph_id: string;
327
+ created_at: string;
328
+ description: string;
329
+ global_action_guidelines: string[];
330
+ global_boundary_constraints: string[];
331
+ global_intra_state_navigation_guidelines: string[];
332
+ id: string;
333
+ new_user_initial_state: string;
334
+ returning_user_initial_state: string;
335
+ states: ({
336
+ action_guidelines: string[];
337
+ action_tool_call_specs?: {
338
+ additional_instruction?: string | undefined;
339
+ audio_filler_triggered_after?: number | null | undefined;
340
+ audio_fillers?: string[] | null | undefined;
341
+ navigate_on_completion?: boolean | undefined;
342
+ progress?: {
343
+ custom_phrase?: string | null | undefined;
344
+ deterministic?: boolean | undefined;
345
+ expected_latency_ms?: number | null | undefined;
346
+ interval_ms?: number | null | undefined;
347
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
348
+ phrases?: string[] | null | undefined;
349
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
350
+ trigger_delay_ms?: number | null | undefined;
351
+ } | null | undefined;
352
+ result_persistence?: "accumulate" | "override" | undefined;
353
+ tool_id: string;
354
+ }[] | undefined;
355
+ actions: {
356
+ description: string;
357
+ filler_hint?: string | null | undefined;
358
+ }[];
359
+ boundary_constraints: string[];
360
+ channel_overrides?: {
361
+ [x: string]: {
362
+ action_guidelines?: string[] | undefined;
363
+ objective?: string | null | undefined;
364
+ progress?: {
365
+ custom_phrase?: string | null | undefined;
366
+ deterministic?: boolean | undefined;
367
+ expected_latency_ms?: number | null | undefined;
368
+ interval_ms?: number | null | undefined;
369
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
370
+ phrases?: string[] | null | undefined;
371
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
372
+ trigger_delay_ms?: number | null | undefined;
373
+ } | null | undefined;
374
+ };
375
+ } | undefined;
376
+ escalation_config?: {
377
+ auto_escalate_threshold?: number | null | undefined;
378
+ max_loop_count?: number | undefined;
379
+ operator_skill?: string | null | undefined;
380
+ topic_risk_score?: number | undefined;
381
+ } | null | undefined;
382
+ exit_condition_tool_call_specs?: {
383
+ additional_instruction?: string | undefined;
384
+ audio_filler_triggered_after?: number | null | undefined;
385
+ audio_fillers?: string[] | null | undefined;
386
+ navigate_on_completion?: boolean | undefined;
387
+ progress?: {
388
+ custom_phrase?: string | null | undefined;
389
+ deterministic?: boolean | undefined;
390
+ expected_latency_ms?: number | null | undefined;
391
+ interval_ms?: number | null | undefined;
392
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
393
+ phrases?: string[] | null | undefined;
394
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
395
+ trigger_delay_ms?: number | null | undefined;
396
+ } | null | undefined;
397
+ result_persistence?: "accumulate" | "override" | undefined;
398
+ tool_id: string;
399
+ }[] | undefined;
400
+ exit_conditions: {
401
+ description: string;
402
+ filler_hint?: string | null | undefined;
403
+ next_state: string;
404
+ }[];
405
+ guardrails?: {
406
+ description: string;
407
+ enforcement?: "hard" | "soft" | undefined;
408
+ name: string;
409
+ }[] | undefined;
410
+ intra_state_navigation_guidelines: string[];
411
+ name: string;
412
+ objective: string;
413
+ surface_spec_template?: {
414
+ [x: string]: unknown;
415
+ } | null | undefined;
416
+ turn_policy?: {
417
+ barge_in_enabled?: boolean | undefined;
418
+ block_forward_call?: boolean | undefined;
419
+ block_forward_call_after_turns?: number | undefined;
420
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
421
+ degradation_threshold?: number | undefined;
422
+ greeting_shield_s?: number | undefined;
423
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
424
+ stt_eager_eot_threshold?: number | null | undefined;
425
+ stt_eot_threshold?: number | null | undefined;
426
+ stt_eot_timeout_ms?: number | null | undefined;
427
+ } | null | undefined;
428
+ type: "action";
429
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
430
+ } | {
431
+ inner_thought: string;
432
+ name: string;
433
+ next_state: string;
434
+ type: "annotation";
435
+ } | {
436
+ channel_overrides?: {
437
+ [x: string]: {
438
+ action_guidelines?: string[] | undefined;
439
+ objective?: string | null | undefined;
440
+ progress?: {
441
+ custom_phrase?: string | null | undefined;
442
+ deterministic?: boolean | undefined;
443
+ expected_latency_ms?: number | null | undefined;
444
+ interval_ms?: number | null | undefined;
445
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
446
+ phrases?: string[] | null | undefined;
447
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
448
+ trigger_delay_ms?: number | null | undefined;
449
+ } | null | undefined;
450
+ };
451
+ } | undefined;
452
+ decision_guidelines?: string[] | undefined;
453
+ exit_conditions: {
454
+ description: string;
455
+ filler_hint?: string | null | undefined;
456
+ next_state: string;
457
+ }[];
458
+ guardrails?: {
459
+ description: string;
460
+ enforcement?: "hard" | "soft" | undefined;
461
+ name: string;
462
+ }[] | undefined;
463
+ name: string;
464
+ objective: string;
465
+ tool_call_specs?: {
466
+ additional_instruction?: string | undefined;
467
+ audio_filler_triggered_after?: number | null | undefined;
468
+ audio_fillers?: string[] | null | undefined;
469
+ navigate_on_completion?: boolean | undefined;
470
+ progress?: {
471
+ custom_phrase?: string | null | undefined;
472
+ deterministic?: boolean | undefined;
473
+ expected_latency_ms?: number | null | undefined;
474
+ interval_ms?: number | null | undefined;
475
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
476
+ phrases?: string[] | null | undefined;
477
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
478
+ trigger_delay_ms?: number | null | undefined;
479
+ } | null | undefined;
480
+ result_persistence?: "accumulate" | "override" | undefined;
481
+ tool_id: string;
482
+ }[] | undefined;
483
+ turn_policy?: {
484
+ barge_in_enabled?: boolean | undefined;
485
+ block_forward_call?: boolean | undefined;
486
+ block_forward_call_after_turns?: number | undefined;
487
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
488
+ degradation_threshold?: number | undefined;
489
+ greeting_shield_s?: number | undefined;
490
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
491
+ stt_eager_eot_threshold?: number | null | undefined;
492
+ stt_eot_threshold?: number | null | undefined;
493
+ stt_eot_timeout_ms?: number | null | undefined;
494
+ } | null | undefined;
495
+ type: "decision";
496
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
497
+ } | {
498
+ action_guidelines?: string[] | undefined;
499
+ boundary_constraints?: string[] | undefined;
500
+ channel_overrides?: {
501
+ [x: string]: {
502
+ action_guidelines?: string[] | undefined;
503
+ objective?: string | null | undefined;
504
+ progress?: {
505
+ custom_phrase?: string | null | undefined;
506
+ deterministic?: boolean | undefined;
507
+ expected_latency_ms?: number | null | undefined;
508
+ interval_ms?: number | null | undefined;
509
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
510
+ phrases?: string[] | null | undefined;
511
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
512
+ trigger_delay_ms?: number | null | undefined;
513
+ } | null | undefined;
514
+ };
515
+ } | undefined;
516
+ fields: {
517
+ ask_prompt?: string | null | undefined;
518
+ fhir_path?: string | null | undefined;
519
+ key: string;
520
+ label: string;
521
+ options?: string[] | null | undefined;
522
+ required?: boolean | undefined;
523
+ type: string;
524
+ validation?: string | null | undefined;
525
+ }[];
526
+ guardrails?: {
527
+ description: string;
528
+ enforcement?: "hard" | "soft" | undefined;
529
+ name: string;
530
+ }[] | undefined;
531
+ max_turns?: number | undefined;
532
+ name: string;
533
+ objective: string;
534
+ on_complete: string;
535
+ surface_fallback?: boolean | undefined;
536
+ surface_fallback_after_turns?: number | undefined;
537
+ tool_call_specs?: {
538
+ additional_instruction?: string | undefined;
539
+ audio_filler_triggered_after?: number | null | undefined;
540
+ audio_fillers?: string[] | null | undefined;
541
+ navigate_on_completion?: boolean | undefined;
542
+ progress?: {
543
+ custom_phrase?: string | null | undefined;
544
+ deterministic?: boolean | undefined;
545
+ expected_latency_ms?: number | null | undefined;
546
+ interval_ms?: number | null | undefined;
547
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
548
+ phrases?: string[] | null | undefined;
549
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
550
+ trigger_delay_ms?: number | null | undefined;
551
+ } | null | undefined;
552
+ result_persistence?: "accumulate" | "override" | undefined;
553
+ tool_id: string;
554
+ }[] | undefined;
555
+ turn_policy?: {
556
+ barge_in_enabled?: boolean | undefined;
557
+ block_forward_call?: boolean | undefined;
558
+ block_forward_call_after_turns?: number | undefined;
559
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
560
+ degradation_threshold?: number | undefined;
561
+ greeting_shield_s?: number | undefined;
562
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
563
+ stt_eager_eot_threshold?: number | null | undefined;
564
+ stt_eot_threshold?: number | null | undefined;
565
+ stt_eot_timeout_ms?: number | null | undefined;
566
+ } | null | undefined;
567
+ type: "data_collection";
568
+ })[];
569
+ terminal_state: string;
570
+ topology_description: string | null;
571
+ updated_at: string;
572
+ version: number;
573
+ workspace_id: string;
574
+ }[];
575
+ total?: number | null | undefined;
85
576
  } & import("../index.js").ResponseMetadata>;
86
577
  listVersionsAutoPaging(contextGraphId: ContextGraphId | string, params?: ListParams): AsyncGenerator<{
87
578
  context_graph_id: string;
@@ -93,7 +584,240 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
93
584
  id: string;
94
585
  new_user_initial_state: string;
95
586
  returning_user_initial_state: string;
96
- states: components["schemas"]["ContextGraphState-Output"][];
587
+ states: ({
588
+ action_guidelines: string[];
589
+ action_tool_call_specs?: {
590
+ additional_instruction?: string | undefined;
591
+ audio_filler_triggered_after?: number | null | undefined;
592
+ audio_fillers?: string[] | null | undefined;
593
+ navigate_on_completion?: boolean | undefined;
594
+ progress?: {
595
+ custom_phrase?: string | null | undefined;
596
+ deterministic?: boolean | undefined;
597
+ expected_latency_ms?: number | null | undefined;
598
+ interval_ms?: number | null | undefined;
599
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
600
+ phrases?: string[] | null | undefined;
601
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
602
+ trigger_delay_ms?: number | null | undefined;
603
+ } | null | undefined;
604
+ result_persistence?: "accumulate" | "override" | undefined;
605
+ tool_id: string;
606
+ }[] | undefined;
607
+ actions: {
608
+ description: string;
609
+ filler_hint?: string | null | undefined;
610
+ }[];
611
+ boundary_constraints: string[];
612
+ channel_overrides?: {
613
+ [x: string]: {
614
+ action_guidelines?: string[] | undefined;
615
+ objective?: string | null | undefined;
616
+ progress?: {
617
+ custom_phrase?: string | null | undefined;
618
+ deterministic?: boolean | undefined;
619
+ expected_latency_ms?: number | null | undefined;
620
+ interval_ms?: number | null | undefined;
621
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
622
+ phrases?: string[] | null | undefined;
623
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
624
+ trigger_delay_ms?: number | null | undefined;
625
+ } | null | undefined;
626
+ };
627
+ } | undefined;
628
+ escalation_config?: {
629
+ auto_escalate_threshold?: number | null | undefined;
630
+ max_loop_count?: number | undefined;
631
+ operator_skill?: string | null | undefined;
632
+ topic_risk_score?: number | undefined;
633
+ } | null | undefined;
634
+ exit_condition_tool_call_specs?: {
635
+ additional_instruction?: string | undefined;
636
+ audio_filler_triggered_after?: number | null | undefined;
637
+ audio_fillers?: string[] | null | undefined;
638
+ navigate_on_completion?: boolean | undefined;
639
+ progress?: {
640
+ custom_phrase?: string | null | undefined;
641
+ deterministic?: boolean | undefined;
642
+ expected_latency_ms?: number | null | undefined;
643
+ interval_ms?: number | null | undefined;
644
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
645
+ phrases?: string[] | null | undefined;
646
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
647
+ trigger_delay_ms?: number | null | undefined;
648
+ } | null | undefined;
649
+ result_persistence?: "accumulate" | "override" | undefined;
650
+ tool_id: string;
651
+ }[] | undefined;
652
+ exit_conditions: {
653
+ description: string;
654
+ filler_hint?: string | null | undefined;
655
+ next_state: string;
656
+ }[];
657
+ guardrails?: {
658
+ description: string;
659
+ enforcement?: "hard" | "soft" | undefined;
660
+ name: string;
661
+ }[] | undefined;
662
+ intra_state_navigation_guidelines: string[];
663
+ name: string;
664
+ objective: string;
665
+ surface_spec_template?: {
666
+ [x: string]: unknown;
667
+ } | null | undefined;
668
+ turn_policy?: {
669
+ barge_in_enabled?: boolean | undefined;
670
+ block_forward_call?: boolean | undefined;
671
+ block_forward_call_after_turns?: number | undefined;
672
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
673
+ degradation_threshold?: number | undefined;
674
+ greeting_shield_s?: number | undefined;
675
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
676
+ stt_eager_eot_threshold?: number | null | undefined;
677
+ stt_eot_threshold?: number | null | undefined;
678
+ stt_eot_timeout_ms?: number | null | undefined;
679
+ } | null | undefined;
680
+ type: "action";
681
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
682
+ } | {
683
+ inner_thought: string;
684
+ name: string;
685
+ next_state: string;
686
+ type: "annotation";
687
+ } | {
688
+ channel_overrides?: {
689
+ [x: string]: {
690
+ action_guidelines?: string[] | undefined;
691
+ objective?: string | null | undefined;
692
+ progress?: {
693
+ custom_phrase?: string | null | undefined;
694
+ deterministic?: boolean | undefined;
695
+ expected_latency_ms?: number | null | undefined;
696
+ interval_ms?: number | null | undefined;
697
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
698
+ phrases?: string[] | null | undefined;
699
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
700
+ trigger_delay_ms?: number | null | undefined;
701
+ } | null | undefined;
702
+ };
703
+ } | undefined;
704
+ decision_guidelines?: string[] | undefined;
705
+ exit_conditions: {
706
+ description: string;
707
+ filler_hint?: string | null | undefined;
708
+ next_state: string;
709
+ }[];
710
+ guardrails?: {
711
+ description: string;
712
+ enforcement?: "hard" | "soft" | undefined;
713
+ name: string;
714
+ }[] | undefined;
715
+ name: string;
716
+ objective: string;
717
+ tool_call_specs?: {
718
+ additional_instruction?: string | undefined;
719
+ audio_filler_triggered_after?: number | null | undefined;
720
+ audio_fillers?: string[] | null | undefined;
721
+ navigate_on_completion?: boolean | undefined;
722
+ progress?: {
723
+ custom_phrase?: string | null | undefined;
724
+ deterministic?: boolean | undefined;
725
+ expected_latency_ms?: number | null | undefined;
726
+ interval_ms?: number | null | undefined;
727
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
728
+ phrases?: string[] | null | undefined;
729
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
730
+ trigger_delay_ms?: number | null | undefined;
731
+ } | null | undefined;
732
+ result_persistence?: "accumulate" | "override" | undefined;
733
+ tool_id: string;
734
+ }[] | undefined;
735
+ turn_policy?: {
736
+ barge_in_enabled?: boolean | undefined;
737
+ block_forward_call?: boolean | undefined;
738
+ block_forward_call_after_turns?: number | undefined;
739
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
740
+ degradation_threshold?: number | undefined;
741
+ greeting_shield_s?: number | undefined;
742
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
743
+ stt_eager_eot_threshold?: number | null | undefined;
744
+ stt_eot_threshold?: number | null | undefined;
745
+ stt_eot_timeout_ms?: number | null | undefined;
746
+ } | null | undefined;
747
+ type: "decision";
748
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
749
+ } | {
750
+ action_guidelines?: string[] | undefined;
751
+ boundary_constraints?: string[] | undefined;
752
+ channel_overrides?: {
753
+ [x: string]: {
754
+ action_guidelines?: string[] | undefined;
755
+ objective?: string | null | undefined;
756
+ progress?: {
757
+ custom_phrase?: string | null | undefined;
758
+ deterministic?: boolean | undefined;
759
+ expected_latency_ms?: number | null | undefined;
760
+ interval_ms?: number | null | undefined;
761
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
762
+ phrases?: string[] | null | undefined;
763
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
764
+ trigger_delay_ms?: number | null | undefined;
765
+ } | null | undefined;
766
+ };
767
+ } | undefined;
768
+ fields: {
769
+ ask_prompt?: string | null | undefined;
770
+ fhir_path?: string | null | undefined;
771
+ key: string;
772
+ label: string;
773
+ options?: string[] | null | undefined;
774
+ required?: boolean | undefined;
775
+ type: string;
776
+ validation?: string | null | undefined;
777
+ }[];
778
+ guardrails?: {
779
+ description: string;
780
+ enforcement?: "hard" | "soft" | undefined;
781
+ name: string;
782
+ }[] | undefined;
783
+ max_turns?: number | undefined;
784
+ name: string;
785
+ objective: string;
786
+ on_complete: string;
787
+ surface_fallback?: boolean | undefined;
788
+ surface_fallback_after_turns?: number | undefined;
789
+ tool_call_specs?: {
790
+ additional_instruction?: string | undefined;
791
+ audio_filler_triggered_after?: number | null | undefined;
792
+ audio_fillers?: string[] | null | undefined;
793
+ navigate_on_completion?: boolean | undefined;
794
+ progress?: {
795
+ custom_phrase?: string | null | undefined;
796
+ deterministic?: boolean | undefined;
797
+ expected_latency_ms?: number | null | undefined;
798
+ interval_ms?: number | null | undefined;
799
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
800
+ phrases?: string[] | null | undefined;
801
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
802
+ trigger_delay_ms?: number | null | undefined;
803
+ } | null | undefined;
804
+ result_persistence?: "accumulate" | "override" | undefined;
805
+ tool_id: string;
806
+ }[] | undefined;
807
+ turn_policy?: {
808
+ barge_in_enabled?: boolean | undefined;
809
+ block_forward_call?: boolean | undefined;
810
+ block_forward_call_after_turns?: number | undefined;
811
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
812
+ degradation_threshold?: number | undefined;
813
+ greeting_shield_s?: number | undefined;
814
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
815
+ stt_eager_eot_threshold?: number | null | undefined;
816
+ stt_eot_threshold?: number | null | undefined;
817
+ stt_eot_timeout_ms?: number | null | undefined;
818
+ } | null | undefined;
819
+ type: "data_collection";
820
+ })[];
97
821
  terminal_state: string;
98
822
  topology_description: string | null;
99
823
  updated_at: string;
@@ -111,7 +835,240 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
111
835
  id: string;
112
836
  new_user_initial_state: string;
113
837
  returning_user_initial_state: string;
114
- states: components["schemas"]["ContextGraphState-Output"][];
838
+ states: ({
839
+ action_guidelines: string[];
840
+ action_tool_call_specs?: {
841
+ additional_instruction?: string | undefined;
842
+ audio_filler_triggered_after?: number | null | undefined;
843
+ audio_fillers?: string[] | null | undefined;
844
+ navigate_on_completion?: boolean | undefined;
845
+ progress?: {
846
+ custom_phrase?: string | null | undefined;
847
+ deterministic?: boolean | undefined;
848
+ expected_latency_ms?: number | null | undefined;
849
+ interval_ms?: number | null | undefined;
850
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
851
+ phrases?: string[] | null | undefined;
852
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
853
+ trigger_delay_ms?: number | null | undefined;
854
+ } | null | undefined;
855
+ result_persistence?: "accumulate" | "override" | undefined;
856
+ tool_id: string;
857
+ }[] | undefined;
858
+ actions: {
859
+ description: string;
860
+ filler_hint?: string | null | undefined;
861
+ }[];
862
+ boundary_constraints: string[];
863
+ channel_overrides?: {
864
+ [x: string]: {
865
+ action_guidelines?: string[] | undefined;
866
+ objective?: string | null | undefined;
867
+ progress?: {
868
+ custom_phrase?: string | null | undefined;
869
+ deterministic?: boolean | undefined;
870
+ expected_latency_ms?: number | null | undefined;
871
+ interval_ms?: number | null | undefined;
872
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
873
+ phrases?: string[] | null | undefined;
874
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
875
+ trigger_delay_ms?: number | null | undefined;
876
+ } | null | undefined;
877
+ };
878
+ } | undefined;
879
+ escalation_config?: {
880
+ auto_escalate_threshold?: number | null | undefined;
881
+ max_loop_count?: number | undefined;
882
+ operator_skill?: string | null | undefined;
883
+ topic_risk_score?: number | undefined;
884
+ } | null | undefined;
885
+ exit_condition_tool_call_specs?: {
886
+ additional_instruction?: string | undefined;
887
+ audio_filler_triggered_after?: number | null | undefined;
888
+ audio_fillers?: string[] | null | undefined;
889
+ navigate_on_completion?: boolean | undefined;
890
+ progress?: {
891
+ custom_phrase?: string | null | undefined;
892
+ deterministic?: boolean | undefined;
893
+ expected_latency_ms?: number | null | undefined;
894
+ interval_ms?: number | null | undefined;
895
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
896
+ phrases?: string[] | null | undefined;
897
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
898
+ trigger_delay_ms?: number | null | undefined;
899
+ } | null | undefined;
900
+ result_persistence?: "accumulate" | "override" | undefined;
901
+ tool_id: string;
902
+ }[] | undefined;
903
+ exit_conditions: {
904
+ description: string;
905
+ filler_hint?: string | null | undefined;
906
+ next_state: string;
907
+ }[];
908
+ guardrails?: {
909
+ description: string;
910
+ enforcement?: "hard" | "soft" | undefined;
911
+ name: string;
912
+ }[] | undefined;
913
+ intra_state_navigation_guidelines: string[];
914
+ name: string;
915
+ objective: string;
916
+ surface_spec_template?: {
917
+ [x: string]: unknown;
918
+ } | null | undefined;
919
+ turn_policy?: {
920
+ barge_in_enabled?: boolean | undefined;
921
+ block_forward_call?: boolean | undefined;
922
+ block_forward_call_after_turns?: number | undefined;
923
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
924
+ degradation_threshold?: number | undefined;
925
+ greeting_shield_s?: number | undefined;
926
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
927
+ stt_eager_eot_threshold?: number | null | undefined;
928
+ stt_eot_threshold?: number | null | undefined;
929
+ stt_eot_timeout_ms?: number | null | undefined;
930
+ } | null | undefined;
931
+ type: "action";
932
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
933
+ } | {
934
+ inner_thought: string;
935
+ name: string;
936
+ next_state: string;
937
+ type: "annotation";
938
+ } | {
939
+ channel_overrides?: {
940
+ [x: string]: {
941
+ action_guidelines?: string[] | undefined;
942
+ objective?: string | null | undefined;
943
+ progress?: {
944
+ custom_phrase?: string | null | undefined;
945
+ deterministic?: boolean | undefined;
946
+ expected_latency_ms?: number | null | undefined;
947
+ interval_ms?: number | null | undefined;
948
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
949
+ phrases?: string[] | null | undefined;
950
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
951
+ trigger_delay_ms?: number | null | undefined;
952
+ } | null | undefined;
953
+ };
954
+ } | undefined;
955
+ decision_guidelines?: string[] | undefined;
956
+ exit_conditions: {
957
+ description: string;
958
+ filler_hint?: string | null | undefined;
959
+ next_state: string;
960
+ }[];
961
+ guardrails?: {
962
+ description: string;
963
+ enforcement?: "hard" | "soft" | undefined;
964
+ name: string;
965
+ }[] | undefined;
966
+ name: string;
967
+ objective: string;
968
+ tool_call_specs?: {
969
+ additional_instruction?: string | undefined;
970
+ audio_filler_triggered_after?: number | null | undefined;
971
+ audio_fillers?: string[] | null | undefined;
972
+ navigate_on_completion?: boolean | undefined;
973
+ progress?: {
974
+ custom_phrase?: string | null | undefined;
975
+ deterministic?: boolean | undefined;
976
+ expected_latency_ms?: number | null | undefined;
977
+ interval_ms?: number | null | undefined;
978
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
979
+ phrases?: string[] | null | undefined;
980
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
981
+ trigger_delay_ms?: number | null | undefined;
982
+ } | null | undefined;
983
+ result_persistence?: "accumulate" | "override" | undefined;
984
+ tool_id: string;
985
+ }[] | undefined;
986
+ turn_policy?: {
987
+ barge_in_enabled?: boolean | undefined;
988
+ block_forward_call?: boolean | undefined;
989
+ block_forward_call_after_turns?: number | undefined;
990
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
991
+ degradation_threshold?: number | undefined;
992
+ greeting_shield_s?: number | undefined;
993
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
994
+ stt_eager_eot_threshold?: number | null | undefined;
995
+ stt_eot_threshold?: number | null | undefined;
996
+ stt_eot_timeout_ms?: number | null | undefined;
997
+ } | null | undefined;
998
+ type: "decision";
999
+ wait_for?: ("surface_submission" | "human_approval") | null | undefined;
1000
+ } | {
1001
+ action_guidelines?: string[] | undefined;
1002
+ boundary_constraints?: string[] | undefined;
1003
+ channel_overrides?: {
1004
+ [x: string]: {
1005
+ action_guidelines?: string[] | undefined;
1006
+ objective?: string | null | undefined;
1007
+ progress?: {
1008
+ custom_phrase?: string | null | undefined;
1009
+ deterministic?: boolean | undefined;
1010
+ expected_latency_ms?: number | null | undefined;
1011
+ interval_ms?: number | null | undefined;
1012
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
1013
+ phrases?: string[] | null | undefined;
1014
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
1015
+ trigger_delay_ms?: number | null | undefined;
1016
+ } | null | undefined;
1017
+ };
1018
+ } | undefined;
1019
+ fields: {
1020
+ ask_prompt?: string | null | undefined;
1021
+ fhir_path?: string | null | undefined;
1022
+ key: string;
1023
+ label: string;
1024
+ options?: string[] | null | undefined;
1025
+ required?: boolean | undefined;
1026
+ type: string;
1027
+ validation?: string | null | undefined;
1028
+ }[];
1029
+ guardrails?: {
1030
+ description: string;
1031
+ enforcement?: "hard" | "soft" | undefined;
1032
+ name: string;
1033
+ }[] | undefined;
1034
+ max_turns?: number | undefined;
1035
+ name: string;
1036
+ objective: string;
1037
+ on_complete: string;
1038
+ surface_fallback?: boolean | undefined;
1039
+ surface_fallback_after_turns?: number | undefined;
1040
+ tool_call_specs?: {
1041
+ additional_instruction?: string | undefined;
1042
+ audio_filler_triggered_after?: number | null | undefined;
1043
+ audio_fillers?: string[] | null | undefined;
1044
+ navigate_on_completion?: boolean | undefined;
1045
+ progress?: {
1046
+ custom_phrase?: string | null | undefined;
1047
+ deterministic?: boolean | undefined;
1048
+ expected_latency_ms?: number | null | undefined;
1049
+ interval_ms?: number | null | undefined;
1050
+ mode?: "auto" | "silent" | "backchannel" | "verbal" | undefined;
1051
+ phrases?: string[] | null | undefined;
1052
+ progress_class?: ("lookup" | "write" | "external_call" | "compute" | "multi_step") | null | undefined;
1053
+ trigger_delay_ms?: number | null | undefined;
1054
+ } | null | undefined;
1055
+ result_persistence?: "accumulate" | "override" | undefined;
1056
+ tool_id: string;
1057
+ }[] | undefined;
1058
+ turn_policy?: {
1059
+ barge_in_enabled?: boolean | undefined;
1060
+ block_forward_call?: boolean | undefined;
1061
+ block_forward_call_after_turns?: number | undefined;
1062
+ context_strategy?: "full" | "summarize" | "compact" | undefined;
1063
+ degradation_threshold?: number | undefined;
1064
+ greeting_shield_s?: number | undefined;
1065
+ safety_response?: "suspend_forward" | "stay_empathize" | "alert" | undefined;
1066
+ stt_eager_eot_threshold?: number | null | undefined;
1067
+ stt_eot_threshold?: number | null | undefined;
1068
+ stt_eot_timeout_ms?: number | null | undefined;
1069
+ } | null | undefined;
1070
+ type: "data_collection";
1071
+ })[];
115
1072
  terminal_state: string;
116
1073
  topology_description: string | null;
117
1074
  updated_at: string;