@amigo-ai/platform-sdk 0.5.3 → 0.5.5
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.
- package/dist/types/generated/api.d.ts +14655 -13144
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +166 -166
- package/dist/types/resources/agents.d.ts +88 -88
- package/dist/types/resources/analytics.d.ts +39 -39
- package/dist/types/resources/api-keys.d.ts +29 -29
- package/dist/types/resources/audit.d.ts +73 -73
- package/dist/types/resources/billing.d.ts +36 -36
- package/dist/types/resources/calls.d.ts +106 -106
- package/dist/types/resources/compliance.d.ts +17 -17
- package/dist/types/resources/context-graphs.d.ts +633 -633
- package/dist/types/resources/data-sources.d.ts +81 -81
- package/dist/types/resources/functions.d.ts +22 -22
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +257 -257
- package/dist/types/resources/memory.d.ts +35 -35
- package/dist/types/resources/operators.d.ts +147 -147
- package/dist/types/resources/personas.d.ts +37 -37
- package/dist/types/resources/phone-numbers.d.ts +62 -62
- package/dist/types/resources/recordings.d.ts +9 -9
- package/dist/types/resources/review-queue.d.ts +331 -331
- package/dist/types/resources/safety.d.ts +33 -33
- package/dist/types/resources/services.d.ts +142 -142
- package/dist/types/resources/settings.d.ts +254 -254
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +73 -73
- package/dist/types/resources/skills.d.ts +163 -163
- package/dist/types/resources/triggers.d.ts +74 -74
- package/dist/types/resources/webhook-destinations.d.ts +57 -57
- package/dist/types/resources/workspaces.d.ts +50 -50
- package/dist/types/resources/world.d.ts +216 -216
- package/package.json +1 -1
|
@@ -9,152 +9,152 @@ import { WorkspaceScopedResource } from './base.js';
|
|
|
9
9
|
export declare class SettingsResource extends WorkspaceScopedResource {
|
|
10
10
|
readonly voice: {
|
|
11
11
|
get: () => Promise<{
|
|
12
|
-
voice_id: string | null;
|
|
13
|
-
tone: string | null;
|
|
14
|
-
speed: number | null;
|
|
15
|
-
volume: number | null;
|
|
16
|
-
language: string;
|
|
17
|
-
keyterms: string[];
|
|
18
12
|
correction_categories: string[];
|
|
13
|
+
keyterms: string[];
|
|
14
|
+
language: string;
|
|
15
|
+
post_call_analysis_enabled: boolean;
|
|
19
16
|
pronunciation_dict_id: string | null;
|
|
20
17
|
sensitive_topics: string[];
|
|
21
|
-
|
|
18
|
+
speed: number | null;
|
|
19
|
+
tone: string | null;
|
|
22
20
|
transcript_correction_enabled: boolean;
|
|
23
|
-
} & import("../index.js").ResponseMetadata>;
|
|
24
|
-
update: (body: components["schemas"]["VoiceSettingsRequest"]) => Promise<{
|
|
25
21
|
voice_id: string | null;
|
|
26
|
-
tone: string | null;
|
|
27
|
-
speed: number | null;
|
|
28
22
|
volume: number | null;
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
} & import("../index.js").ResponseMetadata>;
|
|
24
|
+
update: (body: components["schemas"]["VoiceSettingsRequest"]) => Promise<{
|
|
31
25
|
correction_categories: string[];
|
|
26
|
+
keyterms: string[];
|
|
27
|
+
language: string;
|
|
28
|
+
post_call_analysis_enabled: boolean;
|
|
32
29
|
pronunciation_dict_id: string | null;
|
|
33
30
|
sensitive_topics: string[];
|
|
34
|
-
|
|
31
|
+
speed: number | null;
|
|
32
|
+
tone: string | null;
|
|
35
33
|
transcript_correction_enabled: boolean;
|
|
34
|
+
voice_id: string | null;
|
|
35
|
+
volume: number | null;
|
|
36
36
|
} & import("../index.js").ResponseMetadata>;
|
|
37
37
|
};
|
|
38
38
|
readonly branding: {
|
|
39
39
|
get: () => Promise<{
|
|
40
40
|
branding: {
|
|
41
|
-
logo_url?: string | null | undefined;
|
|
42
|
-
primary_color?: string | null | undefined;
|
|
43
41
|
background_color?: string | null | undefined;
|
|
44
42
|
font_family?: string | null | undefined;
|
|
43
|
+
logo_url?: string | null | undefined;
|
|
44
|
+
primary_color?: string | null | undefined;
|
|
45
45
|
};
|
|
46
46
|
} & import("../index.js").ResponseMetadata>;
|
|
47
47
|
update: (body: components["schemas"]["BrandingSettingsRequest"]) => Promise<{
|
|
48
48
|
branding: {
|
|
49
|
-
logo_url?: string | null | undefined;
|
|
50
|
-
primary_color?: string | null | undefined;
|
|
51
49
|
background_color?: string | null | undefined;
|
|
52
50
|
font_family?: string | null | undefined;
|
|
51
|
+
logo_url?: string | null | undefined;
|
|
52
|
+
primary_color?: string | null | undefined;
|
|
53
53
|
};
|
|
54
54
|
} & import("../index.js").ResponseMetadata>;
|
|
55
55
|
};
|
|
56
56
|
readonly outreach: {
|
|
57
57
|
get: () => Promise<{
|
|
58
|
-
|
|
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
|
+
}[];
|
|
59
67
|
id?: string | undefined;
|
|
60
68
|
name: components["schemas"]["NameString"];
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} | undefined;
|
|
69
|
+
}[];
|
|
70
|
+
rules: {
|
|
71
|
+
active?: boolean | undefined;
|
|
65
72
|
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
66
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"];
|
|
67
79
|
quiet_hours?: {
|
|
68
80
|
enabled?: boolean | undefined;
|
|
69
|
-
start_hour?: number | undefined;
|
|
70
81
|
end_hour?: number | undefined;
|
|
82
|
+
start_hour?: number | undefined;
|
|
71
83
|
timezone?: string | undefined;
|
|
72
84
|
} | undefined;
|
|
73
85
|
review_required?: boolean | undefined;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
trigger?: "appointment_window" | "post_visit" | "gap_detected" | "form_intake" | "manual" | undefined;
|
|
87
|
+
trigger_config?: {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
} | undefined;
|
|
78
90
|
}[];
|
|
91
|
+
} & import("../index.js").ResponseMetadata>;
|
|
92
|
+
update: (body: components["schemas"]["OutreachSettingsRequest"]) => Promise<{
|
|
79
93
|
data_templates: {
|
|
80
|
-
id?: string | undefined;
|
|
81
|
-
name: components["schemas"]["NameString"];
|
|
82
94
|
fields: {
|
|
95
|
+
field_type?: components["schemas"]["FieldType"] | undefined;
|
|
83
96
|
key: string;
|
|
84
97
|
label: components["schemas"]["NameString"];
|
|
85
|
-
|
|
98
|
+
path: string;
|
|
86
99
|
required?: boolean | undefined;
|
|
87
100
|
sensitive?: boolean | undefined;
|
|
88
|
-
path: string;
|
|
89
101
|
}[];
|
|
90
|
-
}[];
|
|
91
|
-
} & import("../index.js").ResponseMetadata>;
|
|
92
|
-
update: (body: components["schemas"]["OutreachSettingsRequest"]) => Promise<{
|
|
93
|
-
rules: {
|
|
94
102
|
id?: string | undefined;
|
|
95
103
|
name: components["schemas"]["NameString"];
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} | undefined;
|
|
104
|
+
}[];
|
|
105
|
+
rules: {
|
|
106
|
+
active?: boolean | undefined;
|
|
100
107
|
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
101
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"];
|
|
102
114
|
quiet_hours?: {
|
|
103
115
|
enabled?: boolean | undefined;
|
|
104
|
-
start_hour?: number | undefined;
|
|
105
116
|
end_hour?: number | undefined;
|
|
117
|
+
start_hour?: number | undefined;
|
|
106
118
|
timezone?: string | undefined;
|
|
107
119
|
} | undefined;
|
|
108
120
|
review_required?: boolean | undefined;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}[];
|
|
114
|
-
data_templates: {
|
|
115
|
-
id?: string | undefined;
|
|
116
|
-
name: components["schemas"]["NameString"];
|
|
117
|
-
fields: {
|
|
118
|
-
key: string;
|
|
119
|
-
label: components["schemas"]["NameString"];
|
|
120
|
-
field_type?: components["schemas"]["FieldType"] | undefined;
|
|
121
|
-
required?: boolean | undefined;
|
|
122
|
-
sensitive?: boolean | undefined;
|
|
123
|
-
path: string;
|
|
124
|
-
}[];
|
|
121
|
+
trigger?: "appointment_window" | "post_visit" | "gap_detected" | "form_intake" | "manual" | undefined;
|
|
122
|
+
trigger_config?: {
|
|
123
|
+
[x: string]: unknown;
|
|
124
|
+
} | undefined;
|
|
125
125
|
}[];
|
|
126
126
|
} & import("../index.js").ResponseMetadata>;
|
|
127
127
|
};
|
|
128
128
|
readonly memory: {
|
|
129
129
|
get: () => Promise<{
|
|
130
|
+
backfill_requested: boolean;
|
|
130
131
|
dimensions: {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
name: components["schemas"]["NameString"];
|
|
132
|
+
active?: boolean | undefined;
|
|
133
|
+
builtin?: boolean | undefined;
|
|
134
134
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
135
135
|
event_types: string[];
|
|
136
136
|
extract_paths?: string[] | undefined;
|
|
137
137
|
extraction_mode?: "static" | "llm" | undefined;
|
|
138
|
+
id?: string | undefined;
|
|
139
|
+
key: string;
|
|
140
|
+
name: components["schemas"]["NameString"];
|
|
138
141
|
weight?: number | undefined;
|
|
139
|
-
active?: boolean | undefined;
|
|
140
|
-
builtin?: boolean | undefined;
|
|
141
142
|
}[];
|
|
142
|
-
backfill_requested: boolean;
|
|
143
143
|
} & import("../index.js").ResponseMetadata>;
|
|
144
144
|
update: (body: components["schemas"]["MemorySettingsRequest"]) => Promise<{
|
|
145
|
+
backfill_requested: boolean;
|
|
145
146
|
dimensions: {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
name: components["schemas"]["NameString"];
|
|
147
|
+
active?: boolean | undefined;
|
|
148
|
+
builtin?: boolean | undefined;
|
|
149
149
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
150
150
|
event_types: string[];
|
|
151
151
|
extract_paths?: string[] | undefined;
|
|
152
152
|
extraction_mode?: "static" | "llm" | undefined;
|
|
153
|
+
id?: string | undefined;
|
|
154
|
+
key: string;
|
|
155
|
+
name: components["schemas"]["NameString"];
|
|
153
156
|
weight?: number | undefined;
|
|
154
|
-
active?: boolean | undefined;
|
|
155
|
-
builtin?: boolean | undefined;
|
|
156
157
|
}[];
|
|
157
|
-
backfill_requested: boolean;
|
|
158
158
|
} & import("../index.js").ResponseMetadata>;
|
|
159
159
|
};
|
|
160
160
|
readonly security: {
|
|
@@ -167,261 +167,261 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
167
167
|
};
|
|
168
168
|
readonly retention: {
|
|
169
169
|
get: () => Promise<{
|
|
170
|
+
audit_log_days: number;
|
|
170
171
|
call_recordings_days: number;
|
|
171
172
|
call_transcripts_days: number;
|
|
172
|
-
audit_log_days: number;
|
|
173
|
-
world_events_days: number;
|
|
174
|
-
phi_data_days: number;
|
|
175
173
|
legal_hold: boolean;
|
|
176
174
|
legal_hold_reason?: string | null | undefined;
|
|
175
|
+
phi_data_days: number;
|
|
176
|
+
world_events_days: number;
|
|
177
177
|
} & import("../index.js").ResponseMetadata>;
|
|
178
178
|
update: (body: components["schemas"]["RetentionPolicyRequest"]) => Promise<{
|
|
179
|
+
audit_log_days: number;
|
|
179
180
|
call_recordings_days: number;
|
|
180
181
|
call_transcripts_days: number;
|
|
181
|
-
audit_log_days: number;
|
|
182
|
-
world_events_days: number;
|
|
183
|
-
phi_data_days: number;
|
|
184
182
|
legal_hold: boolean;
|
|
185
183
|
legal_hold_reason?: string | null | undefined;
|
|
184
|
+
phi_data_days: number;
|
|
185
|
+
world_events_days: number;
|
|
186
186
|
} & import("../index.js").ResponseMetadata>;
|
|
187
187
|
};
|
|
188
188
|
readonly behaviors: {
|
|
189
189
|
get: () => Promise<{
|
|
190
|
-
enabled: boolean;
|
|
191
190
|
behaviors: {
|
|
192
|
-
name: components["schemas"]["NameString"];
|
|
193
|
-
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
194
|
-
trigger?: {
|
|
195
|
-
keywords?: string[] | undefined;
|
|
196
|
-
intent_categories?: string[] | undefined;
|
|
197
|
-
emotion_tiers?: number[] | undefined;
|
|
198
|
-
states?: string[] | undefined;
|
|
199
|
-
} | undefined;
|
|
200
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;
|
|
201
196
|
turn_policy_overrides?: {
|
|
202
197
|
[x: string]: unknown;
|
|
203
198
|
} | undefined;
|
|
204
|
-
instruction?: string | undefined;
|
|
205
|
-
add_tools?: string[] | undefined;
|
|
206
|
-
remove_tools?: string[] | undefined;
|
|
207
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
208
199
|
} | undefined;
|
|
209
200
|
cooldown_turns?: number | undefined;
|
|
210
|
-
|
|
201
|
+
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
211
202
|
enabled?: boolean | undefined;
|
|
212
|
-
}[];
|
|
213
|
-
} & import("../index.js").ResponseMetadata>;
|
|
214
|
-
update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
|
|
215
|
-
enabled: boolean;
|
|
216
|
-
behaviors: {
|
|
217
203
|
name: components["schemas"]["NameString"];
|
|
218
|
-
|
|
204
|
+
priority?: number | undefined;
|
|
219
205
|
trigger?: {
|
|
220
|
-
keywords?: string[] | undefined;
|
|
221
|
-
intent_categories?: string[] | undefined;
|
|
222
206
|
emotion_tiers?: number[] | undefined;
|
|
207
|
+
intent_categories?: string[] | undefined;
|
|
208
|
+
keywords?: string[] | undefined;
|
|
223
209
|
states?: string[] | undefined;
|
|
224
210
|
} | undefined;
|
|
211
|
+
}[];
|
|
212
|
+
enabled: boolean;
|
|
213
|
+
} & import("../index.js").ResponseMetadata>;
|
|
214
|
+
update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
|
|
215
|
+
behaviors: {
|
|
225
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;
|
|
226
221
|
turn_policy_overrides?: {
|
|
227
222
|
[x: string]: unknown;
|
|
228
223
|
} | undefined;
|
|
229
|
-
instruction?: string | undefined;
|
|
230
|
-
add_tools?: string[] | undefined;
|
|
231
|
-
remove_tools?: string[] | undefined;
|
|
232
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
233
224
|
} | undefined;
|
|
234
225
|
cooldown_turns?: number | undefined;
|
|
235
|
-
|
|
226
|
+
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
236
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;
|
|
237
236
|
}[];
|
|
237
|
+
enabled: boolean;
|
|
238
238
|
} & import("../index.js").ResponseMetadata>;
|
|
239
239
|
};
|
|
240
240
|
readonly gapScanner: {
|
|
241
241
|
get: () => Promise<{
|
|
242
|
-
enabled: boolean;
|
|
243
|
-
scan_interval_seconds: number;
|
|
244
242
|
appointment_lookahead_hours: number;
|
|
243
|
+
channel_optimization: boolean;
|
|
245
244
|
cooldown_hours: number;
|
|
246
|
-
|
|
245
|
+
enabled: boolean;
|
|
247
246
|
max_pending_surfaces: number;
|
|
247
|
+
max_surfaces_per_tick: number;
|
|
248
248
|
min_completion_rate: number;
|
|
249
|
-
channel_optimization: boolean;
|
|
250
249
|
requirements: {
|
|
251
|
-
|
|
250
|
+
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
252
251
|
entity_type?: "person" | undefined;
|
|
253
|
-
|
|
252
|
+
name: components["schemas"]["NameString"];
|
|
253
|
+
priority?: "low" | "normal" | "high" | undefined;
|
|
254
254
|
required_fields: {
|
|
255
|
-
path: string;
|
|
256
|
-
label: components["schemas"]["NameString"];
|
|
257
255
|
field_type?: components["schemas"]["FieldType"] | undefined;
|
|
256
|
+
label: components["schemas"]["NameString"];
|
|
258
257
|
min_items?: number | null | undefined;
|
|
258
|
+
path: string;
|
|
259
259
|
}[];
|
|
260
|
-
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
261
|
-
priority?: "low" | "normal" | "high" | undefined;
|
|
262
|
-
surface_title?: (components["schemas"]["NameString"] | null) | undefined;
|
|
263
260
|
surface_description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
261
|
+
surface_title?: (components["schemas"]["NameString"] | null) | undefined;
|
|
262
|
+
trigger?: "upcoming_appointment" | "recent_interaction" | undefined;
|
|
264
263
|
}[];
|
|
264
|
+
scan_interval_seconds: number;
|
|
265
265
|
} & import("../index.js").ResponseMetadata>;
|
|
266
266
|
update: (body: components["schemas"]["GapScannerSettingsRequest"]) => Promise<{
|
|
267
|
-
enabled: boolean;
|
|
268
|
-
scan_interval_seconds: number;
|
|
269
267
|
appointment_lookahead_hours: number;
|
|
268
|
+
channel_optimization: boolean;
|
|
270
269
|
cooldown_hours: number;
|
|
271
|
-
|
|
270
|
+
enabled: boolean;
|
|
272
271
|
max_pending_surfaces: number;
|
|
272
|
+
max_surfaces_per_tick: number;
|
|
273
273
|
min_completion_rate: number;
|
|
274
|
-
channel_optimization: boolean;
|
|
275
274
|
requirements: {
|
|
276
|
-
|
|
275
|
+
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
277
276
|
entity_type?: "person" | undefined;
|
|
278
|
-
|
|
277
|
+
name: components["schemas"]["NameString"];
|
|
278
|
+
priority?: "low" | "normal" | "high" | undefined;
|
|
279
279
|
required_fields: {
|
|
280
|
-
path: string;
|
|
281
|
-
label: components["schemas"]["NameString"];
|
|
282
280
|
field_type?: components["schemas"]["FieldType"] | undefined;
|
|
281
|
+
label: components["schemas"]["NameString"];
|
|
283
282
|
min_items?: number | null | undefined;
|
|
283
|
+
path: string;
|
|
284
284
|
}[];
|
|
285
|
-
channel?: components["schemas"]["ChannelType"] | undefined;
|
|
286
|
-
priority?: "low" | "normal" | "high" | undefined;
|
|
287
|
-
surface_title?: (components["schemas"]["NameString"] | null) | undefined;
|
|
288
285
|
surface_description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
286
|
+
surface_title?: (components["schemas"]["NameString"] | null) | undefined;
|
|
287
|
+
trigger?: "upcoming_appointment" | "recent_interaction" | undefined;
|
|
289
288
|
}[];
|
|
289
|
+
scan_interval_seconds: number;
|
|
290
290
|
} & import("../index.js").ResponseMetadata>;
|
|
291
291
|
};
|
|
292
292
|
readonly scribe: {
|
|
293
293
|
get: () => Promise<{
|
|
294
|
-
enabled: boolean;
|
|
295
294
|
authorized_clinicians: {
|
|
296
295
|
email: string;
|
|
297
296
|
name?: string | null | undefined;
|
|
298
297
|
role?: string | undefined;
|
|
299
298
|
}[];
|
|
300
|
-
soap_style?: "concise" | "detailed" | "structured" | undefined;
|
|
301
|
-
safety?: {
|
|
302
|
-
drug_interaction_checking?: boolean | undefined;
|
|
303
|
-
allergy_cross_reference?: boolean | undefined;
|
|
304
|
-
crisis_detection?: boolean | undefined;
|
|
305
|
-
vital_range_alerting?: boolean | undefined;
|
|
306
|
-
} | undefined;
|
|
307
299
|
cds?: {
|
|
308
300
|
care_gap_surfacing?: boolean | undefined;
|
|
309
|
-
icd10_auto_suggest?: boolean | undefined;
|
|
310
|
-
guideline_matching?: boolean | undefined;
|
|
311
301
|
documentation_completeness?: boolean | undefined;
|
|
302
|
+
guideline_matching?: boolean | undefined;
|
|
303
|
+
icd10_auto_suggest?: boolean | undefined;
|
|
312
304
|
} | undefined;
|
|
305
|
+
enabled: boolean;
|
|
313
306
|
post_encounter?: {
|
|
314
307
|
auto_polish_note?: boolean | undefined;
|
|
315
|
-
order_preparation?: boolean | undefined;
|
|
316
308
|
education_materials?: boolean | undefined;
|
|
317
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;
|
|
318
317
|
} | undefined;
|
|
318
|
+
soap_style?: "concise" | "detailed" | "structured" | undefined;
|
|
319
319
|
voice_auth_enabled?: boolean | undefined;
|
|
320
320
|
} & import("../index.js").ResponseMetadata>;
|
|
321
321
|
update: (body: components["schemas"]["ScribeSettingsRequest"]) => Promise<{
|
|
322
|
-
enabled: boolean;
|
|
323
322
|
authorized_clinicians: {
|
|
324
323
|
email: string;
|
|
325
324
|
name?: string | null | undefined;
|
|
326
325
|
role?: string | undefined;
|
|
327
326
|
}[];
|
|
328
|
-
soap_style?: "concise" | "detailed" | "structured" | undefined;
|
|
329
|
-
safety?: {
|
|
330
|
-
drug_interaction_checking?: boolean | undefined;
|
|
331
|
-
allergy_cross_reference?: boolean | undefined;
|
|
332
|
-
crisis_detection?: boolean | undefined;
|
|
333
|
-
vital_range_alerting?: boolean | undefined;
|
|
334
|
-
} | undefined;
|
|
335
327
|
cds?: {
|
|
336
328
|
care_gap_surfacing?: boolean | undefined;
|
|
337
|
-
icd10_auto_suggest?: boolean | undefined;
|
|
338
|
-
guideline_matching?: boolean | undefined;
|
|
339
329
|
documentation_completeness?: boolean | undefined;
|
|
330
|
+
guideline_matching?: boolean | undefined;
|
|
331
|
+
icd10_auto_suggest?: boolean | undefined;
|
|
340
332
|
} | undefined;
|
|
333
|
+
enabled: boolean;
|
|
341
334
|
post_encounter?: {
|
|
342
335
|
auto_polish_note?: boolean | undefined;
|
|
343
|
-
order_preparation?: boolean | undefined;
|
|
344
336
|
education_materials?: boolean | undefined;
|
|
345
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;
|
|
346
345
|
} | undefined;
|
|
346
|
+
soap_style?: "concise" | "detailed" | "structured" | undefined;
|
|
347
347
|
voice_auth_enabled?: boolean | undefined;
|
|
348
348
|
} & import("../index.js").ResponseMetadata>;
|
|
349
349
|
};
|
|
350
350
|
readonly metrics: {
|
|
351
351
|
get: () => Promise<{
|
|
352
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;
|
|
353
371
|
id?: string | undefined;
|
|
354
372
|
key: string;
|
|
355
|
-
name: components["schemas"]["NameString"];
|
|
356
|
-
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
357
|
-
metric_type: "numerical" | "categorical" | "boolean";
|
|
358
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"];
|
|
359
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;
|
|
360
381
|
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
361
|
-
event_types: string[];
|
|
362
382
|
source_filter?: string | null | undefined;
|
|
363
|
-
|
|
364
|
-
|
|
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
|
+
}[];
|
|
388
|
+
} & import("../index.js").ResponseMetadata>;
|
|
389
|
+
update: (body: components["schemas"]["MetricSettingsRequest"]) => Promise<{
|
|
390
|
+
definitions: {
|
|
391
|
+
active?: boolean | undefined;
|
|
392
|
+
aggregation?: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "ratio" | "rate" | undefined;
|
|
365
393
|
ai_labels?: string[] | null | undefined;
|
|
394
|
+
ai_query_endpoint?: string | null | undefined;
|
|
395
|
+
ai_query_prompt?: string | null | undefined;
|
|
366
396
|
ai_schema?: {
|
|
367
397
|
[x: string]: unknown;
|
|
368
398
|
} | null | undefined;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
sql_expression?: string | null | undefined;
|
|
372
|
-
aggregation?: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "ratio" | "rate" | undefined;
|
|
373
|
-
ratio_numerator_event?: string | null | undefined;
|
|
374
|
-
ratio_denominator_event?: string | null | undefined;
|
|
375
|
-
valid_range_min?: number | null | undefined;
|
|
376
|
-
valid_range_max?: number | null | undefined;
|
|
377
|
-
freshness_sla_minutes?: number | undefined;
|
|
378
|
-
unit?: string | null | undefined;
|
|
399
|
+
applies_to_product_types?: string[] | null | undefined;
|
|
400
|
+
builtin?: boolean | undefined;
|
|
379
401
|
categories?: string[] | null | undefined;
|
|
380
|
-
model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
|
|
381
402
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
382
|
-
|
|
383
|
-
|
|
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;
|
|
384
408
|
granularity?: "aggregate" | "per_entity" | undefined;
|
|
385
|
-
active?: boolean | undefined;
|
|
386
|
-
builtin?: boolean | undefined;
|
|
387
|
-
}[];
|
|
388
|
-
} & import("../index.js").ResponseMetadata>;
|
|
389
|
-
update: (body: components["schemas"]["MetricSettingsRequest"]) => Promise<{
|
|
390
|
-
definitions: {
|
|
391
409
|
id?: string | undefined;
|
|
392
410
|
key: string;
|
|
393
|
-
name: components["schemas"]["NameString"];
|
|
394
|
-
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
395
|
-
metric_type: "numerical" | "categorical" | "boolean";
|
|
396
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"];
|
|
397
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;
|
|
398
419
|
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
399
|
-
event_types: string[];
|
|
400
420
|
source_filter?: string | null | undefined;
|
|
401
|
-
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr" | undefined;
|
|
402
|
-
extract_path?: string | null | undefined;
|
|
403
|
-
ai_labels?: string[] | null | undefined;
|
|
404
|
-
ai_schema?: {
|
|
405
|
-
[x: string]: unknown;
|
|
406
|
-
} | null | undefined;
|
|
407
|
-
ai_query_endpoint?: string | null | undefined;
|
|
408
|
-
ai_query_prompt?: string | null | undefined;
|
|
409
421
|
sql_expression?: string | null | undefined;
|
|
410
|
-
aggregation?: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "ratio" | "rate" | undefined;
|
|
411
|
-
ratio_numerator_event?: string | null | undefined;
|
|
412
|
-
ratio_denominator_event?: string | null | undefined;
|
|
413
|
-
valid_range_min?: number | null | undefined;
|
|
414
|
-
valid_range_max?: number | null | undefined;
|
|
415
|
-
freshness_sla_minutes?: number | undefined;
|
|
416
422
|
unit?: string | null | undefined;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
420
|
-
applies_to_product_types?: string[] | null | undefined;
|
|
421
|
-
prompt?: string | null | undefined;
|
|
422
|
-
granularity?: "aggregate" | "per_entity" | undefined;
|
|
423
|
-
active?: boolean | undefined;
|
|
424
|
-
builtin?: boolean | undefined;
|
|
423
|
+
valid_range_max?: number | null | undefined;
|
|
424
|
+
valid_range_min?: number | null | undefined;
|
|
425
425
|
}[];
|
|
426
426
|
} & import("../index.js").ResponseMetadata>;
|
|
427
427
|
};
|
|
@@ -430,10 +430,10 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
430
430
|
environments?: {
|
|
431
431
|
[x: string]: {
|
|
432
432
|
data_source_id?: string | null | undefined;
|
|
433
|
-
|
|
433
|
+
data_source_overrides?: {
|
|
434
434
|
[x: string]: unknown;
|
|
435
435
|
} | undefined;
|
|
436
|
-
|
|
436
|
+
tool_overrides?: {
|
|
437
437
|
[x: string]: unknown;
|
|
438
438
|
} | undefined;
|
|
439
439
|
};
|
|
@@ -443,10 +443,10 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
443
443
|
environments?: {
|
|
444
444
|
[x: string]: {
|
|
445
445
|
data_source_id?: string | null | undefined;
|
|
446
|
-
|
|
446
|
+
data_source_overrides?: {
|
|
447
447
|
[x: string]: unknown;
|
|
448
448
|
} | undefined;
|
|
449
|
-
|
|
449
|
+
tool_overrides?: {
|
|
450
450
|
[x: string]: unknown;
|
|
451
451
|
} | undefined;
|
|
452
452
|
};
|
|
@@ -456,88 +456,88 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
456
456
|
readonly workflows: {
|
|
457
457
|
get: () => Promise<{
|
|
458
458
|
workflows?: {
|
|
459
|
-
id?: string | undefined;
|
|
460
|
-
name: string;
|
|
461
459
|
description?: string | undefined;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
cron_expression?: string | null | undefined;
|
|
465
|
-
event_filter?: {
|
|
466
|
-
[x: string]: unknown;
|
|
467
|
-
} | null | undefined;
|
|
468
|
-
};
|
|
460
|
+
enabled?: boolean | undefined;
|
|
461
|
+
id?: string | undefined;
|
|
469
462
|
input_query?: string | null | undefined;
|
|
463
|
+
max_concurrent?: number | undefined;
|
|
464
|
+
name: string;
|
|
470
465
|
steps: {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
tool_name?: string | null | undefined;
|
|
474
|
-
tool_params?: {
|
|
475
|
-
[x: string]: unknown;
|
|
476
|
-
} | undefined;
|
|
477
|
-
integration?: string | null | undefined;
|
|
466
|
+
body_steps?: /*elided*/ any[] | null | undefined;
|
|
467
|
+
condition?: string | null | undefined;
|
|
478
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;
|
|
479
474
|
request_body?: {
|
|
480
475
|
[x: string]: unknown;
|
|
481
476
|
} | undefined;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
condition?: string | null | undefined;
|
|
485
|
-
on_true?: string | null | undefined;
|
|
486
|
-
on_false?: string | null | undefined;
|
|
487
|
-
items_from?: string | null | undefined;
|
|
488
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
477
|
+
retry_backoff_seconds?: number | undefined;
|
|
478
|
+
retry_count?: number | undefined;
|
|
489
479
|
surface_spec?: {
|
|
490
480
|
[x: string]: unknown;
|
|
491
481
|
} | null | undefined;
|
|
492
|
-
|
|
493
|
-
|
|
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;
|
|
494
489
|
}[];
|
|
495
490
|
timeout?: string | undefined;
|
|
496
|
-
max_concurrent?: number | undefined;
|
|
497
|
-
enabled?: boolean | undefined;
|
|
498
|
-
}[] | undefined;
|
|
499
|
-
} & import("../index.js").ResponseMetadata>;
|
|
500
|
-
update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
|
|
501
|
-
workflows?: {
|
|
502
|
-
id?: string | undefined;
|
|
503
|
-
name: string;
|
|
504
|
-
description?: string | undefined;
|
|
505
491
|
trigger: {
|
|
506
|
-
type: "cron" | "event" | "manual";
|
|
507
492
|
cron_expression?: string | null | undefined;
|
|
508
493
|
event_filter?: {
|
|
509
494
|
[x: string]: unknown;
|
|
510
495
|
} | null | undefined;
|
|
496
|
+
type: "cron" | "event" | "manual";
|
|
511
497
|
};
|
|
498
|
+
}[] | undefined;
|
|
499
|
+
} & import("../index.js").ResponseMetadata>;
|
|
500
|
+
update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
|
|
501
|
+
workflows?: {
|
|
502
|
+
description?: string | undefined;
|
|
503
|
+
enabled?: boolean | undefined;
|
|
504
|
+
id?: string | undefined;
|
|
512
505
|
input_query?: string | null | undefined;
|
|
506
|
+
max_concurrent?: number | undefined;
|
|
507
|
+
name: string;
|
|
513
508
|
steps: {
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
tool_name?: string | null | undefined;
|
|
517
|
-
tool_params?: {
|
|
518
|
-
[x: string]: unknown;
|
|
519
|
-
} | undefined;
|
|
520
|
-
integration?: string | null | undefined;
|
|
509
|
+
body_steps?: /*elided*/ any[] | null | undefined;
|
|
510
|
+
condition?: string | null | undefined;
|
|
521
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;
|
|
522
517
|
request_body?: {
|
|
523
518
|
[x: string]: unknown;
|
|
524
519
|
} | undefined;
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
condition?: string | null | undefined;
|
|
528
|
-
on_true?: string | null | undefined;
|
|
529
|
-
on_false?: string | null | undefined;
|
|
530
|
-
items_from?: string | null | undefined;
|
|
531
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
520
|
+
retry_backoff_seconds?: number | undefined;
|
|
521
|
+
retry_count?: number | undefined;
|
|
532
522
|
surface_spec?: {
|
|
533
523
|
[x: string]: unknown;
|
|
534
524
|
} | null | undefined;
|
|
535
|
-
|
|
536
|
-
|
|
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;
|
|
537
532
|
}[];
|
|
538
533
|
timeout?: string | undefined;
|
|
539
|
-
|
|
540
|
-
|
|
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
541
|
}[] | undefined;
|
|
542
542
|
} & import("../index.js").ResponseMetadata>;
|
|
543
543
|
};
|