retell-sdk 4.19.0 → 4.21.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 +38 -0
- package/package.json +29 -8
- package/resources/agent.d.ts +24 -18
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.ts +2 -1
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.ts +11 -6
- package/resources/call.d.ts.map +1 -1
- package/resources/llm.d.ts +28 -27
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +6 -5
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +6 -5
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.ts +28 -0
- package/resources/phone-number.d.ts.map +1 -1
- package/src/resources/agent.ts +24 -18
- package/src/resources/batch-call.ts +2 -1
- package/src/resources/call.ts +11 -6
- package/src/resources/llm.ts +31 -30
- package/src/resources/phone-number.ts +34 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -80,6 +80,12 @@ export interface PhoneNumberResponse {
|
|
|
80
80
|
*/
|
|
81
81
|
inbound_agent_id?: string | null;
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* If set, will send a webhook for inbound calls, where you can to override agent
|
|
85
|
+
* id, set dynamic variables and other fields specific to that call.
|
|
86
|
+
*/
|
|
87
|
+
inbound_webhook_url?: string | null;
|
|
88
|
+
|
|
83
89
|
/**
|
|
84
90
|
* Nickname of the number. This is for your reference only.
|
|
85
91
|
*/
|
|
@@ -96,6 +102,11 @@ export interface PhoneNumberResponse {
|
|
|
96
102
|
* Pretty printed phone number, provided for your reference.
|
|
97
103
|
*/
|
|
98
104
|
phone_number_pretty?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Type of the phone number.
|
|
108
|
+
*/
|
|
109
|
+
phone_number_type?: 'retell-twilio' | 'retell-telnyx' | 'custom';
|
|
99
110
|
}
|
|
100
111
|
|
|
101
112
|
export type PhoneNumberListResponse = Array<PhoneNumberResponse>;
|
|
@@ -114,11 +125,22 @@ export interface PhoneNumberCreateParams {
|
|
|
114
125
|
*/
|
|
115
126
|
inbound_agent_id?: string | null;
|
|
116
127
|
|
|
128
|
+
/**
|
|
129
|
+
* If set, will send a webhook for inbound calls, where you can to override agent
|
|
130
|
+
* id, set dynamic variables and other fields specific to that call.
|
|
131
|
+
*/
|
|
132
|
+
inbound_webhook_url?: string | null;
|
|
133
|
+
|
|
117
134
|
/**
|
|
118
135
|
* Nickname of the number. This is for your reference only.
|
|
119
136
|
*/
|
|
120
137
|
nickname?: string;
|
|
121
138
|
|
|
139
|
+
/**
|
|
140
|
+
* The provider to purchase the phone number from. Default to twilio.
|
|
141
|
+
*/
|
|
142
|
+
number_provider?: 'twilio' | 'telnyx';
|
|
143
|
+
|
|
122
144
|
/**
|
|
123
145
|
* Unique id of agent to bind to the number. The number will automatically use the
|
|
124
146
|
* agent when conducting outbound calls. If null, this number would not be able to
|
|
@@ -135,6 +157,12 @@ export interface PhoneNumberUpdateParams {
|
|
|
135
157
|
*/
|
|
136
158
|
inbound_agent_id?: string | null;
|
|
137
159
|
|
|
160
|
+
/**
|
|
161
|
+
* If set, will send a webhook for inbound calls, where you can to override agent
|
|
162
|
+
* id, set dynamic variables and other fields specific to that call.
|
|
163
|
+
*/
|
|
164
|
+
inbound_webhook_url?: string | null;
|
|
165
|
+
|
|
138
166
|
/**
|
|
139
167
|
* Nickname of the number. This is for your reference only.
|
|
140
168
|
*/
|
|
@@ -170,6 +198,12 @@ export interface PhoneNumberImportParams {
|
|
|
170
198
|
*/
|
|
171
199
|
inbound_agent_id?: string | null;
|
|
172
200
|
|
|
201
|
+
/**
|
|
202
|
+
* If set, will send a webhook for inbound calls, where you can to override agent
|
|
203
|
+
* id, set dynamic variables and other fields specific to that call.
|
|
204
|
+
*/
|
|
205
|
+
inbound_webhook_url?: string | null;
|
|
206
|
+
|
|
173
207
|
/**
|
|
174
208
|
* Nickname of the number. This is for your reference only.
|
|
175
209
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.21.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.21.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|