retell-sdk 5.46.0 → 5.48.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.
@@ -135,14 +135,14 @@ export interface PhoneNumberResponse {
135
135
  inbound_sms_agents?: Array<PhoneNumberResponse.InboundSMSAgent> | null;
136
136
  /**
137
137
  * If set, Retell will send a webhook for inbound SMS, where you can override the
138
- * agent ID, set dynamic variables, and configure other fields specific to that
139
- * chat.
138
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
139
+ * specific to that chat.
140
140
  */
141
141
  inbound_sms_webhook_url?: string | null;
142
142
  /**
143
143
  * If set, Retell will send a webhook for inbound calls, where you can override the
144
- * agent ID, set dynamic variables, and configure other fields specific to that
145
- * call.
144
+ * agent ID, set dynamic variables, reject the call, and configure other fields
145
+ * specific to that call.
146
146
  */
147
147
  inbound_webhook_url?: string | null;
148
148
  /**
@@ -312,8 +312,8 @@ export interface PhoneNumberCreateParams {
312
312
  inbound_agents?: Array<PhoneNumberCreateParams.InboundAgent> | null;
313
313
  /**
314
314
  * If set, Retell will send a webhook for inbound calls, where you can override the
315
- * agent ID, set dynamic variables, and configure other fields specific to that
316
- * call.
315
+ * agent ID, set dynamic variables, reject the call, and configure other fields
316
+ * specific to that call.
317
317
  */
318
318
  inbound_webhook_url?: string | null;
319
319
  /**
@@ -425,8 +425,8 @@ export interface PhoneNumberImportParams {
425
425
  inbound_agents?: Array<PhoneNumberImportParams.InboundAgent> | null;
426
426
  /**
427
427
  * If set, Retell will send a webhook for inbound calls, where you can override the
428
- * agent ID, set dynamic variables, and configure other fields specific to that
429
- * call.
428
+ * agent ID, set dynamic variables, reject the call, and configure other fields
429
+ * specific to that call.
430
430
  */
431
431
  inbound_webhook_url?: string | null;
432
432
  /**
@@ -552,14 +552,14 @@ export interface PhoneNumberUpdateParams {
552
552
  inbound_sms_agents?: Array<PhoneNumberUpdateParams.InboundSMSAgent> | null;
553
553
  /**
554
554
  * If set, Retell will send a webhook for inbound SMS, where you can override the
555
- * agent ID, set dynamic variables, and configure other fields specific to that
556
- * chat.
555
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
556
+ * specific to that chat.
557
557
  */
558
558
  inbound_sms_webhook_url?: string | null;
559
559
  /**
560
560
  * If set, Retell will send a webhook for inbound calls, where you can override the
561
- * agent ID, set dynamic variables, and configure other fields specific to that
562
- * call.
561
+ * agent ID, set dynamic variables, reject the call, and configure other fields
562
+ * specific to that call.
563
563
  */
564
564
  inbound_webhook_url?: string | null;
565
565
  /**
@@ -135,14 +135,14 @@ export interface PhoneNumberResponse {
135
135
  inbound_sms_agents?: Array<PhoneNumberResponse.InboundSMSAgent> | null;
136
136
  /**
137
137
  * If set, Retell will send a webhook for inbound SMS, where you can override the
138
- * agent ID, set dynamic variables, and configure other fields specific to that
139
- * chat.
138
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
139
+ * specific to that chat.
140
140
  */
141
141
  inbound_sms_webhook_url?: string | null;
142
142
  /**
143
143
  * If set, Retell will send a webhook for inbound calls, where you can override the
144
- * agent ID, set dynamic variables, and configure other fields specific to that
145
- * call.
144
+ * agent ID, set dynamic variables, reject the call, and configure other fields
145
+ * specific to that call.
146
146
  */
147
147
  inbound_webhook_url?: string | null;
148
148
  /**
@@ -312,8 +312,8 @@ export interface PhoneNumberCreateParams {
312
312
  inbound_agents?: Array<PhoneNumberCreateParams.InboundAgent> | null;
313
313
  /**
314
314
  * If set, Retell will send a webhook for inbound calls, where you can override the
315
- * agent ID, set dynamic variables, and configure other fields specific to that
316
- * call.
315
+ * agent ID, set dynamic variables, reject the call, and configure other fields
316
+ * specific to that call.
317
317
  */
318
318
  inbound_webhook_url?: string | null;
319
319
  /**
@@ -425,8 +425,8 @@ export interface PhoneNumberImportParams {
425
425
  inbound_agents?: Array<PhoneNumberImportParams.InboundAgent> | null;
426
426
  /**
427
427
  * If set, Retell will send a webhook for inbound calls, where you can override the
428
- * agent ID, set dynamic variables, and configure other fields specific to that
429
- * call.
428
+ * agent ID, set dynamic variables, reject the call, and configure other fields
429
+ * specific to that call.
430
430
  */
431
431
  inbound_webhook_url?: string | null;
432
432
  /**
@@ -552,14 +552,14 @@ export interface PhoneNumberUpdateParams {
552
552
  inbound_sms_agents?: Array<PhoneNumberUpdateParams.InboundSMSAgent> | null;
553
553
  /**
554
554
  * If set, Retell will send a webhook for inbound SMS, where you can override the
555
- * agent ID, set dynamic variables, and configure other fields specific to that
556
- * chat.
555
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
556
+ * specific to that chat.
557
557
  */
558
558
  inbound_sms_webhook_url?: string | null;
559
559
  /**
560
560
  * If set, Retell will send a webhook for inbound calls, where you can override the
561
- * agent ID, set dynamic variables, and configure other fields specific to that
562
- * call.
561
+ * agent ID, set dynamic variables, reject the call, and configure other fields
562
+ * specific to that call.
563
563
  */
564
564
  inbound_webhook_url?: string | null;
565
565
  /**
@@ -9058,7 +9058,12 @@ export namespace CallListParams {
9058
9058
 
9059
9059
  export interface CallUpdateParams {
9060
9060
  /**
9061
- * Custom attributes for the call
9061
+ * Custom attributes for the call, as key-value pairs. Each attribute must first be
9062
+ * defined for your organization in the Retell dashboard (Call History → Actions →
9063
+ * Custom attributes) before it can be set here. The object key must match the id
9064
+ * of an existing organization-level custom attribute; keys that do not match a
9065
+ * defined attribute are ignored and will not be saved. Values must be a string,
9066
+ * number, or boolean.
9062
9067
  */
9063
9068
  custom_attributes?: { [key: string]: string | number | boolean };
9064
9069
 
@@ -1425,7 +1425,12 @@ export namespace ChatListParams {
1425
1425
 
1426
1426
  export interface ChatUpdateParams {
1427
1427
  /**
1428
- * Custom attributes for the chat
1428
+ * Custom attributes for the chat, as key-value pairs. Each attribute must first be
1429
+ * defined for your organization in the Retell dashboard (Chat History → Actions →
1430
+ * Custom attributes) before it can be set here. The object key must match the id
1431
+ * of an existing organization-level custom attribute; keys that do not match a
1432
+ * defined attribute are ignored and will not be saved. Values must be a string,
1433
+ * number, or boolean.
1429
1434
  */
1430
1435
  custom_attributes?: { [key: string]: string | number | boolean };
1431
1436
 
@@ -177,15 +177,15 @@ export interface PhoneNumberResponse {
177
177
 
178
178
  /**
179
179
  * If set, Retell will send a webhook for inbound SMS, where you can override the
180
- * agent ID, set dynamic variables, and configure other fields specific to that
181
- * chat.
180
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
181
+ * specific to that chat.
182
182
  */
183
183
  inbound_sms_webhook_url?: string | null;
184
184
 
185
185
  /**
186
186
  * If set, Retell will send a webhook for inbound calls, where you can override the
187
- * agent ID, set dynamic variables, and configure other fields specific to that
188
- * call.
187
+ * agent ID, set dynamic variables, reject the call, and configure other fields
188
+ * specific to that call.
189
189
  */
190
190
  inbound_webhook_url?: string | null;
191
191
 
@@ -385,8 +385,8 @@ export interface PhoneNumberCreateParams {
385
385
 
386
386
  /**
387
387
  * If set, Retell will send a webhook for inbound calls, where you can override the
388
- * agent ID, set dynamic variables, and configure other fields specific to that
389
- * call.
388
+ * agent ID, set dynamic variables, reject the call, and configure other fields
389
+ * specific to that call.
390
390
  */
391
391
  inbound_webhook_url?: string | null;
392
392
 
@@ -517,8 +517,8 @@ export interface PhoneNumberImportParams {
517
517
 
518
518
  /**
519
519
  * If set, Retell will send a webhook for inbound calls, where you can override the
520
- * agent ID, set dynamic variables, and configure other fields specific to that
521
- * call.
520
+ * agent ID, set dynamic variables, reject the call, and configure other fields
521
+ * specific to that call.
522
522
  */
523
523
  inbound_webhook_url?: string | null;
524
524
 
@@ -666,15 +666,15 @@ export interface PhoneNumberUpdateParams {
666
666
 
667
667
  /**
668
668
  * If set, Retell will send a webhook for inbound SMS, where you can override the
669
- * agent ID, set dynamic variables, and configure other fields specific to that
670
- * chat.
669
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
670
+ * specific to that chat.
671
671
  */
672
672
  inbound_sms_webhook_url?: string | null;
673
673
 
674
674
  /**
675
675
  * If set, Retell will send a webhook for inbound calls, where you can override the
676
- * agent ID, set dynamic variables, and configure other fields specific to that
677
- * call.
676
+ * agent ID, set dynamic variables, reject the call, and configure other fields
677
+ * specific to that call.
678
678
  */
679
679
  inbound_webhook_url?: string | null;
680
680
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.46.0'; // x-release-please-version
1
+ export const VERSION = '5.48.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.46.0";
1
+ export declare const VERSION = "5.48.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.46.0";
1
+ export declare const VERSION = "5.48.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.46.0'; // x-release-please-version
4
+ exports.VERSION = '5.48.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.46.0'; // x-release-please-version
1
+ export const VERSION = '5.48.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map