@retell-ai/retell-cli 0.34.0 → 0.36.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,7 +3,7 @@ export const catalogMetadata = {
3
3
  "title": "Retell SDK",
4
4
  "apiVersion": "3.0.0",
5
5
  "server": "https://api.retellai.com",
6
- "sourceSha256": "6b720a56f4fb85b45dd4585d2c17ce6ad0f0975a6f458545e1642b9dd4fdf6d7",
6
+ "sourceSha256": "382069dfb7739283cee0d829ae4302cc8eef785dd340e5e3bd4e2510e50835a1",
7
7
  "operationCount": 109
8
8
  };
9
9
  export const schemaDefinitions = {
@@ -913,6 +913,23 @@ export const schemaDefinitions = {
913
913
  }
914
914
  ]
915
915
  },
916
+ "BackupModelChoice": {
917
+ "allOf": [
918
+ {
919
+ "$ref": "#/components/schemas/ModelChoiceCascading"
920
+ },
921
+ {
922
+ "type": "object",
923
+ "properties": {
924
+ "backup_kick_in_timeout": {
925
+ "type": "integer",
926
+ "minimum": 300,
927
+ "maximum": 60000
928
+ }
929
+ }
930
+ }
931
+ ]
932
+ },
916
933
  "BackupModelRef": {
917
934
  "type": "object",
918
935
  "additionalProperties": false,
@@ -2277,6 +2294,13 @@ export const schemaDefinitions = {
2277
2294
  {
2278
2295
  "type": "object",
2279
2296
  "properties": {
2297
+ "backup_model": {
2298
+ "allOf": [
2299
+ {
2300
+ "$ref": "#/components/schemas/NullableBackupModelChoice"
2301
+ }
2302
+ ]
2303
+ },
2280
2304
  "global_prompt": {
2281
2305
  "type": "string",
2282
2306
  "nullable": true
@@ -2460,6 +2484,9 @@ export const schemaDefinitions = {
2460
2484
  "model_config": {
2461
2485
  "$ref": "#/components/schemas/ModelConfig"
2462
2486
  },
2487
+ "backup_model": {
2488
+ "$ref": "#/components/schemas/NullableBackupModelChoice"
2489
+ },
2463
2490
  "model_choice": {
2464
2491
  "allOf": [
2465
2492
  {
@@ -4173,6 +4200,20 @@ export const schemaDefinitions = {
4173
4200
  }
4174
4201
  }
4175
4202
  },
4203
+ "NullableBackupModelChoice": {
4204
+ "oneOf": [
4205
+ {
4206
+ "$ref": "#/components/schemas/BackupModelChoice"
4207
+ },
4208
+ {
4209
+ "type": "object",
4210
+ "nullable": true,
4211
+ "enum": [
4212
+ null
4213
+ ]
4214
+ }
4215
+ ]
4216
+ },
4176
4217
  "NullableBackupModelRef": {
4177
4218
  "oneOf": [
4178
4219
  {
@@ -4757,6 +4798,9 @@ export const schemaDefinitions = {
4757
4798
  "model_config": {
4758
4799
  "$ref": "#/components/schemas/ModelConfig"
4759
4800
  },
4801
+ "backup_model": {
4802
+ "$ref": "#/components/schemas/NullableBackupModelChoice"
4803
+ },
4760
4804
  "model": {
4761
4805
  "allOf": [
4762
4806
  {
@@ -4823,6 +4867,13 @@ export const schemaDefinitions = {
4823
4867
  {
4824
4868
  "type": "object",
4825
4869
  "properties": {
4870
+ "backup_model": {
4871
+ "allOf": [
4872
+ {
4873
+ "$ref": "#/components/schemas/NullableBackupModelChoice"
4874
+ }
4875
+ ]
4876
+ },
4826
4877
  "general_prompt": {
4827
4878
  "type": "string",
4828
4879
  "nullable": true
@@ -8179,7 +8230,7 @@ export const operations = [
8179
8230
  "description": "A list of individual call tasks to be executed as part of the batch call. Each task represents a single outbound call and includes details such as the recipient's phone number and optional dynamic variables to personalize the call content.",
8180
8231
  "array": true,
8181
8232
  "nullable": false,
8182
- "contractHash": "cec5b0bb5f086c2cf4c9b16f4b4d03472e11f05b331bf3eb59ff1ed6b11919cc"
8233
+ "contractHash": "972730efa8a049b260087d4a26303426d2f174aec8265cb92536ff5aee516836"
8183
8234
  },
8184
8235
  {
8185
8236
  "name": "call_time_window",
@@ -8952,7 +9003,7 @@ export const operations = [
8952
9003
  "required": true,
8953
9004
  "contentType": "application/json",
8954
9005
  "schemaName": "CreateConversationFlowRequest",
8955
- "propertyCount": 19,
9006
+ "propertyCount": 20,
8956
9007
  "requiredFields": [
8957
9008
  "start_speaker",
8958
9009
  "nodes"
@@ -8966,11 +9017,20 @@ export const operations = [
8966
9017
  "flag": "--model-config",
8967
9018
  "required": false,
8968
9019
  "type": "anyOf",
8969
- "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set, and backup cannot be removed.",
9020
+ "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set; setting backup to null disables it for that call only.",
8970
9021
  "array": false,
8971
9022
  "nullable": false,
8972
9023
  "contractHash": "47136c0dc5746e489c584fbd16c5f01c3cc9c3b2a5ba89822331a7d3a8e05ac9"
8973
9024
  },
9025
+ {
9026
+ "name": "backup_model",
9027
+ "flag": "--backup-model",
9028
+ "required": false,
9029
+ "type": "object",
9030
+ "array": false,
9031
+ "nullable": false,
9032
+ "contractHash": "812eb9726e11e0d5f2215625af8f1c51e154bccadf9cbafdc110b82384b36a9b"
9033
+ },
8974
9034
  {
8975
9035
  "name": "model_choice",
8976
9036
  "flag": "--model-choice",
@@ -9203,7 +9263,7 @@ export const operations = [
9203
9263
  }
9204
9264
  ]
9205
9265
  },
9206
- "responseContractHash": "a4c03d5a2de59f631d1cbc2924dba0d770aa9fee70f48ee1111d3ba521f16b59"
9266
+ "responseContractHash": "92000e922e6f8fac4711c994c30dac008bb751aff3666e9eae46256324c6fff7"
9207
9267
  },
9208
9268
  {
9209
9269
  "operationId": "createConversationFlowComponent",
@@ -9603,7 +9663,7 @@ export const operations = [
9603
9663
  "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.",
9604
9664
  "array": false,
9605
9665
  "nullable": false,
9606
- "contractHash": "a523554746f9fae8d234021fa2d37e63932d7a7aa2ea6c8779c611268fa5fa7f"
9666
+ "contractHash": "5dbae444a123521943f85987fe0c9f23639b1d04d4a7f6129db286ef41bab1b6"
9607
9667
  },
9608
9668
  {
9609
9669
  "name": "metadata",
@@ -9665,7 +9725,7 @@ export const operations = [
9665
9725
  }
9666
9726
  ]
9667
9727
  },
9668
- "responseContractHash": "1657a3dcc12eadd3699fef31e8832bb6043cacb7f975e563906ed747c72affcb"
9728
+ "responseContractHash": "91db21bc773258f23fc40fcb212bad2753d5f60610b10c1de9d7bdd6a8894d55"
9669
9729
  },
9670
9730
  {
9671
9731
  "operationId": "createPhoneNumber",
@@ -9926,7 +9986,7 @@ export const operations = [
9926
9986
  "required": true,
9927
9987
  "contentType": "application/json",
9928
9988
  "schemaName": "RetellLlmRequest",
9929
- "propertyCount": 19,
9989
+ "propertyCount": 20,
9930
9990
  "requiredFields": [],
9931
9991
  "validationSchema": {
9932
9992
  "$ref": "#/components/schemas/RetellLlmRequest"
@@ -9937,11 +9997,20 @@ export const operations = [
9937
9997
  "flag": "--model-config",
9938
9998
  "required": false,
9939
9999
  "type": "anyOf",
9940
- "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set, and backup cannot be removed.",
10000
+ "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set; setting backup to null disables it for that call only.",
9941
10001
  "array": false,
9942
10002
  "nullable": false,
9943
10003
  "contractHash": "47136c0dc5746e489c584fbd16c5f01c3cc9c3b2a5ba89822331a7d3a8e05ac9"
9944
10004
  },
10005
+ {
10006
+ "name": "backup_model",
10007
+ "flag": "--backup-model",
10008
+ "required": false,
10009
+ "type": "object",
10010
+ "array": false,
10011
+ "nullable": false,
10012
+ "contractHash": "812eb9726e11e0d5f2215625af8f1c51e154bccadf9cbafdc110b82384b36a9b"
10013
+ },
9945
10014
  {
9946
10015
  "name": "model",
9947
10016
  "flag": "--model",
@@ -10190,7 +10259,7 @@ export const operations = [
10190
10259
  }
10191
10260
  ]
10192
10261
  },
10193
- "responseContractHash": "3b7ed2c058d4ff3cf6ee726454f509839a8dd0f33a47ee5b29099eb348a0a11c"
10262
+ "responseContractHash": "39de0c547c607a06246ea9b5e8ea20a614e0f8e4ebe11134249e970d723e9ed8"
10194
10263
  },
10195
10264
  {
10196
10265
  "operationId": "createSmsChat",
@@ -10552,7 +10621,7 @@ export const operations = [
10552
10621
  "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.",
10553
10622
  "array": false,
10554
10623
  "nullable": false,
10555
- "contractHash": "a523554746f9fae8d234021fa2d37e63932d7a7aa2ea6c8779c611268fa5fa7f"
10624
+ "contractHash": "5dbae444a123521943f85987fe0c9f23639b1d04d4a7f6129db286ef41bab1b6"
10556
10625
  },
10557
10626
  {
10558
10627
  "name": "metadata",
@@ -11329,7 +11398,7 @@ export const operations = [
11329
11398
  }
11330
11399
  }
11331
11400
  ],
11332
- "responseContractHash": "52b0b64b80c2d3b4b0f5d7da25f129ccbbdfe097be27bf563bec5f64cba4dff0"
11401
+ "responseContractHash": "8f30079e16bafd899cc0bf0ed9d11d3a46d2d6cc955e39939e1f818718237ba0"
11333
11402
  },
11334
11403
  {
11335
11404
  "operationId": "getChat",
@@ -11523,7 +11592,7 @@ export const operations = [
11523
11592
  }
11524
11593
  }
11525
11594
  ],
11526
- "responseContractHash": "e5e74fad95673247ea43bd15544ccb561f9e87d4a3256b212ddb8c8f0357e631"
11595
+ "responseContractHash": "07b6fdfce7daf7182b411091b34526366c9aeb61d7ab9a10f1f02b8a6b650e86"
11527
11596
  },
11528
11597
  {
11529
11598
  "operationId": "getConversationFlowComponent",
@@ -11768,7 +11837,7 @@ export const operations = [
11768
11837
  }
11769
11838
  }
11770
11839
  ],
11771
- "responseContractHash": "3a7cf2356580a170fb590527ee548ef39b212981ebeb3341531e47edc235740c"
11840
+ "responseContractHash": "bcca6043fb8a620b436dcd4ba4139fbfde8f1fbb575eb017adfd31ffddc2c842"
11772
11841
  },
11773
11842
  {
11774
11843
  "operationId": "getSyncJobStatus",
@@ -13124,7 +13193,7 @@ export const operations = [
13124
13193
  "cursorField": "pagination_key",
13125
13194
  "hasMoreField": "has_more"
13126
13195
  },
13127
- "responseContractHash": "003f471ca92a27b9f1cc30419764672f2002bc45da4e2eae854be86ee340f869"
13196
+ "responseContractHash": "bc9ba7b75b916005cf2592c42ab29decdc5abe3dd482c4b66d1a34419790925b"
13128
13197
  },
13129
13198
  {
13130
13199
  "operationId": "listExportRequests",
@@ -13363,7 +13432,7 @@ export const operations = [
13363
13432
  "cursorField": "pagination_key",
13364
13433
  "hasMoreField": "has_more"
13365
13434
  },
13366
- "responseContractHash": "dea9d4bb8d8230efed52efc508451f46398c5e585a187c4fc16146a2a74c097a"
13435
+ "responseContractHash": "e13646b81900a2311a2fa891e323c3286a85e291b1f013f8f683725b6050bd8b"
13367
13436
  },
13368
13437
  {
13369
13438
  "operationId": "listTestCaseDefinitions",
@@ -13740,7 +13809,7 @@ export const operations = [
13740
13809
  "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.",
13741
13810
  "array": false,
13742
13811
  "nullable": false,
13743
- "contractHash": "a523554746f9fae8d234021fa2d37e63932d7a7aa2ea6c8779c611268fa5fa7f"
13812
+ "contractHash": "5dbae444a123521943f85987fe0c9f23639b1d04d4a7f6129db286ef41bab1b6"
13744
13813
  },
13745
13814
  {
13746
13815
  "name": "from_number",
@@ -13804,7 +13873,7 @@ export const operations = [
13804
13873
  }
13805
13874
  ]
13806
13875
  },
13807
- "responseContractHash": "1657a3dcc12eadd3699fef31e8832bb6043cacb7f975e563906ed747c72affcb"
13876
+ "responseContractHash": "91db21bc773258f23fc40fcb212bad2753d5f60610b10c1de9d7bdd6a8894d55"
13808
13877
  },
13809
13878
  {
13810
13879
  "operationId": "repairAgent",
@@ -13877,7 +13946,7 @@ export const operations = [
13877
13946
  }
13878
13947
  }
13879
13948
  ],
13880
- "responseContractHash": "657ec16d5da8ca8d5ebf799a4cea8a6165182252eb559c2949b661c52b17acad"
13949
+ "responseContractHash": "28dcfc0eab128d2b07c93389d31aeb7d7c117b3aff2cf90e5c525d1e60884de3"
13881
13950
  },
13882
13951
  {
13883
13952
  "operationId": "rerunChatAnalysis",
@@ -15124,7 +15193,7 @@ export const operations = [
15124
15193
  }
15125
15194
  ]
15126
15195
  },
15127
- "responseContractHash": "52b0b64b80c2d3b4b0f5d7da25f129ccbbdfe097be27bf563bec5f64cba4dff0"
15196
+ "responseContractHash": "8f30079e16bafd899cc0bf0ed9d11d3a46d2d6cc955e39939e1f818718237ba0"
15128
15197
  },
15129
15198
  {
15130
15199
  "operationId": "updateChatAgent",
@@ -15757,7 +15826,7 @@ export const operations = [
15757
15826
  "required": true,
15758
15827
  "contentType": "application/json",
15759
15828
  "schemaName": "ConversationFlow",
15760
- "propertyCount": 19,
15829
+ "propertyCount": 20,
15761
15830
  "requiredFields": [],
15762
15831
  "validationSchema": {
15763
15832
  "$ref": "#/components/schemas/ConversationFlow"
@@ -15768,11 +15837,20 @@ export const operations = [
15768
15837
  "flag": "--model-config",
15769
15838
  "required": false,
15770
15839
  "type": "anyOf",
15771
- "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set, and backup cannot be removed.",
15840
+ "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set; setting backup to null disables it for that call only.",
15772
15841
  "array": false,
15773
15842
  "nullable": false,
15774
15843
  "contractHash": "47136c0dc5746e489c584fbd16c5f01c3cc9c3b2a5ba89822331a7d3a8e05ac9"
15775
15844
  },
15845
+ {
15846
+ "name": "backup_model",
15847
+ "flag": "--backup-model",
15848
+ "required": false,
15849
+ "type": "object",
15850
+ "array": false,
15851
+ "nullable": false,
15852
+ "contractHash": "812eb9726e11e0d5f2215625af8f1c51e154bccadf9cbafdc110b82384b36a9b"
15853
+ },
15776
15854
  {
15777
15855
  "name": "model_choice",
15778
15856
  "flag": "--model-choice",
@@ -16005,7 +16083,7 @@ export const operations = [
16005
16083
  }
16006
16084
  ]
16007
16085
  },
16008
- "responseContractHash": "e5e74fad95673247ea43bd15544ccb561f9e87d4a3256b212ddb8c8f0357e631"
16086
+ "responseContractHash": "07b6fdfce7daf7182b411091b34526366c9aeb61d7ab9a10f1f02b8a6b650e86"
16009
16087
  },
16010
16088
  {
16011
16089
  "operationId": "updateConversationFlowComponent",
@@ -16723,7 +16801,7 @@ export const operations = [
16723
16801
  "required": true,
16724
16802
  "contentType": "application/json",
16725
16803
  "schemaName": "RetellLlmRequest",
16726
- "propertyCount": 19,
16804
+ "propertyCount": 20,
16727
16805
  "requiredFields": [],
16728
16806
  "validationSchema": {
16729
16807
  "$ref": "#/components/schemas/RetellLlmRequest"
@@ -16734,11 +16812,20 @@ export const operations = [
16734
16812
  "flag": "--model-config",
16735
16813
  "required": false,
16736
16814
  "type": "anyOf",
16737
- "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set, and backup cannot be removed.",
16815
+ "description": "Model settings for the response engine. type decides which models primary and backup accept. On update, each top-level key replaces the current one and omitted keys are kept; set backup to null to remove it. Changing type requires primary and clears backup, while temperature carries over. In agent_override, type is required whenever primary is set; setting backup to null disables it for that call only.",
16738
16816
  "array": false,
16739
16817
  "nullable": false,
16740
16818
  "contractHash": "47136c0dc5746e489c584fbd16c5f01c3cc9c3b2a5ba89822331a7d3a8e05ac9"
16741
16819
  },
16820
+ {
16821
+ "name": "backup_model",
16822
+ "flag": "--backup-model",
16823
+ "required": false,
16824
+ "type": "object",
16825
+ "array": false,
16826
+ "nullable": false,
16827
+ "contractHash": "812eb9726e11e0d5f2215625af8f1c51e154bccadf9cbafdc110b82384b36a9b"
16828
+ },
16742
16829
  {
16743
16830
  "name": "model",
16744
16831
  "flag": "--model",
@@ -16987,7 +17074,7 @@ export const operations = [
16987
17074
  }
16988
17075
  ]
16989
17076
  },
16990
- "responseContractHash": "3a7cf2356580a170fb590527ee548ef39b212981ebeb3341531e47edc235740c"
17077
+ "responseContractHash": "bcca6043fb8a620b436dcd4ba4139fbfde8f1fbb575eb017adfd31ffddc2c842"
16991
17078
  },
16992
17079
  {
16993
17080
  "operationId": "updateTestCaseDefinition",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retell-ai/retell-cli",
3
- "version": "0.34.0",
3
+ "version": "0.36.0",
4
4
  "description": "Generated command line interface for the Retell API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {