retell-sdk 2.2.1 → 2.2.2
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/README.md +3 -433
- package/example.d.ts +2 -0
- package/example.d.ts.map +1 -0
- package/example.js +74 -0
- package/example.js.map +1 -0
- package/models/components/agent.d.ts +131 -24
- package/models/components/agent.d.ts.map +1 -1
- package/models/components/agent.js +143 -27
- package/models/components/agent.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/operations/createagent.d.ts +8 -35
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +8 -32
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createphonecall.d.ts +12 -6
- package/models/operations/createphonecall.d.ts.map +1 -1
- package/models/operations/createphonecall.js +8 -8
- package/models/operations/createphonecall.js.map +1 -1
- package/models/operations/createphonenumber.d.ts +1 -1
- package/models/operations/createwebcall.d.ts +16 -0
- package/models/operations/createwebcall.d.ts.map +1 -0
- package/models/operations/createwebcall.js +3 -0
- package/models/operations/createwebcall.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +3 -3
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listcalls.d.ts +3 -3
- package/models/operations/listcalls.d.ts.map +1 -1
- package/models/operations/listcalls.js +4 -4
- package/models/operations/listcalls.js.map +1 -1
- package/models/operations/listphonenumbers.d.ts +3 -3
- package/models/operations/listphonenumbers.d.ts.map +1 -1
- package/models/operations/listphonenumbers.js +4 -4
- package/models/operations/listphonenumbers.js.map +1 -1
- package/models/operations/updateagent.d.ts +35 -3
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +39 -5
- package/models/operations/updateagent.js.map +1 -1
- package/package.json +1 -1
- package/sdk/liveClient.d.ts +2 -4
- package/sdk/liveClient.d.ts.map +1 -1
- package/sdk/liveClient.js +9 -5
- package/sdk/liveClient.js.map +1 -1
- package/sdk/sdk.d.ts +2 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -10
- package/sdk/sdk.js.map +1 -1
- package/src/example.ts +79 -0
- package/src/models/components/agent.ts +275 -52
- package/src/models/components/index.ts +0 -1
- package/src/models/operations/createagent.ts +20 -67
- package/src/models/operations/createphonecall.ts +20 -14
- package/src/models/operations/createphonenumber.ts +1 -1
- package/src/models/operations/createwebcall.ts +16 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listagents.ts +7 -7
- package/src/models/operations/listcalls.ts +7 -7
- package/src/models/operations/listphonenumbers.ts +7 -7
- package/src/models/operations/updateagent.ts +76 -7
- package/src/sdk/liveClient.ts +11 -8
- package/src/sdk/sdk.ts +10 -17
- package/docs/sdks/retellclient/README.md +0 -713
- package/src/models/components/agentnodefaultnorequired.ts +0 -121
|
@@ -1,21 +1,106 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export type
|
|
2
|
+
export type RetellLlmSetting = {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Retell picked LLM based conversation response.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
provider: "retell";
|
|
7
7
|
/**
|
|
8
|
-
* The
|
|
8
|
+
* The prompt agent will follow. Can use `${YOUR_PARAM_NAME}` to represent dynamic data that would get injected at each call.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
prompt: string;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare namespace RetellLlmSetting$ {
|
|
14
|
+
type Inbound = {
|
|
15
|
+
provider: "retell";
|
|
16
|
+
prompt: string;
|
|
17
|
+
};
|
|
18
|
+
const inboundSchema: z.ZodType<RetellLlmSetting, z.ZodTypeDef, Inbound>;
|
|
19
|
+
type Outbound = {
|
|
20
|
+
provider: "retell";
|
|
21
|
+
prompt: string;
|
|
22
|
+
};
|
|
23
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, RetellLlmSetting>;
|
|
24
|
+
}
|
|
25
|
+
export type CustomLlmSetting = {
|
|
26
|
+
/**
|
|
27
|
+
* Custom response system, usually your custom LLM. Note that you may see a higher latency if provided server is slow.
|
|
28
|
+
*/
|
|
29
|
+
provider: "custom";
|
|
30
|
+
/**
|
|
31
|
+
* The URL we will call for getting response, usually your server.
|
|
32
|
+
*/
|
|
33
|
+
url: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the provided URL support return response via Server Sent Events.
|
|
36
|
+
*/
|
|
37
|
+
stream: boolean;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare namespace CustomLlmSetting$ {
|
|
41
|
+
type Inbound = {
|
|
42
|
+
provider: "custom";
|
|
43
|
+
url: string;
|
|
44
|
+
stream: boolean;
|
|
45
|
+
};
|
|
46
|
+
const inboundSchema: z.ZodType<CustomLlmSetting, z.ZodTypeDef, Inbound>;
|
|
47
|
+
type Outbound = {
|
|
48
|
+
provider: "custom";
|
|
49
|
+
url: string;
|
|
50
|
+
stream: boolean;
|
|
51
|
+
};
|
|
52
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, CustomLlmSetting>;
|
|
53
|
+
}
|
|
54
|
+
export type InteractionSettingRequest = {
|
|
55
|
+
/**
|
|
56
|
+
* Whether the agent begins the call with a pre-defined message. When this is false, the agent will still start the call, but with a dynamic message. If you wish for user to be the first to talk, set this to true and set `begin_message` as empty string.
|
|
57
|
+
*/
|
|
58
|
+
enableBeginMessage?: boolean | undefined;
|
|
11
59
|
/**
|
|
12
60
|
* Pre-defined message for agent to say in the begining of call. Only used when `enable_begin_message` is true. When empty, agent would wait for user to talk first.
|
|
13
61
|
*/
|
|
14
62
|
beginMessage?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Whether the agent can end a call. If false, the agent would never end a call.
|
|
65
|
+
*/
|
|
66
|
+
enableEndCall?: boolean | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the agent attempts to end the call with a pre-defined message. When this is false, the agent might still be the last one speaking in the call, but the massage can be dynamic.
|
|
69
|
+
*/
|
|
70
|
+
enableEndMessage?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Pre-defined message for agent to say when agent ends the call. Only used when `enable_end_call` and `enable_end_message` is true. If you wish for agent to hang up without saying anything, set this to empty string.
|
|
73
|
+
*/
|
|
74
|
+
endMessage?: string | undefined;
|
|
75
|
+
};
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare namespace InteractionSettingRequest$ {
|
|
78
|
+
type Inbound = {
|
|
79
|
+
enable_begin_message?: boolean | undefined;
|
|
80
|
+
begin_message?: string | undefined;
|
|
81
|
+
enable_end_call?: boolean | undefined;
|
|
82
|
+
enable_end_message?: boolean | undefined;
|
|
83
|
+
end_message?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
const inboundSchema: z.ZodType<InteractionSettingRequest, z.ZodTypeDef, Inbound>;
|
|
86
|
+
type Outbound = {
|
|
87
|
+
enable_begin_message?: boolean | undefined;
|
|
88
|
+
begin_message?: string | undefined;
|
|
89
|
+
enable_end_call?: boolean | undefined;
|
|
90
|
+
enable_end_message?: boolean | undefined;
|
|
91
|
+
end_message?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, InteractionSettingRequest>;
|
|
94
|
+
}
|
|
95
|
+
export type InteractionSettingResponse = {
|
|
15
96
|
/**
|
|
16
97
|
* Whether the agent begins the call with a pre-defined message. When this is false, the agent will still start the call, but with a dynamic message. If you wish for user to be the first to talk, set this to true and set `begin_message` as empty string.
|
|
17
98
|
*/
|
|
18
99
|
enableBeginMessage: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Pre-defined message for agent to say in the begining of call. Only used when `enable_begin_message` is true. When empty, agent would wait for user to talk first.
|
|
102
|
+
*/
|
|
103
|
+
beginMessage?: string | undefined;
|
|
19
104
|
/**
|
|
20
105
|
* Whether the agent can end a call. If false, the agent would never end a call.
|
|
21
106
|
*/
|
|
@@ -28,45 +113,67 @@ export type Agent = {
|
|
|
28
113
|
* Pre-defined message for agent to say when agent ends the call. Only used when `enable_end_call` and `enable_end_message` is true. If you wish for agent to hang up without saying anything, set this to empty string.
|
|
29
114
|
*/
|
|
30
115
|
endMessage?: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
/** @internal */
|
|
118
|
+
export declare namespace InteractionSettingResponse$ {
|
|
119
|
+
type Inbound = {
|
|
120
|
+
enable_begin_message: boolean;
|
|
121
|
+
begin_message?: string | undefined;
|
|
122
|
+
enable_end_call: boolean;
|
|
123
|
+
enable_end_message: boolean;
|
|
124
|
+
end_message?: string | undefined;
|
|
125
|
+
};
|
|
126
|
+
const inboundSchema: z.ZodType<InteractionSettingResponse, z.ZodTypeDef, Inbound>;
|
|
127
|
+
type Outbound = {
|
|
128
|
+
enable_begin_message: boolean;
|
|
129
|
+
begin_message?: string | undefined;
|
|
130
|
+
enable_end_call: boolean;
|
|
131
|
+
enable_end_message: boolean;
|
|
132
|
+
end_message?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, InteractionSettingResponse>;
|
|
135
|
+
}
|
|
136
|
+
export type Agent = {
|
|
31
137
|
/**
|
|
32
|
-
*
|
|
138
|
+
* Unique id of agent.
|
|
33
139
|
*/
|
|
34
|
-
|
|
140
|
+
agentId: string;
|
|
35
141
|
/**
|
|
36
|
-
* The
|
|
142
|
+
* The name of the agent. Only used for your own reference.
|
|
37
143
|
*/
|
|
38
|
-
|
|
144
|
+
agentName?: string | undefined;
|
|
145
|
+
llmSetting: RetellLlmSetting | CustomLlmSetting;
|
|
39
146
|
/**
|
|
40
|
-
*
|
|
147
|
+
* Setting combination that controls interaction flow, like begin and end logic.
|
|
148
|
+
*/
|
|
149
|
+
interactionSetting: InteractionSettingResponse;
|
|
150
|
+
/**
|
|
151
|
+
* Unique voice id used for the agent. Find list of available voices in documentation.
|
|
41
152
|
*/
|
|
42
153
|
voiceId: string;
|
|
154
|
+
/**
|
|
155
|
+
* Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available.
|
|
156
|
+
*/
|
|
157
|
+
lastModificationTimestamp: number;
|
|
43
158
|
};
|
|
44
159
|
/** @internal */
|
|
45
160
|
export declare namespace Agent$ {
|
|
46
161
|
type Inbound = {
|
|
47
162
|
agent_id: string;
|
|
48
163
|
agent_name?: string | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
enable_end_call: boolean;
|
|
52
|
-
enable_end_message: boolean;
|
|
53
|
-
end_message?: string | undefined;
|
|
54
|
-
last_modification_timestamp: number;
|
|
55
|
-
prompt: string;
|
|
164
|
+
llm_setting: RetellLlmSetting$.Inbound | CustomLlmSetting$.Inbound;
|
|
165
|
+
interaction_setting: InteractionSettingResponse$.Inbound;
|
|
56
166
|
voice_id: string;
|
|
167
|
+
last_modification_timestamp: number;
|
|
57
168
|
};
|
|
58
169
|
const inboundSchema: z.ZodType<Agent, z.ZodTypeDef, Inbound>;
|
|
59
170
|
type Outbound = {
|
|
60
171
|
agent_id: string;
|
|
61
172
|
agent_name?: string | undefined;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
enable_end_call: boolean;
|
|
65
|
-
enable_end_message: boolean;
|
|
66
|
-
end_message?: string | undefined;
|
|
67
|
-
last_modification_timestamp: number;
|
|
68
|
-
prompt: string;
|
|
173
|
+
llm_setting: RetellLlmSetting$.Outbound | CustomLlmSetting$.Outbound;
|
|
174
|
+
interaction_setting: InteractionSettingResponse$.Outbound;
|
|
69
175
|
voice_id: string;
|
|
176
|
+
last_modification_timestamp: number;
|
|
70
177
|
};
|
|
71
178
|
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, Agent>;
|
|
72
179
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/components/agent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/components/agent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,gBAAgB;AAChB,yBAAiB,iBAAiB,CAAC;IAC/B,KAAY,OAAO,GAAG;QAClB,QAAQ,EAAE,QAAQ,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IAEK,MAAM,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAUvE,CAAC;IAEP,KAAY,QAAQ,GAAG;QACnB,QAAQ,EAAE,QAAQ,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IAEK,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,gBAAgB,CAUzE,CAAC;CACV;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACnB,CAAA;AAED,gBAAgB;AAChB,yBAAiB,iBAAiB,CAAC;IAC/B,KAAY,OAAO,GAAG;QAClB,QAAQ,EAAE,QAAQ,CAAC;QACnB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAA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Q,EAAE,CAAC,CAAC,UAAU,EAAE,KAAK,CAkB9D,CAAC;CACV"}
|
|
@@ -3,63 +3,179 @@
|
|
|
3
3
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Agent$ = void 0;
|
|
6
|
+
exports.Agent$ = exports.InteractionSettingResponse$ = exports.InteractionSettingRequest$ = exports.CustomLlmSetting$ = exports.RetellLlmSetting$ = void 0;
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
8
|
/** @internal */
|
|
9
|
-
var
|
|
10
|
-
(function (
|
|
11
|
-
|
|
9
|
+
var RetellLlmSetting$;
|
|
10
|
+
(function (RetellLlmSetting$) {
|
|
11
|
+
RetellLlmSetting$.inboundSchema = zod_1.z
|
|
12
12
|
.object({
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
provider: zod_1.z.literal("retell"),
|
|
14
|
+
prompt: zod_1.z.string(),
|
|
15
|
+
})
|
|
16
|
+
.transform((v) => {
|
|
17
|
+
return {
|
|
18
|
+
provider: v.provider,
|
|
19
|
+
prompt: v.prompt,
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
RetellLlmSetting$.outboundSchema = zod_1.z
|
|
23
|
+
.object({
|
|
24
|
+
provider: zod_1.z.literal("retell"),
|
|
25
|
+
prompt: zod_1.z.string(),
|
|
26
|
+
})
|
|
27
|
+
.transform((v) => {
|
|
28
|
+
return {
|
|
29
|
+
provider: v.provider,
|
|
30
|
+
prompt: v.prompt,
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
})(RetellLlmSetting$ || (exports.RetellLlmSetting$ = RetellLlmSetting$ = {}));
|
|
34
|
+
/** @internal */
|
|
35
|
+
var CustomLlmSetting$;
|
|
36
|
+
(function (CustomLlmSetting$) {
|
|
37
|
+
CustomLlmSetting$.inboundSchema = zod_1.z
|
|
38
|
+
.object({
|
|
39
|
+
provider: zod_1.z.literal("custom"),
|
|
40
|
+
url: zod_1.z.string(),
|
|
41
|
+
stream: zod_1.z.boolean(),
|
|
42
|
+
})
|
|
43
|
+
.transform((v) => {
|
|
44
|
+
return {
|
|
45
|
+
provider: v.provider,
|
|
46
|
+
url: v.url,
|
|
47
|
+
stream: v.stream
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
CustomLlmSetting$.outboundSchema = zod_1.z
|
|
51
|
+
.object({
|
|
52
|
+
provider: zod_1.z.literal("custom"),
|
|
53
|
+
url: zod_1.z.string(),
|
|
54
|
+
stream: zod_1.z.boolean(),
|
|
55
|
+
})
|
|
56
|
+
.transform((v) => {
|
|
57
|
+
return {
|
|
58
|
+
provider: v.provider,
|
|
59
|
+
url: v.url,
|
|
60
|
+
stream: v.stream
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
})(CustomLlmSetting$ || (exports.CustomLlmSetting$ = CustomLlmSetting$ = {}));
|
|
64
|
+
/** @internal */
|
|
65
|
+
var InteractionSettingRequest$;
|
|
66
|
+
(function (InteractionSettingRequest$) {
|
|
67
|
+
InteractionSettingRequest$.inboundSchema = zod_1.z
|
|
68
|
+
.object({
|
|
69
|
+
enable_begin_message: zod_1.z.boolean().optional(),
|
|
15
70
|
begin_message: zod_1.z.string().optional(),
|
|
71
|
+
enable_end_call: zod_1.z.boolean().optional(),
|
|
72
|
+
enable_end_message: zod_1.z.boolean().optional(),
|
|
73
|
+
end_message: zod_1.z.string().optional(),
|
|
74
|
+
})
|
|
75
|
+
.transform((v) => {
|
|
76
|
+
return {
|
|
77
|
+
...(v.enable_begin_message === undefined ? null : { enableBeginMessage: v.enable_begin_message }),
|
|
78
|
+
...(v.begin_message === undefined ? null : { beginMessage: v.begin_message }),
|
|
79
|
+
...(v.enable_end_call === undefined ? null : { enableEndCall: v.enable_end_call }),
|
|
80
|
+
...(v.enable_end_message === undefined ? null : { enableEndMessage: v.enable_end_message }),
|
|
81
|
+
...(v.end_message === undefined ? null : { endMessage: v.end_message }),
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
InteractionSettingRequest$.outboundSchema = zod_1.z
|
|
85
|
+
.object({
|
|
86
|
+
enableBeginMessage: zod_1.z.boolean().optional(),
|
|
87
|
+
beginMessage: zod_1.z.string().optional(),
|
|
88
|
+
enableEndCall: zod_1.z.boolean().optional(),
|
|
89
|
+
enableEndMessage: zod_1.z.boolean().optional(),
|
|
90
|
+
endMessage: zod_1.z.string().optional(),
|
|
91
|
+
})
|
|
92
|
+
.transform((v) => {
|
|
93
|
+
return {
|
|
94
|
+
...(v.enableBeginMessage === undefined ? null : { enable_begin_message: v.enableBeginMessage }),
|
|
95
|
+
...(v.beginMessage === undefined ? null : { begin_message: v.beginMessage }),
|
|
96
|
+
...(v.enableEndCall === undefined ? null : { enable_end_call: v.enableEndCall }),
|
|
97
|
+
...(v.enableEndMessage === undefined ? null : { enable_end_message: v.enableEndMessage }),
|
|
98
|
+
...(v.endMessage === undefined ? null : { end_message: v.endMessage }),
|
|
99
|
+
};
|
|
100
|
+
});
|
|
101
|
+
})(InteractionSettingRequest$ || (exports.InteractionSettingRequest$ = InteractionSettingRequest$ = {}));
|
|
102
|
+
/** @internal */
|
|
103
|
+
var InteractionSettingResponse$;
|
|
104
|
+
(function (InteractionSettingResponse$) {
|
|
105
|
+
InteractionSettingResponse$.inboundSchema = zod_1.z
|
|
106
|
+
.object({
|
|
16
107
|
enable_begin_message: zod_1.z.boolean(),
|
|
108
|
+
begin_message: zod_1.z.string().optional(),
|
|
17
109
|
enable_end_call: zod_1.z.boolean(),
|
|
18
110
|
enable_end_message: zod_1.z.boolean(),
|
|
19
111
|
end_message: zod_1.z.string().optional(),
|
|
20
|
-
last_modification_timestamp: zod_1.z.number().int(),
|
|
21
|
-
prompt: zod_1.z.string(),
|
|
22
|
-
voice_id: zod_1.z.string(),
|
|
23
112
|
})
|
|
24
113
|
.transform((v) => {
|
|
25
114
|
return {
|
|
26
|
-
agentId: v.agent_id,
|
|
27
|
-
...(v.agent_name === undefined ? null : { agentName: v.agent_name }),
|
|
28
|
-
...(v.begin_message === undefined ? null : { beginMessage: v.begin_message }),
|
|
29
115
|
enableBeginMessage: v.enable_begin_message,
|
|
116
|
+
...(v.begin_message === undefined ? null : { beginMessage: v.begin_message }),
|
|
30
117
|
enableEndCall: v.enable_end_call,
|
|
31
118
|
enableEndMessage: v.enable_end_message,
|
|
32
119
|
...(v.end_message === undefined ? null : { endMessage: v.end_message }),
|
|
33
|
-
lastModificationTimestamp: v.last_modification_timestamp,
|
|
34
|
-
prompt: v.prompt,
|
|
35
|
-
voiceId: v.voice_id,
|
|
36
120
|
};
|
|
37
121
|
});
|
|
38
|
-
|
|
122
|
+
InteractionSettingResponse$.outboundSchema = zod_1.z
|
|
39
123
|
.object({
|
|
40
|
-
agentId: zod_1.z.string(),
|
|
41
|
-
agentName: zod_1.z.string().optional(),
|
|
42
|
-
beginMessage: zod_1.z.string().optional(),
|
|
43
124
|
enableBeginMessage: zod_1.z.boolean(),
|
|
125
|
+
beginMessage: zod_1.z.string().optional(),
|
|
44
126
|
enableEndCall: zod_1.z.boolean(),
|
|
45
127
|
enableEndMessage: zod_1.z.boolean(),
|
|
46
128
|
endMessage: zod_1.z.string().optional(),
|
|
47
|
-
lastModificationTimestamp: zod_1.z.number().int(),
|
|
48
|
-
prompt: zod_1.z.string(),
|
|
49
|
-
voiceId: zod_1.z.string(),
|
|
50
129
|
})
|
|
51
130
|
.transform((v) => {
|
|
52
131
|
return {
|
|
53
|
-
agent_id: v.agentId,
|
|
54
|
-
...(v.agentName === undefined ? null : { agent_name: v.agentName }),
|
|
55
|
-
...(v.beginMessage === undefined ? null : { begin_message: v.beginMessage }),
|
|
56
132
|
enable_begin_message: v.enableBeginMessage,
|
|
133
|
+
...(v.beginMessage === undefined ? null : { begin_message: v.beginMessage }),
|
|
57
134
|
enable_end_call: v.enableEndCall,
|
|
58
135
|
enable_end_message: v.enableEndMessage,
|
|
59
136
|
...(v.endMessage === undefined ? null : { end_message: v.endMessage }),
|
|
60
|
-
|
|
61
|
-
|
|
137
|
+
};
|
|
138
|
+
});
|
|
139
|
+
})(InteractionSettingResponse$ || (exports.InteractionSettingResponse$ = InteractionSettingResponse$ = {}));
|
|
140
|
+
/** @internal */
|
|
141
|
+
var Agent$;
|
|
142
|
+
(function (Agent$) {
|
|
143
|
+
Agent$.inboundSchema = zod_1.z
|
|
144
|
+
.object({
|
|
145
|
+
agent_id: zod_1.z.string(),
|
|
146
|
+
agent_name: zod_1.z.string().optional(),
|
|
147
|
+
llm_setting: zod_1.z.union([RetellLlmSetting$.inboundSchema, CustomLlmSetting$.inboundSchema]),
|
|
148
|
+
interaction_setting: InteractionSettingResponse$.inboundSchema,
|
|
149
|
+
voice_id: zod_1.z.string(),
|
|
150
|
+
last_modification_timestamp: zod_1.z.number().int(),
|
|
151
|
+
})
|
|
152
|
+
.transform((v) => {
|
|
153
|
+
return {
|
|
154
|
+
agentId: v.agent_id,
|
|
155
|
+
...(v.agent_name === undefined ? null : { agentName: v.agent_name }),
|
|
156
|
+
llmSetting: v.llm_setting,
|
|
157
|
+
interactionSetting: v.interaction_setting,
|
|
158
|
+
voiceId: v.voice_id,
|
|
159
|
+
lastModificationTimestamp: v.last_modification_timestamp,
|
|
160
|
+
};
|
|
161
|
+
});
|
|
162
|
+
Agent$.outboundSchema = zod_1.z
|
|
163
|
+
.object({
|
|
164
|
+
agentId: zod_1.z.string(),
|
|
165
|
+
agentName: zod_1.z.string().optional(),
|
|
166
|
+
llmSetting: zod_1.z.union([RetellLlmSetting$.outboundSchema, CustomLlmSetting$.outboundSchema]),
|
|
167
|
+
interactionSetting: InteractionSettingResponse$.outboundSchema,
|
|
168
|
+
voiceId: zod_1.z.string(),
|
|
169
|
+
lastModificationTimestamp: zod_1.z.number().int(),
|
|
170
|
+
})
|
|
171
|
+
.transform((v) => {
|
|
172
|
+
return {
|
|
173
|
+
agent_id: v.agentId,
|
|
174
|
+
...(v.agentName === undefined ? null : { agent_name: v.agentName }),
|
|
175
|
+
llm_setting: v.llmSetting,
|
|
176
|
+
interaction_setting: v.interactionSetting,
|
|
62
177
|
voice_id: v.voiceId,
|
|
178
|
+
last_modification_timestamp: v.lastModificationTimestamp,
|
|
63
179
|
};
|
|
64
180
|
});
|
|
65
181
|
})(Agent$ || (exports.Agent$ = Agent$ = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../src/models/components/agent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6BAAwB;
|
|
1
|
+
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../src/models/components/agent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6BAAwB;AAaxB,gBAAgB;AAChB,IAAiB,iBAAiB,CAkCjC;AAlCD,WAAiB,iBAAiB;IAMjB,+BAAa,GAAuD,OAAC;SAC7E,MAAM,CAAC;QACJ,QAAQ,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;KACrB,CAAC;SACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,MAAM,EAAE,CAAC,CAAC,MAAM;SACnB,CAAC;IACN,CAAC,CAAC,CAAC;IAOM,gCAAc,GAAwD,OAAC;SAC/E,MAAM,CAAC;QACJ,QAAQ,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;KACrB,CAAC;SACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,MAAM,EAAE,CAAC,CAAC,MAAM;SACnB,CAAC;IACN,CAAC,CAAC,CAAC;AACX,CAAC,EAlCgB,iBAAiB,iCAAjB,iBAAiB,QAkCjC;AAiBD,gBAAgB;AA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C,cAAc,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;QACzF,kBAAkB,EAAE,2BAA2B,CAAC,cAAc;QAC9D,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;QACnB,yBAAyB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;KAC9C,CAAC;SACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,QAAQ,EAAE,CAAC,CAAC,OAAO;YACnB,GAAG,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC;YACnE,WAAW,EAAE,CAAC,CAAC,UAAU;YACzB,mBAAmB,EAAE,CAAC,CAAC,kBAAkB;YACzC,QAAQ,EAAE,CAAC,CAAC,OAAO;YACnB,2BAA2B,EAAE,CAAC,CAAC,yBAAyB;SAC3D,CAAC;IACN,CAAC,CAAC,CAAC;AACX,CAAC,EA1DgB,MAAM,sBAAN,MAAM,QA0DtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
|
|
@@ -18,7 +18,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
__exportStar(require("./agent"), exports);
|
|
21
|
-
__exportStar(require("./agentnodefaultnorequired"), exports);
|
|
22
21
|
__exportStar(require("./agentpromptparams"), exports);
|
|
23
22
|
__exportStar(require("./calldetail"), exports);
|
|
24
23
|
__exportStar(require("./callphonenumber"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,sDAAoC;AACpC,+CAA6B;AAC7B,oDAAkC;AAClC,gDAA8B;AAC9B,6CAA2B"}
|
|
@@ -5,32 +5,13 @@ export type CreateAgentRequestBody = {
|
|
|
5
5
|
* The name of the agent. Only used for your own reference.
|
|
6
6
|
*/
|
|
7
7
|
agentName?: string | undefined;
|
|
8
|
+
llmSetting: components.RetellLlmSetting | components.CustomLlmSetting;
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* Setting combination that controls interaction flow, like begin and end logic.
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
interactionSetting?: components.InteractionSettingRequest | undefined;
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
enableBeginMessage?: boolean | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Whether the agent can end a call. If false, the agent would never end a call.
|
|
18
|
-
*/
|
|
19
|
-
enableEndCall?: boolean | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the agent attempts to end the call with a pre-defined message. When this is false, the agent might still be the last one speaking in the call, but the massage can be dynamic.
|
|
22
|
-
*/
|
|
23
|
-
enableEndMessage?: boolean | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Pre-defined message for agent to say when agent ends the call. Only used when `enable_end_call` and `enable_end_message` is true. If you wish for agent to hang up without saying anything, set this to empty string.
|
|
26
|
-
*/
|
|
27
|
-
endMessage?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* The prompt agent will follow. Check out [Prompt Best Practices](/features/prompt). Can use `${YOUR_PARAM_NAME}` to represent dynamic data that would get injected at each call. Learn more about [Agent Prompt Parameters](/features/prompt#prompt-parameters).
|
|
30
|
-
*/
|
|
31
|
-
prompt: string;
|
|
32
|
-
/**
|
|
33
|
-
* Unique voice id used for the agent. Find list of available voices and their characteristics in [Voices](/features/voices).
|
|
14
|
+
* Unique voice id used for the agent. Find list of available voices in documentation.
|
|
34
15
|
*/
|
|
35
16
|
voiceId: string;
|
|
36
17
|
};
|
|
@@ -56,23 +37,15 @@ export type CreateAgentResponse = {
|
|
|
56
37
|
export declare namespace CreateAgentRequestBody$ {
|
|
57
38
|
type Inbound = {
|
|
58
39
|
agent_name?: string | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
enable_end_call?: boolean | undefined;
|
|
62
|
-
enable_end_message?: boolean | undefined;
|
|
63
|
-
end_message?: string | undefined;
|
|
64
|
-
prompt: string;
|
|
40
|
+
llm_setting: components.RetellLlmSetting$.Inbound | components.CustomLlmSetting$.Inbound;
|
|
41
|
+
interaction_setting?: components.InteractionSettingRequest$.Inbound | undefined;
|
|
65
42
|
voice_id: string;
|
|
66
43
|
};
|
|
67
44
|
const inboundSchema: z.ZodType<CreateAgentRequestBody, z.ZodTypeDef, Inbound>;
|
|
68
45
|
type Outbound = {
|
|
69
46
|
agent_name?: string | undefined;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
enable_end_call?: boolean | undefined;
|
|
73
|
-
enable_end_message?: boolean | undefined;
|
|
74
|
-
end_message?: string | undefined;
|
|
75
|
-
prompt: string;
|
|
47
|
+
llm_setting: components.RetellLlmSetting$.Inbound | components.CustomLlmSetting$.Inbound;
|
|
48
|
+
interaction_setting?: components.InteractionSettingRequest$.Inbound | undefined;
|
|
76
49
|
voice_id: string;
|
|
77
50
|
};
|
|
78
51
|
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, CreateAgentRequestBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createagent.d.ts","sourceRoot":"","sources":["../../src/models/operations/createagent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,sBAAsB,GAAG;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"createagent.d.ts","sourceRoot":"","sources":["../../src/models/operations/createagent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,sBAAsB,GAAG;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK/B,UAAU,EAAE,UAAU,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC;IACtE;;OAEG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,CAAC;IACtE;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,KAAK,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,yBAAiB,uBAAuB,CAAC;IACrC,KAAY,OAAO,GAAG;QAClB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAChC,WAAW,EAAE,UAAU,CAAC,iBAAiB,CAAC,OAAO,GAAG,UAAU,CAAC,i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,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,mBAAmB,CAgB5E,CAAC;CACV"}
|
|
@@ -35,54 +35,30 @@ var CreateAgentRequestBody$;
|
|
|
35
35
|
CreateAgentRequestBody$.inboundSchema = zod_1.z
|
|
36
36
|
.object({
|
|
37
37
|
agent_name: zod_1.z.string().optional(),
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
enable_end_call: zod_1.z.boolean().optional(),
|
|
41
|
-
enable_end_message: zod_1.z.boolean().optional(),
|
|
42
|
-
end_message: zod_1.z.string().optional(),
|
|
43
|
-
prompt: zod_1.z.string(),
|
|
38
|
+
llm_setting: zod_1.z.union([components.RetellLlmSetting$.inboundSchema, components.CustomLlmSetting$.inboundSchema]),
|
|
39
|
+
interaction_setting: components.InteractionSettingRequest$.inboundSchema.optional(),
|
|
44
40
|
voice_id: zod_1.z.string(),
|
|
45
41
|
})
|
|
46
42
|
.transform((v) => {
|
|
47
43
|
return {
|
|
48
44
|
...(v.agent_name === undefined ? null : { agentName: v.agent_name }),
|
|
49
|
-
|
|
50
|
-
...(v.
|
|
51
|
-
? null
|
|
52
|
-
: { enableBeginMessage: v.enable_begin_message }),
|
|
53
|
-
...(v.enable_end_call === undefined ? null : { enableEndCall: v.enable_end_call }),
|
|
54
|
-
...(v.enable_end_message === undefined
|
|
55
|
-
? null
|
|
56
|
-
: { enableEndMessage: v.enable_end_message }),
|
|
57
|
-
...(v.end_message === undefined ? null : { endMessage: v.end_message }),
|
|
58
|
-
prompt: v.prompt,
|
|
45
|
+
llmSetting: v.llm_setting,
|
|
46
|
+
...(v.interaction_setting === undefined ? null : { interactionSetting: v.interaction_setting }),
|
|
59
47
|
voiceId: v.voice_id,
|
|
60
48
|
};
|
|
61
49
|
});
|
|
62
50
|
CreateAgentRequestBody$.outboundSchema = zod_1.z
|
|
63
51
|
.object({
|
|
64
52
|
agentName: zod_1.z.string().optional(),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
enableEndCall: zod_1.z.boolean().optional(),
|
|
68
|
-
enableEndMessage: zod_1.z.boolean().optional(),
|
|
69
|
-
endMessage: zod_1.z.string().optional(),
|
|
70
|
-
prompt: zod_1.z.string(),
|
|
53
|
+
llmSetting: zod_1.z.union([components.RetellLlmSetting$.outboundSchema, components.CustomLlmSetting$.outboundSchema]),
|
|
54
|
+
interactionSetting: components.InteractionSettingRequest$.outboundSchema.optional(),
|
|
71
55
|
voiceId: zod_1.z.string(),
|
|
72
56
|
})
|
|
73
57
|
.transform((v) => {
|
|
74
58
|
return {
|
|
75
59
|
...(v.agentName === undefined ? null : { agent_name: v.agentName }),
|
|
76
|
-
|
|
77
|
-
...(v.
|
|
78
|
-
? null
|
|
79
|
-
: { enable_begin_message: v.enableBeginMessage }),
|
|
80
|
-
...(v.enableEndCall === undefined ? null : { enable_end_call: v.enableEndCall }),
|
|
81
|
-
...(v.enableEndMessage === undefined
|
|
82
|
-
? null
|
|
83
|
-
: { enable_end_message: v.enableEndMessage }),
|
|
84
|
-
...(v.endMessage === undefined ? null : { end_message: v.endMessage }),
|
|
85
|
-
prompt: v.prompt,
|
|
60
|
+
llm_setting: v.llmSetting,
|
|
61
|
+
...(v.interactionSetting === undefined ? null : { interaction_setting: v.interactionSetting }),
|
|
86
62
|
voice_id: v.voiceId,
|
|
87
63
|
};
|
|
88
64
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createagent.js","sourceRoot":"","sources":["../../src/models/operations/createagent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oEAAsD;AACtD,6BAAwB;
|
|
1
|
+
{"version":3,"file":"createagent.js","sourceRoot":"","sources":["../../src/models/operations/createagent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oEAAsD;AACtD,6BAAwB;AAyCxB,gBAAgB;AAChB,IAAiB,uBAAuB,CA8CvC;AA9CD,WAAiB,uBA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