@retell-ai/retell-cli 0.69.1 → 0.70.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": "ac01cb88e8746bc1747065b0a53e6763df10b7d99dc576a1f96b1ab0ad60c118",
7
- "operationCount": 114
6
+ "sourceSha256": "9afa90148946e39c39fb2bd55ecdb4c0311b99535b87ee70987c6ca2a614ab70",
7
+ "operationCount": 116
8
8
  };
9
9
  export const schemaDefinitions = {
10
10
  "AgentFilter": {
@@ -561,6 +561,24 @@ export const schemaDefinitions = {
561
561
  }
562
562
  }
563
563
  },
564
+ "AgentRootTagUpdate": {
565
+ "type": "object",
566
+ "additionalProperties": false,
567
+ "properties": {
568
+ "version": {
569
+ "type": "integer",
570
+ "nullable": true,
571
+ "minimum": 0
572
+ },
573
+ "dynamic_variables": {
574
+ "type": "object",
575
+ "nullable": true,
576
+ "additionalProperties": {
577
+ "type": "string"
578
+ }
579
+ }
580
+ }
581
+ },
564
582
  "AgentSwapNode": {
565
583
  "allOf": [
566
584
  {
@@ -6815,6 +6833,37 @@ export const schemaDefinitions = {
6815
6833
  "type"
6816
6834
  ]
6817
6835
  },
6836
+ "UpdateAgentRootRequest": {
6837
+ "type": "object",
6838
+ "additionalProperties": false,
6839
+ "properties": {
6840
+ "tags": {
6841
+ "type": "object",
6842
+ "properties": {
6843
+ "prod": {
6844
+ "$ref": "#/components/schemas/AgentRootTagUpdate"
6845
+ },
6846
+ "staging": {
6847
+ "$ref": "#/components/schemas/AgentRootTagUpdate"
6848
+ }
6849
+ },
6850
+ "additionalProperties": {
6851
+ "oneOf": [
6852
+ {
6853
+ "$ref": "#/components/schemas/AgentRootTagUpdate"
6854
+ },
6855
+ {
6856
+ "type": "object",
6857
+ "nullable": true,
6858
+ "enum": [
6859
+ null
6860
+ ]
6861
+ }
6862
+ ]
6863
+ }
6864
+ }
6865
+ }
6866
+ },
6818
6867
  "V3ListCallsRequest": {
6819
6868
  "type": "object",
6820
6869
  "properties": {
@@ -11762,6 +11811,35 @@ export const operations = [
11762
11811
  ],
11763
11812
  "responseContractHash": "cd24043edbda48c28b8edb62de97cbcb5e1c98f008145fea5ac16696dd941fca"
11764
11813
  },
11814
+ {
11815
+ "operationId": "getAgentRoot",
11816
+ "command": "get-agent-root",
11817
+ "method": "GET",
11818
+ "path": "/get-agent-root/{agent_id}",
11819
+ "description": "Get the settings and status that apply to all versions of an agent, such as its environment tags.",
11820
+ "deprecated": false,
11821
+ "authenticated": true,
11822
+ "parameters": [
11823
+ {
11824
+ "name": "agent_id",
11825
+ "flag": "--agent-id",
11826
+ "in": "path",
11827
+ "required": true,
11828
+ "type": "string",
11829
+ "description": "Unique id of the agent.",
11830
+ "array": false,
11831
+ "style": "simple",
11832
+ "explode": false,
11833
+ "allowReserved": false,
11834
+ "contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95",
11835
+ "validationSchema": {
11836
+ "type": "string",
11837
+ "minLength": 1
11838
+ }
11839
+ }
11840
+ ],
11841
+ "responseContractHash": "bb4980cbec154356fdb49c4e2b084498af64397d7522a48922d351c6c05b4e58"
11842
+ },
11765
11843
  {
11766
11844
  "operationId": "getApiKeyInfo",
11767
11845
  "command": "get-api-key-info",
@@ -15896,6 +15974,79 @@ export const operations = [
15896
15974
  },
15897
15975
  "responseContractHash": "cd24043edbda48c28b8edb62de97cbcb5e1c98f008145fea5ac16696dd941fca"
15898
15976
  },
15977
+ {
15978
+ "operationId": "updateAgentRoot",
15979
+ "command": "update-agent-root",
15980
+ "method": "PATCH",
15981
+ "path": "/update-agent-root/{agent_id}",
15982
+ "description": "Change settings that apply to all versions of an agent, such as its environment tags.",
15983
+ "deprecated": false,
15984
+ "authenticated": true,
15985
+ "parameters": [
15986
+ {
15987
+ "name": "agent_id",
15988
+ "flag": "--agent-id",
15989
+ "in": "path",
15990
+ "required": true,
15991
+ "type": "string",
15992
+ "description": "Unique id of the agent.",
15993
+ "array": false,
15994
+ "style": "simple",
15995
+ "explode": false,
15996
+ "allowReserved": false,
15997
+ "contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95",
15998
+ "validationSchema": {
15999
+ "type": "string",
16000
+ "minLength": 1
16001
+ }
16002
+ },
16003
+ {
16004
+ "name": "If-Match",
16005
+ "flag": "--if-match",
16006
+ "in": "header",
16007
+ "required": false,
16008
+ "type": "string",
16009
+ "description": "ETag from an earlier get-agent-root or update-agent-root response. If the agent changed since then, the update returns 412 and changes nothing.",
16010
+ "array": false,
16011
+ "style": "simple",
16012
+ "explode": false,
16013
+ "allowReserved": false,
16014
+ "contractHash": "b784b324eba75688369486baad4ddfb2683160858c31cfc6d2769f90857bc11a",
16015
+ "validationSchema": {
16016
+ "type": "string",
16017
+ "pattern": "^(\"[0-9]+\"|[0-9]+)$"
16018
+ }
16019
+ }
16020
+ ],
16021
+ "requestBody": {
16022
+ "required": true,
16023
+ "contentType": "application/json",
16024
+ "schemaName": "UpdateAgentRootRequest",
16025
+ "propertyCount": 1,
16026
+ "requiredFields": [],
16027
+ "validationSchema": {
16028
+ "$ref": "#/components/schemas/UpdateAgentRootRequest"
16029
+ },
16030
+ "fields": [
16031
+ {
16032
+ "name": "tags",
16033
+ "flag": "--tags",
16034
+ "required": false,
16035
+ "type": "object",
16036
+ "description": "Environment tags to add, change, or delete, keyed by tag name. Set a tag to an object to add or change it, or to null to delete it. Tags you leave out stay as they are. The prod and staging tags cannot be deleted. An agent can have up to 10 tags. Tag names must be 1-20 characters, start with a lowercase letter, use only lowercase letters, digits, underscores, or hyphens, and cannot be \"latest\", \"latest_published\", or \"v\" followed only by digits, such as \"v2\".",
16037
+ "example": {
16038
+ "prod": {
16039
+ "version": 3
16040
+ }
16041
+ },
16042
+ "array": false,
16043
+ "nullable": false,
16044
+ "contractHash": "5ff03010fee13ba35510a368db52c75965ea19742a21b65c1a2ba882d6e13b2b"
16045
+ }
16046
+ ]
16047
+ },
16048
+ "responseContractHash": "bb4980cbec154356fdb49c4e2b084498af64397d7522a48922d351c6c05b4e58"
16049
+ },
15899
16050
  {
15900
16051
  "operationId": "updateApp",
15901
16052
  "command": "update-app",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retell-ai/retell-cli",
3
- "version": "0.69.1",
3
+ "version": "0.70.0",
4
4
  "description": "Generated command line interface for the Retell API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {