@amigo-ai/platform-sdk 0.5.6 → 0.5.7
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 +40 -0
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +22 -126
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +16 -102
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +22 -74
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/api-keys.d.ts +3 -16
- package/dist/types/resources/api-keys.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +31 -87
- package/dist/types/resources/audit.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +9 -42
- package/dist/types/resources/billing.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +65 -169
- 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 +17 -958
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +13 -50
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +22 -49
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +49 -379
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/memory.d.ts +4 -48
- package/dist/types/resources/memory.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +64 -189
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +7 -20
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +8 -46
- 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 +49 -350
- package/dist/types/resources/review-queue.d.ts.map +1 -1
- package/dist/types/resources/safety.d.ts +6 -32
- package/dist/types/resources/safety.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +47 -242
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +36 -404
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +20 -148
- package/dist/types/resources/simulations.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +21 -117
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +64 -92
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts +20 -44
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +4 -26
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +121 -322
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -37,132 +37,38 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
37
37
|
};
|
|
38
38
|
readonly branding: {
|
|
39
39
|
get: () => Promise<{
|
|
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
|
-
};
|
|
40
|
+
branding: components["schemas"]["BrandingConfig"];
|
|
46
41
|
} & import("../index.js").ResponseMetadata>;
|
|
47
42
|
update: (body: components["schemas"]["BrandingSettingsRequest"]) => Promise<{
|
|
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
|
-
};
|
|
43
|
+
branding: components["schemas"]["BrandingConfig"];
|
|
54
44
|
} & import("../index.js").ResponseMetadata>;
|
|
55
45
|
};
|
|
56
46
|
readonly outreach: {
|
|
57
47
|
get: () => Promise<{
|
|
58
|
-
data_templates:
|
|
59
|
-
|
|
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
|
-
}[];
|
|
48
|
+
data_templates: components["schemas"]["DataTemplate-Output"][];
|
|
49
|
+
rules: components["schemas"]["OutreachRule"][];
|
|
91
50
|
} & import("../index.js").ResponseMetadata>;
|
|
92
51
|
update: (body: components["schemas"]["OutreachSettingsRequest"]) => Promise<{
|
|
93
|
-
data_templates:
|
|
94
|
-
|
|
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
|
-
}[];
|
|
52
|
+
data_templates: components["schemas"]["DataTemplate-Output"][];
|
|
53
|
+
rules: components["schemas"]["OutreachRule"][];
|
|
126
54
|
} & import("../index.js").ResponseMetadata>;
|
|
127
55
|
};
|
|
128
56
|
readonly memory: {
|
|
129
57
|
get: () => Promise<{
|
|
130
58
|
backfill_requested: boolean;
|
|
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
|
-
}[];
|
|
59
|
+
dimensions: components["schemas"]["MemoryDimension"][];
|
|
143
60
|
} & import("../index.js").ResponseMetadata>;
|
|
144
61
|
update: (body: components["schemas"]["MemorySettingsRequest"]) => Promise<{
|
|
145
62
|
backfill_requested: boolean;
|
|
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
|
-
}[];
|
|
63
|
+
dimensions: components["schemas"]["MemoryDimension"][];
|
|
158
64
|
} & import("../index.js").ResponseMetadata>;
|
|
159
65
|
};
|
|
160
66
|
readonly security: {
|
|
161
67
|
get: () => Promise<{
|
|
162
|
-
voice_auth_enabled?: boolean
|
|
68
|
+
voice_auth_enabled?: boolean;
|
|
163
69
|
} & import("../index.js").ResponseMetadata>;
|
|
164
70
|
update: (body: components["schemas"]["SecuritySettingsRequest"]) => Promise<{
|
|
165
|
-
voice_auth_enabled?: boolean
|
|
71
|
+
voice_auth_enabled?: boolean;
|
|
166
72
|
} & import("../index.js").ResponseMetadata>;
|
|
167
73
|
};
|
|
168
74
|
readonly retention: {
|
|
@@ -171,7 +77,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
171
77
|
call_recordings_days: number;
|
|
172
78
|
call_transcripts_days: number;
|
|
173
79
|
legal_hold: boolean;
|
|
174
|
-
legal_hold_reason?: string | null
|
|
80
|
+
legal_hold_reason?: string | null;
|
|
175
81
|
phi_data_days: number;
|
|
176
82
|
world_events_days: number;
|
|
177
83
|
} & import("../index.js").ResponseMetadata>;
|
|
@@ -180,60 +86,18 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
180
86
|
call_recordings_days: number;
|
|
181
87
|
call_transcripts_days: number;
|
|
182
88
|
legal_hold: boolean;
|
|
183
|
-
legal_hold_reason?: string | null
|
|
89
|
+
legal_hold_reason?: string | null;
|
|
184
90
|
phi_data_days: number;
|
|
185
91
|
world_events_days: number;
|
|
186
92
|
} & import("../index.js").ResponseMetadata>;
|
|
187
93
|
};
|
|
188
94
|
readonly behaviors: {
|
|
189
95
|
get: () => Promise<{
|
|
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
|
-
}[];
|
|
96
|
+
behaviors: components["schemas"]["BehaviorDef"][];
|
|
212
97
|
enabled: boolean;
|
|
213
98
|
} & import("../index.js").ResponseMetadata>;
|
|
214
99
|
update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
|
|
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
|
-
}[];
|
|
100
|
+
behaviors: components["schemas"]["BehaviorDef"][];
|
|
237
101
|
enabled: boolean;
|
|
238
102
|
} & import("../index.js").ResponseMetadata>;
|
|
239
103
|
};
|
|
@@ -246,21 +110,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
246
110
|
max_pending_surfaces: number;
|
|
247
111
|
max_surfaces_per_tick: number;
|
|
248
112
|
min_completion_rate: number;
|
|
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
|
-
}[];
|
|
113
|
+
requirements: components["schemas"]["GapRequirement-Output"][];
|
|
264
114
|
scan_interval_seconds: number;
|
|
265
115
|
} & import("../index.js").ResponseMetadata>;
|
|
266
116
|
update: (body: components["schemas"]["GapScannerSettingsRequest"]) => Promise<{
|
|
@@ -271,274 +121,56 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
271
121
|
max_pending_surfaces: number;
|
|
272
122
|
max_surfaces_per_tick: number;
|
|
273
123
|
min_completion_rate: number;
|
|
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
|
-
}[];
|
|
124
|
+
requirements: components["schemas"]["GapRequirement-Output"][];
|
|
289
125
|
scan_interval_seconds: number;
|
|
290
126
|
} & import("../index.js").ResponseMetadata>;
|
|
291
127
|
};
|
|
292
128
|
readonly scribe: {
|
|
293
129
|
get: () => Promise<{
|
|
294
|
-
authorized_clinicians:
|
|
295
|
-
|
|
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;
|
|
130
|
+
authorized_clinicians: components["schemas"]["ScribeClinician"][];
|
|
131
|
+
cds?: components["schemas"]["ScribeCdsConfig"];
|
|
305
132
|
enabled: boolean;
|
|
306
|
-
post_encounter?:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
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;
|
|
133
|
+
post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
|
|
134
|
+
safety?: components["schemas"]["ScribeSafetyConfig"];
|
|
135
|
+
soap_style?: "concise" | "detailed" | "structured";
|
|
136
|
+
voice_auth_enabled?: boolean;
|
|
320
137
|
} & import("../index.js").ResponseMetadata>;
|
|
321
138
|
update: (body: components["schemas"]["ScribeSettingsRequest"]) => Promise<{
|
|
322
|
-
authorized_clinicians:
|
|
323
|
-
|
|
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;
|
|
139
|
+
authorized_clinicians: components["schemas"]["ScribeClinician"][];
|
|
140
|
+
cds?: components["schemas"]["ScribeCdsConfig"];
|
|
333
141
|
enabled: boolean;
|
|
334
|
-
post_encounter?:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
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;
|
|
142
|
+
post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
|
|
143
|
+
safety?: components["schemas"]["ScribeSafetyConfig"];
|
|
144
|
+
soap_style?: "concise" | "detailed" | "structured";
|
|
145
|
+
voice_auth_enabled?: boolean;
|
|
348
146
|
} & import("../index.js").ResponseMetadata>;
|
|
349
147
|
};
|
|
350
148
|
readonly metrics: {
|
|
351
149
|
get: () => Promise<{
|
|
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
|
-
}[];
|
|
150
|
+
definitions: components["schemas"]["MetricDefinition"][];
|
|
388
151
|
} & import("../index.js").ResponseMetadata>;
|
|
389
152
|
update: (body: components["schemas"]["MetricSettingsRequest"]) => Promise<{
|
|
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
|
-
}[];
|
|
153
|
+
definitions: components["schemas"]["MetricDefinition"][];
|
|
426
154
|
} & import("../index.js").ResponseMetadata>;
|
|
427
155
|
};
|
|
428
156
|
readonly environments: {
|
|
429
157
|
get: () => Promise<{
|
|
430
158
|
environments?: {
|
|
431
|
-
[
|
|
432
|
-
|
|
433
|
-
data_source_overrides?: {
|
|
434
|
-
[x: string]: unknown;
|
|
435
|
-
} | undefined;
|
|
436
|
-
tool_overrides?: {
|
|
437
|
-
[x: string]: unknown;
|
|
438
|
-
} | undefined;
|
|
439
|
-
};
|
|
440
|
-
} | undefined;
|
|
159
|
+
[key: string]: components["schemas"]["EnvironmentOverrides"];
|
|
160
|
+
};
|
|
441
161
|
} & import("../index.js").ResponseMetadata>;
|
|
442
162
|
update: (body: components["schemas"]["EnvironmentSettingsRequest"]) => Promise<{
|
|
443
163
|
environments?: {
|
|
444
|
-
[
|
|
445
|
-
|
|
446
|
-
data_source_overrides?: {
|
|
447
|
-
[x: string]: unknown;
|
|
448
|
-
} | undefined;
|
|
449
|
-
tool_overrides?: {
|
|
450
|
-
[x: string]: unknown;
|
|
451
|
-
} | undefined;
|
|
452
|
-
};
|
|
453
|
-
} | undefined;
|
|
164
|
+
[key: string]: components["schemas"]["EnvironmentOverrides"];
|
|
165
|
+
};
|
|
454
166
|
} & import("../index.js").ResponseMetadata>;
|
|
455
167
|
};
|
|
456
168
|
readonly workflows: {
|
|
457
169
|
get: () => Promise<{
|
|
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;
|
|
170
|
+
workflows?: components["schemas"]["WorkflowSpec-Output"][];
|
|
499
171
|
} & import("../index.js").ResponseMetadata>;
|
|
500
172
|
update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
|
|
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;
|
|
173
|
+
workflows?: components["schemas"]["WorkflowSpec-Output"][];
|
|
542
174
|
} & import("../index.js").ResponseMetadata>;
|
|
543
175
|
};
|
|
544
176
|
}
|
|
@@ -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
|
|
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,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;4BAyJw8+f,qBAAsB;mBAAsE,qBAAsB;;MAlJho/f;IAED,QAAQ,CAAC,MAAM;;;wBAgJ85zd,qBAAsB;;uBAzI56zd,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;;wBAyIw2zd,qBAAsB;;MAlIl8zd;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;;uBAgG+0nQ,qBAAsB;;;uBAzFh2nQ,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;uBAyF0xnQ,qBAAsB;;;MAlFt3nQ;IAED,QAAQ,CAAC,UAAU;;;;;;;;;0BAgF+9xb,qBAAsB;;;uBAzEj/xb,UAAU,CAAC,SAAS,CAAC,CAAC,2BAA2B,CAAC;;;;;;;;0BAyEy6xb,qBAAsB;;;MAlEvgyb;IAED,QAAQ,CAAC,MAAM;;mCAgE43vkB,qBAAsB;kBAAwC,qBAAsB;;6BAA0G,qBAAsB;qBAAmD,qBAAsB;;;;uBAzDjpwkB,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;mCAyDs0vkB,qBAAsB;kBAAwC,qBAAsB;;6BAA0G,qBAAsB;qBAAmD,qBAAsB;;;;MAlDvqwkB;IAED,QAAQ,CAAC,OAAO;;yBAgD40xe,qBAAsB;;uBAzC31xe,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;yBAyCuxxe,qBAAsB;;MAlCj3xe;IAED,QAAQ,CAAC,YAAY;;;+BAgCsu/Y,qBAAsB;;;uBAzB1v/Y,UAAU,CAAC,SAAS,CAAC,CAAC,4BAA4B,CAAC;;+BAyBir/Y,qBAAsB;;;MAlBhx/Y;IAED,QAAQ,CAAC,SAAS;;wBAgBoh/rB,qBAAsB;;uBATri/rB,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;wBAS+9+rB,qBAAsB;;MAF3j/rB;CACF"}
|