@elevenlabs/elevenlabs-js 2.54.0 → 2.55.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 (614) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/.fern/replay.lock +8 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.d.ts +2 -2
  5. package/Client.js +4 -4
  6. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  7. package/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
  8. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
  9. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
  10. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  13. package/api/resources/index.d.ts +1 -0
  14. package/api/resources/index.js +1 -0
  15. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  16. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  17. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  18. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  19. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  20. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  21. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  22. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  23. package/api/resources/workspace/client/Client.d.ts +18 -1
  24. package/api/resources/workspace/client/Client.js +99 -0
  25. package/api/resources/workspace/client/index.d.ts +1 -1
  26. package/api/resources/workspace/client/index.js +15 -0
  27. package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  28. package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
  29. package/api/resources/workspace/client/requests/index.d.ts +1 -0
  30. package/api/resources/workspace/client/requests/index.js +2 -0
  31. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  32. package/api/types/AgentBranchSummary.d.ts +2 -0
  33. package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  34. package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  35. package/api/types/AudioFilterId.d.ts +7 -0
  36. package/api/types/AudioFilterId.js +10 -0
  37. package/api/types/AuthConnectionStatus.d.ts +15 -0
  38. package/api/types/AuthConnectionStatus.js +18 -0
  39. package/api/types/BaseTurnConfig.d.ts +2 -0
  40. package/api/types/BasicAuthResponse.d.ts +3 -0
  41. package/api/types/BearerAuthResponse.d.ts +3 -0
  42. package/api/types/CaptionStyleModel.d.ts +4 -0
  43. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  44. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  45. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  46. package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  47. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  48. package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  49. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  50. package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  51. package/api/types/CharacterAge.d.ts +6 -0
  52. package/api/types/CharacterAge.js +9 -0
  53. package/api/types/CharacterGender.d.ts +6 -0
  54. package/api/types/CharacterGender.js +9 -0
  55. package/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  56. package/api/types/CharacterMetadataResponseModel.js +3 -0
  57. package/api/types/CharacterResponseModel.d.ts +6 -0
  58. package/api/types/CharacterResponseModel.js +3 -0
  59. package/api/types/ConvAiWebhooks.d.ts +1 -1
  60. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  61. package/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  62. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  63. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  64. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  65. package/api/types/ConversationReasoningModel.d.ts +4 -0
  66. package/api/types/ConversationReasoningModel.js +3 -0
  67. package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  68. package/api/types/ConversationUserResponseModel.d.ts +3 -0
  69. package/api/types/CreateAgentProcedureParams.d.ts +3 -0
  70. package/api/types/CreateAgentProcedureParams.js +3 -0
  71. package/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  72. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  73. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  74. package/api/types/CriteriaScoringMode.d.ts +5 -0
  75. package/api/types/CriteriaScoringMode.js +8 -0
  76. package/api/types/CustomGuardrailConfig.d.ts +1 -1
  77. package/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  78. package/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  79. package/api/types/DeleteAgentProcedureParams.js +3 -0
  80. package/api/types/FrustratedConversationRef.d.ts +9 -0
  81. package/api/types/FrustratedConversationRef.js +3 -0
  82. package/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  83. package/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  84. package/api/types/ListAgentProceduresParams.d.ts +3 -0
  85. package/api/types/ListAgentProceduresParams.js +3 -0
  86. package/api/types/ListAgentReferencesParams.d.ts +3 -0
  87. package/api/types/ListAgentReferencesParams.js +3 -0
  88. package/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  89. package/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  90. package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  91. package/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  92. package/api/types/MergePreviewResponseModel.d.ts +33 -0
  93. package/api/types/MergePreviewResponseModel.js +3 -0
  94. package/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  95. package/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  96. package/api/types/MtlsAuthResponse.d.ts +3 -0
  97. package/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  98. package/api/types/OAuth2JwtResponse.d.ts +3 -0
  99. package/api/types/PermissionType.d.ts +2 -0
  100. package/api/types/PermissionType.js +2 -0
  101. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  102. package/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  103. package/api/types/ProcedureAtVersionInput.d.ts +1 -1
  104. package/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  105. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  106. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  107. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  108. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  109. package/api/types/PromptEvaluationCriteria.d.ts +6 -0
  110. package/api/types/ScimGroupResponseModel.d.ts +8 -0
  111. package/api/types/ScimGroupResponseModel.js +3 -0
  112. package/api/types/ScopedAnalysisResult.d.ts +1 -0
  113. package/api/types/SentimentAggregate.d.ts +8 -0
  114. package/api/types/SentimentAggregate.js +3 -0
  115. package/api/types/SlackBotAuthResponse.d.ts +3 -0
  116. package/api/types/TurnConfig.d.ts +2 -0
  117. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  118. package/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  119. package/api/types/UpdateAgentProcedureParams.js +3 -0
  120. package/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  121. package/api/types/UpdateBearerAuthRequest.js +3 -0
  122. package/api/types/UrlSecretAuthResponse.d.ts +3 -0
  123. package/api/types/UuiTransferConfig.d.ts +18 -0
  124. package/api/types/UuiTransferConfig.js +3 -0
  125. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  126. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  127. package/api/types/WebhookEventType.d.ts +2 -0
  128. package/api/types/WebhookEventType.js +2 -0
  129. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  130. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  131. package/api/types/WhatsAppAuthResponse.d.ts +3 -0
  132. package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  133. package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  134. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  135. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  136. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  137. package/api/types/WorkspaceGroupPermission.js +2 -0
  138. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  139. package/api/types/index.d.ts +22 -1
  140. package/api/types/index.js +22 -1
  141. package/dist/BaseClient.js +2 -2
  142. package/dist/Client.d.ts +2 -2
  143. package/dist/Client.js +4 -4
  144. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  145. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
  146. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
  147. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
  148. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  149. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
  150. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  151. package/dist/api/resources/index.d.ts +1 -0
  152. package/dist/api/resources/index.js +1 -0
  153. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  154. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  155. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  156. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  157. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  158. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  159. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  160. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  161. package/dist/api/resources/workspace/client/Client.d.ts +18 -1
  162. package/dist/api/resources/workspace/client/Client.js +99 -0
  163. package/dist/api/resources/workspace/client/index.d.ts +1 -1
  164. package/dist/api/resources/workspace/client/index.js +15 -0
  165. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  166. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
  167. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  168. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  169. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  170. package/dist/api/types/AgentBranchSummary.d.ts +2 -0
  171. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  172. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  173. package/dist/api/types/AudioFilterId.d.ts +7 -0
  174. package/dist/api/types/AudioFilterId.js +10 -0
  175. package/dist/api/types/AuthConnectionStatus.d.ts +15 -0
  176. package/dist/api/types/AuthConnectionStatus.js +18 -0
  177. package/dist/api/types/BaseTurnConfig.d.ts +2 -0
  178. package/dist/api/types/BasicAuthResponse.d.ts +3 -0
  179. package/dist/api/types/BearerAuthResponse.d.ts +3 -0
  180. package/dist/api/types/CaptionStyleModel.d.ts +4 -0
  181. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  182. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  183. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  184. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  185. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  186. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  187. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  188. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  189. package/dist/api/types/CharacterAge.d.ts +6 -0
  190. package/dist/api/types/CharacterAge.js +9 -0
  191. package/dist/api/types/CharacterGender.d.ts +6 -0
  192. package/dist/api/types/CharacterGender.js +9 -0
  193. package/dist/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  194. package/dist/api/types/CharacterMetadataResponseModel.js +3 -0
  195. package/dist/api/types/CharacterResponseModel.d.ts +6 -0
  196. package/dist/api/types/CharacterResponseModel.js +3 -0
  197. package/dist/api/types/ConvAiWebhooks.d.ts +1 -1
  198. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  199. package/dist/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  200. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  201. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  202. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  203. package/dist/api/types/ConversationReasoningModel.d.ts +4 -0
  204. package/dist/api/types/ConversationReasoningModel.js +3 -0
  205. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  206. package/dist/api/types/ConversationUserResponseModel.d.ts +3 -0
  207. package/dist/api/types/CreateAgentProcedureParams.d.ts +3 -0
  208. package/dist/api/types/CreateAgentProcedureParams.js +3 -0
  209. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  210. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  211. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  212. package/dist/api/types/CriteriaScoringMode.d.ts +5 -0
  213. package/dist/api/types/CriteriaScoringMode.js +8 -0
  214. package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
  215. package/dist/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  216. package/dist/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  217. package/dist/api/types/DeleteAgentProcedureParams.js +3 -0
  218. package/dist/api/types/FrustratedConversationRef.d.ts +9 -0
  219. package/dist/api/types/FrustratedConversationRef.js +3 -0
  220. package/dist/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  221. package/dist/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  222. package/dist/api/types/ListAgentProceduresParams.d.ts +3 -0
  223. package/dist/api/types/ListAgentProceduresParams.js +3 -0
  224. package/dist/api/types/ListAgentReferencesParams.d.ts +3 -0
  225. package/dist/api/types/ListAgentReferencesParams.js +3 -0
  226. package/dist/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  227. package/dist/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  228. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  229. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  230. package/dist/api/types/MergePreviewResponseModel.d.ts +33 -0
  231. package/dist/api/types/MergePreviewResponseModel.js +3 -0
  232. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  233. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  234. package/dist/api/types/MtlsAuthResponse.d.ts +3 -0
  235. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  236. package/dist/api/types/OAuth2JwtResponse.d.ts +3 -0
  237. package/dist/api/types/PermissionType.d.ts +2 -0
  238. package/dist/api/types/PermissionType.js +2 -0
  239. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  240. package/dist/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  241. package/dist/api/types/ProcedureAtVersionInput.d.ts +1 -1
  242. package/dist/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  243. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  244. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  245. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  246. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  247. package/dist/api/types/PromptEvaluationCriteria.d.ts +6 -0
  248. package/dist/api/types/ScimGroupResponseModel.d.ts +8 -0
  249. package/dist/api/types/ScimGroupResponseModel.js +3 -0
  250. package/dist/api/types/ScopedAnalysisResult.d.ts +1 -0
  251. package/dist/api/types/SentimentAggregate.d.ts +8 -0
  252. package/dist/api/types/SentimentAggregate.js +3 -0
  253. package/dist/api/types/SlackBotAuthResponse.d.ts +3 -0
  254. package/dist/api/types/TurnConfig.d.ts +2 -0
  255. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  256. package/dist/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  257. package/dist/api/types/UpdateAgentProcedureParams.js +3 -0
  258. package/dist/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  259. package/dist/api/types/UpdateBearerAuthRequest.js +3 -0
  260. package/dist/api/types/UrlSecretAuthResponse.d.ts +3 -0
  261. package/dist/api/types/UuiTransferConfig.d.ts +18 -0
  262. package/dist/api/types/UuiTransferConfig.js +3 -0
  263. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  264. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  265. package/dist/api/types/WebhookEventType.d.ts +2 -0
  266. package/dist/api/types/WebhookEventType.js +2 -0
  267. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  268. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  269. package/dist/api/types/WhatsAppAuthResponse.d.ts +3 -0
  270. package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  271. package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  272. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  273. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  274. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  275. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  276. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  277. package/dist/api/types/index.d.ts +22 -1
  278. package/dist/api/types/index.js +22 -1
  279. package/dist/serialization/resources/index.d.ts +1 -0
  280. package/dist/serialization/resources/index.js +1 -0
  281. package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
  282. package/dist/serialization/resources/workspace/client/index.js +17 -0
  283. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  284. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  285. package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  286. package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
  287. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  288. package/dist/serialization/resources/workspace/index.js +1 -0
  289. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  290. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  291. package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
  292. package/dist/serialization/types/AgentBranchSummary.js +1 -0
  293. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  294. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  295. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  296. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  297. package/dist/serialization/types/AudioFilterId.d.ts +7 -0
  298. package/dist/serialization/types/{OAuthConnectionStatus.js → AudioFilterId.js} +2 -2
  299. package/dist/serialization/types/AuthConnectionStatus.d.ts +7 -0
  300. package/dist/serialization/types/AuthConnectionStatus.js +39 -0
  301. package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
  302. package/dist/serialization/types/BaseTurnConfig.js +1 -0
  303. package/dist/serialization/types/BasicAuthResponse.d.ts +4 -0
  304. package/dist/serialization/types/BasicAuthResponse.js +4 -0
  305. package/dist/serialization/types/BearerAuthResponse.d.ts +4 -0
  306. package/dist/serialization/types/BearerAuthResponse.js +4 -0
  307. package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
  308. package/dist/serialization/types/CaptionStyleModel.js +4 -0
  309. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  310. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  311. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  312. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  313. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  314. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  315. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  316. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  317. package/dist/serialization/types/CharacterAge.d.ts +7 -0
  318. package/{serialization/types/OAuthConnectionStatus.js → dist/serialization/types/CharacterAge.js} +2 -2
  319. package/dist/serialization/types/CharacterGender.d.ts +7 -0
  320. package/dist/serialization/types/CharacterGender.js +39 -0
  321. package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  322. package/dist/serialization/types/CharacterMetadataResponseModel.js +47 -0
  323. package/dist/serialization/types/CharacterResponseModel.d.ts +12 -0
  324. package/dist/serialization/types/CharacterResponseModel.js +44 -0
  325. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  326. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  327. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  328. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  329. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  330. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  331. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  332. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  333. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  334. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  335. package/dist/serialization/types/ConversationReasoningModel.d.ts +10 -0
  336. package/dist/serialization/types/ConversationReasoningModel.js +42 -0
  337. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  338. package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -0
  339. package/dist/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  340. package/dist/serialization/types/ConversationUserResponseModel.js +4 -0
  341. package/dist/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  342. package/dist/serialization/types/CreateAgentProcedureParams.js +41 -0
  343. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  344. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  345. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  346. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  347. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  348. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  349. package/dist/serialization/types/CriteriaScoringMode.d.ts +7 -0
  350. package/dist/serialization/types/CriteriaScoringMode.js +39 -0
  351. package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  352. package/dist/serialization/types/CustomHeaderAuthResponse.js +4 -0
  353. package/dist/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  354. package/dist/serialization/types/DeleteAgentProcedureParams.js +41 -0
  355. package/dist/serialization/types/FrustratedConversationRef.d.ts +15 -0
  356. package/dist/serialization/types/FrustratedConversationRef.js +47 -0
  357. package/dist/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  358. package/dist/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  359. package/dist/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  360. package/dist/serialization/types/ListAgentProceduresParams.js +41 -0
  361. package/dist/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  362. package/dist/serialization/types/ListAgentReferencesParams.js +41 -0
  363. package/dist/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  364. package/dist/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  365. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  366. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  367. package/dist/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  368. package/dist/serialization/types/MergePreviewResponseModel.js +62 -0
  369. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  370. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  371. package/dist/serialization/types/MtlsAuthResponse.d.ts +4 -0
  372. package/dist/serialization/types/MtlsAuthResponse.js +4 -0
  373. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  374. package/dist/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  375. package/dist/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  376. package/dist/serialization/types/OAuth2JwtResponse.js +4 -0
  377. package/dist/serialization/types/PermissionType.d.ts +1 -1
  378. package/dist/serialization/types/PermissionType.js +2 -0
  379. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  380. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  381. package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  382. package/dist/serialization/types/PrivateKeyJwtResponse.js +4 -0
  383. package/dist/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  384. package/dist/serialization/types/ProcedureAtVersionInput.js +1 -1
  385. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  386. package/dist/serialization/types/ProcedureAtVersionOutput.js +1 -1
  387. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  388. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  389. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  390. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  391. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  392. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  393. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  394. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  395. package/dist/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  396. package/dist/serialization/types/PromptEvaluationCriteria.js +4 -0
  397. package/dist/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  398. package/dist/serialization/types/ScimGroupResponseModel.js +46 -0
  399. package/dist/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  400. package/dist/serialization/types/ScopedAnalysisResult.js +1 -0
  401. package/dist/serialization/types/SentimentAggregate.d.ts +14 -0
  402. package/dist/serialization/types/SentimentAggregate.js +46 -0
  403. package/dist/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  404. package/dist/serialization/types/SlackBotAuthResponse.js +4 -0
  405. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  406. package/dist/serialization/types/TurnConfig.js +1 -0
  407. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  408. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  409. package/dist/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  410. package/dist/serialization/types/UpdateAgentProcedureParams.js +41 -0
  411. package/dist/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  412. package/dist/serialization/types/UpdateBearerAuthRequest.js +42 -0
  413. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  414. package/dist/serialization/types/UrlSecretAuthResponse.js +4 -0
  415. package/dist/serialization/types/UuiTransferConfig.d.ts +12 -0
  416. package/dist/serialization/types/UuiTransferConfig.js +44 -0
  417. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  418. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  419. package/dist/serialization/types/WebhookEventType.d.ts +1 -1
  420. package/dist/serialization/types/WebhookEventType.js +7 -1
  421. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  422. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  423. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  424. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  425. package/dist/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  426. package/dist/serialization/types/WhatsAppAuthResponse.js +4 -0
  427. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  428. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  429. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  430. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  431. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  432. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  433. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  434. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  435. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  436. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  437. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  438. package/dist/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  439. package/dist/serialization/types/index.d.ts +22 -1
  440. package/dist/serialization/types/index.js +22 -1
  441. package/dist/version.d.ts +1 -1
  442. package/dist/version.js +1 -1
  443. package/package.json +1 -1
  444. package/reference.md +219 -2
  445. package/serialization/resources/index.d.ts +1 -0
  446. package/serialization/resources/index.js +1 -0
  447. package/serialization/resources/workspace/client/index.d.ts +1 -0
  448. package/serialization/resources/workspace/client/index.js +17 -0
  449. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  450. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  451. package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  452. package/serialization/resources/workspace/client/requests/index.js +5 -0
  453. package/serialization/resources/workspace/index.d.ts +1 -0
  454. package/serialization/resources/workspace/index.js +1 -0
  455. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  456. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  457. package/serialization/types/AgentBranchSummary.d.ts +1 -0
  458. package/serialization/types/AgentBranchSummary.js +1 -0
  459. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  460. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  461. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  462. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  463. package/serialization/types/AudioFilterId.d.ts +7 -0
  464. package/serialization/types/AudioFilterId.js +39 -0
  465. package/serialization/types/AuthConnectionStatus.d.ts +7 -0
  466. package/serialization/types/AuthConnectionStatus.js +39 -0
  467. package/serialization/types/BaseTurnConfig.d.ts +1 -0
  468. package/serialization/types/BaseTurnConfig.js +1 -0
  469. package/serialization/types/BasicAuthResponse.d.ts +4 -0
  470. package/serialization/types/BasicAuthResponse.js +4 -0
  471. package/serialization/types/BearerAuthResponse.d.ts +4 -0
  472. package/serialization/types/BearerAuthResponse.js +4 -0
  473. package/serialization/types/CaptionStyleModel.d.ts +4 -0
  474. package/serialization/types/CaptionStyleModel.js +4 -0
  475. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  476. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  477. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  478. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  479. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  480. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  481. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  482. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  483. package/serialization/types/CharacterAge.d.ts +7 -0
  484. package/serialization/types/CharacterAge.js +39 -0
  485. package/serialization/types/CharacterGender.d.ts +7 -0
  486. package/serialization/types/CharacterGender.js +39 -0
  487. package/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  488. package/serialization/types/CharacterMetadataResponseModel.js +47 -0
  489. package/serialization/types/CharacterResponseModel.d.ts +12 -0
  490. package/serialization/types/CharacterResponseModel.js +44 -0
  491. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  492. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  493. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  494. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  495. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  496. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  497. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  498. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  499. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  500. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  501. package/serialization/types/ConversationReasoningModel.d.ts +10 -0
  502. package/serialization/types/ConversationReasoningModel.js +42 -0
  503. package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  504. package/serialization/types/ConversationSummaryResponseModel.js +3 -0
  505. package/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  506. package/serialization/types/ConversationUserResponseModel.js +4 -0
  507. package/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  508. package/serialization/types/CreateAgentProcedureParams.js +41 -0
  509. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  510. package/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  511. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  512. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  513. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  514. package/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  515. package/serialization/types/CriteriaScoringMode.d.ts +7 -0
  516. package/serialization/types/CriteriaScoringMode.js +39 -0
  517. package/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  518. package/serialization/types/CustomHeaderAuthResponse.js +4 -0
  519. package/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  520. package/serialization/types/DeleteAgentProcedureParams.js +41 -0
  521. package/serialization/types/FrustratedConversationRef.d.ts +15 -0
  522. package/serialization/types/FrustratedConversationRef.js +47 -0
  523. package/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  524. package/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  525. package/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  526. package/serialization/types/ListAgentProceduresParams.js +41 -0
  527. package/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  528. package/serialization/types/ListAgentReferencesParams.js +41 -0
  529. package/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  530. package/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  531. package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  532. package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  533. package/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  534. package/serialization/types/MergePreviewResponseModel.js +62 -0
  535. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  536. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  537. package/serialization/types/MtlsAuthResponse.d.ts +4 -0
  538. package/serialization/types/MtlsAuthResponse.js +4 -0
  539. package/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  540. package/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  541. package/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  542. package/serialization/types/OAuth2JwtResponse.js +4 -0
  543. package/serialization/types/PermissionType.d.ts +1 -1
  544. package/serialization/types/PermissionType.js +2 -0
  545. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  546. package/serialization/types/PhoneNumberTransfer.js +2 -0
  547. package/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  548. package/serialization/types/PrivateKeyJwtResponse.js +4 -0
  549. package/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  550. package/serialization/types/ProcedureAtVersionInput.js +1 -1
  551. package/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  552. package/serialization/types/ProcedureAtVersionOutput.js +1 -1
  553. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  554. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  555. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  556. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  557. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  558. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  559. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  560. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  561. package/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  562. package/serialization/types/PromptEvaluationCriteria.js +4 -0
  563. package/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  564. package/serialization/types/ScimGroupResponseModel.js +46 -0
  565. package/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  566. package/serialization/types/ScopedAnalysisResult.js +1 -0
  567. package/serialization/types/SentimentAggregate.d.ts +14 -0
  568. package/serialization/types/SentimentAggregate.js +46 -0
  569. package/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  570. package/serialization/types/SlackBotAuthResponse.js +4 -0
  571. package/serialization/types/TurnConfig.d.ts +1 -0
  572. package/serialization/types/TurnConfig.js +1 -0
  573. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  574. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  575. package/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  576. package/serialization/types/UpdateAgentProcedureParams.js +41 -0
  577. package/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  578. package/serialization/types/UpdateBearerAuthRequest.js +42 -0
  579. package/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  580. package/serialization/types/UrlSecretAuthResponse.js +4 -0
  581. package/serialization/types/UuiTransferConfig.d.ts +12 -0
  582. package/serialization/types/UuiTransferConfig.js +44 -0
  583. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  584. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  585. package/serialization/types/WebhookEventType.d.ts +1 -1
  586. package/serialization/types/WebhookEventType.js +7 -1
  587. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  588. package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  589. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  590. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  591. package/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  592. package/serialization/types/WhatsAppAuthResponse.js +4 -0
  593. package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  594. package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  595. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  596. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  597. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  598. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  599. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  600. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  601. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  602. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  603. package/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  604. package/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  605. package/serialization/types/index.d.ts +22 -1
  606. package/serialization/types/index.js +22 -1
  607. package/version.d.ts +1 -1
  608. package/version.js +1 -1
  609. package/api/types/OAuthConnectionStatus.d.ts +0 -6
  610. package/api/types/OAuthConnectionStatus.js +0 -9
  611. package/dist/api/types/OAuthConnectionStatus.d.ts +0 -6
  612. package/dist/api/types/OAuthConnectionStatus.js +0 -9
  613. package/dist/serialization/types/OAuthConnectionStatus.d.ts +0 -7
  614. package/serialization/types/OAuthConnectionStatus.d.ts +0 -7
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { ConversationInitiationSource } from "./ConversationInitiationSource";
5
+ import { ConversationSentimentAnalysis } from "./ConversationSentimentAnalysis";
5
6
  import { ConversationSummaryResponseModelStatus } from "./ConversationSummaryResponseModelStatus";
6
7
  import { EvaluationSuccessResult } from "./EvaluationSuccessResult";
7
8
  import { TelephonyDirection } from "./TelephonyDirection";
@@ -19,6 +20,7 @@ export declare namespace ConversationSummaryResponseModel {
19
20
  status: ConversationSummaryResponseModelStatus.Raw;
20
21
  termination_reason?: string | null;
21
22
  call_successful: EvaluationSuccessResult.Raw;
23
+ call_success_score?: number | null;
22
24
  transcript_summary?: string | null;
23
25
  call_summary_title?: string | null;
24
26
  main_language?: string | null;
@@ -26,5 +28,6 @@ export declare namespace ConversationSummaryResponseModel {
26
28
  tool_names?: string[] | null;
27
29
  direction?: TelephonyDirection.Raw | null;
28
30
  rating?: number | null;
31
+ sentiment_analysis?: ConversationSentimentAnalysis.Raw | null;
29
32
  }
30
33
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ConversationSummaryResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
40
+ const ConversationSentimentAnalysis_1 = require("./ConversationSentimentAnalysis");
40
41
  const ConversationSummaryResponseModelStatus_1 = require("./ConversationSummaryResponseModelStatus");
41
42
  const EvaluationSuccessResult_1 = require("./EvaluationSuccessResult");
42
43
  const TelephonyDirection_1 = require("./TelephonyDirection");
@@ -52,6 +53,7 @@ exports.ConversationSummaryResponseModel = core.serialization.object({
52
53
  status: ConversationSummaryResponseModelStatus_1.ConversationSummaryResponseModelStatus,
53
54
  terminationReason: core.serialization.property("termination_reason", core.serialization.string().optional()),
54
55
  callSuccessful: core.serialization.property("call_successful", EvaluationSuccessResult_1.EvaluationSuccessResult),
56
+ callSuccessScore: core.serialization.property("call_success_score", core.serialization.number().optional()),
55
57
  transcriptSummary: core.serialization.property("transcript_summary", core.serialization.string().optional()),
56
58
  callSummaryTitle: core.serialization.property("call_summary_title", core.serialization.string().optional()),
57
59
  mainLanguage: core.serialization.property("main_language", core.serialization.string().optional()),
@@ -59,4 +61,5 @@ exports.ConversationSummaryResponseModel = core.serialization.object({
59
61
  toolNames: core.serialization.property("tool_names", core.serialization.list(core.serialization.string()).optional()),
60
62
  direction: TelephonyDirection_1.TelephonyDirection.optional(),
61
63
  rating: core.serialization.number().optional(),
64
+ sentimentAnalysis: core.serialization.property("sentiment_analysis", ConversationSentimentAnalysis_1.ConversationSentimentAnalysis.optional()),
62
65
  });
@@ -1,6 +1,8 @@
1
1
  import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { FrustratedConversationRef } from "./FrustratedConversationRef";
5
+ import { SentimentAggregate } from "./SentimentAggregate";
4
6
  export declare const ConversationUserResponseModel: core.serialization.ObjectSchema<serializers.ConversationUserResponseModel.Raw, ElevenLabs.ConversationUserResponseModel>;
5
7
  export declare namespace ConversationUserResponseModel {
6
8
  interface Raw {
@@ -11,5 +13,7 @@ export declare namespace ConversationUserResponseModel {
11
13
  last_contact_agent_id?: string | null;
12
14
  last_contact_conversation_id: string;
13
15
  last_contact_agent_name?: string | null;
16
+ sentiment: SentimentAggregate.Raw;
17
+ most_frustrated_conversations?: FrustratedConversationRef.Raw[] | null;
14
18
  }
15
19
  }
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ConversationUserResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const FrustratedConversationRef_1 = require("./FrustratedConversationRef");
40
+ const SentimentAggregate_1 = require("./SentimentAggregate");
39
41
  exports.ConversationUserResponseModel = core.serialization.object({
40
42
  userId: core.serialization.property("user_id", core.serialization.string()),
41
43
  lastContactUnixSecs: core.serialization.property("last_contact_unix_secs", core.serialization.number()),
@@ -44,4 +46,6 @@ exports.ConversationUserResponseModel = core.serialization.object({
44
46
  lastContactAgentId: core.serialization.property("last_contact_agent_id", core.serialization.string().optional()),
45
47
  lastContactConversationId: core.serialization.property("last_contact_conversation_id", core.serialization.string()),
46
48
  lastContactAgentName: core.serialization.property("last_contact_agent_name", core.serialization.string().optional()),
49
+ sentiment: SentimentAggregate_1.SentimentAggregate,
50
+ mostFrustratedConversations: core.serialization.property("most_frustrated_conversations", core.serialization.list(FrustratedConversationRef_1.FrustratedConversationRef).optional()),
47
51
  });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CreateAgentProcedureParams: core.serialization.ObjectSchema<serializers.CreateAgentProcedureParams.Raw, ElevenLabs.CreateAgentProcedureParams>;
5
+ export declare namespace CreateAgentProcedureParams {
6
+ interface Raw {
7
+ smb_tool_type?: "create_agent_procedure" | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateAgentProcedureParams = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.CreateAgentProcedureParams = core.serialization.object({
40
+ smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("create_agent_procedure").optional()),
41
+ });
@@ -9,6 +9,7 @@ export declare namespace CreateExotelPhoneNumberRequest {
9
9
  label: string;
10
10
  supports_inbound?: boolean | null;
11
11
  supports_outbound?: boolean | null;
12
+ agent_id?: string | null;
12
13
  account_sid: string;
13
14
  api_key: string;
14
15
  api_token: string;
@@ -42,6 +42,7 @@ exports.CreateExotelPhoneNumberRequest = core.serialization.object({
42
42
  label: core.serialization.string(),
43
43
  supportsInbound: core.serialization.property("supports_inbound", core.serialization.boolean().optional()),
44
44
  supportsOutbound: core.serialization.property("supports_outbound", core.serialization.boolean().optional()),
45
+ agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
45
46
  accountSid: core.serialization.property("account_sid", core.serialization.string()),
46
47
  apiKey: core.serialization.property("api_key", core.serialization.string()),
47
48
  apiToken: core.serialization.property("api_token", core.serialization.string()),
@@ -10,6 +10,7 @@ export declare namespace CreateSipTrunkPhoneNumberRequest {
10
10
  label: string;
11
11
  supports_inbound?: boolean | null;
12
12
  supports_outbound?: boolean | null;
13
+ agent_id?: string | null;
13
14
  inbound_trunk_config?: InboundSipTrunkConfigRequestModel.Raw | null;
14
15
  outbound_trunk_config?: OutboundSipTrunkConfigRequestModel.Raw | null;
15
16
  }
@@ -43,6 +43,7 @@ exports.CreateSipTrunkPhoneNumberRequest = core.serialization.object({
43
43
  label: core.serialization.string(),
44
44
  supportsInbound: core.serialization.property("supports_inbound", core.serialization.boolean().optional()),
45
45
  supportsOutbound: core.serialization.property("supports_outbound", core.serialization.boolean().optional()),
46
+ agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
46
47
  inboundTrunkConfig: core.serialization.property("inbound_trunk_config", InboundSipTrunkConfigRequestModel_1.InboundSipTrunkConfigRequestModel.optional()),
47
48
  outboundTrunkConfig: core.serialization.property("outbound_trunk_config", OutboundSipTrunkConfigRequestModel_1.OutboundSipTrunkConfigRequestModel.optional()),
48
49
  });
@@ -9,6 +9,7 @@ export declare namespace CreateTwilioPhoneNumberRequest {
9
9
  label: string;
10
10
  supports_inbound?: boolean | null;
11
11
  supports_outbound?: boolean | null;
12
+ agent_id?: string | null;
12
13
  sid: string;
13
14
  token: string;
14
15
  region_config?: RegionConfigRequest.Raw | null;
@@ -42,6 +42,7 @@ exports.CreateTwilioPhoneNumberRequest = core.serialization.object({
42
42
  label: core.serialization.string(),
43
43
  supportsInbound: core.serialization.property("supports_inbound", core.serialization.boolean().optional()),
44
44
  supportsOutbound: core.serialization.property("supports_outbound", core.serialization.boolean().optional()),
45
+ agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
45
46
  sid: core.serialization.string(),
46
47
  token: core.serialization.string(),
47
48
  regionConfig: core.serialization.property("region_config", RegionConfigRequest_1.RegionConfigRequest.optional()),
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CriteriaScoringMode: core.serialization.Schema<serializers.CriteriaScoringMode.Raw, ElevenLabs.CriteriaScoringMode>;
5
+ export declare namespace CriteriaScoringMode {
6
+ type Raw = "binary" | "numeric_uniform";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CriteriaScoringMode = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.CriteriaScoringMode = core.serialization.enum_(["binary", "numeric_uniform"]);
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { AuthConnectionDependencies } from "./AuthConnectionDependencies";
5
+ import { AuthConnectionStatus } from "./AuthConnectionStatus";
5
6
  export declare const CustomHeaderAuthResponse: core.serialization.ObjectSchema<serializers.CustomHeaderAuthResponse.Raw, ElevenLabs.CustomHeaderAuthResponse>;
6
7
  export declare namespace CustomHeaderAuthResponse {
7
8
  interface Raw {
@@ -10,5 +11,8 @@ export declare namespace CustomHeaderAuthResponse {
10
11
  header_name: string;
11
12
  id: string;
12
13
  used_by?: AuthConnectionDependencies.Raw | null;
14
+ status?: AuthConnectionStatus.Raw | null;
15
+ status_detail?: string | null;
16
+ status_updated_at?: string | null;
13
17
  }
14
18
  }
@@ -37,10 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CustomHeaderAuthResponse = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const AuthConnectionDependencies_1 = require("./AuthConnectionDependencies");
40
+ const AuthConnectionStatus_1 = require("./AuthConnectionStatus");
40
41
  exports.CustomHeaderAuthResponse = core.serialization.object({
41
42
  name: core.serialization.string(),
42
43
  provider: core.serialization.string(),
43
44
  headerName: core.serialization.property("header_name", core.serialization.string()),
44
45
  id: core.serialization.string(),
45
46
  usedBy: core.serialization.property("used_by", AuthConnectionDependencies_1.AuthConnectionDependencies.optional()),
47
+ status: AuthConnectionStatus_1.AuthConnectionStatus.optional(),
48
+ statusDetail: core.serialization.property("status_detail", core.serialization.string().optional()),
49
+ statusUpdatedAt: core.serialization.property("status_updated_at", core.serialization.string().optional()),
46
50
  });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const DeleteAgentProcedureParams: core.serialization.ObjectSchema<serializers.DeleteAgentProcedureParams.Raw, ElevenLabs.DeleteAgentProcedureParams>;
5
+ export declare namespace DeleteAgentProcedureParams {
6
+ interface Raw {
7
+ smb_tool_type?: "delete_agent_procedure" | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.DeleteAgentProcedureParams = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.DeleteAgentProcedureParams = core.serialization.object({
40
+ smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("delete_agent_procedure").optional()),
41
+ });
@@ -0,0 +1,15 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { FrustratedConversationRefOverallLabel } from "./FrustratedConversationRefOverallLabel";
5
+ export declare const FrustratedConversationRef: core.serialization.ObjectSchema<serializers.FrustratedConversationRef.Raw, ElevenLabs.FrustratedConversationRef>;
6
+ export declare namespace FrustratedConversationRef {
7
+ interface Raw {
8
+ conversation_id: string;
9
+ agent_id: string;
10
+ start_time_unix_secs: number;
11
+ overall_label: FrustratedConversationRefOverallLabel.Raw;
12
+ overall_sentiment_score: number;
13
+ overall_frustration_score: number;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.FrustratedConversationRef = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const FrustratedConversationRefOverallLabel_1 = require("./FrustratedConversationRefOverallLabel");
40
+ exports.FrustratedConversationRef = core.serialization.object({
41
+ conversationId: core.serialization.property("conversation_id", core.serialization.string()),
42
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
43
+ startTimeUnixSecs: core.serialization.property("start_time_unix_secs", core.serialization.number()),
44
+ overallLabel: core.serialization.property("overall_label", FrustratedConversationRefOverallLabel_1.FrustratedConversationRefOverallLabel),
45
+ overallSentimentScore: core.serialization.property("overall_sentiment_score", core.serialization.number()),
46
+ overallFrustrationScore: core.serialization.property("overall_frustration_score", core.serialization.number()),
47
+ });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const FrustratedConversationRefOverallLabel: core.serialization.Schema<serializers.FrustratedConversationRefOverallLabel.Raw, ElevenLabs.FrustratedConversationRefOverallLabel>;
5
+ export declare namespace FrustratedConversationRefOverallLabel {
6
+ type Raw = "positive" | "neutral" | "negative";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.FrustratedConversationRefOverallLabel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.FrustratedConversationRefOverallLabel = core.serialization.enum_(["positive", "neutral", "negative"]);
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ListAgentProceduresParams: core.serialization.ObjectSchema<serializers.ListAgentProceduresParams.Raw, ElevenLabs.ListAgentProceduresParams>;
5
+ export declare namespace ListAgentProceduresParams {
6
+ interface Raw {
7
+ smb_tool_type?: "list_agent_procedures" | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ListAgentProceduresParams = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ListAgentProceduresParams = core.serialization.object({
40
+ smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_agent_procedures").optional()),
41
+ });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ListAgentReferencesParams: core.serialization.ObjectSchema<serializers.ListAgentReferencesParams.Raw, ElevenLabs.ListAgentReferencesParams>;
5
+ export declare namespace ListAgentReferencesParams {
6
+ interface Raw {
7
+ smb_tool_type?: "list_agent_references" | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ListAgentReferencesParams = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ListAgentReferencesParams = core.serialization.object({
40
+ smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_agent_references").optional()),
41
+ });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const LiteralJsonSchemaPropertyType: core.serialization.Schema<serializers.LiteralJsonSchemaPropertyType.Raw, ElevenLabs.LiteralJsonSchemaPropertyType>;
5
5
  export declare namespace LiteralJsonSchemaPropertyType {
6
- type Raw = "boolean" | "string" | "integer" | "number";
6
+ type Raw = "boolean" | "string" | "integer" | "number" | string[];
7
7
  }
@@ -36,4 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.LiteralJsonSchemaPropertyType = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.LiteralJsonSchemaPropertyType = core.serialization.enum_(["boolean", "string", "integer", "number"]);
39
+ exports.LiteralJsonSchemaPropertyType = core.serialization.undiscriminatedUnion([
40
+ core.serialization.stringLiteral("boolean"),
41
+ core.serialization.stringLiteral("string"),
42
+ core.serialization.stringLiteral("integer"),
43
+ core.serialization.stringLiteral("number"),
44
+ core.serialization.list(core.serialization.string()),
45
+ ]);
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const LlmLiteralJsonSchemaPropertyType: core.serialization.Schema<serializers.LlmLiteralJsonSchemaPropertyType.Raw, ElevenLabs.LlmLiteralJsonSchemaPropertyType>;
5
5
  export declare namespace LlmLiteralJsonSchemaPropertyType {
6
- type Raw = "boolean" | "string" | "integer" | "number";
6
+ type Raw = "boolean" | "string" | "integer" | "number" | string[];
7
7
  }
@@ -36,4 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.LlmLiteralJsonSchemaPropertyType = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.LlmLiteralJsonSchemaPropertyType = core.serialization.enum_(["boolean", "string", "integer", "number"]);
39
+ exports.LlmLiteralJsonSchemaPropertyType = core.serialization.undiscriminatedUnion([
40
+ core.serialization.stringLiteral("boolean"),
41
+ core.serialization.stringLiteral("string"),
42
+ core.serialization.stringLiteral("integer"),
43
+ core.serialization.stringLiteral("number"),
44
+ core.serialization.list(core.serialization.string()),
45
+ ]);
@@ -0,0 +1,30 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AgentMetadataResponseModel } from "./AgentMetadataResponseModel";
5
+ import { AgentPlatformSettingsResponseModel } from "./AgentPlatformSettingsResponseModel";
6
+ import { AgentWorkflowResponseModel } from "./AgentWorkflowResponseModel";
7
+ import { ConversationalConfig } from "./ConversationalConfig";
8
+ import { GetWhatsAppAccountResponse } from "./GetWhatsAppAccountResponse";
9
+ import { MergePreviewResponseModelPhoneNumbersItem } from "./MergePreviewResponseModelPhoneNumbersItem";
10
+ import { ResourceAccessInfo } from "./ResourceAccessInfo";
11
+ export declare const MergePreviewResponseModel: core.serialization.ObjectSchema<serializers.MergePreviewResponseModel.Raw, ElevenLabs.MergePreviewResponseModel>;
12
+ export declare namespace MergePreviewResponseModel {
13
+ interface Raw {
14
+ agent_id: string;
15
+ name: string;
16
+ conversation_config: ConversationalConfig.Raw;
17
+ metadata: AgentMetadataResponseModel.Raw;
18
+ platform_settings?: AgentPlatformSettingsResponseModel.Raw | null;
19
+ phone_numbers?: MergePreviewResponseModelPhoneNumbersItem.Raw[] | null;
20
+ whatsapp_accounts?: GetWhatsAppAccountResponse.Raw[] | null;
21
+ workflow?: AgentWorkflowResponseModel.Raw | null;
22
+ access_info?: ResourceAccessInfo.Raw | null;
23
+ tags?: string[] | null;
24
+ version_id?: string | null;
25
+ branch_id?: string | null;
26
+ main_branch_id?: string | null;
27
+ overridden_fields?: string[] | null;
28
+ source_identical_to_target?: boolean | null;
29
+ }
30
+ }