@amigo-ai/platform-sdk 0.55.0 → 0.57.0
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/README.md +9 -16
- package/api.md +9 -31
- package/dist/core/branded-types.js +0 -1
- package/dist/core/branded-types.js.map +1 -1
- package/dist/index.cjs +67 -212
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +67 -212
- package/dist/index.mjs.map +4 -4
- package/dist/resources/fhir.js +1 -7
- package/dist/resources/fhir.js.map +1 -1
- package/dist/resources/settings.js +1 -19
- package/dist/resources/settings.js.map +1 -1
- package/dist/resources/workspace-data-queries.js +41 -0
- package/dist/resources/workspace-data-queries.js.map +1 -0
- package/dist/resources/world.js +0 -27
- package/dist/resources/world.js.map +1 -1
- package/dist/types/core/branded-types.d.ts +0 -2
- package/dist/types/core/branded-types.d.ts.map +1 -1
- package/dist/types/generated/api.d.ts +839 -2593
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +6 -6
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +0 -5
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +12 -0
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/fhir.d.ts +1 -22
- package/dist/types/resources/fhir.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts +6 -2
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +135 -10
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +5 -143
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +0 -5
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/workspace-data-queries.d.ts +22 -0
- package/dist/types/resources/workspace-data-queries.d.ts.map +1 -0
- package/dist/types/resources/world.d.ts +25 -82
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/resources/personas.js +0 -34
- package/dist/resources/personas.js.map +0 -1
- package/dist/resources/webhook-destinations.js +0 -50
- package/dist/resources/webhook-destinations.js.map +0 -1
- package/dist/types/resources/personas.d.ts +0 -87
- package/dist/types/resources/personas.d.ts.map +0 -1
- package/dist/types/resources/webhook-destinations.d.ts +0 -125
- package/dist/types/resources/webhook-destinations.d.ts.map +0 -1
|
@@ -49,8 +49,6 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
49
49
|
is_system?: boolean | undefined;
|
|
50
50
|
keyterms: string[];
|
|
51
51
|
name: string;
|
|
52
|
-
persona_id?: string | null | undefined;
|
|
53
|
-
persona_name?: string | null | undefined;
|
|
54
52
|
safety_filters_enabled?: boolean | undefined;
|
|
55
53
|
tags: {
|
|
56
54
|
key: string;
|
|
@@ -64,6 +62,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
64
62
|
context_graph_version_number?: number | null | undefined;
|
|
65
63
|
llm_model_preferences?: {
|
|
66
64
|
[x: string]: {
|
|
65
|
+
experience_controls?: {
|
|
66
|
+
frequency_penalty?: number | null | undefined;
|
|
67
|
+
logit_bias?: {
|
|
68
|
+
[x: string]: number;
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
logprobs?: boolean | null | undefined;
|
|
71
|
+
metadata?: {
|
|
72
|
+
[x: string]: string;
|
|
73
|
+
} | null | undefined;
|
|
74
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
75
|
+
presence_penalty?: number | null | undefined;
|
|
76
|
+
prompt_cache_key?: string | null | undefined;
|
|
77
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
78
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
79
|
+
response_format?: {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
} | null | undefined;
|
|
82
|
+
safety_identifier?: string | null | undefined;
|
|
83
|
+
seed?: number | null | undefined;
|
|
84
|
+
service_tier?: string | null | undefined;
|
|
85
|
+
stop?: string | string[] | null | undefined;
|
|
86
|
+
store?: boolean | null | undefined;
|
|
87
|
+
temperature?: number | null | undefined;
|
|
88
|
+
top_logprobs?: number | null | undefined;
|
|
89
|
+
top_p?: number | null | undefined;
|
|
90
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
91
|
+
} | null | undefined;
|
|
67
92
|
llm_name: string;
|
|
68
93
|
params?: {
|
|
69
94
|
[x: string]: unknown;
|
|
@@ -152,8 +177,6 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
152
177
|
is_system?: boolean | undefined;
|
|
153
178
|
keyterms: string[];
|
|
154
179
|
name: string;
|
|
155
|
-
persona_id?: string | null | undefined;
|
|
156
|
-
persona_name?: string | null | undefined;
|
|
157
180
|
safety_filters_enabled?: boolean | undefined;
|
|
158
181
|
tags: {
|
|
159
182
|
key: string;
|
|
@@ -167,6 +190,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
167
190
|
context_graph_version_number?: number | null | undefined;
|
|
168
191
|
llm_model_preferences?: {
|
|
169
192
|
[x: string]: {
|
|
193
|
+
experience_controls?: {
|
|
194
|
+
frequency_penalty?: number | null | undefined;
|
|
195
|
+
logit_bias?: {
|
|
196
|
+
[x: string]: number;
|
|
197
|
+
} | null | undefined;
|
|
198
|
+
logprobs?: boolean | null | undefined;
|
|
199
|
+
metadata?: {
|
|
200
|
+
[x: string]: string;
|
|
201
|
+
} | null | undefined;
|
|
202
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
203
|
+
presence_penalty?: number | null | undefined;
|
|
204
|
+
prompt_cache_key?: string | null | undefined;
|
|
205
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
206
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
207
|
+
response_format?: {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
} | null | undefined;
|
|
210
|
+
safety_identifier?: string | null | undefined;
|
|
211
|
+
seed?: number | null | undefined;
|
|
212
|
+
service_tier?: string | null | undefined;
|
|
213
|
+
stop?: string | string[] | null | undefined;
|
|
214
|
+
store?: boolean | null | undefined;
|
|
215
|
+
temperature?: number | null | undefined;
|
|
216
|
+
top_logprobs?: number | null | undefined;
|
|
217
|
+
top_p?: number | null | undefined;
|
|
218
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
219
|
+
} | null | undefined;
|
|
170
220
|
llm_name: string;
|
|
171
221
|
params?: {
|
|
172
222
|
[x: string]: unknown;
|
|
@@ -254,8 +304,6 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
254
304
|
is_system?: boolean | undefined;
|
|
255
305
|
keyterms: string[];
|
|
256
306
|
name: string;
|
|
257
|
-
persona_id?: string | null | undefined;
|
|
258
|
-
persona_name?: string | null | undefined;
|
|
259
307
|
safety_filters_enabled?: boolean | undefined;
|
|
260
308
|
tags: {
|
|
261
309
|
key: string;
|
|
@@ -269,6 +317,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
269
317
|
context_graph_version_number?: number | null | undefined;
|
|
270
318
|
llm_model_preferences?: {
|
|
271
319
|
[x: string]: {
|
|
320
|
+
experience_controls?: {
|
|
321
|
+
frequency_penalty?: number | null | undefined;
|
|
322
|
+
logit_bias?: {
|
|
323
|
+
[x: string]: number;
|
|
324
|
+
} | null | undefined;
|
|
325
|
+
logprobs?: boolean | null | undefined;
|
|
326
|
+
metadata?: {
|
|
327
|
+
[x: string]: string;
|
|
328
|
+
} | null | undefined;
|
|
329
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
330
|
+
presence_penalty?: number | null | undefined;
|
|
331
|
+
prompt_cache_key?: string | null | undefined;
|
|
332
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
333
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
334
|
+
response_format?: {
|
|
335
|
+
[x: string]: unknown;
|
|
336
|
+
} | null | undefined;
|
|
337
|
+
safety_identifier?: string | null | undefined;
|
|
338
|
+
seed?: number | null | undefined;
|
|
339
|
+
service_tier?: string | null | undefined;
|
|
340
|
+
stop?: string | string[] | null | undefined;
|
|
341
|
+
store?: boolean | null | undefined;
|
|
342
|
+
temperature?: number | null | undefined;
|
|
343
|
+
top_logprobs?: number | null | undefined;
|
|
344
|
+
top_p?: number | null | undefined;
|
|
345
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
346
|
+
} | null | undefined;
|
|
272
347
|
llm_name: string;
|
|
273
348
|
params?: {
|
|
274
349
|
[x: string]: unknown;
|
|
@@ -354,8 +429,6 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
354
429
|
is_system?: boolean | undefined;
|
|
355
430
|
keyterms: string[];
|
|
356
431
|
name: string;
|
|
357
|
-
persona_id?: string | null | undefined;
|
|
358
|
-
persona_name?: string | null | undefined;
|
|
359
432
|
safety_filters_enabled?: boolean | undefined;
|
|
360
433
|
tags: {
|
|
361
434
|
key: string;
|
|
@@ -369,6 +442,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
369
442
|
context_graph_version_number?: number | null | undefined;
|
|
370
443
|
llm_model_preferences?: {
|
|
371
444
|
[x: string]: {
|
|
445
|
+
experience_controls?: {
|
|
446
|
+
frequency_penalty?: number | null | undefined;
|
|
447
|
+
logit_bias?: {
|
|
448
|
+
[x: string]: number;
|
|
449
|
+
} | null | undefined;
|
|
450
|
+
logprobs?: boolean | null | undefined;
|
|
451
|
+
metadata?: {
|
|
452
|
+
[x: string]: string;
|
|
453
|
+
} | null | undefined;
|
|
454
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
455
|
+
presence_penalty?: number | null | undefined;
|
|
456
|
+
prompt_cache_key?: string | null | undefined;
|
|
457
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
458
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
459
|
+
response_format?: {
|
|
460
|
+
[x: string]: unknown;
|
|
461
|
+
} | null | undefined;
|
|
462
|
+
safety_identifier?: string | null | undefined;
|
|
463
|
+
seed?: number | null | undefined;
|
|
464
|
+
service_tier?: string | null | undefined;
|
|
465
|
+
stop?: string | string[] | null | undefined;
|
|
466
|
+
store?: boolean | null | undefined;
|
|
467
|
+
temperature?: number | null | undefined;
|
|
468
|
+
top_logprobs?: number | null | undefined;
|
|
469
|
+
top_p?: number | null | undefined;
|
|
470
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
471
|
+
} | null | undefined;
|
|
372
472
|
llm_name: string;
|
|
373
473
|
params?: {
|
|
374
474
|
[x: string]: unknown;
|
|
@@ -454,8 +554,6 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
454
554
|
is_system?: boolean | undefined;
|
|
455
555
|
keyterms: string[];
|
|
456
556
|
name: string;
|
|
457
|
-
persona_id?: string | null | undefined;
|
|
458
|
-
persona_name?: string | null | undefined;
|
|
459
557
|
safety_filters_enabled?: boolean | undefined;
|
|
460
558
|
tags: {
|
|
461
559
|
key: string;
|
|
@@ -469,6 +567,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
469
567
|
context_graph_version_number?: number | null | undefined;
|
|
470
568
|
llm_model_preferences?: {
|
|
471
569
|
[x: string]: {
|
|
570
|
+
experience_controls?: {
|
|
571
|
+
frequency_penalty?: number | null | undefined;
|
|
572
|
+
logit_bias?: {
|
|
573
|
+
[x: string]: number;
|
|
574
|
+
} | null | undefined;
|
|
575
|
+
logprobs?: boolean | null | undefined;
|
|
576
|
+
metadata?: {
|
|
577
|
+
[x: string]: string;
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
580
|
+
presence_penalty?: number | null | undefined;
|
|
581
|
+
prompt_cache_key?: string | null | undefined;
|
|
582
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
583
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
584
|
+
response_format?: {
|
|
585
|
+
[x: string]: unknown;
|
|
586
|
+
} | null | undefined;
|
|
587
|
+
safety_identifier?: string | null | undefined;
|
|
588
|
+
seed?: number | null | undefined;
|
|
589
|
+
service_tier?: string | null | undefined;
|
|
590
|
+
stop?: string | string[] | null | undefined;
|
|
591
|
+
store?: boolean | null | undefined;
|
|
592
|
+
temperature?: number | null | undefined;
|
|
593
|
+
top_logprobs?: number | null | undefined;
|
|
594
|
+
top_p?: number | null | undefined;
|
|
595
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
596
|
+
} | null | undefined;
|
|
472
597
|
llm_name: string;
|
|
473
598
|
params?: {
|
|
474
599
|
[x: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/resources/services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IACpD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IACrD,MAAM,CAAC,IAAI,EAAE,UAAU,CA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AG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAuBi76nB,qBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAfx+6nB,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAey36nB,qBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IANx+6nB,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK3D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { components } from '../generated/api.js';
|
|
2
2
|
import { WorkspaceScopedResource } from './base.js';
|
|
3
3
|
/**
|
|
4
|
-
* Workspace-level settings — configure voice
|
|
4
|
+
* Workspace-level settings — configure voice, branding, data
|
|
5
5
|
* retention, outreach rules, and more.
|
|
6
6
|
*
|
|
7
7
|
* Each sub-resource has `get()` and `update()`.
|
|
@@ -201,58 +201,6 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
201
201
|
world_events_days: number;
|
|
202
202
|
} & import("../index.js").ResponseMetadata>;
|
|
203
203
|
};
|
|
204
|
-
readonly behaviors: {
|
|
205
|
-
get: () => Promise<{
|
|
206
|
-
behaviors: {
|
|
207
|
-
action?: {
|
|
208
|
-
add_tools?: string[] | undefined;
|
|
209
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
210
|
-
instruction?: string | undefined;
|
|
211
|
-
remove_tools?: string[] | undefined;
|
|
212
|
-
turn_policy_overrides?: {
|
|
213
|
-
[x: string]: unknown;
|
|
214
|
-
} | undefined;
|
|
215
|
-
} | undefined;
|
|
216
|
-
cooldown_turns?: number | undefined;
|
|
217
|
-
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
218
|
-
enabled?: boolean | undefined;
|
|
219
|
-
name: components["schemas"]["NameString"];
|
|
220
|
-
priority?: number | undefined;
|
|
221
|
-
trigger?: {
|
|
222
|
-
emotion_tiers?: number[] | undefined;
|
|
223
|
-
intent_categories?: string[] | undefined;
|
|
224
|
-
keywords?: string[] | undefined;
|
|
225
|
-
states?: string[] | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
}[];
|
|
228
|
-
enabled: boolean;
|
|
229
|
-
} & import("../index.js").ResponseMetadata>;
|
|
230
|
-
update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
|
|
231
|
-
behaviors: {
|
|
232
|
-
action?: {
|
|
233
|
-
add_tools?: string[] | undefined;
|
|
234
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
235
|
-
instruction?: string | undefined;
|
|
236
|
-
remove_tools?: string[] | undefined;
|
|
237
|
-
turn_policy_overrides?: {
|
|
238
|
-
[x: string]: unknown;
|
|
239
|
-
} | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
cooldown_turns?: number | undefined;
|
|
242
|
-
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
243
|
-
enabled?: boolean | undefined;
|
|
244
|
-
name: components["schemas"]["NameString"];
|
|
245
|
-
priority?: number | undefined;
|
|
246
|
-
trigger?: {
|
|
247
|
-
emotion_tiers?: number[] | undefined;
|
|
248
|
-
intent_categories?: string[] | undefined;
|
|
249
|
-
keywords?: string[] | undefined;
|
|
250
|
-
states?: string[] | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
}[];
|
|
253
|
-
enabled: boolean;
|
|
254
|
-
} & import("../index.js").ResponseMetadata>;
|
|
255
|
-
};
|
|
256
204
|
readonly gapScanner: {
|
|
257
205
|
get: () => Promise<{
|
|
258
206
|
appointment_lookahead_hours: number;
|
|
@@ -336,6 +284,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
336
284
|
builtin?: boolean | undefined;
|
|
337
285
|
categories?: string[] | null | undefined;
|
|
338
286
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
287
|
+
custom_source_key?: string | null | undefined;
|
|
339
288
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
340
289
|
event_types: string[];
|
|
341
290
|
extract_path?: string | null | undefined;
|
|
@@ -352,7 +301,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
352
301
|
prompt?: string | null | undefined;
|
|
353
302
|
ratio_denominator_event?: string | null | undefined;
|
|
354
303
|
ratio_numerator_event?: string | null | undefined;
|
|
355
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
304
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results" | "custom";
|
|
356
305
|
source_filter?: string | null | undefined;
|
|
357
306
|
sql_expression?: string | null | undefined;
|
|
358
307
|
unit?: string | null | undefined;
|
|
@@ -374,6 +323,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
374
323
|
builtin?: boolean | undefined;
|
|
375
324
|
categories?: string[] | null | undefined;
|
|
376
325
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
326
|
+
custom_source_key?: string | null | undefined;
|
|
377
327
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
378
328
|
event_types: string[];
|
|
379
329
|
extract_path?: string | null | undefined;
|
|
@@ -390,7 +340,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
390
340
|
prompt?: string | null | undefined;
|
|
391
341
|
ratio_denominator_event?: string | null | undefined;
|
|
392
342
|
ratio_numerator_event?: string | null | undefined;
|
|
393
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
343
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results" | "custom";
|
|
394
344
|
source_filter?: string | null | undefined;
|
|
395
345
|
sql_expression?: string | null | undefined;
|
|
396
346
|
unit?: string | null | undefined;
|
|
@@ -427,93 +377,5 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
427
377
|
} | undefined;
|
|
428
378
|
} & import("../index.js").ResponseMetadata>;
|
|
429
379
|
};
|
|
430
|
-
readonly workflows: {
|
|
431
|
-
get: () => Promise<{
|
|
432
|
-
workflows?: {
|
|
433
|
-
description?: string | undefined;
|
|
434
|
-
enabled?: boolean | undefined;
|
|
435
|
-
id?: string | undefined;
|
|
436
|
-
input_query?: string | null | undefined;
|
|
437
|
-
max_concurrent?: number | undefined;
|
|
438
|
-
name: string;
|
|
439
|
-
steps: {
|
|
440
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
441
|
-
condition?: string | null | undefined;
|
|
442
|
-
endpoint?: string | null | undefined;
|
|
443
|
-
integration?: string | null | undefined;
|
|
444
|
-
items_from?: string | null | undefined;
|
|
445
|
-
name: string;
|
|
446
|
-
on_false?: string | null | undefined;
|
|
447
|
-
on_true?: string | null | undefined;
|
|
448
|
-
request_body?: {
|
|
449
|
-
[x: string]: unknown;
|
|
450
|
-
} | undefined;
|
|
451
|
-
retry_backoff_seconds?: number | undefined;
|
|
452
|
-
retry_count?: number | undefined;
|
|
453
|
-
surface_spec?: {
|
|
454
|
-
[x: string]: unknown;
|
|
455
|
-
} | null | undefined;
|
|
456
|
-
tool_name?: string | null | undefined;
|
|
457
|
-
tool_params?: {
|
|
458
|
-
[x: string]: unknown;
|
|
459
|
-
} | undefined;
|
|
460
|
-
type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
|
|
461
|
-
wait_duration?: string | null | undefined;
|
|
462
|
-
wait_for_event?: string | null | undefined;
|
|
463
|
-
}[];
|
|
464
|
-
timeout?: string | undefined;
|
|
465
|
-
trigger: {
|
|
466
|
-
cron_expression?: string | null | undefined;
|
|
467
|
-
event_filter?: {
|
|
468
|
-
[x: string]: unknown;
|
|
469
|
-
} | null | undefined;
|
|
470
|
-
type: "cron" | "event" | "manual";
|
|
471
|
-
};
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
} & import("../index.js").ResponseMetadata>;
|
|
474
|
-
update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
|
|
475
|
-
workflows?: {
|
|
476
|
-
description?: string | undefined;
|
|
477
|
-
enabled?: boolean | undefined;
|
|
478
|
-
id?: string | undefined;
|
|
479
|
-
input_query?: string | null | undefined;
|
|
480
|
-
max_concurrent?: number | undefined;
|
|
481
|
-
name: string;
|
|
482
|
-
steps: {
|
|
483
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
484
|
-
condition?: string | null | undefined;
|
|
485
|
-
endpoint?: string | null | undefined;
|
|
486
|
-
integration?: string | null | undefined;
|
|
487
|
-
items_from?: string | null | undefined;
|
|
488
|
-
name: string;
|
|
489
|
-
on_false?: string | null | undefined;
|
|
490
|
-
on_true?: string | null | undefined;
|
|
491
|
-
request_body?: {
|
|
492
|
-
[x: string]: unknown;
|
|
493
|
-
} | undefined;
|
|
494
|
-
retry_backoff_seconds?: number | undefined;
|
|
495
|
-
retry_count?: number | undefined;
|
|
496
|
-
surface_spec?: {
|
|
497
|
-
[x: string]: unknown;
|
|
498
|
-
} | null | undefined;
|
|
499
|
-
tool_name?: string | null | undefined;
|
|
500
|
-
tool_params?: {
|
|
501
|
-
[x: string]: unknown;
|
|
502
|
-
} | undefined;
|
|
503
|
-
type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
|
|
504
|
-
wait_duration?: string | null | undefined;
|
|
505
|
-
wait_for_event?: string | null | undefined;
|
|
506
|
-
}[];
|
|
507
|
-
timeout?: string | undefined;
|
|
508
|
-
trigger: {
|
|
509
|
-
cron_expression?: string | null | undefined;
|
|
510
|
-
event_filter?: {
|
|
511
|
-
[x: string]: unknown;
|
|
512
|
-
} | null | undefined;
|
|
513
|
-
type: "cron" | "event" | "manual";
|
|
514
|
-
};
|
|
515
|
-
}[] | undefined;
|
|
516
|
-
} & import("../index.js").ResponseMetadata>;
|
|
517
|
-
};
|
|
518
380
|
}
|
|
519
381
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -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;;;;;;;;;uBAOM,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;;;;;;;;MAOtE;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;;;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AAsB;;;;;;;;;;;sBAAo7G,qBAAsB;;;;;;;;;;;;;uBAzB9jzgB,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;;;;;;;;;;;;;;;+BAyBgjsgB,qBAAsB;;;;;;;;;;;sBAAo7G,qBAAsB;;;;;;;;;;;;;MAlBplzgB;IAED,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;uBAOE,UAAU,CAAC,SAAS,CAAC,CAAC,4BAA4B,CAAC;;;;;;;;;;;;;MAOzE;CACF"}
|
|
@@ -56,7 +56,6 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
56
56
|
updated_at: string;
|
|
57
57
|
urgency_keywords: string[];
|
|
58
58
|
use_structured_output: boolean;
|
|
59
|
-
version: number;
|
|
60
59
|
workspace_id: string;
|
|
61
60
|
} & import("../index.js").ResponseMetadata>;
|
|
62
61
|
/** List skills in the workspace */
|
|
@@ -105,7 +104,6 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
105
104
|
updated_at: string;
|
|
106
105
|
urgency_keywords: string[];
|
|
107
106
|
use_structured_output: boolean;
|
|
108
|
-
version: number;
|
|
109
107
|
workspace_id: string;
|
|
110
108
|
}[];
|
|
111
109
|
total?: number | null | undefined;
|
|
@@ -152,7 +150,6 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
152
150
|
updated_at: string;
|
|
153
151
|
urgency_keywords: string[];
|
|
154
152
|
use_structured_output: boolean;
|
|
155
|
-
version: number;
|
|
156
153
|
workspace_id: string;
|
|
157
154
|
}, any, any>;
|
|
158
155
|
/** Get a single skill */
|
|
@@ -198,7 +195,6 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
198
195
|
updated_at: string;
|
|
199
196
|
urgency_keywords: string[];
|
|
200
197
|
use_structured_output: boolean;
|
|
201
|
-
version: number;
|
|
202
198
|
workspace_id: string;
|
|
203
199
|
} & import("../index.js").ResponseMetadata>;
|
|
204
200
|
/** Update a skill */
|
|
@@ -244,7 +240,6 @@ export declare class SkillsResource extends WorkspaceScopedResource {
|
|
|
244
240
|
updated_at: string;
|
|
245
241
|
urgency_keywords: string[];
|
|
246
242
|
use_structured_output: boolean;
|
|
247
|
-
version: number;
|
|
248
243
|
workspace_id: string;
|
|
249
244
|
} & import("../index.js").ResponseMetadata>;
|
|
250
245
|
/** Delete a skill */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/resources/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,KAAK,eAAe,GAAG,WAAW,CAChC,WAAW,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAC9E,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;CACnD;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD,yBAAyB;IACnB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/resources/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,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AC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;CAQtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../../src/resources/surfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAC1C,KAAK,CAAC,6BAA6B,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CACnE,CAAA;AACD,sFAAsF;AACtF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,KAAK,CAAC,oCAAoC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAC1E,CAAA;AAED;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,qCAAqC;IAC/B,IAAI,CAAC,MAAM,CAAC,EAAE,kBAAkB;;;;
|
|
1
|
+
{"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../../src/resources/surfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAC1C,KAAK,CAAC,6BAA6B,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CACnE,CAAA;AACD,sFAAsF;AACtF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,KAAK,CAAC,oCAAoC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,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C,uCAAuC;IACjC,OAAO,CAAC,SAAS,EAAE,MAAM;;gBA2BqmwmB,qBAAsB;;;IAnB1pwmB,sCAAsC;IAChC,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;gBAkBijwmB,qBAAsB;;;IAT1pwmB,wEAAwE;IAClE,OAAO,CAAC,SAAS,EAAE,MAAM;iBAQ+k8V,qBAAsB;;;;;;;;gBAAsnB,qBAAsB;;;;;;CADjx9V"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { components } from '../generated/api.js';
|
|
2
|
+
import { WorkspaceScopedResource } from './base.js';
|
|
3
|
+
export type WorkspaceDataQuery = components['schemas']['WorkspaceDataQueryItem'];
|
|
4
|
+
export type WorkspaceDataQueryListItem = components['schemas']['src__routes__workspace_data_queries__list_workspace_data_queries__Item'];
|
|
5
|
+
export type WorkspaceDataQueryListResponse = components['schemas']['src__routes__workspace_data_queries__list_workspace_data_queries__Response'];
|
|
6
|
+
export type CreateWorkspaceDataQueryRequest = components['schemas']['src__routes__workspace_data_queries__create_workspace_data_query__Request'];
|
|
7
|
+
export type UpdateWorkspaceDataQueryRequest = components['schemas']['src__routes__workspace_data_queries__update_workspace_data_query__Request'];
|
|
8
|
+
export type InvokeWorkspaceDataQueryRequest = components['schemas']['src__routes__workspace_data_queries__invoke_workspace_data_query__Request'];
|
|
9
|
+
export type InvokeWorkspaceDataQueryResponse = components['schemas']['src__routes__workspace_data_queries__invoke_workspace_data_query__Response'];
|
|
10
|
+
/**
|
|
11
|
+
* Workspace data queries — register, list, update, and invoke Lakebase-backed
|
|
12
|
+
* workspace query tools.
|
|
13
|
+
*/
|
|
14
|
+
export declare class WorkspaceDataQueriesResource extends WorkspaceScopedResource {
|
|
15
|
+
list(): Promise<WorkspaceDataQueryListResponse>;
|
|
16
|
+
create(body: CreateWorkspaceDataQueryRequest): Promise<WorkspaceDataQuery>;
|
|
17
|
+
get(queryId: string): Promise<WorkspaceDataQuery>;
|
|
18
|
+
update(queryId: string, body: UpdateWorkspaceDataQueryRequest): Promise<WorkspaceDataQuery>;
|
|
19
|
+
delete(queryId: string): Promise<void>;
|
|
20
|
+
invoke(queryId: string, body?: InvokeWorkspaceDataQueryRequest): Promise<InvokeWorkspaceDataQueryResponse>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=workspace-data-queries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-data-queries.d.ts","sourceRoot":"","sources":["../../../src/resources/workspace-data-queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,wBAAwB,CAAC,CAAA;AAChF,MAAM,MAAM,0BAA0B,GACpC,UAAU,CAAC,SAAS,CAAC,CAAC,wEAAwE,CAAC,CAAA;AACjG,MAAM,MAAM,8BAA8B,GACxC,UAAU,CAAC,SAAS,CAAC,CAAC,4EAA4E,CAAC,CAAA;AACrG,MAAM,MAAM,+BAA+B,GACzC,UAAU,CAAC,SAAS,CAAC,CAAC,2EAA2E,CAAC,CAAA;AACpG,MAAM,MAAM,+BAA+B,GACzC,UAAU,CAAC,SAAS,CAAC,CAAC,2EAA2E,CAAC,CAAA;AACpG,MAAM,MAAM,+BAA+B,GACzC,UAAU,CAAC,SAAS,CAAC,CAAC,2EAA2E,CAAC,CAAA;AACpG,MAAM,MAAM,gCAAgC,GAC1C,UAAU,CAAC,SAAS,CAAC,CAAC,4EAA4E,CAAC,CAAA;AAErG;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,uBAAuB;IACjE,IAAI,IAAI,OAAO,CAAC,8BAA8B,CAAC;IAQ/C,MAAM,CAAC,IAAI,EAAE,+BAA+B,GAAG,OAAO,C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