retell-utils 0.4.2 → 0.4.3

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 CHANGED
@@ -281,6 +281,7 @@ export declare const FlowNodeSchema: z.ZodObject<{
281
281
  content: z.ZodOptional<z.ZodString>;
282
282
  }, z.core.$strip>>>;
283
283
  }, z.core.$strip>>>;
284
+ cool_down: z.ZodOptional<z.ZodNumber>;
284
285
  }, z.core.$strip>>;
285
286
  finetune_transition_examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
286
287
  id: z.ZodOptional<z.ZodString>;
@@ -537,6 +538,7 @@ export declare const FlowComponentSchema: z.ZodObject<{
537
538
  content: z.ZodOptional<z.ZodString>;
538
539
  }, z.core.$strip>>>;
539
540
  }, z.core.$strip>>>;
541
+ cool_down: z.ZodOptional<z.ZodNumber>;
540
542
  }, z.core.$strip>>;
541
543
  finetune_transition_examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
542
544
  id: z.ZodOptional<z.ZodString>;
@@ -980,6 +982,7 @@ export declare const ConversationFlowResponseSchema: z.ZodObject<{
980
982
  content: z.ZodOptional<z.ZodString>;
981
983
  }, z.core.$strip>>>;
982
984
  }, z.core.$strip>>>;
985
+ cool_down: z.ZodOptional<z.ZodNumber>;
983
986
  }, z.core.$strip>>;
984
987
  finetune_transition_examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
985
988
  id: z.ZodOptional<z.ZodString>;
@@ -1315,6 +1318,7 @@ export declare const ConversationFlowResponseSchema: z.ZodObject<{
1315
1318
  content: z.ZodOptional<z.ZodString>;
1316
1319
  }, z.core.$strip>>>;
1317
1320
  }, z.core.$strip>>>;
1321
+ cool_down: z.ZodOptional<z.ZodNumber>;
1318
1322
  }, z.core.$strip>>;
1319
1323
  finetune_transition_examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1320
1324
  id: z.ZodOptional<z.ZodString>;
package/dist/flow.js CHANGED
@@ -49,6 +49,7 @@ const GlobalNodeSettingSchema = z.object({
49
49
  condition: z.string().optional(),
50
50
  positive_finetune_examples: z.array(FinetuneExampleSchema).optional(),
51
51
  negative_finetune_examples: z.array(FinetuneExampleSchema).optional(),
52
+ cool_down: z.number().optional(),
52
53
  });
53
54
  /** Schema for a conversation flow node with all known fields explicit. */
54
55
  export const FlowNodeSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-utils",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Type-safe Zod schemas for Retell AI API resources with lifecycle-aware discriminated unions and generic customization",
5
5
  "type": "module",
6
6
  "zshy": {