@retell-ai/retell-cli 0.14.0 → 0.15.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.
|
@@ -3,8 +3,8 @@ export const catalogMetadata = {
|
|
|
3
3
|
"title": "Retell SDK",
|
|
4
4
|
"apiVersion": "3.0.0",
|
|
5
5
|
"server": "https://api.retellai.com",
|
|
6
|
-
"sourceSha256": "
|
|
7
|
-
"operationCount":
|
|
6
|
+
"sourceSha256": "1cc0ff5e4dbcde6c0e9d2c4cfa9678d589e9858e1edb82f8b21e0defba28baa0",
|
|
7
|
+
"operationCount": 111
|
|
8
8
|
};
|
|
9
9
|
export const schemaDefinitions = {
|
|
10
10
|
"AgentFilter": {
|
|
@@ -8932,7 +8932,7 @@ export const operations = [
|
|
|
8932
8932
|
"flag": "--inbound-webhook-url",
|
|
8933
8933
|
"required": false,
|
|
8934
8934
|
"type": "string",
|
|
8935
|
-
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call.",
|
|
8935
|
+
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call. Includes call_inbound.call_id for deduplication across HTTP retries. Early setup failures may not create a call history record.",
|
|
8936
8936
|
"example": "https://example.com/inbound-webhook",
|
|
8937
8937
|
"array": false,
|
|
8938
8938
|
"nullable": true,
|
|
@@ -9599,7 +9599,7 @@ export const operations = [
|
|
|
9599
9599
|
"method": "POST",
|
|
9600
9600
|
"path": "/v2/create-web-call",
|
|
9601
9601
|
"description": "Create a new web call",
|
|
9602
|
-
"deprecated":
|
|
9602
|
+
"deprecated": true,
|
|
9603
9603
|
"authenticated": true,
|
|
9604
9604
|
"parameters": [],
|
|
9605
9605
|
"requestBody": {
|
|
@@ -11275,7 +11275,7 @@ export const operations = [
|
|
|
11275
11275
|
"flag": "--inbound-webhook-url",
|
|
11276
11276
|
"required": false,
|
|
11277
11277
|
"type": "string",
|
|
11278
|
-
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call.",
|
|
11278
|
+
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call. Includes call_inbound.call_id for deduplication across HTTP retries. Early setup failures may not create a call history record.",
|
|
11279
11279
|
"example": "https://example.com/inbound-webhook",
|
|
11280
11280
|
"array": false,
|
|
11281
11281
|
"nullable": true,
|
|
@@ -12739,6 +12739,34 @@ export const operations = [
|
|
|
12739
12739
|
"parameters": [],
|
|
12740
12740
|
"responseContractHash": "11c25fb87d1be09b1f4d4de37012b2ae0741a611981c7fcee58da1c360a8ed10"
|
|
12741
12741
|
},
|
|
12742
|
+
{
|
|
12743
|
+
"operationId": "listenLiveCall",
|
|
12744
|
+
"command": "listen-live-call",
|
|
12745
|
+
"method": "POST",
|
|
12746
|
+
"path": "/v2/listen-live-call/{call_id}",
|
|
12747
|
+
"description": "Mint a subscribe-only access token for an in-progress call so a client can listen to live audio. The returned token grants join + subscribe on the call's existing audio room; it cannot publish. The call must be in ONGOING status.",
|
|
12748
|
+
"deprecated": false,
|
|
12749
|
+
"authenticated": true,
|
|
12750
|
+
"parameters": [
|
|
12751
|
+
{
|
|
12752
|
+
"name": "call_id",
|
|
12753
|
+
"flag": "--call-id",
|
|
12754
|
+
"in": "path",
|
|
12755
|
+
"required": true,
|
|
12756
|
+
"type": "string",
|
|
12757
|
+
"description": "The call id to listen to.",
|
|
12758
|
+
"array": false,
|
|
12759
|
+
"style": "simple",
|
|
12760
|
+
"explode": false,
|
|
12761
|
+
"allowReserved": false,
|
|
12762
|
+
"contractHash": "00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96",
|
|
12763
|
+
"validationSchema": {
|
|
12764
|
+
"type": "string"
|
|
12765
|
+
}
|
|
12766
|
+
}
|
|
12767
|
+
],
|
|
12768
|
+
"responseContractHash": "00a883c0c0f21e01478bbeb424748b225c9fcd29e3393909f81791ff5ec7e5d6"
|
|
12769
|
+
},
|
|
12742
12770
|
{
|
|
12743
12771
|
"operationId": "publishAgentVersion",
|
|
12744
12772
|
"command": "publish-agent-version",
|
|
@@ -13176,6 +13204,67 @@ export const operations = [
|
|
|
13176
13204
|
],
|
|
13177
13205
|
"responseContractHash": "ca4902eb8a38d2da414fd61c103fdd9de69102c27704882bdc4cd6c8ad769346"
|
|
13178
13206
|
},
|
|
13207
|
+
{
|
|
13208
|
+
"operationId": "takeOverLiveCall",
|
|
13209
|
+
"command": "take-over-live-call",
|
|
13210
|
+
"method": "POST",
|
|
13211
|
+
"path": "/v2/take-over-live-call/{call_id}",
|
|
13212
|
+
"description": "Take over an in-progress call from the AI agent. The agent stops responding and the specified live-listen participant is allowed to speak directly to the caller. The call must be in ONGOING status.",
|
|
13213
|
+
"deprecated": false,
|
|
13214
|
+
"authenticated": true,
|
|
13215
|
+
"parameters": [
|
|
13216
|
+
{
|
|
13217
|
+
"name": "call_id",
|
|
13218
|
+
"flag": "--call-id",
|
|
13219
|
+
"in": "path",
|
|
13220
|
+
"required": true,
|
|
13221
|
+
"type": "string",
|
|
13222
|
+
"description": "The call id to take over.",
|
|
13223
|
+
"array": false,
|
|
13224
|
+
"style": "simple",
|
|
13225
|
+
"explode": false,
|
|
13226
|
+
"allowReserved": false,
|
|
13227
|
+
"contractHash": "00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96",
|
|
13228
|
+
"validationSchema": {
|
|
13229
|
+
"type": "string"
|
|
13230
|
+
}
|
|
13231
|
+
}
|
|
13232
|
+
],
|
|
13233
|
+
"requestBody": {
|
|
13234
|
+
"required": true,
|
|
13235
|
+
"contentType": "application/json",
|
|
13236
|
+
"propertyCount": 1,
|
|
13237
|
+
"requiredFields": [
|
|
13238
|
+
"participant_id"
|
|
13239
|
+
],
|
|
13240
|
+
"validationSchema": {
|
|
13241
|
+
"type": "object",
|
|
13242
|
+
"required": [
|
|
13243
|
+
"participant_id"
|
|
13244
|
+
],
|
|
13245
|
+
"properties": {
|
|
13246
|
+
"participant_id": {
|
|
13247
|
+
"type": "string"
|
|
13248
|
+
}
|
|
13249
|
+
},
|
|
13250
|
+
"additionalProperties": false
|
|
13251
|
+
},
|
|
13252
|
+
"fields": [
|
|
13253
|
+
{
|
|
13254
|
+
"name": "participant_id",
|
|
13255
|
+
"flag": "--participant-id",
|
|
13256
|
+
"required": true,
|
|
13257
|
+
"type": "string",
|
|
13258
|
+
"description": "The id of the live-listen participant to upgrade, obtained when joining via /v2/listen-live-call.",
|
|
13259
|
+
"example": "listener_a1b2c3d4e5f6g7h8i9j0",
|
|
13260
|
+
"array": false,
|
|
13261
|
+
"nullable": false,
|
|
13262
|
+
"contractHash": "00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96"
|
|
13263
|
+
}
|
|
13264
|
+
]
|
|
13265
|
+
},
|
|
13266
|
+
"responseContractHash": "a6ff74906d3096dbdef3f9a65e712f7bab7359b1c944eb8c6b2e9122ad071680"
|
|
13267
|
+
},
|
|
13179
13268
|
{
|
|
13180
13269
|
"operationId": "testAppAuth",
|
|
13181
13270
|
"command": "test-app-auth",
|
|
@@ -15496,7 +15585,7 @@ export const operations = [
|
|
|
15496
15585
|
"flag": "--inbound-webhook-url",
|
|
15497
15586
|
"required": false,
|
|
15498
15587
|
"type": "string",
|
|
15499
|
-
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call.",
|
|
15588
|
+
"description": "If set, Retell will send a webhook for inbound calls, where you can override the agent ID, set dynamic variables, reject the call, and configure other fields specific to that call. Includes call_inbound.call_id for deduplication across HTTP retries. Early setup failures may not create a call history record.",
|
|
15500
15589
|
"example": "https://example.com/inbound-webhook",
|
|
15501
15590
|
"array": false,
|
|
15502
15591
|
"nullable": true,
|
|
@@ -15507,7 +15596,7 @@ export const operations = [
|
|
|
15507
15596
|
"flag": "--inbound-sms-webhook-url",
|
|
15508
15597
|
"required": false,
|
|
15509
15598
|
"type": "string",
|
|
15510
|
-
"description": "If set, Retell will send a webhook for inbound SMS, where you can override the agent ID, set dynamic variables, reject the SMS, and configure other fields specific to that chat.",
|
|
15599
|
+
"description": "If set, Retell will send a webhook for inbound SMS, where you can override the agent ID, set dynamic variables, reject the SMS, and configure other fields specific to that chat. Includes chat_inbound.chat_id for deduplication across HTTP retries. Early setup failures may not create a chat history record.",
|
|
15511
15600
|
"example": "https://example.com/inbound-sms-webhook",
|
|
15512
15601
|
"array": false,
|
|
15513
15602
|
"nullable": true,
|