retell-sdk 5.12.0 → 5.14.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/env.js +2 -2
  11. package/internal/utils/env.js.map +1 -1
  12. package/internal/utils/env.mjs +2 -2
  13. package/internal/utils/env.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/agent.d.mts +22 -45
  16. package/resources/agent.d.mts.map +1 -1
  17. package/resources/agent.d.ts +22 -45
  18. package/resources/agent.d.ts.map +1 -1
  19. package/resources/batch-call.d.mts +8 -17
  20. package/resources/batch-call.d.mts.map +1 -1
  21. package/resources/batch-call.d.ts +8 -17
  22. package/resources/batch-call.d.ts.map +1 -1
  23. package/resources/call.d.mts +55 -54
  24. package/resources/call.d.mts.map +1 -1
  25. package/resources/call.d.ts +55 -54
  26. package/resources/call.d.ts.map +1 -1
  27. package/resources/chat-agent.d.mts +10 -6
  28. package/resources/chat-agent.d.mts.map +1 -1
  29. package/resources/chat-agent.d.ts +10 -6
  30. package/resources/chat-agent.d.ts.map +1 -1
  31. package/resources/chat.d.mts +90 -76
  32. package/resources/chat.d.mts.map +1 -1
  33. package/resources/chat.d.ts +90 -76
  34. package/resources/chat.d.ts.map +1 -1
  35. package/resources/conversation-flow-component.d.mts +207 -48
  36. package/resources/conversation-flow-component.d.mts.map +1 -1
  37. package/resources/conversation-flow-component.d.ts +207 -48
  38. package/resources/conversation-flow-component.d.ts.map +1 -1
  39. package/resources/conversation-flow.d.mts +417 -99
  40. package/resources/conversation-flow.d.mts.map +1 -1
  41. package/resources/conversation-flow.d.ts +417 -99
  42. package/resources/conversation-flow.d.ts.map +1 -1
  43. package/resources/index.d.mts +1 -0
  44. package/resources/index.d.mts.map +1 -1
  45. package/resources/index.d.ts +1 -0
  46. package/resources/index.d.ts.map +1 -1
  47. package/resources/index.js +3 -1
  48. package/resources/index.js.map +1 -1
  49. package/resources/index.mjs +1 -0
  50. package/resources/index.mjs.map +1 -1
  51. package/resources/llm.d.mts +153 -9
  52. package/resources/llm.d.mts.map +1 -1
  53. package/resources/llm.d.ts +153 -9
  54. package/resources/llm.d.ts.map +1 -1
  55. package/resources/phone-number.d.mts +22 -125
  56. package/resources/phone-number.d.mts.map +1 -1
  57. package/resources/phone-number.d.ts +22 -125
  58. package/resources/phone-number.d.ts.map +1 -1
  59. package/resources/phone-number.js +14 -2
  60. package/resources/phone-number.js.map +1 -1
  61. package/resources/phone-number.mjs +14 -2
  62. package/resources/phone-number.mjs.map +1 -1
  63. package/resources/playground.d.mts +395 -0
  64. package/resources/playground.d.mts.map +1 -0
  65. package/resources/playground.d.ts +395 -0
  66. package/resources/playground.d.ts.map +1 -0
  67. package/resources/playground.js +24 -0
  68. package/resources/playground.js.map +1 -0
  69. package/resources/playground.mjs +20 -0
  70. package/resources/playground.mjs.map +1 -0
  71. package/resources/tests.d.mts +4 -8
  72. package/resources/tests.d.mts.map +1 -1
  73. package/resources/tests.d.ts +4 -8
  74. package/resources/tests.d.ts.map +1 -1
  75. package/src/client.ts +9 -0
  76. package/src/internal/utils/env.ts +2 -2
  77. package/src/resources/agent.ts +23 -42
  78. package/src/resources/batch-call.ts +9 -15
  79. package/src/resources/call.ts +64 -47
  80. package/src/resources/chat-agent.ts +11 -3
  81. package/src/resources/chat.ts +106 -90
  82. package/src/resources/conversation-flow-component.ts +300 -48
  83. package/src/resources/conversation-flow.ts +606 -99
  84. package/src/resources/index.ts +1 -0
  85. package/src/resources/llm.ts +201 -6
  86. package/src/resources/phone-number.ts +22 -141
  87. package/src/resources/playground.ts +500 -0
  88. package/src/resources/tests.ts +7 -9
  89. package/src/version.ts +1 -1
  90. package/version.d.mts +1 -1
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
  93. package/version.mjs +1 -1
@@ -10,6 +10,7 @@ export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListRespon
10
10
  export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.mjs";
11
11
  export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.mjs";
12
12
  export { PhoneNumber, type PhoneNumberResponse, type PhoneNumberListResponse, type PhoneNumberCreateParams, type PhoneNumberUpdateParams, type PhoneNumberImportParams, } from "./phone-number.mjs";
13
+ export { Playground, type PlaygroundCompletionResponse, type PlaygroundCompletionParams } from "./playground.mjs";
13
14
  export { Tests, type BatchTestResponse, type TestCaseDefinitionResponse, type TestCaseJobResponse, type TestListBatchTestsResponse, type TestListTestCaseDefinitionsResponse, type TestListTestRunsResponse, type TestCreateBatchTestParams, type TestCreateTestCaseDefinitionParams, type TestListBatchTestsParams, type TestListTestCaseDefinitionsParams, type TestUpdateTestCaseDefinitionParams, } from "./tests.mjs";
14
15
  export { Voice, type VoiceResponse, type VoiceListResponse, type VoiceSearchResponse, type VoiceAddResourceParams, type VoiceCloneParams, type VoiceSearchParams, } from "./voice.mjs";
15
16
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,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,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,GAC7B;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,K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AK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
@@ -10,6 +10,7 @@ export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListRespon
10
10
  export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.js";
11
11
  export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.js";
12
12
  export { PhoneNumber, type PhoneNumberResponse, type PhoneNumberListResponse, type PhoneNumberCreateParams, type PhoneNumberUpdateParams, type PhoneNumberImportParams, } from "./phone-number.js";
13
+ export { Playground, type PlaygroundCompletionResponse, type PlaygroundCompletionParams } from "./playground.js";
13
14
  export { Tests, type BatchTestResponse, type TestCaseDefinitionResponse, type TestCaseJobResponse, type TestListBatchTestsResponse, type TestListTestCaseDefinitionsResponse, type TestListTestRunsResponse, type TestCreateBatchTestParams, type TestCreateTestCaseDefinitionParams, type TestListBatchTestsParams, type TestListTestCaseDefinitionsParams, type TestUpdateTestCaseDefinitionParams, } from "./tests.js";
14
15
  export { Voice, type VoiceResponse, type VoiceListResponse, type VoiceSearchResponse, type VoiceAddResourceParams, type VoiceCloneParams, type VoiceSearchParams, } from "./voice.js";
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,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,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,GAC7B;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB;OACM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-1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Voice = exports.Tests = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
4
+ exports.Voice = exports.Tests = exports.Playground = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
5
5
  var agent_1 = require("./agent.js");
6
6
  Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
7
7
  var batch_call_1 = require("./batch-call.js");
@@ -26,6 +26,8 @@ var mcp_tool_1 = require("./mcp-tool.js");
26
26
  Object.defineProperty(exports, "McpTool", { enumerable: true, get: function () { return mcp_tool_1.McpTool; } });
27
27
  var phone_number_1 = require("./phone-number.js");
28
28
  Object.defineProperty(exports, "PhoneNumber", { enumerable: true, get: function () { return phone_number_1.PhoneNumber; } });
29
+ var playground_1 = require("./playground.js");
30
+ Object.defineProperty(exports, "Playground", { enumerable: true, get: function () { return playground_1.Playground; } });
29
31
  var tests_1 = require("./tests.js");
30
32
  Object.defineProperty(exports, "Tests", { enumerable: true, get: function () { return tests_1.Tests; } });
31
33
  var voice_1 = require("./voice.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,gFAMuC;AALrC,wIAAA,yBAAyB,OAAA;AAM3B,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,gFAMuC;AALrC,wIAAA,yBAAyB,OAAA;AAM3B,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,8CAA8G;AAArG,wGAAA,UAAU,OAAA;AACnB,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
@@ -11,6 +11,7 @@ export { KnowledgeBase, } from "./knowledge-base.mjs";
11
11
  export { Llm, } from "./llm.mjs";
12
12
  export { McpTool, } from "./mcp-tool.mjs";
13
13
  export { PhoneNumber, } from "./phone-number.mjs";
14
+ export { Playground } from "./playground.mjs";
14
15
  export { Tests, } from "./tests.mjs";
15
16
  export { Voice, } from "./voice.mjs";
16
17
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAQN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GASL;OACM,EACL,SAAS,GAQV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,yBAAyB,GAK1B;OACM,EACL,aAAa,GAMd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EACL,KAAK,GAYN;OACM,EACL,KAAK,GAON"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAQN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GASL;OACM,EACL,SAAS,GAQV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,yBAAyB,GAK1B;OACM,EACL,aAAa,GAMd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EAAE,UAAU,EAAsE;OAClF,EACL,KAAK,GAYN;OACM,EACL,KAAK,GAON"}
@@ -122,7 +122,7 @@ export interface LlmResponse {
122
122
  /**
123
123
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
124
124
  */
125
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | null;
125
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
126
126
  /**
127
127
  * If set to true, will use high priority pool with more dedicated resource to
128
128
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -624,7 +624,7 @@ export declare namespace LlmResponse {
624
624
  * time (general tools + state tools + state edges).
625
625
  */
626
626
  name: string;
627
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
627
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
628
628
  type: 'send_sms';
629
629
  /**
630
630
  * Describes what the tool does, sometimes can also include information about when
@@ -666,6 +666,14 @@ export declare namespace LlmResponse {
666
666
  prompt?: string;
667
667
  type?: 'inferred';
668
668
  }
669
+ interface SMSContentTemplate {
670
+ /**
671
+ * The template to use for the SMS content. "info_collection" sends a predefined
672
+ * message requesting information from the user.
673
+ */
674
+ template: 'info_collection';
675
+ type: 'template';
676
+ }
669
677
  }
670
678
  interface CustomTool {
671
679
  /**
@@ -690,6 +698,12 @@ export declare namespace LlmResponse {
690
698
  * Describes what this tool does and when to call this tool.
691
699
  */
692
700
  description?: string;
701
+ /**
702
+ * If true, play a typing sound on the agent audio track while this tool is
703
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
704
+ * silence on the call.
705
+ */
706
+ enable_typing_sound?: boolean;
693
707
  /**
694
708
  * The description for the sentence agent say during execution. Only applicable
695
709
  * when speak_during_execution is true. Can write what to say or even provide
@@ -800,6 +814,11 @@ export declare namespace LlmResponse {
800
814
  * Describes what this tool does and when to call this tool.
801
815
  */
802
816
  description?: string;
817
+ /**
818
+ * If true, play a typing sound on the agent audio track while this tool is
819
+ * executing.
820
+ */
821
+ enable_typing_sound?: boolean;
803
822
  /**
804
823
  * The description for the sentence agent say during execution. Only applicable
805
824
  * when speak_during_execution is true.
@@ -1040,6 +1059,11 @@ export declare namespace LlmResponse {
1040
1059
  */
1041
1060
  name: string;
1042
1061
  type: 'mcp';
1062
+ /**
1063
+ * If true, play a typing sound on the agent audio track while this MCP tool is
1064
+ * executing.
1065
+ */
1066
+ enable_typing_sound?: boolean;
1043
1067
  /**
1044
1068
  * The description for the sentence agent say during execution. Only applicable
1045
1069
  * when speak_during_execution is true. Can write what to say or even provide
@@ -1657,7 +1681,7 @@ export declare namespace LlmResponse {
1657
1681
  * time (general tools + state tools + state edges).
1658
1682
  */
1659
1683
  name: string;
1660
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
1684
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
1661
1685
  type: 'send_sms';
1662
1686
  /**
1663
1687
  * Describes what the tool does, sometimes can also include information about when
@@ -1699,6 +1723,14 @@ export declare namespace LlmResponse {
1699
1723
  prompt?: string;
1700
1724
  type?: 'inferred';
1701
1725
  }
1726
+ interface SMSContentTemplate {
1727
+ /**
1728
+ * The template to use for the SMS content. "info_collection" sends a predefined
1729
+ * message requesting information from the user.
1730
+ */
1731
+ template: 'info_collection';
1732
+ type: 'template';
1733
+ }
1702
1734
  }
1703
1735
  interface CustomTool {
1704
1736
  /**
@@ -1723,6 +1755,12 @@ export declare namespace LlmResponse {
1723
1755
  * Describes what this tool does and when to call this tool.
1724
1756
  */
1725
1757
  description?: string;
1758
+ /**
1759
+ * If true, play a typing sound on the agent audio track while this tool is
1760
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
1761
+ * silence on the call.
1762
+ */
1763
+ enable_typing_sound?: boolean;
1726
1764
  /**
1727
1765
  * The description for the sentence agent say during execution. Only applicable
1728
1766
  * when speak_during_execution is true. Can write what to say or even provide
@@ -1833,6 +1871,11 @@ export declare namespace LlmResponse {
1833
1871
  * Describes what this tool does and when to call this tool.
1834
1872
  */
1835
1873
  description?: string;
1874
+ /**
1875
+ * If true, play a typing sound on the agent audio track while this tool is
1876
+ * executing.
1877
+ */
1878
+ enable_typing_sound?: boolean;
1836
1879
  /**
1837
1880
  * The description for the sentence agent say during execution. Only applicable
1838
1881
  * when speak_during_execution is true.
@@ -2073,6 +2116,11 @@ export declare namespace LlmResponse {
2073
2116
  */
2074
2117
  name: string;
2075
2118
  type: 'mcp';
2119
+ /**
2120
+ * If true, play a typing sound on the agent audio track while this MCP tool is
2121
+ * executing.
2122
+ */
2123
+ enable_typing_sound?: boolean;
2076
2124
  /**
2077
2125
  * The description for the sentence agent say during execution. Only applicable
2078
2126
  * when speak_during_execution is true. Can write what to say or even provide
@@ -2173,7 +2221,7 @@ export interface LlmCreateParams {
2173
2221
  /**
2174
2222
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
2175
2223
  */
2176
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | null;
2224
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
2177
2225
  /**
2178
2226
  * If set to true, will use high priority pool with more dedicated resource to
2179
2227
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -2675,7 +2723,7 @@ export declare namespace LlmCreateParams {
2675
2723
  * time (general tools + state tools + state edges).
2676
2724
  */
2677
2725
  name: string;
2678
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
2726
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
2679
2727
  type: 'send_sms';
2680
2728
  /**
2681
2729
  * Describes what the tool does, sometimes can also include information about when
@@ -2717,6 +2765,14 @@ export declare namespace LlmCreateParams {
2717
2765
  prompt?: string;
2718
2766
  type?: 'inferred';
2719
2767
  }
2768
+ interface SMSContentTemplate {
2769
+ /**
2770
+ * The template to use for the SMS content. "info_collection" sends a predefined
2771
+ * message requesting information from the user.
2772
+ */
2773
+ template: 'info_collection';
2774
+ type: 'template';
2775
+ }
2720
2776
  }
2721
2777
  interface CustomTool {
2722
2778
  /**
@@ -2741,6 +2797,12 @@ export declare namespace LlmCreateParams {
2741
2797
  * Describes what this tool does and when to call this tool.
2742
2798
  */
2743
2799
  description?: string;
2800
+ /**
2801
+ * If true, play a typing sound on the agent audio track while this tool is
2802
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
2803
+ * silence on the call.
2804
+ */
2805
+ enable_typing_sound?: boolean;
2744
2806
  /**
2745
2807
  * The description for the sentence agent say during execution. Only applicable
2746
2808
  * when speak_during_execution is true. Can write what to say or even provide
@@ -2851,6 +2913,11 @@ export declare namespace LlmCreateParams {
2851
2913
  * Describes what this tool does and when to call this tool.
2852
2914
  */
2853
2915
  description?: string;
2916
+ /**
2917
+ * If true, play a typing sound on the agent audio track while this tool is
2918
+ * executing.
2919
+ */
2920
+ enable_typing_sound?: boolean;
2854
2921
  /**
2855
2922
  * The description for the sentence agent say during execution. Only applicable
2856
2923
  * when speak_during_execution is true.
@@ -3091,6 +3158,11 @@ export declare namespace LlmCreateParams {
3091
3158
  */
3092
3159
  name: string;
3093
3160
  type: 'mcp';
3161
+ /**
3162
+ * If true, play a typing sound on the agent audio track while this MCP tool is
3163
+ * executing.
3164
+ */
3165
+ enable_typing_sound?: boolean;
3094
3166
  /**
3095
3167
  * The description for the sentence agent say during execution. Only applicable
3096
3168
  * when speak_during_execution is true. Can write what to say or even provide
@@ -3708,7 +3780,7 @@ export declare namespace LlmCreateParams {
3708
3780
  * time (general tools + state tools + state edges).
3709
3781
  */
3710
3782
  name: string;
3711
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
3783
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
3712
3784
  type: 'send_sms';
3713
3785
  /**
3714
3786
  * Describes what the tool does, sometimes can also include information about when
@@ -3750,6 +3822,14 @@ export declare namespace LlmCreateParams {
3750
3822
  prompt?: string;
3751
3823
  type?: 'inferred';
3752
3824
  }
3825
+ interface SMSContentTemplate {
3826
+ /**
3827
+ * The template to use for the SMS content. "info_collection" sends a predefined
3828
+ * message requesting information from the user.
3829
+ */
3830
+ template: 'info_collection';
3831
+ type: 'template';
3832
+ }
3753
3833
  }
3754
3834
  interface CustomTool {
3755
3835
  /**
@@ -3774,6 +3854,12 @@ export declare namespace LlmCreateParams {
3774
3854
  * Describes what this tool does and when to call this tool.
3775
3855
  */
3776
3856
  description?: string;
3857
+ /**
3858
+ * If true, play a typing sound on the agent audio track while this tool is
3859
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
3860
+ * silence on the call.
3861
+ */
3862
+ enable_typing_sound?: boolean;
3777
3863
  /**
3778
3864
  * The description for the sentence agent say during execution. Only applicable
3779
3865
  * when speak_during_execution is true. Can write what to say or even provide
@@ -3884,6 +3970,11 @@ export declare namespace LlmCreateParams {
3884
3970
  * Describes what this tool does and when to call this tool.
3885
3971
  */
3886
3972
  description?: string;
3973
+ /**
3974
+ * If true, play a typing sound on the agent audio track while this tool is
3975
+ * executing.
3976
+ */
3977
+ enable_typing_sound?: boolean;
3887
3978
  /**
3888
3979
  * The description for the sentence agent say during execution. Only applicable
3889
3980
  * when speak_during_execution is true.
@@ -4124,6 +4215,11 @@ export declare namespace LlmCreateParams {
4124
4215
  */
4125
4216
  name: string;
4126
4217
  type: 'mcp';
4218
+ /**
4219
+ * If true, play a typing sound on the agent audio track while this MCP tool is
4220
+ * executing.
4221
+ */
4222
+ enable_typing_sound?: boolean;
4127
4223
  /**
4128
4224
  * The description for the sentence agent say during execution. Only applicable
4129
4225
  * when speak_during_execution is true. Can write what to say or even provide
@@ -4237,7 +4333,7 @@ export interface LlmUpdateParams {
4237
4333
  * Body param: Select the underlying text LLM. If not set, would default to
4238
4334
  * gpt-4.1.
4239
4335
  */
4240
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | null;
4336
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
4241
4337
  /**
4242
4338
  * Body param: If set to true, will use high priority pool with more dedicated
4243
4339
  * resource to ensure lower and more consistent latency, default to false. This
@@ -4739,7 +4835,7 @@ export declare namespace LlmUpdateParams {
4739
4835
  * time (general tools + state tools + state edges).
4740
4836
  */
4741
4837
  name: string;
4742
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
4838
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
4743
4839
  type: 'send_sms';
4744
4840
  /**
4745
4841
  * Describes what the tool does, sometimes can also include information about when
@@ -4781,6 +4877,14 @@ export declare namespace LlmUpdateParams {
4781
4877
  prompt?: string;
4782
4878
  type?: 'inferred';
4783
4879
  }
4880
+ interface SMSContentTemplate {
4881
+ /**
4882
+ * The template to use for the SMS content. "info_collection" sends a predefined
4883
+ * message requesting information from the user.
4884
+ */
4885
+ template: 'info_collection';
4886
+ type: 'template';
4887
+ }
4784
4888
  }
4785
4889
  interface CustomTool {
4786
4890
  /**
@@ -4805,6 +4909,12 @@ export declare namespace LlmUpdateParams {
4805
4909
  * Describes what this tool does and when to call this tool.
4806
4910
  */
4807
4911
  description?: string;
4912
+ /**
4913
+ * If true, play a typing sound on the agent audio track while this tool is
4914
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
4915
+ * silence on the call.
4916
+ */
4917
+ enable_typing_sound?: boolean;
4808
4918
  /**
4809
4919
  * The description for the sentence agent say during execution. Only applicable
4810
4920
  * when speak_during_execution is true. Can write what to say or even provide
@@ -4915,6 +5025,11 @@ export declare namespace LlmUpdateParams {
4915
5025
  * Describes what this tool does and when to call this tool.
4916
5026
  */
4917
5027
  description?: string;
5028
+ /**
5029
+ * If true, play a typing sound on the agent audio track while this tool is
5030
+ * executing.
5031
+ */
5032
+ enable_typing_sound?: boolean;
4918
5033
  /**
4919
5034
  * The description for the sentence agent say during execution. Only applicable
4920
5035
  * when speak_during_execution is true.
@@ -5155,6 +5270,11 @@ export declare namespace LlmUpdateParams {
5155
5270
  */
5156
5271
  name: string;
5157
5272
  type: 'mcp';
5273
+ /**
5274
+ * If true, play a typing sound on the agent audio track while this MCP tool is
5275
+ * executing.
5276
+ */
5277
+ enable_typing_sound?: boolean;
5158
5278
  /**
5159
5279
  * The description for the sentence agent say during execution. Only applicable
5160
5280
  * when speak_during_execution is true. Can write what to say or even provide
@@ -5772,7 +5892,7 @@ export declare namespace LlmUpdateParams {
5772
5892
  * time (general tools + state tools + state edges).
5773
5893
  */
5774
5894
  name: string;
5775
- sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred;
5895
+ sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
5776
5896
  type: 'send_sms';
5777
5897
  /**
5778
5898
  * Describes what the tool does, sometimes can also include information about when
@@ -5814,6 +5934,14 @@ export declare namespace LlmUpdateParams {
5814
5934
  prompt?: string;
5815
5935
  type?: 'inferred';
5816
5936
  }
5937
+ interface SMSContentTemplate {
5938
+ /**
5939
+ * The template to use for the SMS content. "info_collection" sends a predefined
5940
+ * message requesting information from the user.
5941
+ */
5942
+ template: 'info_collection';
5943
+ type: 'template';
5944
+ }
5817
5945
  }
5818
5946
  interface CustomTool {
5819
5947
  /**
@@ -5838,6 +5966,12 @@ export declare namespace LlmUpdateParams {
5838
5966
  * Describes what this tool does and when to call this tool.
5839
5967
  */
5840
5968
  description?: string;
5969
+ /**
5970
+ * If true, play a typing sound on the agent audio track while this tool is
5971
+ * executing. Useful when the tool takes a noticeable amount of time to prevent
5972
+ * silence on the call.
5973
+ */
5974
+ enable_typing_sound?: boolean;
5841
5975
  /**
5842
5976
  * The description for the sentence agent say during execution. Only applicable
5843
5977
  * when speak_during_execution is true. Can write what to say or even provide
@@ -5948,6 +6082,11 @@ export declare namespace LlmUpdateParams {
5948
6082
  * Describes what this tool does and when to call this tool.
5949
6083
  */
5950
6084
  description?: string;
6085
+ /**
6086
+ * If true, play a typing sound on the agent audio track while this tool is
6087
+ * executing.
6088
+ */
6089
+ enable_typing_sound?: boolean;
5951
6090
  /**
5952
6091
  * The description for the sentence agent say during execution. Only applicable
5953
6092
  * when speak_during_execution is true.
@@ -6188,6 +6327,11 @@ export declare namespace LlmUpdateParams {
6188
6327
  */
6189
6328
  name: string;
6190
6329
  type: 'mcp';
6330
+ /**
6331
+ * If true, play a typing sound on the agent audio track while this MCP tool is
6332
+ * executing.
6333
+ */
6334
+ enable_typing_sound?: boolean;
6191
6335
  /**
6192
6336
  * The description for the sentence agent say during execution. Only applicable
6193
6337
  * when speak_during_execution is true. Can write what to say or even provide