@retell-ai/retell-cli 0.63.1 → 0.64.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": "578d51488d1acdc026839b87d601b646173198ae9a073847fd9f5d39f3bdb4c1",
7
- "operationCount": 113
6
+ "sourceSha256": "132da41c37f6a94c5c13779e402341a708d2edc4c47a85fec924365295c7b303",
7
+ "operationCount": 114
8
8
  };
9
9
  export const schemaDefinitions = {
10
10
  "AgentFilter": {
@@ -536,6 +536,9 @@ export const schemaDefinitions = {
536
536
  "handbook_config": {
537
537
  "$ref": "#/components/schemas/VoiceHandbookConfig"
538
538
  },
539
+ "enable_colloquial_model": {
540
+ "type": "boolean"
541
+ },
539
542
  "timezone": {
540
543
  "type": "string",
541
544
  "nullable": true
@@ -1979,18 +1982,28 @@ export const schemaDefinitions = {
1979
1982
  },
1980
1983
  "ChatHandbookConfig": {
1981
1984
  "type": "object",
1985
+ "additionalProperties": false,
1982
1986
  "properties": {
1987
+ "customer_support": {
1988
+ "$ref": "#/components/schemas/HandbookEntryConfig"
1989
+ },
1990
+ "conversational": {
1991
+ "$ref": "#/components/schemas/HandbookEntryConfig"
1992
+ },
1983
1993
  "default_personality": {
1984
1994
  "type": "boolean"
1985
1995
  },
1986
- "high_empathy": {
1996
+ "conversational_personality": {
1987
1997
  "type": "boolean"
1988
1998
  },
1999
+ "high_empathy": {
2000
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
2001
+ },
1989
2002
  "ai_disclosure": {
1990
- "type": "boolean"
2003
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
1991
2004
  },
1992
2005
  "scope_boundaries": {
1993
- "type": "boolean"
2006
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
1994
2007
  }
1995
2008
  }
1996
2009
  },
@@ -3595,6 +3608,17 @@ export const schemaDefinitions = {
3595
3608
  }
3596
3609
  }
3597
3610
  },
3611
+ "HandbookEntryConfig": {
3612
+ "type": "object",
3613
+ "additionalProperties": false,
3614
+ "properties": {
3615
+ "custom_prompt": {
3616
+ "type": "string",
3617
+ "nullable": true,
3618
+ "maxLength": 10000
3619
+ }
3620
+ }
3621
+ },
3598
3622
  "InjectedMessageBase": {
3599
3623
  "type": "object",
3600
3624
  "required": [
@@ -3857,6 +3881,16 @@ export const schemaDefinitions = {
3857
3881
  "uk-UA"
3858
3882
  ]
3859
3883
  },
3884
+ "LegacyBooleanOrHandbookEntryConfig": {
3885
+ "oneOf": [
3886
+ {
3887
+ "type": "boolean"
3888
+ },
3889
+ {
3890
+ "$ref": "#/components/schemas/HandbookEntryConfig"
3891
+ }
3892
+ ]
3893
+ },
3860
3894
  "ListContactsRequest": {
3861
3895
  "type": "object",
3862
3896
  "properties": {
@@ -6873,7 +6907,14 @@ export const schemaDefinitions = {
6873
6907
  },
6874
6908
  "VoiceHandbookConfig": {
6875
6909
  "type": "object",
6910
+ "additionalProperties": false,
6876
6911
  "properties": {
6912
+ "customer_support": {
6913
+ "$ref": "#/components/schemas/HandbookEntryConfig"
6914
+ },
6915
+ "conversational": {
6916
+ "$ref": "#/components/schemas/HandbookEntryConfig"
6917
+ },
6877
6918
  "default_personality": {
6878
6919
  "type": "boolean"
6879
6920
  },
@@ -6881,28 +6922,28 @@ export const schemaDefinitions = {
6881
6922
  "type": "boolean"
6882
6923
  },
6883
6924
  "natural_filler_words": {
6884
- "type": "boolean"
6925
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6885
6926
  },
6886
6927
  "high_empathy": {
6887
- "type": "boolean"
6928
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6888
6929
  },
6889
6930
  "echo_verification": {
6890
- "type": "boolean"
6931
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6891
6932
  },
6892
6933
  "nato_phonetic_alphabet": {
6893
- "type": "boolean"
6934
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6894
6935
  },
6895
6936
  "speech_normalization": {
6896
- "type": "boolean"
6937
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6897
6938
  },
6898
6939
  "smart_matching": {
6899
- "type": "boolean"
6940
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6900
6941
  },
6901
6942
  "ai_disclosure": {
6902
- "type": "boolean"
6943
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6903
6944
  },
6904
6945
  "scope_boundaries": {
6905
- "type": "boolean"
6946
+ "$ref": "#/components/schemas/LegacyBooleanOrHandbookEntryConfig"
6906
6947
  }
6907
6948
  }
6908
6949
  },
@@ -7591,7 +7632,7 @@ export const operations = [
7591
7632
  "requestBody": {
7592
7633
  "required": true,
7593
7634
  "contentType": "application/json",
7594
- "propertyCount": 60,
7635
+ "propertyCount": 61,
7595
7636
  "requiredFields": [
7596
7637
  "response_engine",
7597
7638
  "voice_id"
@@ -8334,10 +8375,20 @@ export const operations = [
8334
8375
  "flag": "--handbook-config",
8335
8376
  "required": false,
8336
8377
  "type": "object",
8337
- "description": "Toggle behavior presets on/off to influence agent response style and behaviors.",
8378
+ "description": "Enable and customize handbook prompts. Sending this field replaces the complete handbook configuration.",
8379
+ "array": false,
8380
+ "nullable": false,
8381
+ "contractHash": "71aef0ca7ebc1858e02de48ce28d90f9cd8b07a444889be033270e95b6782eab"
8382
+ },
8383
+ {
8384
+ "name": "enable_colloquial_model",
8385
+ "flag": "--enable-colloquial-model",
8386
+ "required": false,
8387
+ "type": "boolean",
8388
+ "description": "Whether to rewrite generated responses with the separately billed colloquial model. This setting is independent of handbook selection and is not supported for speech-to-speech response engines. Defaults to false.",
8338
8389
  "array": false,
8339
8390
  "nullable": false,
8340
- "contractHash": "da9a4aa21c4442bb44c9cd261d58240e30b50e26279ffda8690e035a86dc23fd"
8391
+ "contractHash": "7cb541e84f226754a46c21c79f131fa2898354e1242456e6fd1c162bce319553"
8341
8392
  },
8342
8393
  {
8343
8394
  "name": "timezone",
@@ -8382,7 +8433,7 @@ export const operations = [
8382
8433
  }
8383
8434
  ]
8384
8435
  },
8385
- "responseContractHash": "c67e43f88740f3e6eb89322756f006420892b648f6346abe986a7cfe2855ee77"
8436
+ "responseContractHash": "17d31b8b1b605234f3b3ab201f0fe201fb6f153a5082a07df84b6ab865962171"
8386
8437
  },
8387
8438
  {
8388
8439
  "operationId": "createAgentVersion",
@@ -8436,7 +8487,7 @@ export const operations = [
8436
8487
  }
8437
8488
  ]
8438
8489
  },
8439
- "responseContractHash": "8c91f4717ea0e22084b30f478864e7fc930b042fb06b8a13164008887c79dc3b"
8490
+ "responseContractHash": "3b4ce47a17e61009421a223f1625ef0d45cd03a36b81ddd333abf771a92280b6"
8440
8491
  },
8441
8492
  {
8442
8493
  "operationId": "createApp",
@@ -8713,7 +8764,7 @@ export const operations = [
8713
8764
  "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.",
8714
8765
  "array": true,
8715
8766
  "nullable": false,
8716
- "contractHash": "73f85f2fe8728d8b7143432622c040897e9c09d15e5a49e485844ea51f8bb3b6"
8767
+ "contractHash": "f003fe4f672aee55d393f7dff862c60358a8c8c4bbd728b0f9f03aecc39e5c31"
8717
8768
  },
8718
8769
  {
8719
8770
  "name": "call_time_window",
@@ -9156,10 +9207,10 @@ export const operations = [
9156
9207
  "flag": "--handbook-config",
9157
9208
  "required": false,
9158
9209
  "type": "object",
9159
- "description": "Toggle behavior presets on/off to influence agent response style and behaviors. Voice-only presets are not available for chat agents.",
9210
+ "description": "Enable and customize handbook prompts. Sending this field replaces the complete handbook configuration. Voice-only handbooks are not available for chat agents.",
9160
9211
  "array": false,
9161
9212
  "nullable": false,
9162
- "contractHash": "cbb492393f768a3b556a6e9fb42acb53b3c60cbdc3844bd3ab3dcfe662a90e06"
9213
+ "contractHash": "5b4eb6b9458662bd0b167d9ce701907cadc8a2c0a1db1c7f8cb5a253c27f4e35"
9163
9214
  },
9164
9215
  {
9165
9216
  "name": "timezone",
@@ -9194,7 +9245,7 @@ export const operations = [
9194
9245
  }
9195
9246
  ]
9196
9247
  },
9197
- "responseContractHash": "81603225b24037814baac384985e18a97206cb48071aa59746be0552b0a6d565"
9248
+ "responseContractHash": "7978a90387ed29f89a4be60a7ae816f35ed0f2b187f845e632f03bd5bb5c3f31"
9198
9249
  },
9199
9250
  {
9200
9251
  "operationId": "createChatCompletion",
@@ -10141,7 +10192,7 @@ export const operations = [
10141
10192
  "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.",
10142
10193
  "array": false,
10143
10194
  "nullable": false,
10144
- "contractHash": "243c34550768605ba4750dcabdb4890f0b5b234f1b7fa3779ebb7e158be239d9"
10195
+ "contractHash": "4cc0cca16b5bf11b04f41daa6bedf9ad1d9a9bab1b5c6847b310fe0964739cf2"
10145
10196
  },
10146
10197
  {
10147
10198
  "name": "metadata",
@@ -11107,7 +11158,7 @@ export const operations = [
11107
11158
  "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.",
11108
11159
  "array": false,
11109
11160
  "nullable": false,
11110
- "contractHash": "243c34550768605ba4750dcabdb4890f0b5b234f1b7fa3779ebb7e158be239d9"
11161
+ "contractHash": "4cc0cca16b5bf11b04f41daa6bedf9ad1d9a9bab1b5c6847b310fe0964739cf2"
11111
11162
  },
11112
11163
  {
11113
11164
  "name": "metadata",
@@ -11704,7 +11755,7 @@ export const operations = [
11704
11755
  }
11705
11756
  }
11706
11757
  ],
11707
- "responseContractHash": "dff78754e5b2cd89fa3dfec44d0e2a05a96013efe79bac746589c66770ef98f0"
11758
+ "responseContractHash": "ffd67e0adde1ece9ac085e60fa7a9c37e364c19158a9ca872718314d2b9f1e82"
11708
11759
  },
11709
11760
  {
11710
11761
  "operationId": "getApiKeyInfo",
@@ -11957,7 +12008,7 @@ export const operations = [
11957
12008
  }
11958
12009
  }
11959
12010
  ],
11960
- "responseContractHash": "90dbb9912f3f9f60b796f3afd7340e707b58e954d3f3fb3a08157bbb69f59682"
12011
+ "responseContractHash": "a629b2303605adcc9a8ec9896088aeaecaa798ea1fff7cc595fc9fa1a477d0c0"
11961
12012
  },
11962
12013
  {
11963
12014
  "operationId": "getConcurrency",
@@ -12147,6 +12198,17 @@ export const operations = [
12147
12198
  ],
12148
12199
  "responseContractHash": "f03ce87a1e3e795ad01e15b68adf86961f48e57279fddec031f1947d0ee3559c"
12149
12200
  },
12201
+ {
12202
+ "operationId": "getHandbookPresets",
12203
+ "command": "get-handbook-presets",
12204
+ "method": "GET",
12205
+ "path": "/get-handbook-presets",
12206
+ "description": "Retrieve all Retell-provided handbook prompts.",
12207
+ "deprecated": false,
12208
+ "authenticated": true,
12209
+ "parameters": [],
12210
+ "responseContractHash": "aa535055043283b23051db5848402f5aa666039652718f751f51da5a6a32534f"
12211
+ },
12150
12212
  {
12151
12213
  "operationId": "getKnowledgeBase",
12152
12214
  "command": "get-knowledge-base",
@@ -14538,7 +14600,7 @@ export const operations = [
14538
14600
  "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.",
14539
14601
  "array": false,
14540
14602
  "nullable": false,
14541
- "contractHash": "243c34550768605ba4750dcabdb4890f0b5b234f1b7fa3779ebb7e158be239d9"
14603
+ "contractHash": "4cc0cca16b5bf11b04f41daa6bedf9ad1d9a9bab1b5c6847b310fe0964739cf2"
14542
14604
  },
14543
14605
  {
14544
14606
  "name": "from_number",
@@ -14647,7 +14709,7 @@ export const operations = [
14647
14709
  }
14648
14710
  }
14649
14711
  ],
14650
- "responseContractHash": "204b391b472338cb6f262177f167c703bd2d5678098204ddacf7a0217383780d"
14712
+ "responseContractHash": "46c31240f68121ba38969df77a9d323478aad95c7286ce07195c06b69bacabf4"
14651
14713
  },
14652
14714
  {
14653
14715
  "operationId": "rerunCallAnalysis",
@@ -15050,7 +15112,7 @@ export const operations = [
15050
15112
  "requestBody": {
15051
15113
  "required": true,
15052
15114
  "contentType": "application/json",
15053
- "propertyCount": 59,
15115
+ "propertyCount": 60,
15054
15116
  "requiredFields": [],
15055
15117
  "validationSchema": {
15056
15118
  "allOf": [
@@ -15778,10 +15840,20 @@ export const operations = [
15778
15840
  "flag": "--handbook-config",
15779
15841
  "required": false,
15780
15842
  "type": "object",
15781
- "description": "Toggle behavior presets on/off to influence agent response style and behaviors.",
15843
+ "description": "Enable and customize handbook prompts. Sending this field replaces the complete handbook configuration.",
15782
15844
  "array": false,
15783
15845
  "nullable": false,
15784
- "contractHash": "da9a4aa21c4442bb44c9cd261d58240e30b50e26279ffda8690e035a86dc23fd"
15846
+ "contractHash": "71aef0ca7ebc1858e02de48ce28d90f9cd8b07a444889be033270e95b6782eab"
15847
+ },
15848
+ {
15849
+ "name": "enable_colloquial_model",
15850
+ "flag": "--enable-colloquial-model",
15851
+ "required": false,
15852
+ "type": "boolean",
15853
+ "description": "Whether to rewrite generated responses with the separately billed colloquial model. This setting is independent of handbook selection and is not supported for speech-to-speech response engines. Defaults to false.",
15854
+ "array": false,
15855
+ "nullable": false,
15856
+ "contractHash": "7cb541e84f226754a46c21c79f131fa2898354e1242456e6fd1c162bce319553"
15785
15857
  },
15786
15858
  {
15787
15859
  "name": "timezone",
@@ -15816,7 +15888,7 @@ export const operations = [
15816
15888
  }
15817
15889
  ]
15818
15890
  },
15819
- "responseContractHash": "dff78754e5b2cd89fa3dfec44d0e2a05a96013efe79bac746589c66770ef98f0"
15891
+ "responseContractHash": "ffd67e0adde1ece9ac085e60fa7a9c37e364c19158a9ca872718314d2b9f1e82"
15820
15892
  },
15821
15893
  {
15822
15894
  "operationId": "updateApp",
@@ -16334,10 +16406,10 @@ export const operations = [
16334
16406
  "flag": "--handbook-config",
16335
16407
  "required": false,
16336
16408
  "type": "object",
16337
- "description": "Toggle behavior presets on/off to influence agent response style and behaviors. Voice-only presets are not available for chat agents.",
16409
+ "description": "Enable and customize handbook prompts. Sending this field replaces the complete handbook configuration. Voice-only handbooks are not available for chat agents.",
16338
16410
  "array": false,
16339
16411
  "nullable": false,
16340
- "contractHash": "cbb492393f768a3b556a6e9fb42acb53b3c60cbdc3844bd3ab3dcfe662a90e06"
16412
+ "contractHash": "5b4eb6b9458662bd0b167d9ce701907cadc8a2c0a1db1c7f8cb5a253c27f4e35"
16341
16413
  },
16342
16414
  {
16343
16415
  "name": "timezone",
@@ -16372,7 +16444,7 @@ export const operations = [
16372
16444
  }
16373
16445
  ]
16374
16446
  },
16375
- "responseContractHash": "90dbb9912f3f9f60b796f3afd7340e707b58e954d3f3fb3a08157bbb69f59682"
16447
+ "responseContractHash": "a629b2303605adcc9a8ec9896088aeaecaa798ea1fff7cc595fc9fa1a477d0c0"
16376
16448
  },
16377
16449
  {
16378
16450
  "operationId": "updateChatMetadata",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retell-ai/retell-cli",
3
- "version": "0.63.1",
3
+ "version": "0.64.0",
4
4
  "description": "Generated command line interface for the Retell API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {