@avallon-labs/sdk 53.0.0-staging.1234 → 53.1.0-staging.1235
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 +32 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3508,6 +3508,12 @@ type CreateVoiceAgentBody = {
|
|
|
3508
3508
|
call_processor_type?: CreateVoiceAgentBodyCallProcessorType;
|
|
3509
3509
|
/** Inactivity timeout in seconds. null disables the feature. Minimum 5. Defaults to 7 if omitted. */
|
|
3510
3510
|
inactivity_timeout_seconds?: number | null;
|
|
3511
|
+
/**
|
|
3512
|
+
* Maximum call length in seconds; the agent ends the call once it is reached. Between 60 and 3600. Defaults to 1800 if omitted.
|
|
3513
|
+
* @minimum 60
|
|
3514
|
+
* @maximum 3600
|
|
3515
|
+
*/
|
|
3516
|
+
max_call_duration_seconds?: number;
|
|
3511
3517
|
};
|
|
3512
3518
|
|
|
3513
3519
|
/**
|
|
@@ -3756,6 +3762,12 @@ interface VoiceAgent {
|
|
|
3756
3762
|
greeting: string | null;
|
|
3757
3763
|
/** Inactivity timeout in seconds. null disables the feature. */
|
|
3758
3764
|
inactivity_timeout_seconds: number | null;
|
|
3765
|
+
/**
|
|
3766
|
+
* Maximum call length in seconds. The agent ends the call once it is reached.
|
|
3767
|
+
* @minimum -9007199254740991
|
|
3768
|
+
* @maximum 9007199254740991
|
|
3769
|
+
*/
|
|
3770
|
+
max_call_duration_seconds: number;
|
|
3759
3771
|
/** Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it. */
|
|
3760
3772
|
tool_ids: string[];
|
|
3761
3773
|
}
|
|
@@ -7303,6 +7315,12 @@ interface VoiceAgentWithTestPhoneNumber {
|
|
|
7303
7315
|
greeting: string | null;
|
|
7304
7316
|
/** Inactivity timeout in seconds. null disables the feature. */
|
|
7305
7317
|
inactivity_timeout_seconds: number | null;
|
|
7318
|
+
/**
|
|
7319
|
+
* Maximum call length in seconds. The agent ends the call once it is reached.
|
|
7320
|
+
* @minimum -9007199254740991
|
|
7321
|
+
* @maximum 9007199254740991
|
|
7322
|
+
*/
|
|
7323
|
+
max_call_duration_seconds: number;
|
|
7306
7324
|
/** Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it. */
|
|
7307
7325
|
tool_ids: string[];
|
|
7308
7326
|
test_phone_number: string | null;
|
|
@@ -7668,6 +7686,12 @@ interface VoiceAgentVersionDetail {
|
|
|
7668
7686
|
greeting: string | null;
|
|
7669
7687
|
/** Inactivity timeout in seconds. null disables the feature. */
|
|
7670
7688
|
inactivity_timeout_seconds: number | null;
|
|
7689
|
+
/**
|
|
7690
|
+
* Maximum call length in seconds. The agent ends the call once it is reached.
|
|
7691
|
+
* @minimum -9007199254740991
|
|
7692
|
+
* @maximum 9007199254740991
|
|
7693
|
+
*/
|
|
7694
|
+
max_call_duration_seconds: number;
|
|
7671
7695
|
/** Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it. */
|
|
7672
7696
|
tool_ids: string[];
|
|
7673
7697
|
/**
|
|
@@ -12918,6 +12942,12 @@ type UpdateVoiceAgentBody = {
|
|
|
12918
12942
|
call_processor_type?: UpdateVoiceAgentBodyCallProcessorType;
|
|
12919
12943
|
/** Inactivity timeout in seconds. null disables the feature. Minimum 5. Omit to leave unchanged. */
|
|
12920
12944
|
inactivity_timeout_seconds?: number | null;
|
|
12945
|
+
/**
|
|
12946
|
+
* Maximum call length in seconds; the agent ends the call once it is reached. Between 60 and 3600. Omit to leave unchanged.
|
|
12947
|
+
* @minimum 60
|
|
12948
|
+
* @maximum 3600
|
|
12949
|
+
*/
|
|
12950
|
+
max_call_duration_seconds?: number;
|
|
12921
12951
|
/** Enable voicemail beep detection on outbound calls. Omit to leave unchanged. */
|
|
12922
12952
|
voice_mail_detection?: boolean;
|
|
12923
12953
|
/** Noise cancellation mode applied to the caller audio. Omit to leave unchanged. */
|
|
@@ -17448,6 +17478,8 @@ declare const getUpdateVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
|
17448
17478
|
*
|
|
17449
17479
|
* 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.
|
|
17450
17480
|
*
|
|
17481
|
+
* Set `max_call_duration_seconds` to change how long a call may run before the agent ends it (default 1800).
|
|
17482
|
+
*
|
|
17451
17483
|
* Set `noise_cancellation` to choose the noise cancellation mode applied to the caller audio.
|
|
17452
17484
|
*
|
|
17453
17485
|
* Set `tool_ids` to replace the agent's attached tool set. This is the supported way to manage tool attachments; the dedicated add and remove endpoints are deprecated.
|