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