retell-utils 0.4.3 → 0.4.4
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/flow.d.ts +6 -0
- package/dist/flow.js +2 -0
- package/package.json +1 -1
package/dist/flow.d.ts
CHANGED
|
@@ -263,6 +263,7 @@ export declare const FlowNodeSchema: z.ZodObject<{
|
|
|
263
263
|
user: "user";
|
|
264
264
|
agent: "agent";
|
|
265
265
|
}>>;
|
|
266
|
+
interruption_sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
266
267
|
global_node_setting: z.ZodOptional<z.ZodObject<{
|
|
267
268
|
condition: z.ZodOptional<z.ZodString>;
|
|
268
269
|
positive_finetune_examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -333,6 +334,7 @@ export declare const FlowNodeSchema: z.ZodObject<{
|
|
|
333
334
|
}, z.core.$strip>;
|
|
334
335
|
/** A local component embedded within a conversation flow. */
|
|
335
336
|
export declare const FlowComponentSchema: z.ZodObject<{
|
|
337
|
+
conversation_flow_component_id: z.ZodOptional<z.ZodString>;
|
|
336
338
|
name: z.ZodOptional<z.ZodString>;
|
|
337
339
|
nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
340
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -520,6 +522,7 @@ export declare const FlowComponentSchema: z.ZodObject<{
|
|
|
520
522
|
user: "user";
|
|
521
523
|
agent: "agent";
|
|
522
524
|
}>>;
|
|
525
|
+
interruption_sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
523
526
|
global_node_setting: z.ZodOptional<z.ZodObject<{
|
|
524
527
|
condition: z.ZodOptional<z.ZodString>;
|
|
525
528
|
positive_finetune_examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -777,6 +780,7 @@ export declare const ConversationFlowResponseSchema: z.ZodObject<{
|
|
|
777
780
|
timezone: z.ZodOptional<z.ZodString>;
|
|
778
781
|
}, z.core.$strip>>>>;
|
|
779
782
|
components: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
783
|
+
conversation_flow_component_id: z.ZodOptional<z.ZodString>;
|
|
780
784
|
name: z.ZodOptional<z.ZodString>;
|
|
781
785
|
nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
786
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -964,6 +968,7 @@ export declare const ConversationFlowResponseSchema: z.ZodObject<{
|
|
|
964
968
|
user: "user";
|
|
965
969
|
agent: "agent";
|
|
966
970
|
}>>;
|
|
971
|
+
interruption_sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
967
972
|
global_node_setting: z.ZodOptional<z.ZodObject<{
|
|
968
973
|
condition: z.ZodOptional<z.ZodString>;
|
|
969
974
|
positive_finetune_examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1300,6 +1305,7 @@ export declare const ConversationFlowResponseSchema: z.ZodObject<{
|
|
|
1300
1305
|
user: "user";
|
|
1301
1306
|
agent: "agent";
|
|
1302
1307
|
}>>;
|
|
1308
|
+
interruption_sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
1303
1309
|
global_node_setting: z.ZodOptional<z.ZodObject<{
|
|
1304
1310
|
condition: z.ZodOptional<z.ZodString>;
|
|
1305
1311
|
positive_finetune_examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/dist/flow.js
CHANGED
|
@@ -72,6 +72,7 @@ export const FlowNodeSchema = z.object({
|
|
|
72
72
|
always_edge: FlowEdgeSchema.optional(),
|
|
73
73
|
// Conversation node fields
|
|
74
74
|
start_speaker: StartSpeakerSchema.optional(),
|
|
75
|
+
interruption_sensitivity: z.number().optional(),
|
|
75
76
|
global_node_setting: GlobalNodeSettingSchema.optional(),
|
|
76
77
|
finetune_transition_examples: z
|
|
77
78
|
.array(FinetuneExampleSchema)
|
|
@@ -95,6 +96,7 @@ export const FlowNodeSchema = z.object({
|
|
|
95
96
|
// ---------------------------------------------------------------------------
|
|
96
97
|
/** A local component embedded within a conversation flow. */
|
|
97
98
|
export const FlowComponentSchema = z.object({
|
|
99
|
+
conversation_flow_component_id: z.string().optional(),
|
|
98
100
|
name: z.string().optional(),
|
|
99
101
|
nodes: z.array(FlowNodeSchema).optional(),
|
|
100
102
|
tools: z.array(LlmToolSchema).nullable().optional(),
|
package/package.json
CHANGED