retell-sdk 3.17.0 → 3.19.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 +32 -0
- package/core.d.ts +4 -2
- package/core.d.ts.map +1 -1
- package/core.js +17 -4
- package/core.js.map +1 -1
- package/core.mjs +18 -5
- package/core.mjs.map +1 -1
- package/index.d.mts +9 -6
- package/index.d.ts +9 -6
- package/index.d.ts.map +1 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/index.mjs +5 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.ts +1 -1
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs.map +1 -1
- package/resources/call.d.ts +113 -430
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +11 -11
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +11 -11
- package/resources/call.mjs.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.ts +4 -4
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.ts +35 -14
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/phone-number.js.map +1 -1
- package/resources/phone-number.mjs.map +1 -1
- package/resources/voice.d.ts +1 -1
- package/resources/voice.d.ts.map +1 -1
- package/resources/voice.js.map +1 -1
- package/resources/voice.mjs.map +1 -1
- package/src/core.ts +27 -8
- package/src/index.ts +11 -7
- package/src/resources/agent.ts +1 -1
- package/src/resources/call.ts +127 -510
- package/src/resources/index.ts +4 -3
- package/src/resources/llm.ts +4 -4
- package/src/resources/phone-number.ts +40 -16
- package/src/resources/voice.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/index.ts
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
export { AgentResponse, AgentListResponse, AgentCreateParams, AgentUpdateParams, Agent } from './agent';
|
|
4
4
|
export {
|
|
5
5
|
CallResponse,
|
|
6
|
-
|
|
6
|
+
PhoneCallResponse,
|
|
7
7
|
CallListResponse,
|
|
8
|
-
|
|
8
|
+
CallCreateWebCallResponse,
|
|
9
9
|
CallListParams,
|
|
10
|
-
|
|
10
|
+
CallCreatePhoneCallParams,
|
|
11
|
+
CallCreateWebCallParams,
|
|
11
12
|
Call,
|
|
12
13
|
} from './call';
|
|
13
14
|
export { LlmResponse, LlmListResponse, LlmCreateParams, LlmUpdateParams, Llm } from './llm';
|
package/src/resources/llm.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from '../core';
|
|
4
3
|
import { APIResource } from '../resource';
|
|
4
|
+
import * as Core from '../core';
|
|
5
5
|
import * as LlmAPI from './llm';
|
|
6
6
|
|
|
7
7
|
export class Llm extends APIResource {
|
|
@@ -104,7 +104,7 @@ export interface LlmResponse {
|
|
|
104
104
|
/**
|
|
105
105
|
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
|
|
106
106
|
*/
|
|
107
|
-
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';
|
|
107
|
+
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3.5-sonnet' | 'claude-3-haiku';
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Name of the starting state. Required if states is not empty.
|
|
@@ -657,7 +657,7 @@ export interface LlmCreateParams {
|
|
|
657
657
|
/**
|
|
658
658
|
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
|
|
659
659
|
*/
|
|
660
|
-
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';
|
|
660
|
+
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3.5-sonnet' | 'claude-3-haiku';
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
663
|
* Name of the starting state. Required if states is not empty.
|
|
@@ -1208,7 +1208,7 @@ export interface LlmUpdateParams {
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Select the underlying LLM. If not set, would default to gpt-3.5-turbo.
|
|
1210
1210
|
*/
|
|
1211
|
-
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3-sonnet' | 'claude-3-haiku';
|
|
1211
|
+
model?: 'gpt-3.5-turbo' | 'gpt-4-turbo' | 'gpt-4o' | 'claude-3.5-sonnet' | 'claude-3-haiku';
|
|
1212
1212
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Name of the starting state. Required if states is not empty.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from '../core';
|
|
4
3
|
import { APIResource } from '../resource';
|
|
4
|
+
import * as Core from '../core';
|
|
5
5
|
import * as PhoneNumberAPI from './phone-number';
|
|
6
6
|
|
|
7
7
|
export class PhoneNumber extends APIResource {
|
|
@@ -49,12 +49,6 @@ export class PhoneNumber extends APIResource {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export interface PhoneNumberResponse {
|
|
52
|
-
/**
|
|
53
|
-
* Unique id of agent to bind to newly obtained number. The number will
|
|
54
|
-
* automatically use the agent when doing inbound / outbound calls.
|
|
55
|
-
*/
|
|
56
|
-
agent_id: string;
|
|
57
|
-
|
|
58
52
|
/**
|
|
59
53
|
* Area code of the number to obtain. Format is a 3 digit integer. Currently only
|
|
60
54
|
* supports US area code.
|
|
@@ -77,30 +71,60 @@ export interface PhoneNumberResponse {
|
|
|
77
71
|
* Pretty printed phone number, provided for your reference.
|
|
78
72
|
*/
|
|
79
73
|
phone_number_pretty: string;
|
|
80
|
-
}
|
|
81
74
|
|
|
82
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
77
|
+
* agent when receiving inbound calls. If null, this number would not accept
|
|
78
|
+
* inbound call.
|
|
79
|
+
*/
|
|
80
|
+
inbound_agent_id?: string | null;
|
|
83
81
|
|
|
84
|
-
export interface PhoneNumberCreateParams {
|
|
85
82
|
/**
|
|
86
|
-
* Unique id of agent to bind to
|
|
87
|
-
*
|
|
83
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
84
|
+
* agent when conducting outbound calls. If null, this number would not be able to
|
|
85
|
+
* initiate outbound call without agent id override.
|
|
88
86
|
*/
|
|
89
|
-
|
|
87
|
+
outbound_agent_id?: string | null;
|
|
88
|
+
}
|
|
90
89
|
|
|
90
|
+
export type PhoneNumberListResponse = Array<PhoneNumberResponse>;
|
|
91
|
+
|
|
92
|
+
export interface PhoneNumberCreateParams {
|
|
91
93
|
/**
|
|
92
94
|
* Area code of the number to obtain. Format is a 3 digit integer. Currently only
|
|
93
95
|
* supports US area code.
|
|
94
96
|
*/
|
|
95
97
|
area_code?: number;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
101
|
+
* agent when receiving inbound calls. If null, this number would not accept
|
|
102
|
+
* inbound call.
|
|
103
|
+
*/
|
|
104
|
+
inbound_agent_id?: string | null;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
108
|
+
* agent when conducting outbound calls. If null, this number would not be able to
|
|
109
|
+
* initiate outbound call without agent id override.
|
|
110
|
+
*/
|
|
111
|
+
outbound_agent_id?: string | null;
|
|
96
112
|
}
|
|
97
113
|
|
|
98
114
|
export interface PhoneNumberUpdateParams {
|
|
99
115
|
/**
|
|
100
|
-
* Unique id of agent to bind to number. The number will automatically use the
|
|
101
|
-
* agent when
|
|
116
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
117
|
+
* agent when receiving inbound calls. If set to null, this number would not accept
|
|
118
|
+
* inbound call.
|
|
119
|
+
*/
|
|
120
|
+
inbound_agent_id?: string | null;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Unique id of agent to bind to the number. The number will automatically use the
|
|
124
|
+
* agent when conducting outbound calls. If set to null, this number would not be
|
|
125
|
+
* able to initiate outbound call without agent id override.
|
|
102
126
|
*/
|
|
103
|
-
|
|
127
|
+
outbound_agent_id?: string | null;
|
|
104
128
|
}
|
|
105
129
|
|
|
106
130
|
export namespace PhoneNumber {
|
package/src/resources/voice.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from '../core';
|
|
4
3
|
import { APIResource } from '../resource';
|
|
4
|
+
import * as Core from '../core';
|
|
5
5
|
import * as VoiceAPI from './voice';
|
|
6
6
|
|
|
7
7
|
export class Voice extends APIResource {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.19.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.19.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.19.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|