retell-sdk 5.62.0 → 5.64.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/CHANGELOG.md +24 -0
- package/client.d.mts +15 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -6
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +64 -4
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +64 -4
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +13 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +13 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/app.d.mts +457 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +457 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +67 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +63 -0
- package/resources/app.mjs.map +1 -0
- package/resources/call.d.mts +66 -6
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +66 -6
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +2 -8
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +2 -8
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +2 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +2 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/contact.d.mts +541 -0
- package/resources/contact.d.mts.map +1 -0
- package/resources/contact.d.ts +541 -0
- package/resources/contact.d.ts.map +1 -0
- package/resources/contact.js +77 -0
- package/resources/contact.js.map +1 -0
- package/resources/contact.mjs +73 -0
- package/resources/contact.mjs.map +1 -0
- package/resources/conversation-flow-component.d.mts +18 -6
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +18 -6
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +46 -14
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +46 -14
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +3 -1
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +3 -1
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/crm.d.mts +222 -0
- package/resources/crm.d.mts.map +1 -0
- package/resources/crm.d.ts +222 -0
- package/resources/crm.d.ts.map +1 -0
- package/resources/crm.js +46 -0
- package/resources/crm.js.map +1 -0
- package/resources/crm.mjs +42 -0
- package/resources/crm.mjs.map +1 -0
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-base.d.mts +12 -4
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +12 -4
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +28 -8
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +28 -8
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +3 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +3 -1
- package/resources/llm.mjs.map +1 -1
- package/src/client.ts +85 -0
- package/src/resources/agent.ts +85 -4
- package/src/resources/app.ts +622 -0
- package/src/resources/call.ts +93 -7
- package/src/resources/chat-agent.ts +2 -8
- package/src/resources/contact.ts +732 -0
- package/src/resources/conversation-flow-component.ts +18 -6
- package/src/resources/conversation-flow.ts +53 -13
- package/src/resources/crm.ts +293 -0
- package/src/resources/index.ts +38 -0
- package/src/resources/knowledge-base.ts +12 -4
- package/src/resources/llm.ts +35 -7
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/llm.ts
CHANGED
|
@@ -77,8 +77,14 @@ export class Llm extends APIResource {
|
|
|
77
77
|
* await client.llm.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD');
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
delete(
|
|
80
|
+
delete(
|
|
81
|
+
llmID: string,
|
|
82
|
+
params: LlmDeleteParams | null | undefined = {},
|
|
83
|
+
options?: RequestOptions,
|
|
84
|
+
): APIPromise<void> {
|
|
85
|
+
const { force_delete } = params ?? {};
|
|
81
86
|
return this._client.delete(path`/delete-retell-llm/${llmID}`, {
|
|
87
|
+
query: { force_delete },
|
|
82
88
|
...options,
|
|
83
89
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
84
90
|
});
|
|
@@ -792,7 +798,9 @@ export namespace LlmResponse {
|
|
|
792
798
|
keep_current_language?: boolean;
|
|
793
799
|
|
|
794
800
|
/**
|
|
795
|
-
* If true, keep the current voice when swapping agents.
|
|
801
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
802
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
803
|
+
* Defaults to false.
|
|
796
804
|
*/
|
|
797
805
|
keep_current_voice?: boolean;
|
|
798
806
|
|
|
@@ -2102,7 +2110,9 @@ export namespace LlmResponse {
|
|
|
2102
2110
|
keep_current_language?: boolean;
|
|
2103
2111
|
|
|
2104
2112
|
/**
|
|
2105
|
-
* If true, keep the current voice when swapping agents.
|
|
2113
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
2114
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
2115
|
+
* Defaults to false.
|
|
2106
2116
|
*/
|
|
2107
2117
|
keep_current_voice?: boolean;
|
|
2108
2118
|
|
|
@@ -3446,7 +3456,9 @@ export namespace LlmCreateParams {
|
|
|
3446
3456
|
keep_current_language?: boolean;
|
|
3447
3457
|
|
|
3448
3458
|
/**
|
|
3449
|
-
* If true, keep the current voice when swapping agents.
|
|
3459
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
3460
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
3461
|
+
* Defaults to false.
|
|
3450
3462
|
*/
|
|
3451
3463
|
keep_current_voice?: boolean;
|
|
3452
3464
|
|
|
@@ -4756,7 +4768,9 @@ export namespace LlmCreateParams {
|
|
|
4756
4768
|
keep_current_language?: boolean;
|
|
4757
4769
|
|
|
4758
4770
|
/**
|
|
4759
|
-
* If true, keep the current voice when swapping agents.
|
|
4771
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
4772
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
4773
|
+
* Defaults to false.
|
|
4760
4774
|
*/
|
|
4761
4775
|
keep_current_voice?: boolean;
|
|
4762
4776
|
|
|
@@ -6102,7 +6116,9 @@ export namespace LlmUpdateParams {
|
|
|
6102
6116
|
keep_current_language?: boolean;
|
|
6103
6117
|
|
|
6104
6118
|
/**
|
|
6105
|
-
* If true, keep the current voice when swapping agents.
|
|
6119
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
6120
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
6121
|
+
* Defaults to false.
|
|
6106
6122
|
*/
|
|
6107
6123
|
keep_current_voice?: boolean;
|
|
6108
6124
|
|
|
@@ -7412,7 +7428,9 @@ export namespace LlmUpdateParams {
|
|
|
7412
7428
|
keep_current_language?: boolean;
|
|
7413
7429
|
|
|
7414
7430
|
/**
|
|
7415
|
-
* If true, keep the current voice when swapping agents.
|
|
7431
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
7432
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
7433
|
+
* Defaults to false.
|
|
7416
7434
|
*/
|
|
7417
7435
|
keep_current_voice?: boolean;
|
|
7418
7436
|
|
|
@@ -8073,6 +8091,15 @@ export interface LlmListParams {
|
|
|
8073
8091
|
sort_order?: 'ascending' | 'descending';
|
|
8074
8092
|
}
|
|
8075
8093
|
|
|
8094
|
+
export interface LlmDeleteParams {
|
|
8095
|
+
/**
|
|
8096
|
+
* By default the deletion is rejected with a 400 if any agent still uses this
|
|
8097
|
+
* Retell LLM as its response engine. Set to true to delete it anyway, which leaves
|
|
8098
|
+
* those agents pointing at a Retell LLM that no longer exists.
|
|
8099
|
+
*/
|
|
8100
|
+
force_delete?: boolean;
|
|
8101
|
+
}
|
|
8102
|
+
|
|
8076
8103
|
export declare namespace Llm {
|
|
8077
8104
|
export {
|
|
8078
8105
|
type LlmResponse as LlmResponse,
|
|
@@ -8081,5 +8108,6 @@ export declare namespace Llm {
|
|
|
8081
8108
|
type LlmRetrieveParams as LlmRetrieveParams,
|
|
8082
8109
|
type LlmUpdateParams as LlmUpdateParams,
|
|
8083
8110
|
type LlmListParams as LlmListParams,
|
|
8111
|
+
type LlmDeleteParams as LlmDeleteParams,
|
|
8084
8112
|
};
|
|
8085
8113
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.64.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.64.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.64.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.64.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|