@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
@@ -37,38 +37,132 @@ export declare class SettingsResource extends WorkspaceScopedResource {
37
37
  };
38
38
  readonly branding: {
39
39
  get: () => Promise<{
40
- branding: components["schemas"]["BrandingConfig"];
40
+ branding: {
41
+ background_color?: string | null | undefined;
42
+ font_family?: string | null | undefined;
43
+ logo_url?: string | null | undefined;
44
+ primary_color?: string | null | undefined;
45
+ };
41
46
  } & import("../index.js").ResponseMetadata>;
42
47
  update: (body: components["schemas"]["BrandingSettingsRequest"]) => Promise<{
43
- branding: components["schemas"]["BrandingConfig"];
48
+ branding: {
49
+ background_color?: string | null | undefined;
50
+ font_family?: string | null | undefined;
51
+ logo_url?: string | null | undefined;
52
+ primary_color?: string | null | undefined;
53
+ };
44
54
  } & import("../index.js").ResponseMetadata>;
45
55
  };
46
56
  readonly outreach: {
47
57
  get: () => Promise<{
48
- data_templates: components["schemas"]["DataTemplate-Output"][];
49
- rules: components["schemas"]["OutreachRule"][];
58
+ data_templates: {
59
+ fields: {
60
+ field_type?: components["schemas"]["FieldType"] | undefined;
61
+ key: string;
62
+ label: components["schemas"]["NameString"];
63
+ path: string;
64
+ required?: boolean | undefined;
65
+ sensitive?: boolean | undefined;
66
+ }[];
67
+ id?: string | undefined;
68
+ name: components["schemas"]["NameString"];
69
+ }[];
70
+ rules: {
71
+ active?: boolean | undefined;
72
+ channel?: components["schemas"]["ChannelType"] | undefined;
73
+ consent_required?: boolean | undefined;
74
+ data_template_id?: string | null | undefined;
75
+ form_template_id?: string | null | undefined;
76
+ id?: string | undefined;
77
+ message_template?: string | undefined;
78
+ name: components["schemas"]["NameString"];
79
+ quiet_hours?: {
80
+ enabled?: boolean | undefined;
81
+ end_hour?: number | undefined;
82
+ start_hour?: number | undefined;
83
+ timezone?: string | undefined;
84
+ } | undefined;
85
+ review_required?: boolean | undefined;
86
+ trigger?: "appointment_window" | "post_visit" | "gap_detected" | "form_intake" | "manual" | undefined;
87
+ trigger_config?: {
88
+ [x: string]: unknown;
89
+ } | undefined;
90
+ }[];
50
91
  } & import("../index.js").ResponseMetadata>;
51
92
  update: (body: components["schemas"]["OutreachSettingsRequest"]) => Promise<{
52
- data_templates: components["schemas"]["DataTemplate-Output"][];
53
- rules: components["schemas"]["OutreachRule"][];
93
+ data_templates: {
94
+ fields: {
95
+ field_type?: components["schemas"]["FieldType"] | undefined;
96
+ key: string;
97
+ label: components["schemas"]["NameString"];
98
+ path: string;
99
+ required?: boolean | undefined;
100
+ sensitive?: boolean | undefined;
101
+ }[];
102
+ id?: string | undefined;
103
+ name: components["schemas"]["NameString"];
104
+ }[];
105
+ rules: {
106
+ active?: boolean | undefined;
107
+ channel?: components["schemas"]["ChannelType"] | undefined;
108
+ consent_required?: boolean | undefined;
109
+ data_template_id?: string | null | undefined;
110
+ form_template_id?: string | null | undefined;
111
+ id?: string | undefined;
112
+ message_template?: string | undefined;
113
+ name: components["schemas"]["NameString"];
114
+ quiet_hours?: {
115
+ enabled?: boolean | undefined;
116
+ end_hour?: number | undefined;
117
+ start_hour?: number | undefined;
118
+ timezone?: string | undefined;
119
+ } | undefined;
120
+ review_required?: boolean | undefined;
121
+ trigger?: "appointment_window" | "post_visit" | "gap_detected" | "form_intake" | "manual" | undefined;
122
+ trigger_config?: {
123
+ [x: string]: unknown;
124
+ } | undefined;
125
+ }[];
54
126
  } & import("../index.js").ResponseMetadata>;
55
127
  };
56
128
  readonly memory: {
57
129
  get: () => Promise<{
58
130
  backfill_requested: boolean;
59
- dimensions: components["schemas"]["MemoryDimension"][];
131
+ dimensions: {
132
+ active?: boolean | undefined;
133
+ builtin?: boolean | undefined;
134
+ description?: (components["schemas"]["DescriptionString"] | null) | undefined;
135
+ event_types: string[];
136
+ extract_paths?: string[] | undefined;
137
+ extraction_mode?: "static" | "llm" | undefined;
138
+ id?: string | undefined;
139
+ key: string;
140
+ name: components["schemas"]["NameString"];
141
+ weight?: number | undefined;
142
+ }[];
60
143
  } & import("../index.js").ResponseMetadata>;
61
144
  update: (body: components["schemas"]["MemorySettingsRequest"]) => Promise<{
62
145
  backfill_requested: boolean;
63
- dimensions: components["schemas"]["MemoryDimension"][];
146
+ dimensions: {
147
+ active?: boolean | undefined;
148
+ builtin?: boolean | undefined;
149
+ description?: (components["schemas"]["DescriptionString"] | null) | undefined;
150
+ event_types: string[];
151
+ extract_paths?: string[] | undefined;
152
+ extraction_mode?: "static" | "llm" | undefined;
153
+ id?: string | undefined;
154
+ key: string;
155
+ name: components["schemas"]["NameString"];
156
+ weight?: number | undefined;
157
+ }[];
64
158
  } & import("../index.js").ResponseMetadata>;
65
159
  };
66
160
  readonly security: {
67
161
  get: () => Promise<{
68
- voice_auth_enabled?: boolean;
162
+ voice_auth_enabled?: boolean | undefined;
69
163
  } & import("../index.js").ResponseMetadata>;
70
164
  update: (body: components["schemas"]["SecuritySettingsRequest"]) => Promise<{
71
- voice_auth_enabled?: boolean;
165
+ voice_auth_enabled?: boolean | undefined;
72
166
  } & import("../index.js").ResponseMetadata>;
73
167
  };
74
168
  readonly retention: {
@@ -77,7 +171,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
77
171
  call_recordings_days: number;
78
172
  call_transcripts_days: number;
79
173
  legal_hold: boolean;
80
- legal_hold_reason?: string | null;
174
+ legal_hold_reason?: string | null | undefined;
81
175
  phi_data_days: number;
82
176
  world_events_days: number;
83
177
  } & import("../index.js").ResponseMetadata>;
@@ -86,18 +180,60 @@ export declare class SettingsResource extends WorkspaceScopedResource {
86
180
  call_recordings_days: number;
87
181
  call_transcripts_days: number;
88
182
  legal_hold: boolean;
89
- legal_hold_reason?: string | null;
183
+ legal_hold_reason?: string | null | undefined;
90
184
  phi_data_days: number;
91
185
  world_events_days: number;
92
186
  } & import("../index.js").ResponseMetadata>;
93
187
  };
94
188
  readonly behaviors: {
95
189
  get: () => Promise<{
96
- behaviors: components["schemas"]["BehaviorDef"][];
190
+ behaviors: {
191
+ action?: {
192
+ add_tools?: string[] | undefined;
193
+ filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
194
+ instruction?: string | undefined;
195
+ remove_tools?: string[] | undefined;
196
+ turn_policy_overrides?: {
197
+ [x: string]: unknown;
198
+ } | undefined;
199
+ } | undefined;
200
+ cooldown_turns?: number | undefined;
201
+ description?: components["schemas"]["DescriptionString"] | undefined;
202
+ enabled?: boolean | undefined;
203
+ name: components["schemas"]["NameString"];
204
+ priority?: number | undefined;
205
+ trigger?: {
206
+ emotion_tiers?: number[] | undefined;
207
+ intent_categories?: string[] | undefined;
208
+ keywords?: string[] | undefined;
209
+ states?: string[] | undefined;
210
+ } | undefined;
211
+ }[];
97
212
  enabled: boolean;
98
213
  } & import("../index.js").ResponseMetadata>;
99
214
  update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
100
- behaviors: components["schemas"]["BehaviorDef"][];
215
+ behaviors: {
216
+ action?: {
217
+ add_tools?: string[] | undefined;
218
+ filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
219
+ instruction?: string | undefined;
220
+ remove_tools?: string[] | undefined;
221
+ turn_policy_overrides?: {
222
+ [x: string]: unknown;
223
+ } | undefined;
224
+ } | undefined;
225
+ cooldown_turns?: number | undefined;
226
+ description?: components["schemas"]["DescriptionString"] | undefined;
227
+ enabled?: boolean | undefined;
228
+ name: components["schemas"]["NameString"];
229
+ priority?: number | undefined;
230
+ trigger?: {
231
+ emotion_tiers?: number[] | undefined;
232
+ intent_categories?: string[] | undefined;
233
+ keywords?: string[] | undefined;
234
+ states?: string[] | undefined;
235
+ } | undefined;
236
+ }[];
101
237
  enabled: boolean;
102
238
  } & import("../index.js").ResponseMetadata>;
103
239
  };
@@ -110,7 +246,21 @@ export declare class SettingsResource extends WorkspaceScopedResource {
110
246
  max_pending_surfaces: number;
111
247
  max_surfaces_per_tick: number;
112
248
  min_completion_rate: number;
113
- requirements: components["schemas"]["GapRequirement-Output"][];
249
+ requirements: {
250
+ channel?: components["schemas"]["ChannelType"] | undefined;
251
+ entity_type?: "person" | undefined;
252
+ name: components["schemas"]["NameString"];
253
+ priority?: "low" | "normal" | "high" | undefined;
254
+ required_fields: {
255
+ field_type?: components["schemas"]["FieldType"] | undefined;
256
+ label: components["schemas"]["NameString"];
257
+ min_items?: number | null | undefined;
258
+ path: string;
259
+ }[];
260
+ surface_description?: (components["schemas"]["DescriptionString"] | null) | undefined;
261
+ surface_title?: (components["schemas"]["NameString"] | null) | undefined;
262
+ trigger?: "upcoming_appointment" | "recent_interaction" | undefined;
263
+ }[];
114
264
  scan_interval_seconds: number;
115
265
  } & import("../index.js").ResponseMetadata>;
116
266
  update: (body: components["schemas"]["GapScannerSettingsRequest"]) => Promise<{
@@ -121,56 +271,274 @@ export declare class SettingsResource extends WorkspaceScopedResource {
121
271
  max_pending_surfaces: number;
122
272
  max_surfaces_per_tick: number;
123
273
  min_completion_rate: number;
124
- requirements: components["schemas"]["GapRequirement-Output"][];
274
+ requirements: {
275
+ channel?: components["schemas"]["ChannelType"] | undefined;
276
+ entity_type?: "person" | undefined;
277
+ name: components["schemas"]["NameString"];
278
+ priority?: "low" | "normal" | "high" | undefined;
279
+ required_fields: {
280
+ field_type?: components["schemas"]["FieldType"] | undefined;
281
+ label: components["schemas"]["NameString"];
282
+ min_items?: number | null | undefined;
283
+ path: string;
284
+ }[];
285
+ surface_description?: (components["schemas"]["DescriptionString"] | null) | undefined;
286
+ surface_title?: (components["schemas"]["NameString"] | null) | undefined;
287
+ trigger?: "upcoming_appointment" | "recent_interaction" | undefined;
288
+ }[];
125
289
  scan_interval_seconds: number;
126
290
  } & import("../index.js").ResponseMetadata>;
127
291
  };
128
292
  readonly scribe: {
129
293
  get: () => Promise<{
130
- authorized_clinicians: components["schemas"]["ScribeClinician"][];
131
- cds?: components["schemas"]["ScribeCdsConfig"];
294
+ authorized_clinicians: {
295
+ email: string;
296
+ name?: string | null | undefined;
297
+ role?: string | undefined;
298
+ }[];
299
+ cds?: {
300
+ care_gap_surfacing?: boolean | undefined;
301
+ documentation_completeness?: boolean | undefined;
302
+ guideline_matching?: boolean | undefined;
303
+ icd10_auto_suggest?: boolean | undefined;
304
+ } | undefined;
132
305
  enabled: boolean;
133
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
134
- safety?: components["schemas"]["ScribeSafetyConfig"];
135
- soap_style?: "concise" | "detailed" | "structured";
136
- voice_auth_enabled?: boolean;
306
+ post_encounter?: {
307
+ auto_polish_note?: boolean | undefined;
308
+ education_materials?: boolean | undefined;
309
+ follow_up_surface?: boolean | undefined;
310
+ order_preparation?: boolean | undefined;
311
+ } | undefined;
312
+ safety?: {
313
+ allergy_cross_reference?: boolean | undefined;
314
+ crisis_detection?: boolean | undefined;
315
+ drug_interaction_checking?: boolean | undefined;
316
+ vital_range_alerting?: boolean | undefined;
317
+ } | undefined;
318
+ soap_style?: "concise" | "detailed" | "structured" | undefined;
319
+ voice_auth_enabled?: boolean | undefined;
137
320
  } & import("../index.js").ResponseMetadata>;
138
321
  update: (body: components["schemas"]["ScribeSettingsRequest"]) => Promise<{
139
- authorized_clinicians: components["schemas"]["ScribeClinician"][];
140
- cds?: components["schemas"]["ScribeCdsConfig"];
322
+ authorized_clinicians: {
323
+ email: string;
324
+ name?: string | null | undefined;
325
+ role?: string | undefined;
326
+ }[];
327
+ cds?: {
328
+ care_gap_surfacing?: boolean | undefined;
329
+ documentation_completeness?: boolean | undefined;
330
+ guideline_matching?: boolean | undefined;
331
+ icd10_auto_suggest?: boolean | undefined;
332
+ } | undefined;
141
333
  enabled: boolean;
142
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
143
- safety?: components["schemas"]["ScribeSafetyConfig"];
144
- soap_style?: "concise" | "detailed" | "structured";
145
- voice_auth_enabled?: boolean;
334
+ post_encounter?: {
335
+ auto_polish_note?: boolean | undefined;
336
+ education_materials?: boolean | undefined;
337
+ follow_up_surface?: boolean | undefined;
338
+ order_preparation?: boolean | undefined;
339
+ } | undefined;
340
+ safety?: {
341
+ allergy_cross_reference?: boolean | undefined;
342
+ crisis_detection?: boolean | undefined;
343
+ drug_interaction_checking?: boolean | undefined;
344
+ vital_range_alerting?: boolean | undefined;
345
+ } | undefined;
346
+ soap_style?: "concise" | "detailed" | "structured" | undefined;
347
+ voice_auth_enabled?: boolean | undefined;
146
348
  } & import("../index.js").ResponseMetadata>;
147
349
  };
148
350
  readonly metrics: {
149
351
  get: () => Promise<{
150
- definitions: components["schemas"]["MetricDefinition"][];
352
+ definitions: {
353
+ active?: boolean | undefined;
354
+ aggregation?: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "ratio" | "rate" | undefined;
355
+ ai_labels?: string[] | null | undefined;
356
+ ai_query_endpoint?: string | null | undefined;
357
+ ai_query_prompt?: string | null | undefined;
358
+ ai_schema?: {
359
+ [x: string]: unknown;
360
+ } | null | undefined;
361
+ applies_to_product_types?: string[] | null | undefined;
362
+ builtin?: boolean | undefined;
363
+ categories?: string[] | null | undefined;
364
+ channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
365
+ description?: (components["schemas"]["DescriptionString"] | null) | undefined;
366
+ event_types: string[];
367
+ extract_path?: string | null | undefined;
368
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr" | undefined;
369
+ freshness_sla_minutes?: number | undefined;
370
+ granularity?: "aggregate" | "per_entity" | undefined;
371
+ id?: string | undefined;
372
+ key: string;
373
+ latency_tier?: "streaming" | "near_realtime" | "batch" | undefined;
374
+ metric_type: "numerical" | "categorical" | "boolean";
375
+ model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
376
+ name: components["schemas"]["NameString"];
377
+ period_granularity?: "hourly" | "daily" | undefined;
378
+ prompt?: string | null | undefined;
379
+ ratio_denominator_event?: string | null | undefined;
380
+ ratio_numerator_event?: string | null | undefined;
381
+ source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
382
+ source_filter?: string | null | undefined;
383
+ sql_expression?: string | null | undefined;
384
+ unit?: string | null | undefined;
385
+ valid_range_max?: number | null | undefined;
386
+ valid_range_min?: number | null | undefined;
387
+ }[];
151
388
  } & import("../index.js").ResponseMetadata>;
152
389
  update: (body: components["schemas"]["MetricSettingsRequest"]) => Promise<{
153
- definitions: components["schemas"]["MetricDefinition"][];
390
+ definitions: {
391
+ active?: boolean | undefined;
392
+ aggregation?: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "ratio" | "rate" | undefined;
393
+ ai_labels?: string[] | null | undefined;
394
+ ai_query_endpoint?: string | null | undefined;
395
+ ai_query_prompt?: string | null | undefined;
396
+ ai_schema?: {
397
+ [x: string]: unknown;
398
+ } | null | undefined;
399
+ applies_to_product_types?: string[] | null | undefined;
400
+ builtin?: boolean | undefined;
401
+ categories?: string[] | null | undefined;
402
+ channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
403
+ description?: (components["schemas"]["DescriptionString"] | null) | undefined;
404
+ event_types: string[];
405
+ extract_path?: string | null | undefined;
406
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr" | undefined;
407
+ freshness_sla_minutes?: number | undefined;
408
+ granularity?: "aggregate" | "per_entity" | undefined;
409
+ id?: string | undefined;
410
+ key: string;
411
+ latency_tier?: "streaming" | "near_realtime" | "batch" | undefined;
412
+ metric_type: "numerical" | "categorical" | "boolean";
413
+ model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
414
+ name: components["schemas"]["NameString"];
415
+ period_granularity?: "hourly" | "daily" | undefined;
416
+ prompt?: string | null | undefined;
417
+ ratio_denominator_event?: string | null | undefined;
418
+ ratio_numerator_event?: string | null | undefined;
419
+ source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
420
+ source_filter?: string | null | undefined;
421
+ sql_expression?: string | null | undefined;
422
+ unit?: string | null | undefined;
423
+ valid_range_max?: number | null | undefined;
424
+ valid_range_min?: number | null | undefined;
425
+ }[];
154
426
  } & import("../index.js").ResponseMetadata>;
155
427
  };
156
428
  readonly environments: {
157
429
  get: () => Promise<{
158
430
  environments?: {
159
- [key: string]: components["schemas"]["EnvironmentOverrides"];
160
- };
431
+ [x: string]: {
432
+ data_source_id?: string | null | undefined;
433
+ data_source_overrides?: {
434
+ [x: string]: unknown;
435
+ } | undefined;
436
+ tool_overrides?: {
437
+ [x: string]: unknown;
438
+ } | undefined;
439
+ };
440
+ } | undefined;
161
441
  } & import("../index.js").ResponseMetadata>;
162
442
  update: (body: components["schemas"]["EnvironmentSettingsRequest"]) => Promise<{
163
443
  environments?: {
164
- [key: string]: components["schemas"]["EnvironmentOverrides"];
165
- };
444
+ [x: string]: {
445
+ data_source_id?: string | null | undefined;
446
+ data_source_overrides?: {
447
+ [x: string]: unknown;
448
+ } | undefined;
449
+ tool_overrides?: {
450
+ [x: string]: unknown;
451
+ } | undefined;
452
+ };
453
+ } | undefined;
166
454
  } & import("../index.js").ResponseMetadata>;
167
455
  };
168
456
  readonly workflows: {
169
457
  get: () => Promise<{
170
- workflows?: components["schemas"]["WorkflowSpec-Output"][];
458
+ workflows?: {
459
+ description?: string | undefined;
460
+ enabled?: boolean | undefined;
461
+ id?: string | undefined;
462
+ input_query?: string | null | undefined;
463
+ max_concurrent?: number | undefined;
464
+ name: string;
465
+ steps: {
466
+ body_steps?: /*elided*/ any[] | null | undefined;
467
+ condition?: string | null | undefined;
468
+ endpoint?: string | null | undefined;
469
+ integration?: string | null | undefined;
470
+ items_from?: string | null | undefined;
471
+ name: string;
472
+ on_false?: string | null | undefined;
473
+ on_true?: string | null | undefined;
474
+ request_body?: {
475
+ [x: string]: unknown;
476
+ } | undefined;
477
+ retry_backoff_seconds?: number | undefined;
478
+ retry_count?: number | undefined;
479
+ surface_spec?: {
480
+ [x: string]: unknown;
481
+ } | null | undefined;
482
+ tool_name?: string | null | undefined;
483
+ tool_params?: {
484
+ [x: string]: unknown;
485
+ } | undefined;
486
+ type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
487
+ wait_duration?: string | null | undefined;
488
+ wait_for_event?: string | null | undefined;
489
+ }[];
490
+ timeout?: string | undefined;
491
+ trigger: {
492
+ cron_expression?: string | null | undefined;
493
+ event_filter?: {
494
+ [x: string]: unknown;
495
+ } | null | undefined;
496
+ type: "cron" | "event" | "manual";
497
+ };
498
+ }[] | undefined;
171
499
  } & import("../index.js").ResponseMetadata>;
172
500
  update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
173
- workflows?: components["schemas"]["WorkflowSpec-Output"][];
501
+ workflows?: {
502
+ description?: string | undefined;
503
+ enabled?: boolean | undefined;
504
+ id?: string | undefined;
505
+ input_query?: string | null | undefined;
506
+ max_concurrent?: number | undefined;
507
+ name: string;
508
+ steps: {
509
+ body_steps?: /*elided*/ any[] | null | undefined;
510
+ condition?: string | null | undefined;
511
+ endpoint?: string | null | undefined;
512
+ integration?: string | null | undefined;
513
+ items_from?: string | null | undefined;
514
+ name: string;
515
+ on_false?: string | null | undefined;
516
+ on_true?: string | null | undefined;
517
+ request_body?: {
518
+ [x: string]: unknown;
519
+ } | undefined;
520
+ retry_backoff_seconds?: number | undefined;
521
+ retry_count?: number | undefined;
522
+ surface_spec?: {
523
+ [x: string]: unknown;
524
+ } | null | undefined;
525
+ tool_name?: string | null | undefined;
526
+ tool_params?: {
527
+ [x: string]: unknown;
528
+ } | undefined;
529
+ type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
530
+ wait_duration?: string | null | undefined;
531
+ wait_for_event?: string | null | undefined;
532
+ }[];
533
+ timeout?: string | undefined;
534
+ trigger: {
535
+ cron_expression?: string | null | undefined;
536
+ event_filter?: {
537
+ [x: string]: unknown;
538
+ } | null | undefined;
539
+ type: "cron" | "event" | "manual";
540
+ };
541
+ }[] | undefined;
174
542
  } & import("../index.js").ResponseMetadata>;
175
543
  };
176
544
  }
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,QAAQ,CAAC,KAAK;;;;;;;;;;;;;;uBAOS,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;MAOnE;IAED,QAAQ,CAAC,QAAQ;;sBAgL4zvQ,qBAAsB;;uBAzK50vQ,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;sBAyKswvQ,qBAAsB;;MAlKl2vQ;IAED,QAAQ,CAAC,QAAQ;;4BAgK8/+f,qBAAsB;mBAAsE,qBAAsB;;uBAzJ1m/f,UAAU,CA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