retell-sdk 6.0.1 → 6.1.1
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 +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +3222 -526
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +3222 -526
- package/resources/agent.d.ts.map +1 -1
- package/resources/app.d.mts +122 -5
- package/resources/app.d.mts.map +1 -1
- package/resources/app.d.ts +122 -5
- package/resources/app.d.ts.map +1 -1
- package/resources/app.js +17 -1
- package/resources/app.js.map +1 -1
- package/resources/app.mjs +17 -1
- package/resources/app.mjs.map +1 -1
- package/resources/batch-call.d.mts +912 -13
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +912 -13
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +7843 -3792
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +7843 -3792
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +1 -1
- package/resources/call.mjs +1 -1
- package/resources/chat-agent.d.mts +3125 -453
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +3125 -453
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +892 -26
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +892 -26
- package/resources/chat.d.ts.map +1 -1
- package/resources/contact.d.mts +162 -20
- package/resources/contact.d.mts.map +1 -1
- package/resources/contact.d.ts +162 -20
- package/resources/contact.d.ts.map +1 -1
- package/resources/contact.js +98 -4
- package/resources/contact.js.map +1 -1
- package/resources/contact.mjs +98 -4
- package/resources/contact.mjs.map +1 -1
- package/resources/conversation-flow-component.d.mts +3282 -243
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +3282 -243
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +7347 -1269
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +7347 -1269
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/crm.d.mts +37 -5
- package/resources/crm.d.mts.map +1 -1
- package/resources/crm.d.ts +37 -5
- package/resources/crm.d.ts.map +1 -1
- package/resources/identity.d.mts +4 -0
- package/resources/identity.d.mts.map +1 -1
- package/resources/identity.d.ts +4 -0
- package/resources/identity.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/llm.d.mts +867 -9
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +867 -9
- package/resources/llm.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/agent.ts +4786 -1504
- package/src/resources/app.ts +144 -4
- package/src/resources/batch-call.ts +1115 -10
- package/src/resources/call.ts +9825 -4806
- package/src/resources/chat-agent.ts +3958 -698
- package/src/resources/chat.ts +1133 -50
- package/src/resources/contact.ts +168 -20
- package/src/resources/conversation-flow-component.ts +4466 -191
- package/src/resources/conversation-flow.ts +9084 -525
- package/src/resources/crm.ts +44 -5
- package/src/resources/identity.ts +5 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/llm.ts +1045 -46
- package/src/resources/tests.ts +21 -0
- 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/crm.ts
CHANGED
|
@@ -52,6 +52,17 @@ export class CRM extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export interface CRMConfig {
|
|
55
|
+
/**
|
|
56
|
+
* Workspace-shared memory rewrite prompt. Null uses the built-in preset. Supports
|
|
57
|
+
* conversation dynamic variables using {{variable_name}}.
|
|
58
|
+
*/
|
|
59
|
+
contact_memory_update_prompt: string | null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Built-in memory rewrite prompt.
|
|
63
|
+
*/
|
|
64
|
+
default_contact_memory_update_prompt: string;
|
|
65
|
+
|
|
55
66
|
org_id: string;
|
|
56
67
|
|
|
57
68
|
/**
|
|
@@ -68,7 +79,7 @@ export interface CRMConfig {
|
|
|
68
79
|
/**
|
|
69
80
|
* Tags available to contacts in this organization.
|
|
70
81
|
*/
|
|
71
|
-
contact_tags?: Array<
|
|
82
|
+
contact_tags?: Array<CRMConfig.ContactTag>;
|
|
72
83
|
|
|
73
84
|
crm_analysis_data_mappings?: Array<CRMConfig.CRMAnalysisDataMapping>;
|
|
74
85
|
|
|
@@ -81,6 +92,18 @@ export interface CRMConfig {
|
|
|
81
92
|
}
|
|
82
93
|
|
|
83
94
|
export namespace CRMConfig {
|
|
95
|
+
export interface ContactTag {
|
|
96
|
+
/**
|
|
97
|
+
* Unique identifier for the tag.
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Human-readable label for the tag.
|
|
103
|
+
*/
|
|
104
|
+
label: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
84
107
|
export interface CRMAnalysisDataMapping {
|
|
85
108
|
/**
|
|
86
109
|
* Name of the post-call analysis field to read the value from. A value that does
|
|
@@ -228,11 +251,18 @@ export interface CRMUpdateConfigParams {
|
|
|
228
251
|
contact_columns_order?: Array<string>;
|
|
229
252
|
|
|
230
253
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
|
|
254
|
+
* Workspace-shared memory rewrite prompt. Pass null to restore the built-in
|
|
255
|
+
* preset. Supports conversation dynamic variables using {{variable_name}}.
|
|
256
|
+
*/
|
|
257
|
+
contact_memory_update_prompt?: string | null;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Replaces the organization's available contact tags. Tag IDs must be unique
|
|
261
|
+
* 32-character hexadecimal strings and labels are trimmed. Omit to leave
|
|
262
|
+
* unchanged, or send null or an empty array to clear the list. Does not change
|
|
263
|
+
* tags already assigned to contacts.
|
|
234
264
|
*/
|
|
235
|
-
contact_tags?: Array<
|
|
265
|
+
contact_tags?: Array<CRMUpdateConfigParams.ContactTag> | null;
|
|
236
266
|
|
|
237
267
|
/**
|
|
238
268
|
* Replaces the stored list.
|
|
@@ -250,6 +280,15 @@ export interface CRMUpdateConfigParams {
|
|
|
250
280
|
}
|
|
251
281
|
|
|
252
282
|
export namespace CRMUpdateConfigParams {
|
|
283
|
+
export interface ContactTag {
|
|
284
|
+
id: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Human-readable label for the tag.
|
|
288
|
+
*/
|
|
289
|
+
label: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
253
292
|
export interface CRMAnalysisDataMapping {
|
|
254
293
|
/**
|
|
255
294
|
* Name of the post-call analysis field to read the value from. A value that does
|
package/src/resources/index.ts
CHANGED
|
@@ -21,12 +21,14 @@ export {
|
|
|
21
21
|
App,
|
|
22
22
|
type AppResponse,
|
|
23
23
|
type AppListResponse,
|
|
24
|
+
type AppGetToolSchemaResponse,
|
|
24
25
|
type AppListUsagesResponse,
|
|
25
26
|
type AppTestAuthResponse,
|
|
26
27
|
type AppCreateParams,
|
|
27
28
|
type AppUpdateParams,
|
|
28
29
|
type AppListParams,
|
|
29
30
|
type AppDeleteParams,
|
|
31
|
+
type AppGetToolSchemaParams,
|
|
30
32
|
type AppListUsagesParams,
|
|
31
33
|
} from './app';
|
|
32
34
|
export { Asset, type AssetCreateResponse, type AssetCreateParams } from './asset';
|