@avallon-labs/sdk 39.1.0 → 39.2.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/dist/index.d.ts CHANGED
@@ -8476,6 +8476,8 @@ type UpdateVoiceAgentBody = {
8476
8476
  call_processor_type?: UpdateVoiceAgentBodyCallProcessorType;
8477
8477
  /** Inactivity timeout in seconds. null disables the feature. Minimum 5. Omit to leave unchanged. */
8478
8478
  inactivity_timeout_seconds?: number | null;
8479
+ /** Enable voicemail beep detection on outbound calls. Omit to leave unchanged. */
8480
+ voice_mail_detection?: boolean;
8479
8481
  };
8480
8482
 
8481
8483
  /**
@@ -11986,9 +11988,13 @@ declare const useGetVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId
11986
11988
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
11987
11989
  };
11988
11990
  /**
11989
- * Update a voice agent's name or call processor.
11991
+ * Update a voice agent's name, call processor, or call behaviour settings.
11990
11992
 
11991
11993
  To change the processor assignment, `call_processor_id` and `call_processor_type` must be provided together. Set `call_processor_id` to `null` to detach (`call_processor_type` is still required).
11994
+
11995
+ Set `voice_mail_detection` to `true` to have the agent listen for a voicemail beep tone. Detection only runs on `OUTBOUND` agents; enabling it on an `INBOUND` agent is stored but has no effect.
11996
+
11997
+ Config changes create a new voice agent config version. The live and test releases keep pointing at their current versions until the new version is promoted.
11992
11998
  * @summary Update voice agent
11993
11999
  */
11994
12000
  declare const getUpdateVoiceAgentUrl: (voiceAgentId: string) => string;