@retell-ai/retell-cli 0.15.0 → 0.16.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": "1cc0ff5e4dbcde6c0e9d2c4cfa9678d589e9858e1edb82f8b21e0defba28baa0",
7
- "operationCount": 111
6
+ "sourceSha256": "d20ba580ed6770f27fd256916987cf7fef06ae3b2da96442bc8a612a3cc9f696",
7
+ "operationCount": 108
8
8
  };
9
9
  export const schemaDefinitions = {
10
10
  "AgentFilter": {
@@ -89,6 +89,35 @@ export const schemaDefinitions = {
89
89
  "type": "integer",
90
90
  "minimum": 0,
91
91
  "nullable": true
92
+ },
93
+ "stt_mode": {
94
+ "type": "string",
95
+ "nullable": true,
96
+ "enum": [
97
+ "fast",
98
+ "accurate",
99
+ "custom"
100
+ ]
101
+ },
102
+ "custom_stt_config": {
103
+ "type": "object",
104
+ "nullable": true,
105
+ "properties": {
106
+ "provider": {
107
+ "allOf": [
108
+ {
109
+ "$ref": "#/components/schemas/AsrProvider"
110
+ }
111
+ ]
112
+ },
113
+ "endpointing_ms": {
114
+ "type": "integer"
115
+ }
116
+ },
117
+ "required": [
118
+ "provider",
119
+ "endpointing_ms"
120
+ ]
92
121
  }
93
122
  }
94
123
  },
@@ -6151,7 +6180,7 @@ export const operations = [
6151
6180
  "command": "backfill-contact-analysis-data",
6152
6181
  "method": "POST",
6153
6182
  "path": "/backfill-contact-analysis-data",
6154
- "description": "Trigger a backfill job that re-applies analysis data mappings to contacts using historical call data. Only one backfill job can run per organization at a time.",
6183
+ "description": "POST /backfill-contact-analysis-data",
6155
6184
  "deprecated": false,
6156
6185
  "authenticated": true,
6157
6186
  "parameters": [],
@@ -6205,7 +6234,6 @@ export const operations = [
6205
6234
  "flag": "--backfill-call-filter",
6206
6235
  "required": false,
6207
6236
  "type": "object",
6208
- "description": "Optional call filter to scope which calls are processed. Supports agent and start_timestamp from the standard call filter.",
6209
6237
  "array": false,
6210
6238
  "nullable": false,
6211
6239
  "contractHash": "356fe2ce16a02674c101129a6e900c5faed3ef9429c1ffd880dcd85807db675f"
@@ -6215,7 +6243,6 @@ export const operations = [
6215
6243
  "flag": "--backfill-attributes",
6216
6244
  "required": true,
6217
6245
  "type": "array",
6218
- "description": "Contact fields to recompute. Each one must still exist as a contact field and have an analysis data mapping configured, otherwise the request is rejected rather than running a job that writes nothing.",
6219
6246
  "array": true,
6220
6247
  "nullable": false,
6221
6248
  "contractHash": "ec16f60c8a3f03ca5d9d18886f301c3a24cf54b73de0e5df0ec2e23c583b5014"
@@ -8264,7 +8291,7 @@ export const operations = [
8264
8291
  "description": "Local components embedded within the conversation flow.",
8265
8292
  "array": true,
8266
8293
  "nullable": true,
8267
- "contractHash": "fd82b54e272e5b6280eccbf9e9516a6bf305012c2366db5b8faa59ffda203941"
8294
+ "contractHash": "52d674191ea1c37029b75a4d26e4e97754a41a200803ec06cf20e235fe6a447b"
8268
8295
  },
8269
8296
  {
8270
8297
  "name": "start_node_id",
@@ -8360,11 +8387,11 @@ export const operations = [
8360
8387
  ],
8361
8388
  "array": true,
8362
8389
  "nullable": false,
8363
- "contractHash": "da11c00e924d6639feae894834f5c255b4835e2b9b1c98805f97fa14dcb38e8e"
8390
+ "contractHash": "ba1cd7b3a29b3a01f923156d740b1eb4ffd9445f8d53b11e91ae95385b39d835"
8364
8391
  }
8365
8392
  ]
8366
8393
  },
8367
- "responseContractHash": "7447d5f42efec9d1ea063b6c1b79c55d0082f274bd7ce366bf4689fbf3dd6524"
8394
+ "responseContractHash": "e270cb67465742f88373960206ee185eac43bdcf4d6d6a80024de446b5db420a"
8368
8395
  },
8369
8396
  {
8370
8397
  "operationId": "createConversationFlowComponent",
@@ -8458,7 +8485,7 @@ export const operations = [
8458
8485
  ],
8459
8486
  "array": true,
8460
8487
  "nullable": false,
8461
- "contractHash": "da11c00e924d6639feae894834f5c255b4835e2b9b1c98805f97fa14dcb38e8e"
8488
+ "contractHash": "ba1cd7b3a29b3a01f923156d740b1eb4ffd9445f8d53b11e91ae95385b39d835"
8462
8489
  },
8463
8490
  {
8464
8491
  "name": "start_node_id",
@@ -8493,7 +8520,7 @@ export const operations = [
8493
8520
  }
8494
8521
  ]
8495
8522
  },
8496
- "responseContractHash": "5abb398d8e38a25dc75f22715a8d60fb83f572bebd05a4de7667cf35180aec99"
8523
+ "responseContractHash": "f6d2e37c59fcb8e2401f29bfcb287dcb4ac6300cd9a2dd50c39c353909424fa5"
8497
8524
  },
8498
8525
  {
8499
8526
  "operationId": "createKnowledgeBase",
@@ -9597,138 +9624,6 @@ export const operations = [
9597
9624
  "operationId": "createWebCall",
9598
9625
  "command": "create-web-call",
9599
9626
  "method": "POST",
9600
- "path": "/v2/create-web-call",
9601
- "description": "Create a new web call",
9602
- "deprecated": true,
9603
- "authenticated": true,
9604
- "parameters": [],
9605
- "requestBody": {
9606
- "required": true,
9607
- "contentType": "application/json",
9608
- "propertyCount": 7,
9609
- "requiredFields": [
9610
- "agent_id"
9611
- ],
9612
- "validationSchema": {
9613
- "type": "object",
9614
- "required": [
9615
- "agent_id"
9616
- ],
9617
- "properties": {
9618
- "agent_id": {
9619
- "type": "string",
9620
- "minLength": 1
9621
- },
9622
- "agent_version": {
9623
- "$ref": "#/components/schemas/AgentVersionReference"
9624
- },
9625
- "agent_override": {
9626
- "$ref": "#/components/schemas/AgentOverrideRequest"
9627
- },
9628
- "metadata": {
9629
- "type": "object"
9630
- },
9631
- "retell_llm_dynamic_variables": {
9632
- "type": "object",
9633
- "additionalProperties": {
9634
- "type": "string"
9635
- }
9636
- },
9637
- "current_node_id": {
9638
- "type": "string",
9639
- "nullable": true
9640
- },
9641
- "current_state": {
9642
- "type": "string",
9643
- "nullable": true
9644
- }
9645
- }
9646
- },
9647
- "fields": [
9648
- {
9649
- "name": "agent_id",
9650
- "flag": "--agent-id",
9651
- "required": true,
9652
- "type": "string",
9653
- "description": "Unique id of agent used for the call. Your agent would contain the LLM Websocket url used for this call.",
9654
- "example": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
9655
- "array": false,
9656
- "nullable": false,
9657
- "contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95"
9658
- },
9659
- {
9660
- "name": "agent_version",
9661
- "flag": "--agent-version",
9662
- "required": false,
9663
- "type": "oneOf",
9664
- "description": "The version of the agent to use for the call.",
9665
- "array": false,
9666
- "nullable": false,
9667
- "contractHash": "684cd44f848f81e904b8973188277a469c18a3514b8094f3817829afc286f07b"
9668
- },
9669
- {
9670
- "name": "agent_override",
9671
- "flag": "--agent-override",
9672
- "required": false,
9673
- "type": "object",
9674
- "description": "For this particular call, override agent configuration with these settings. This allows you to customize agent behavior for individual calls without modifying the base agent.",
9675
- "array": false,
9676
- "nullable": false,
9677
- "contractHash": "bf6fddff97fd4506afe9c37c0eac1edae28af369c56826673701f2ee8d8d1b89"
9678
- },
9679
- {
9680
- "name": "metadata",
9681
- "flag": "--metadata",
9682
- "required": false,
9683
- "type": "object",
9684
- "description": "An arbitrary object for storage purpose only. You can put anything here like your internal customer id associated with the call. Not used for processing. You can later get this field from the call object.",
9685
- "array": false,
9686
- "nullable": false,
9687
- "contractHash": "a2c799262a3ce3c19ef5cdd983bf3d12b43ab3c426227091b909dcb7054738c0"
9688
- },
9689
- {
9690
- "name": "retell_llm_dynamic_variables",
9691
- "flag": "--retell-llm-dynamic-variables",
9692
- "required": false,
9693
- "type": "object",
9694
- "description": "Add optional dynamic variables in key value pairs of string that injects into your Response Engine prompt and tool description. Only applicable for Response Engine.",
9695
- "example": {
9696
- "customer_name": "John Doe"
9697
- },
9698
- "array": false,
9699
- "nullable": false,
9700
- "contractHash": "3f161562db4a7237942681ccf41abd9a699b0260591ddd0d154bfca063f449bf"
9701
- },
9702
- {
9703
- "name": "current_node_id",
9704
- "flag": "--current-node-id",
9705
- "required": false,
9706
- "type": "string",
9707
- "description": "Start the call at this conversation flow node (stage). Must be a valid node id in the agent's conversation flow. Only applicable when the agent uses conversation flow as the response engine. Ignored for retell-llm agents.",
9708
- "example": "collect_info",
9709
- "array": false,
9710
- "nullable": true,
9711
- "contractHash": "e16b0c0d0cdce6a489ad1ac5bbb7534eb3cca67b3ad23818a640e2bce397a142"
9712
- },
9713
- {
9714
- "name": "current_state",
9715
- "flag": "--current-state",
9716
- "required": false,
9717
- "type": "string",
9718
- "description": "Start the conversation in this state (stage). Must be a valid state name in the agent's Retell LLM. Only applicable when the agent uses Retell LLM with states. Ignored for conversation-flow agents.",
9719
- "example": "information_collection",
9720
- "array": false,
9721
- "nullable": true,
9722
- "contractHash": "e16b0c0d0cdce6a489ad1ac5bbb7534eb3cca67b3ad23818a640e2bce397a142"
9723
- }
9724
- ]
9725
- },
9726
- "responseContractHash": "41fb8734cceb8c5d24a3dbb3024a881746d7ceea15a22814299ba9b174adacd2"
9727
- },
9728
- {
9729
- "operationId": "createWebCallV3",
9730
- "command": "create-web-call-v3",
9731
- "method": "POST",
9732
9627
  "path": "/v3/create-web-call",
9733
9628
  "description": "Create a new web call and return browser connection details.",
9734
9629
  "deprecated": false,
@@ -10405,35 +10300,6 @@ export const operations = [
10405
10300
  ],
10406
10301
  "responseContractHash": "422b1b4f7001e064748c25c0e270b3a6dae0c4fe18e3899a2334bfd61c6e6d82"
10407
10302
  },
10408
- {
10409
- "operationId": "getAgentVersions",
10410
- "command": "get-agent-versions",
10411
- "method": "GET",
10412
- "path": "/get-agent-versions/{agent_id}",
10413
- "description": "Get agent versions. Large version histories may be truncated.",
10414
- "deprecated": true,
10415
- "authenticated": true,
10416
- "parameters": [
10417
- {
10418
- "name": "agent_id",
10419
- "flag": "--agent-id",
10420
- "in": "path",
10421
- "required": true,
10422
- "type": "string",
10423
- "description": "Unique id of the agent versions to be retrieved.",
10424
- "array": false,
10425
- "style": "simple",
10426
- "explode": false,
10427
- "allowReserved": false,
10428
- "contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95",
10429
- "validationSchema": {
10430
- "type": "string",
10431
- "minLength": 1
10432
- }
10433
- }
10434
- ],
10435
- "responseContractHash": "dd0ebe26108b4170df95b89dff6aeefe8fab6cd0fb2faa2ef8c63029ff7b06e9"
10436
- },
10437
10303
  {
10438
10304
  "operationId": "getApiKeyInfo",
10439
10305
  "command": "get-api-key-info",
@@ -10612,35 +10478,6 @@ export const operations = [
10612
10478
  ],
10613
10479
  "responseContractHash": "a3ab887e91ac18a976363d0e1fbb4db21dc7948d74fe74d56a0f44b421443d2a"
10614
10480
  },
10615
- {
10616
- "operationId": "getChatAgentVersions",
10617
- "command": "get-chat-agent-versions",
10618
- "method": "GET",
10619
- "path": "/get-chat-agent-versions/{agent_id}",
10620
- "description": "Get chat agent versions. Large version histories may be truncated.",
10621
- "deprecated": true,
10622
- "authenticated": true,
10623
- "parameters": [
10624
- {
10625
- "name": "agent_id",
10626
- "flag": "--agent-id",
10627
- "in": "path",
10628
- "required": true,
10629
- "type": "string",
10630
- "description": "Unique id of the chat agent versions to be retrieved.",
10631
- "array": false,
10632
- "style": "simple",
10633
- "explode": false,
10634
- "allowReserved": false,
10635
- "contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95",
10636
- "validationSchema": {
10637
- "type": "string",
10638
- "minLength": 1
10639
- }
10640
- }
10641
- ],
10642
- "responseContractHash": "03aee708537495254c010895c674707604cff187192b28b6207fd9b8a96300fe"
10643
- },
10644
10481
  {
10645
10482
  "operationId": "getConcurrency",
10646
10483
  "command": "get-concurrency",
@@ -10760,7 +10597,7 @@ export const operations = [
10760
10597
  }
10761
10598
  }
10762
10599
  ],
10763
- "responseContractHash": "cace6d03a45697ff084c69614ce8c7149e10ebc495281d8742fcdf3f108b9fcb"
10600
+ "responseContractHash": "76a7da9a2876a832fe6cc6f673e74947d99b2578bb71db50e10d482076027c89"
10764
10601
  },
10765
10602
  {
10766
10603
  "operationId": "getConversationFlowComponent",
@@ -10788,7 +10625,7 @@ export const operations = [
10788
10625
  }
10789
10626
  }
10790
10627
  ],
10791
- "responseContractHash": "40c701b5bd0926b63eaca108c53068f53f2bba0ed737d539f79dff3052e7bbba"
10628
+ "responseContractHash": "01c9404bfea78e9e494a9e1d2aabaab12f1db27538eee760f9c07657a1c9414b"
10792
10629
  },
10793
10630
  {
10794
10631
  "operationId": "getCrmConfig",
@@ -12237,7 +12074,7 @@ export const operations = [
12237
12074
  "cursorField": "pagination_key",
12238
12075
  "hasMoreField": "has_more"
12239
12076
  },
12240
- "responseContractHash": "69da2092c62d6c4f5b404b925801667252102557e26aeca1be157cae5b7cefa2"
12077
+ "responseContractHash": "79d592daa0c23adf1770785598157ffb805e8fdc92d5a31d3eaec4634a7f6d4d"
12241
12078
  },
12242
12079
  {
12243
12080
  "operationId": "listConversationFlows",
@@ -12313,7 +12150,7 @@ export const operations = [
12313
12150
  "cursorField": "pagination_key",
12314
12151
  "hasMoreField": "has_more"
12315
12152
  },
12316
- "responseContractHash": "b52edd24e504d29ff862ba81766822e6b54bf3a3715ba58609f0014e0d009996"
12153
+ "responseContractHash": "a5bdba02d284ea9f27acc961e9c5cc4c4b8361cece6097d406c58c0d9a1ab242"
12317
12154
  },
12318
12155
  {
12319
12156
  "operationId": "listExportRequests",
@@ -14987,7 +14824,7 @@ export const operations = [
14987
14824
  "description": "Local components embedded within the conversation flow.",
14988
14825
  "array": true,
14989
14826
  "nullable": true,
14990
- "contractHash": "fd82b54e272e5b6280eccbf9e9516a6bf305012c2366db5b8faa59ffda203941"
14827
+ "contractHash": "52d674191ea1c37029b75a4d26e4e97754a41a200803ec06cf20e235fe6a447b"
14991
14828
  },
14992
14829
  {
14993
14830
  "name": "start_node_id",
@@ -15083,11 +14920,11 @@ export const operations = [
15083
14920
  ],
15084
14921
  "array": true,
15085
14922
  "nullable": false,
15086
- "contractHash": "da11c00e924d6639feae894834f5c255b4835e2b9b1c98805f97fa14dcb38e8e"
14923
+ "contractHash": "ba1cd7b3a29b3a01f923156d740b1eb4ffd9445f8d53b11e91ae95385b39d835"
15087
14924
  }
15088
14925
  ]
15089
14926
  },
15090
- "responseContractHash": "cace6d03a45697ff084c69614ce8c7149e10ebc495281d8742fcdf3f108b9fcb"
14927
+ "responseContractHash": "76a7da9a2876a832fe6cc6f673e74947d99b2578bb71db50e10d482076027c89"
15091
14928
  },
15092
14929
  {
15093
14930
  "operationId": "updateConversationFlowComponent",
@@ -15195,7 +15032,7 @@ export const operations = [
15195
15032
  ],
15196
15033
  "array": true,
15197
15034
  "nullable": false,
15198
- "contractHash": "da11c00e924d6639feae894834f5c255b4835e2b9b1c98805f97fa14dcb38e8e"
15035
+ "contractHash": "ba1cd7b3a29b3a01f923156d740b1eb4ffd9445f8d53b11e91ae95385b39d835"
15199
15036
  },
15200
15037
  {
15201
15038
  "name": "start_node_id",
@@ -15230,7 +15067,7 @@ export const operations = [
15230
15067
  }
15231
15068
  ]
15232
15069
  },
15233
- "responseContractHash": "40c701b5bd0926b63eaca108c53068f53f2bba0ed737d539f79dff3052e7bbba"
15070
+ "responseContractHash": "01c9404bfea78e9e494a9e1d2aabaab12f1db27538eee760f9c07657a1c9414b"
15234
15071
  },
15235
15072
  {
15236
15073
  "operationId": "updateCrmConfig",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retell-ai/retell-cli",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Generated command line interface for the Retell API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {