@elevenlabs/elevenlabs-js 2.45.0 → 2.46.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 (993) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/BaseClient.js +2 -2
  3. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
  4. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
  5. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  6. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
  7. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
  8. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  9. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +30 -1
  10. package/api/resources/conversationalAi/resources/conversations/client/Client.js +104 -4
  11. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
  12. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +14 -1
  13. package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  14. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  15. package/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  16. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
  17. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
  18. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +6 -0
  19. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
  20. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
  21. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  22. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  23. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
  24. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
  25. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  26. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
  27. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js +3 -0
  28. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
  29. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
  30. package/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  32. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
  33. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
  34. package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  35. package/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  36. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
  37. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
  38. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
  39. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
  41. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
  42. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  43. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
  44. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
  45. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
  46. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
  47. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  48. package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
  50. package/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
  51. package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
  52. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
  53. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
  54. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
  55. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
  56. package/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
  57. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
  58. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
  59. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
  60. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  61. package/api/resources/voices/client/Client.d.ts +5 -2
  62. package/api/resources/voices/client/Client.js +5 -2
  63. package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
  64. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
  65. package/api/resources/workspace/client/Client.d.ts +3 -0
  66. package/api/resources/workspace/client/Client.js +17 -12
  67. package/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
  68. package/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
  69. package/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
  70. package/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
  71. package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
  72. package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
  73. package/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
  74. package/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
  75. package/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
  76. package/api/resources/workspace/resources/auditLogs/index.js +17 -0
  77. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  78. package/api/resources/workspace/resources/index.d.ts +2 -0
  79. package/api/resources/workspace/resources/index.js +3 -1
  80. package/api/types/AccountChangeActivityId.d.ts +6 -0
  81. package/api/types/AccountChangeActivityId.js +3 -0
  82. package/api/types/ActorModel.d.ts +16 -0
  83. package/api/types/ActorModel.js +3 -0
  84. package/api/types/ApiIntegrationDocResponse.d.ts +8 -0
  85. package/api/types/ApiIntegrationDocResponse.js +3 -0
  86. package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
  87. package/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
  88. package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
  89. package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
  90. package/api/types/AuthenticationActivityId.d.ts +6 -0
  91. package/api/types/AuthenticationActivityId.js +3 -0
  92. package/api/types/AuthorizationMethod.d.ts +1 -0
  93. package/api/types/AuthorizationMethod.js +1 -0
  94. package/api/types/BackgroundMusicConfig.d.ts +11 -0
  95. package/api/types/BackgroundMusicConfig.js +3 -0
  96. package/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
  97. package/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
  98. package/api/types/BackgroundMusicPresetId.d.ts +9 -0
  99. package/api/types/BackgroundMusicPresetId.js +12 -0
  100. package/api/types/BackgroundMusicSourceType.d.ts +4 -0
  101. package/api/types/BackgroundMusicSourceType.js +3 -0
  102. package/api/types/CancelCalendarEventParams.d.ts +3 -0
  103. package/api/types/CancelCalendarEventParams.js +3 -0
  104. package/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
  105. package/api/types/CancelGroupSessionForAllParams.js +3 -0
  106. package/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
  107. package/api/types/CancelGroupSessionRegistrationParams.js +3 -0
  108. package/api/types/ColumnUnit.d.ts +1 -0
  109. package/api/types/ColumnUnit.js +1 -0
  110. package/api/types/ContextualUpdateInfo.d.ts +6 -0
  111. package/api/types/ContextualUpdateInfo.js +3 -0
  112. package/api/types/ConvAiWebhooks.d.ts +2 -0
  113. package/api/types/ConversationAsrUsageModel.d.ts +8 -0
  114. package/api/types/ConversationAsrUsageModel.js +3 -0
  115. package/api/types/ConversationChargingCommonModel.d.ts +2 -0
  116. package/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
  117. package/api/types/ConversationConfigInput.js +3 -0
  118. package/api/types/ConversationConfigOutput.d.ts +17 -0
  119. package/api/types/ConversationConfigOutput.js +3 -0
  120. package/api/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
  121. package/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
  122. package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  123. package/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
  124. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  125. package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  126. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  127. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  128. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  129. package/api/types/ConversationInitiationSource.d.ts +1 -0
  130. package/api/types/ConversationInitiationSource.js +1 -0
  131. package/api/types/ConversationTagResponseModel.d.ts +8 -0
  132. package/api/types/ConversationTagResponseModel.js +3 -0
  133. package/api/types/ConversationTtsUsageModel.d.ts +10 -0
  134. package/api/types/ConversationTtsUsageModel.js +3 -0
  135. package/api/types/ConversationVoiceRewardModel.d.ts +4 -0
  136. package/api/types/ConversationVoiceRewardModel.js +3 -0
  137. package/api/types/ConversationVoiceUsageModel.d.ts +4 -0
  138. package/api/types/ConversationVoiceUsageModel.js +3 -0
  139. package/api/types/ConversationalConfig.d.ts +1 -1
  140. package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  141. package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  142. package/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
  143. package/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
  144. package/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
  145. package/api/types/CreateServiceParams.d.ts +1 -1
  146. package/api/types/CreateSimulationTestRequest.d.ts +4 -0
  147. package/api/types/Currency.d.ts +1 -0
  148. package/api/types/Currency.js +1 -0
  149. package/api/types/DeleteCalendarEventParams.d.ts +7 -0
  150. package/api/types/DeleteGroupSessionParams.d.ts +13 -0
  151. package/api/types/DeleteGroupSessionParams.js +3 -0
  152. package/api/types/DeviceModel.d.ts +13 -0
  153. package/api/types/DeviceModel.js +3 -0
  154. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  155. package/api/types/EntityManagementActivityId.d.ts +6 -0
  156. package/api/types/EntityManagementActivityId.js +3 -0
  157. package/api/types/GenerationSourceContext.d.ts +0 -2
  158. package/api/types/GetClientAppointmentsParams.d.ts +1 -0
  159. package/api/types/GetConversationResponseModel.d.ts +2 -0
  160. package/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
  161. package/api/types/GetConversationTagsPageResponseModel.js +3 -0
  162. package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  163. package/api/types/GetSimulationTestResponseModel.d.ts +4 -0
  164. package/api/types/GetSipLogMessagesResponse.d.ts +6 -0
  165. package/api/types/GetSipLogMessagesResponse.js +3 -0
  166. package/api/types/GroupManagementActivityId.d.ts +6 -0
  167. package/api/types/GroupManagementActivityId.js +3 -0
  168. package/api/types/HttpRequestModel.d.ts +16 -0
  169. package/api/types/HttpRequestModel.js +3 -0
  170. package/api/types/ImageAnalysis.d.ts +6 -0
  171. package/api/types/ImageAnalysis.js +3 -0
  172. package/api/types/ImageAnalysisResult.d.ts +11 -0
  173. package/api/types/ImageAnalysisResult.js +3 -0
  174. package/api/types/ImageAnalysisStatus.d.ts +6 -0
  175. package/api/types/ImageAnalysisStatus.js +9 -0
  176. package/api/types/ImageSubject.d.ts +4 -0
  177. package/api/types/ImageSubject.js +3 -0
  178. package/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
  179. package/api/types/KnowledgeBaseRagToolConfig.js +3 -0
  180. package/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
  181. package/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
  182. package/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
  183. package/api/types/KnowledgeBaseRagToolStatus.js +9 -0
  184. package/api/types/LeaveMessageParams.d.ts +3 -0
  185. package/api/types/LeaveMessageParams.js +3 -0
  186. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  187. package/api/types/ListCalendarEventsParams.d.ts +1 -0
  188. package/api/types/ListGroupSessionsParams.d.ts +10 -0
  189. package/api/types/ListGroupSessionsParams.js +3 -0
  190. package/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
  191. package/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
  192. package/api/types/Llm.d.ts +6 -0
  193. package/api/types/Llm.js +6 -0
  194. package/api/types/McpServerConfigInput.d.ts +1 -1
  195. package/api/types/McpServerConfigOutput.d.ts +1 -1
  196. package/api/types/OAuth2JwtResponse.d.ts +2 -0
  197. package/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
  198. package/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
  199. package/api/types/Price.d.ts +8 -0
  200. package/api/types/Price.js +3 -0
  201. package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  202. package/api/types/ProjectImageResponseModel.d.ts +6 -2
  203. package/api/types/ProjectVideoResponseModel.d.ts +2 -3
  204. package/api/types/RegisterForGroupSessionParams.d.ts +6 -0
  205. package/api/types/RegisterForGroupSessionParams.js +3 -0
  206. package/api/types/ResourceAccessInfo.d.ts +2 -0
  207. package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  208. package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
  209. package/api/types/ReviewResponseModel.d.ts +1 -0
  210. package/api/types/ScheduleGroupSessionParams.d.ts +11 -0
  211. package/api/types/ScheduleGroupSessionParams.js +3 -0
  212. package/api/types/SeverityId.d.ts +6 -0
  213. package/api/types/SeverityId.js +3 -0
  214. package/api/types/SimulationTestModel.d.ts +4 -0
  215. package/api/types/SipLogMessage.d.ts +12 -0
  216. package/api/types/SipLogMessage.js +3 -0
  217. package/api/types/SipLogMessageDirection.d.ts +5 -0
  218. package/api/types/SipLogMessageDirection.js +8 -0
  219. package/api/types/SmsConversationInfo.d.ts +7 -0
  220. package/api/types/SmsConversationInfo.js +3 -0
  221. package/api/types/SmsConversationInfoDirection.d.ts +5 -0
  222. package/api/types/SmsConversationInfoDirection.js +8 -0
  223. package/api/types/SpeechEngineConfig.d.ts +7 -0
  224. package/api/types/SpeechEngineConfig.js +3 -0
  225. package/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
  226. package/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
  227. package/api/types/StatusId.d.ts +6 -0
  228. package/api/types/StatusId.js +3 -0
  229. package/api/types/Subscription.d.ts +2 -0
  230. package/api/types/SubscriptionResponse.d.ts +2 -0
  231. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  232. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  233. package/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
  234. package/api/types/UpdateGroupSessionSeatsParams.js +3 -0
  235. package/api/types/UpdateSimulationTestRequest.d.ts +4 -0
  236. package/api/types/UrlModel.d.ts +19 -0
  237. package/api/types/UrlModel.js +3 -0
  238. package/api/types/UserAccessManagementActivityId.d.ts +6 -0
  239. package/api/types/UserAccessManagementActivityId.js +3 -0
  240. package/api/types/UserModel.d.ts +22 -0
  241. package/api/types/UserModel.js +3 -0
  242. package/api/types/UserTypeId.d.ts +6 -0
  243. package/api/types/UserTypeId.js +3 -0
  244. package/api/types/WebhookTranscriptFormat.d.ts +5 -0
  245. package/api/types/WebhookTranscriptFormat.js +8 -0
  246. package/api/types/WidgetConfigResponse.d.ts +2 -0
  247. package/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
  248. package/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
  249. package/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
  250. package/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
  251. package/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
  252. package/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
  253. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  254. package/api/types/WorkspaceResourceType.d.ts +1 -0
  255. package/api/types/WorkspaceResourceType.js +1 -0
  256. package/api/types/index.d.ts +63 -3
  257. package/api/types/index.js +63 -3
  258. package/dist/BaseClient.js +2 -2
  259. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
  260. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
  261. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  262. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
  263. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
  264. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
  265. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +30 -1
  266. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +104 -4
  267. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
  268. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js +3 -0
  269. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +14 -1
  270. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  271. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  272. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  273. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
  274. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
  275. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +6 -0
  276. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
  277. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
  278. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  279. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  280. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
  281. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +3 -0
  282. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
  283. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +3 -0
  284. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  285. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +3 -0
  286. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
  287. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js +3 -0
  288. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
  289. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
  290. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  291. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  292. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
  293. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
  294. package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  295. package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  296. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
  297. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
  298. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
  299. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
  300. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
  301. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
  302. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
  303. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
  304. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
  305. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
  306. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
  307. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  308. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
  309. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
  310. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
  311. package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
  312. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
  313. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
  314. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
  315. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
  316. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
  317. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
  318. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
  319. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
  320. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  321. package/dist/api/resources/voices/client/Client.d.ts +5 -2
  322. package/dist/api/resources/voices/client/Client.js +5 -2
  323. package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
  324. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
  325. package/dist/api/resources/workspace/client/Client.d.ts +3 -0
  326. package/dist/api/resources/workspace/client/Client.js +17 -12
  327. package/dist/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
  328. package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
  329. package/dist/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
  330. package/dist/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
  331. package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
  332. package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
  333. package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
  334. package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
  335. package/dist/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
  336. package/dist/api/resources/workspace/resources/auditLogs/index.js +17 -0
  337. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  338. package/dist/api/resources/workspace/resources/index.d.ts +2 -0
  339. package/dist/api/resources/workspace/resources/index.js +3 -1
  340. package/dist/api/types/AccountChangeActivityId.d.ts +6 -0
  341. package/dist/api/types/AccountChangeActivityId.js +3 -0
  342. package/dist/api/types/ActorModel.d.ts +16 -0
  343. package/dist/api/types/ActorModel.js +3 -0
  344. package/dist/api/types/ApiIntegrationDocResponse.d.ts +8 -0
  345. package/dist/api/types/ApiIntegrationDocResponse.js +3 -0
  346. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
  347. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
  348. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
  349. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
  350. package/dist/api/types/AuthenticationActivityId.d.ts +6 -0
  351. package/dist/api/types/AuthenticationActivityId.js +3 -0
  352. package/dist/api/types/AuthorizationMethod.d.ts +1 -0
  353. package/dist/api/types/AuthorizationMethod.js +1 -0
  354. package/dist/api/types/BackgroundMusicConfig.d.ts +11 -0
  355. package/dist/api/types/BackgroundMusicConfig.js +3 -0
  356. package/dist/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
  357. package/dist/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
  358. package/dist/api/types/BackgroundMusicPresetId.d.ts +9 -0
  359. package/dist/api/types/BackgroundMusicPresetId.js +12 -0
  360. package/dist/api/types/BackgroundMusicSourceType.d.ts +4 -0
  361. package/dist/api/types/BackgroundMusicSourceType.js +3 -0
  362. package/dist/api/types/CancelCalendarEventParams.d.ts +3 -0
  363. package/dist/api/types/CancelCalendarEventParams.js +3 -0
  364. package/dist/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
  365. package/dist/api/types/CancelGroupSessionForAllParams.js +3 -0
  366. package/dist/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
  367. package/dist/api/types/CancelGroupSessionRegistrationParams.js +3 -0
  368. package/dist/api/types/ColumnUnit.d.ts +1 -0
  369. package/dist/api/types/ColumnUnit.js +1 -0
  370. package/dist/api/types/ContextualUpdateInfo.d.ts +6 -0
  371. package/dist/api/types/ContextualUpdateInfo.js +3 -0
  372. package/dist/api/types/ConvAiWebhooks.d.ts +2 -0
  373. package/dist/api/types/ConversationAsrUsageModel.d.ts +8 -0
  374. package/dist/api/types/ConversationAsrUsageModel.js +3 -0
  375. package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
  376. package/dist/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
  377. package/dist/api/types/ConversationConfigInput.js +3 -0
  378. package/dist/api/types/ConversationConfigOutput.d.ts +17 -0
  379. package/dist/api/types/ConversationConfigOutput.js +3 -0
  380. package/dist/api/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
  381. package/dist/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
  382. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  383. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
  384. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
  385. package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  386. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  387. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  388. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  389. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  390. package/dist/api/types/ConversationInitiationSource.js +1 -0
  391. package/dist/api/types/ConversationTagResponseModel.d.ts +8 -0
  392. package/dist/api/types/ConversationTagResponseModel.js +3 -0
  393. package/dist/api/types/ConversationTtsUsageModel.d.ts +10 -0
  394. package/dist/api/types/ConversationTtsUsageModel.js +3 -0
  395. package/dist/api/types/ConversationVoiceRewardModel.d.ts +4 -0
  396. package/dist/api/types/ConversationVoiceRewardModel.js +3 -0
  397. package/dist/api/types/ConversationVoiceUsageModel.d.ts +4 -0
  398. package/dist/api/types/ConversationVoiceUsageModel.js +3 -0
  399. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  400. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  401. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  402. package/dist/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
  403. package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
  404. package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
  405. package/dist/api/types/CreateServiceParams.d.ts +1 -1
  406. package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -0
  407. package/dist/api/types/Currency.d.ts +1 -0
  408. package/dist/api/types/Currency.js +1 -0
  409. package/dist/api/types/DeleteCalendarEventParams.d.ts +7 -0
  410. package/dist/api/types/DeleteGroupSessionParams.d.ts +13 -0
  411. package/dist/api/types/DeleteGroupSessionParams.js +3 -0
  412. package/dist/api/types/DeviceModel.d.ts +13 -0
  413. package/dist/api/types/DeviceModel.js +3 -0
  414. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  415. package/dist/api/types/EntityManagementActivityId.d.ts +6 -0
  416. package/dist/api/types/EntityManagementActivityId.js +3 -0
  417. package/dist/api/types/GenerationSourceContext.d.ts +0 -2
  418. package/dist/api/types/GetClientAppointmentsParams.d.ts +1 -0
  419. package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
  420. package/dist/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
  421. package/dist/api/types/GetConversationTagsPageResponseModel.js +3 -0
  422. package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
  423. package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -0
  424. package/dist/api/types/GetSipLogMessagesResponse.d.ts +6 -0
  425. package/dist/api/types/GetSipLogMessagesResponse.js +3 -0
  426. package/dist/api/types/GroupManagementActivityId.d.ts +6 -0
  427. package/dist/api/types/GroupManagementActivityId.js +3 -0
  428. package/dist/api/types/HttpRequestModel.d.ts +16 -0
  429. package/dist/api/types/HttpRequestModel.js +3 -0
  430. package/dist/api/types/ImageAnalysis.d.ts +6 -0
  431. package/dist/api/types/ImageAnalysis.js +3 -0
  432. package/dist/api/types/ImageAnalysisResult.d.ts +11 -0
  433. package/dist/api/types/ImageAnalysisResult.js +3 -0
  434. package/dist/api/types/ImageAnalysisStatus.d.ts +6 -0
  435. package/dist/api/types/ImageAnalysisStatus.js +9 -0
  436. package/dist/api/types/ImageSubject.d.ts +4 -0
  437. package/dist/api/types/ImageSubject.js +3 -0
  438. package/dist/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
  439. package/dist/api/types/KnowledgeBaseRagToolConfig.js +3 -0
  440. package/dist/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
  441. package/dist/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
  442. package/dist/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
  443. package/dist/api/types/KnowledgeBaseRagToolStatus.js +9 -0
  444. package/dist/api/types/LeaveMessageParams.d.ts +3 -0
  445. package/dist/api/types/LeaveMessageParams.js +3 -0
  446. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  447. package/dist/api/types/ListCalendarEventsParams.d.ts +1 -0
  448. package/dist/api/types/ListGroupSessionsParams.d.ts +10 -0
  449. package/dist/api/types/ListGroupSessionsParams.js +3 -0
  450. package/dist/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
  451. package/dist/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
  452. package/dist/api/types/Llm.d.ts +6 -0
  453. package/dist/api/types/Llm.js +6 -0
  454. package/dist/api/types/McpServerConfigInput.d.ts +1 -1
  455. package/dist/api/types/McpServerConfigOutput.d.ts +1 -1
  456. package/dist/api/types/OAuth2JwtResponse.d.ts +2 -0
  457. package/dist/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
  458. package/dist/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
  459. package/dist/api/types/Price.d.ts +8 -0
  460. package/dist/api/types/Price.js +3 -0
  461. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  462. package/dist/api/types/ProjectImageResponseModel.d.ts +6 -2
  463. package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -3
  464. package/dist/api/types/RegisterForGroupSessionParams.d.ts +6 -0
  465. package/dist/api/types/RegisterForGroupSessionParams.js +3 -0
  466. package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
  467. package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  468. package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
  469. package/dist/api/types/ReviewResponseModel.d.ts +1 -0
  470. package/dist/api/types/ScheduleGroupSessionParams.d.ts +11 -0
  471. package/dist/api/types/ScheduleGroupSessionParams.js +3 -0
  472. package/dist/api/types/SeverityId.d.ts +6 -0
  473. package/dist/api/types/SeverityId.js +3 -0
  474. package/dist/api/types/SimulationTestModel.d.ts +4 -0
  475. package/dist/api/types/SipLogMessage.d.ts +12 -0
  476. package/dist/api/types/SipLogMessage.js +3 -0
  477. package/dist/api/types/SipLogMessageDirection.d.ts +5 -0
  478. package/dist/api/types/SipLogMessageDirection.js +8 -0
  479. package/dist/api/types/SmsConversationInfo.d.ts +7 -0
  480. package/dist/api/types/SmsConversationInfo.js +3 -0
  481. package/dist/api/types/SmsConversationInfoDirection.d.ts +5 -0
  482. package/dist/api/types/SmsConversationInfoDirection.js +8 -0
  483. package/dist/api/types/SpeechEngineConfig.d.ts +7 -0
  484. package/dist/api/types/SpeechEngineConfig.js +3 -0
  485. package/dist/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
  486. package/dist/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
  487. package/dist/api/types/StatusId.d.ts +6 -0
  488. package/dist/api/types/StatusId.js +3 -0
  489. package/dist/api/types/Subscription.d.ts +2 -0
  490. package/dist/api/types/SubscriptionResponse.d.ts +2 -0
  491. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  492. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  493. package/dist/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
  494. package/dist/api/types/UpdateGroupSessionSeatsParams.js +3 -0
  495. package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -0
  496. package/dist/api/types/UrlModel.d.ts +19 -0
  497. package/dist/api/types/UrlModel.js +3 -0
  498. package/dist/api/types/UserAccessManagementActivityId.d.ts +6 -0
  499. package/dist/api/types/UserAccessManagementActivityId.js +3 -0
  500. package/dist/api/types/UserModel.d.ts +22 -0
  501. package/dist/api/types/UserModel.js +3 -0
  502. package/dist/api/types/UserTypeId.d.ts +6 -0
  503. package/dist/api/types/UserTypeId.js +3 -0
  504. package/dist/api/types/WebhookTranscriptFormat.d.ts +5 -0
  505. package/dist/api/types/WebhookTranscriptFormat.js +8 -0
  506. package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
  507. package/dist/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
  508. package/dist/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
  509. package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
  510. package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
  511. package/dist/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
  512. package/dist/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
  513. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  514. package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
  515. package/dist/api/types/WorkspaceResourceType.js +1 -0
  516. package/dist/api/types/index.d.ts +63 -3
  517. package/dist/api/types/index.js +63 -3
  518. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  519. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  520. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  521. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  522. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
  523. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
  524. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
  525. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
  526. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  527. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
  528. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
  529. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
  530. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  531. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  532. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
  533. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
  534. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  535. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  536. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  537. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  538. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  539. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  540. package/dist/serialization/types/AccountChangeActivityId.d.ts +7 -0
  541. package/{serialization/types/DubbingModel.js → dist/serialization/types/AccountChangeActivityId.js} +2 -2
  542. package/dist/serialization/types/ActorModel.d.ts +13 -0
  543. package/dist/serialization/types/ActorModel.js +45 -0
  544. package/dist/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
  545. package/dist/serialization/types/ApiIntegrationDocResponse.js +43 -0
  546. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
  547. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
  548. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
  549. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
  550. package/dist/serialization/types/AuthenticationActivityId.d.ts +7 -0
  551. package/dist/serialization/types/{DubbingModel.js → AuthenticationActivityId.js} +2 -2
  552. package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
  553. package/dist/serialization/types/AuthorizationMethod.js +1 -0
  554. package/dist/serialization/types/BackgroundMusicConfig.d.ts +14 -0
  555. package/dist/serialization/types/BackgroundMusicConfig.js +46 -0
  556. package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
  557. package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
  558. package/dist/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
  559. package/dist/serialization/types/BackgroundMusicPresetId.js +39 -0
  560. package/dist/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
  561. package/dist/serialization/types/BackgroundMusicSourceType.js +39 -0
  562. package/dist/serialization/types/CancelCalendarEventParams.d.ts +9 -0
  563. package/dist/serialization/types/CancelCalendarEventParams.js +41 -0
  564. package/dist/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
  565. package/dist/serialization/types/CancelGroupSessionForAllParams.js +41 -0
  566. package/dist/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
  567. package/dist/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
  568. package/dist/serialization/types/ColumnUnit.d.ts +1 -1
  569. package/dist/serialization/types/ColumnUnit.js +1 -1
  570. package/dist/serialization/types/ContextualUpdateInfo.d.ts +10 -0
  571. package/dist/serialization/types/ContextualUpdateInfo.js +42 -0
  572. package/dist/serialization/types/ConvAiWebhooks.d.ts +2 -0
  573. package/dist/serialization/types/ConvAiWebhooks.js +2 -0
  574. package/dist/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
  575. package/dist/serialization/types/ConversationAsrUsageModel.js +43 -0
  576. package/dist/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
  577. package/dist/serialization/types/ConversationChargingCommonModel.js +4 -0
  578. package/{serialization/types/ConversationConfig.d.ts → dist/serialization/types/ConversationConfigInput.d.ts} +2 -2
  579. package/dist/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
  580. package/dist/serialization/types/ConversationConfigOutput.d.ts +17 -0
  581. package/dist/serialization/types/ConversationConfigOutput.js +49 -0
  582. package/{serialization/types/ConversationConfigWorkflowOverride.d.ts → dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
  583. package/dist/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
  584. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  585. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
  586. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
  587. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
  588. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  589. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
  590. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  591. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
  592. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  593. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  594. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  595. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  596. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  597. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  598. package/dist/serialization/types/ConversationTagResponseModel.d.ts +14 -0
  599. package/dist/serialization/types/ConversationTagResponseModel.js +46 -0
  600. package/dist/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
  601. package/dist/serialization/types/ConversationTtsUsageModel.js +45 -0
  602. package/dist/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
  603. package/dist/serialization/types/ConversationVoiceRewardModel.js +42 -0
  604. package/dist/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
  605. package/dist/serialization/types/ConversationVoiceUsageModel.js +42 -0
  606. package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
  607. package/dist/serialization/types/ConversationalConfig.js +2 -2
  608. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
  609. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
  610. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
  611. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
  612. package/dist/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
  613. package/dist/serialization/types/CreateOAuth2JwtRequest.js +2 -0
  614. package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  615. package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
  616. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
  617. package/dist/serialization/types/CreateSimulationTestRequest.js +3 -0
  618. package/dist/serialization/types/Currency.d.ts +1 -1
  619. package/dist/serialization/types/Currency.js +1 -1
  620. package/dist/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
  621. package/dist/serialization/types/DeleteGroupSessionParams.js +41 -0
  622. package/dist/serialization/types/DeviceModel.d.ts +11 -0
  623. package/dist/serialization/types/DeviceModel.js +43 -0
  624. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  625. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  626. package/dist/serialization/types/EntityManagementActivityId.d.ts +7 -0
  627. package/dist/serialization/types/EntityManagementActivityId.js +39 -0
  628. package/dist/serialization/types/GenerationSourceContext.d.ts +0 -1
  629. package/dist/serialization/types/GenerationSourceContext.js +0 -1
  630. package/dist/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
  631. package/dist/serialization/types/GetClientAppointmentsParams.js +1 -0
  632. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  633. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  634. package/dist/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
  635. package/dist/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
  636. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
  637. package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
  638. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
  639. package/dist/serialization/types/GetSimulationTestResponseModel.js +3 -0
  640. package/dist/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
  641. package/dist/serialization/types/GetSipLogMessagesResponse.js +44 -0
  642. package/dist/serialization/types/GroupManagementActivityId.d.ts +7 -0
  643. package/dist/serialization/types/GroupManagementActivityId.js +39 -0
  644. package/dist/serialization/types/HttpRequestModel.d.ts +13 -0
  645. package/dist/serialization/types/HttpRequestModel.js +45 -0
  646. package/dist/serialization/types/ImageAnalysis.d.ts +13 -0
  647. package/dist/serialization/types/ImageAnalysis.js +45 -0
  648. package/dist/serialization/types/ImageAnalysisResult.d.ts +16 -0
  649. package/dist/serialization/types/ImageAnalysisResult.js +48 -0
  650. package/dist/serialization/types/ImageAnalysisStatus.d.ts +7 -0
  651. package/dist/serialization/types/ImageAnalysisStatus.js +39 -0
  652. package/dist/serialization/types/ImageSubject.d.ts +10 -0
  653. package/dist/serialization/types/ImageSubject.js +42 -0
  654. package/dist/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
  655. package/dist/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
  656. package/dist/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
  657. package/dist/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
  658. package/dist/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
  659. package/dist/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
  660. package/dist/serialization/types/LeaveMessageParams.d.ts +9 -0
  661. package/dist/serialization/types/LeaveMessageParams.js +41 -0
  662. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  663. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  664. package/dist/serialization/types/ListCalendarEventsParams.d.ts +1 -0
  665. package/dist/serialization/types/ListCalendarEventsParams.js +1 -0
  666. package/dist/serialization/types/ListGroupSessionsParams.d.ts +9 -0
  667. package/dist/serialization/types/ListGroupSessionsParams.js +41 -0
  668. package/dist/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
  669. package/dist/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
  670. package/dist/serialization/types/Llm.d.ts +1 -1
  671. package/dist/serialization/types/Llm.js +6 -0
  672. package/dist/serialization/types/OAuth2JwtResponse.d.ts +2 -0
  673. package/dist/serialization/types/OAuth2JwtResponse.js +2 -0
  674. package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
  675. package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
  676. package/dist/serialization/types/Price.d.ts +11 -0
  677. package/dist/serialization/types/Price.js +43 -0
  678. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  679. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
  680. package/dist/serialization/types/ProjectImageResponseModel.d.ts +8 -2
  681. package/dist/serialization/types/ProjectImageResponseModel.js +8 -2
  682. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
  683. package/dist/serialization/types/ProjectVideoResponseModel.js +2 -3
  684. package/dist/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
  685. package/dist/serialization/types/RegisterForGroupSessionParams.js +41 -0
  686. package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
  687. package/dist/serialization/types/ResourceAccessInfo.js +2 -0
  688. package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  689. package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
  690. package/dist/serialization/types/ReviewResponseModel.d.ts +1 -0
  691. package/dist/serialization/types/ReviewResponseModel.js +1 -0
  692. package/dist/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
  693. package/dist/serialization/types/ScheduleGroupSessionParams.js +41 -0
  694. package/dist/serialization/types/SeverityId.d.ts +7 -0
  695. package/dist/serialization/types/SeverityId.js +39 -0
  696. package/dist/serialization/types/SimulationTestModel.d.ts +3 -0
  697. package/dist/serialization/types/SimulationTestModel.js +3 -0
  698. package/dist/serialization/types/SipLogMessage.d.ts +18 -0
  699. package/dist/serialization/types/SipLogMessage.js +50 -0
  700. package/dist/serialization/types/SipLogMessageDirection.d.ts +7 -0
  701. package/dist/serialization/types/SipLogMessageDirection.js +39 -0
  702. package/dist/serialization/types/SmsConversationInfo.d.ts +13 -0
  703. package/dist/serialization/types/SmsConversationInfo.js +45 -0
  704. package/dist/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
  705. package/dist/serialization/types/SmsConversationInfoDirection.js +39 -0
  706. package/dist/serialization/types/SpeechEngineConfig.d.ts +11 -0
  707. package/dist/serialization/types/SpeechEngineConfig.js +43 -0
  708. package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
  709. package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
  710. package/dist/serialization/types/StatusId.d.ts +7 -0
  711. package/dist/serialization/types/StatusId.js +39 -0
  712. package/dist/serialization/types/Subscription.d.ts +2 -0
  713. package/dist/serialization/types/Subscription.js +2 -0
  714. package/dist/serialization/types/SubscriptionResponse.d.ts +2 -0
  715. package/dist/serialization/types/SubscriptionResponse.js +2 -0
  716. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  717. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  718. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  719. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  720. package/dist/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
  721. package/dist/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
  722. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
  723. package/dist/serialization/types/UpdateSimulationTestRequest.js +3 -0
  724. package/dist/serialization/types/UrlModel.d.ts +14 -0
  725. package/dist/serialization/types/UrlModel.js +46 -0
  726. package/dist/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
  727. package/dist/serialization/types/UserAccessManagementActivityId.js +39 -0
  728. package/dist/serialization/types/UserModel.d.ts +16 -0
  729. package/dist/serialization/types/UserModel.js +48 -0
  730. package/dist/serialization/types/UserTypeId.d.ts +7 -0
  731. package/dist/serialization/types/UserTypeId.js +39 -0
  732. package/dist/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
  733. package/dist/serialization/types/WebhookTranscriptFormat.js +39 -0
  734. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  735. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  736. package/dist/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
  737. package/dist/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
  738. package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
  739. package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
  740. package/dist/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
  741. package/dist/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
  742. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  743. package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  744. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  745. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  746. package/dist/serialization/types/index.d.ts +63 -3
  747. package/dist/serialization/types/index.js +63 -3
  748. package/dist/version.d.ts +1 -1
  749. package/dist/version.js +1 -1
  750. package/package.json +1 -1
  751. package/reference.md +812 -92
  752. package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  753. package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  754. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
  755. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
  756. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
  757. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
  758. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
  759. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
  760. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
  761. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
  762. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
  763. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
  764. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
  765. package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
  766. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
  767. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
  768. package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  769. package/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  770. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
  771. package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
  772. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  773. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  774. package/serialization/types/AccountChangeActivityId.d.ts +7 -0
  775. package/serialization/types/AccountChangeActivityId.js +39 -0
  776. package/serialization/types/ActorModel.d.ts +13 -0
  777. package/serialization/types/ActorModel.js +45 -0
  778. package/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
  779. package/serialization/types/ApiIntegrationDocResponse.js +43 -0
  780. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
  781. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
  782. package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
  783. package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
  784. package/serialization/types/AuthenticationActivityId.d.ts +7 -0
  785. package/serialization/types/AuthenticationActivityId.js +39 -0
  786. package/serialization/types/AuthorizationMethod.d.ts +1 -1
  787. package/serialization/types/AuthorizationMethod.js +1 -0
  788. package/serialization/types/BackgroundMusicConfig.d.ts +14 -0
  789. package/serialization/types/BackgroundMusicConfig.js +46 -0
  790. package/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
  791. package/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
  792. package/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
  793. package/serialization/types/BackgroundMusicPresetId.js +39 -0
  794. package/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
  795. package/serialization/types/BackgroundMusicSourceType.js +39 -0
  796. package/serialization/types/CancelCalendarEventParams.d.ts +9 -0
  797. package/serialization/types/CancelCalendarEventParams.js +41 -0
  798. package/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
  799. package/serialization/types/CancelGroupSessionForAllParams.js +41 -0
  800. package/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
  801. package/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
  802. package/serialization/types/ColumnUnit.d.ts +1 -1
  803. package/serialization/types/ColumnUnit.js +1 -1
  804. package/serialization/types/ContextualUpdateInfo.d.ts +10 -0
  805. package/serialization/types/ContextualUpdateInfo.js +42 -0
  806. package/serialization/types/ConvAiWebhooks.d.ts +2 -0
  807. package/serialization/types/ConvAiWebhooks.js +2 -0
  808. package/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
  809. package/serialization/types/ConversationAsrUsageModel.js +43 -0
  810. package/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
  811. package/serialization/types/ConversationChargingCommonModel.js +4 -0
  812. package/{dist/serialization/types/ConversationConfig.d.ts → serialization/types/ConversationConfigInput.d.ts} +2 -2
  813. package/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
  814. package/serialization/types/ConversationConfigOutput.d.ts +17 -0
  815. package/serialization/types/ConversationConfigOutput.js +49 -0
  816. package/{dist/serialization/types/ConversationConfigWorkflowOverride.d.ts → serialization/types/ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
  817. package/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
  818. package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
  819. package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
  820. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
  821. package/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
  822. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
  823. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
  824. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  825. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
  826. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  827. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  828. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  829. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  830. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  831. package/serialization/types/ConversationInitiationSource.js +1 -0
  832. package/serialization/types/ConversationTagResponseModel.d.ts +14 -0
  833. package/serialization/types/ConversationTagResponseModel.js +46 -0
  834. package/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
  835. package/serialization/types/ConversationTtsUsageModel.js +45 -0
  836. package/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
  837. package/serialization/types/ConversationVoiceRewardModel.js +42 -0
  838. package/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
  839. package/serialization/types/ConversationVoiceUsageModel.js +42 -0
  840. package/serialization/types/ConversationalConfig.d.ts +2 -2
  841. package/serialization/types/ConversationalConfig.js +2 -2
  842. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
  843. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
  844. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
  845. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
  846. package/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
  847. package/serialization/types/CreateOAuth2JwtRequest.js +2 -0
  848. package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  849. package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
  850. package/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
  851. package/serialization/types/CreateSimulationTestRequest.js +3 -0
  852. package/serialization/types/Currency.d.ts +1 -1
  853. package/serialization/types/Currency.js +1 -1
  854. package/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
  855. package/serialization/types/DeleteGroupSessionParams.js +41 -0
  856. package/serialization/types/DeviceModel.d.ts +11 -0
  857. package/serialization/types/DeviceModel.js +43 -0
  858. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  859. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  860. package/serialization/types/EntityManagementActivityId.d.ts +7 -0
  861. package/serialization/types/EntityManagementActivityId.js +39 -0
  862. package/serialization/types/GenerationSourceContext.d.ts +0 -1
  863. package/serialization/types/GenerationSourceContext.js +0 -1
  864. package/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
  865. package/serialization/types/GetClientAppointmentsParams.js +1 -0
  866. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  867. package/serialization/types/GetConversationResponseModel.js +1 -0
  868. package/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
  869. package/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
  870. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
  871. package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
  872. package/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
  873. package/serialization/types/GetSimulationTestResponseModel.js +3 -0
  874. package/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
  875. package/serialization/types/GetSipLogMessagesResponse.js +44 -0
  876. package/serialization/types/GroupManagementActivityId.d.ts +7 -0
  877. package/serialization/types/GroupManagementActivityId.js +39 -0
  878. package/serialization/types/HttpRequestModel.d.ts +13 -0
  879. package/serialization/types/HttpRequestModel.js +45 -0
  880. package/serialization/types/ImageAnalysis.d.ts +13 -0
  881. package/serialization/types/ImageAnalysis.js +45 -0
  882. package/serialization/types/ImageAnalysisResult.d.ts +16 -0
  883. package/serialization/types/ImageAnalysisResult.js +48 -0
  884. package/serialization/types/ImageAnalysisStatus.d.ts +7 -0
  885. package/serialization/types/ImageAnalysisStatus.js +39 -0
  886. package/serialization/types/ImageSubject.d.ts +10 -0
  887. package/serialization/types/ImageSubject.js +42 -0
  888. package/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
  889. package/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
  890. package/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
  891. package/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
  892. package/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
  893. package/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
  894. package/serialization/types/LeaveMessageParams.d.ts +9 -0
  895. package/serialization/types/LeaveMessageParams.js +41 -0
  896. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  897. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  898. package/serialization/types/ListCalendarEventsParams.d.ts +1 -0
  899. package/serialization/types/ListCalendarEventsParams.js +1 -0
  900. package/serialization/types/ListGroupSessionsParams.d.ts +9 -0
  901. package/serialization/types/ListGroupSessionsParams.js +41 -0
  902. package/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
  903. package/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
  904. package/serialization/types/Llm.d.ts +1 -1
  905. package/serialization/types/Llm.js +6 -0
  906. package/serialization/types/OAuth2JwtResponse.d.ts +2 -0
  907. package/serialization/types/OAuth2JwtResponse.js +2 -0
  908. package/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
  909. package/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
  910. package/serialization/types/Price.d.ts +11 -0
  911. package/serialization/types/Price.js +43 -0
  912. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
  913. package/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
  914. package/serialization/types/ProjectImageResponseModel.d.ts +8 -2
  915. package/serialization/types/ProjectImageResponseModel.js +8 -2
  916. package/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
  917. package/serialization/types/ProjectVideoResponseModel.js +2 -3
  918. package/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
  919. package/serialization/types/RegisterForGroupSessionParams.js +41 -0
  920. package/serialization/types/ResourceAccessInfo.d.ts +2 -0
  921. package/serialization/types/ResourceAccessInfo.js +2 -0
  922. package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
  923. package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
  924. package/serialization/types/ReviewResponseModel.d.ts +1 -0
  925. package/serialization/types/ReviewResponseModel.js +1 -0
  926. package/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
  927. package/serialization/types/ScheduleGroupSessionParams.js +41 -0
  928. package/serialization/types/SeverityId.d.ts +7 -0
  929. package/serialization/types/SeverityId.js +39 -0
  930. package/serialization/types/SimulationTestModel.d.ts +3 -0
  931. package/serialization/types/SimulationTestModel.js +3 -0
  932. package/serialization/types/SipLogMessage.d.ts +18 -0
  933. package/serialization/types/SipLogMessage.js +50 -0
  934. package/serialization/types/SipLogMessageDirection.d.ts +7 -0
  935. package/serialization/types/SipLogMessageDirection.js +39 -0
  936. package/serialization/types/SmsConversationInfo.d.ts +13 -0
  937. package/serialization/types/SmsConversationInfo.js +45 -0
  938. package/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
  939. package/serialization/types/SmsConversationInfoDirection.js +39 -0
  940. package/serialization/types/SpeechEngineConfig.d.ts +11 -0
  941. package/serialization/types/SpeechEngineConfig.js +43 -0
  942. package/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
  943. package/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
  944. package/serialization/types/StatusId.d.ts +7 -0
  945. package/serialization/types/StatusId.js +39 -0
  946. package/serialization/types/Subscription.d.ts +2 -0
  947. package/serialization/types/Subscription.js +2 -0
  948. package/serialization/types/SubscriptionResponse.d.ts +2 -0
  949. package/serialization/types/SubscriptionResponse.js +2 -0
  950. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  951. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  952. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  953. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  954. package/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
  955. package/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
  956. package/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
  957. package/serialization/types/UpdateSimulationTestRequest.js +3 -0
  958. package/serialization/types/UrlModel.d.ts +14 -0
  959. package/serialization/types/UrlModel.js +46 -0
  960. package/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
  961. package/serialization/types/UserAccessManagementActivityId.js +39 -0
  962. package/serialization/types/UserModel.d.ts +16 -0
  963. package/serialization/types/UserModel.js +48 -0
  964. package/serialization/types/UserTypeId.d.ts +7 -0
  965. package/serialization/types/UserTypeId.js +39 -0
  966. package/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
  967. package/serialization/types/WebhookTranscriptFormat.js +39 -0
  968. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  969. package/serialization/types/WidgetConfigResponse.js +2 -0
  970. package/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
  971. package/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
  972. package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
  973. package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
  974. package/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
  975. package/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
  976. package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  977. package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  978. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  979. package/serialization/types/WorkspaceResourceType.js +1 -0
  980. package/serialization/types/index.d.ts +63 -3
  981. package/serialization/types/index.js +63 -3
  982. package/version.d.ts +1 -1
  983. package/version.js +1 -1
  984. package/api/types/DubbingModel.d.ts +0 -7
  985. package/api/types/DubbingModel.js +0 -10
  986. package/dist/api/types/DubbingModel.d.ts +0 -7
  987. package/dist/api/types/DubbingModel.js +0 -10
  988. package/dist/serialization/types/DubbingModel.d.ts +0 -7
  989. package/serialization/types/DubbingModel.d.ts +0 -7
  990. /package/api/{types/ConversationConfig.js → resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js} +0 -0
  991. /package/api/{types/ConversationConfigWorkflowOverride.js → resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js} +0 -0
  992. /package/{dist/api/types/ConversationConfig.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js} +0 -0
  993. /package/{dist/api/types/ConversationConfigWorkflowOverride.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js} +0 -0
@@ -0,0 +1,454 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.TagsClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const headers_1 = require("../../../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
55
+ class TagsClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Assign one or more conversation tags to a conversation. Tags that are already assigned are ignored. Tags must belong to the same workspace.
61
+ *
62
+ * @param {string} conversation_id
63
+ * @param {ElevenLabs.conversationalAi.conversations.AssignConversationTagsRequestModel} request
64
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * await client.conversationalAi.conversations.tags.assign("conversation_id", {
70
+ * tagIds: ["tag_ids"]
71
+ * })
72
+ */
73
+ assign(conversation_id, request, requestOptions) {
74
+ return core.HttpResponsePromise.fromPromise(this.__assign(conversation_id, request, requestOptions));
75
+ }
76
+ __assign(conversation_id, request, requestOptions) {
77
+ return __awaiter(this, void 0, void 0, function* () {
78
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
79
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
80
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
81
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/tags`),
82
+ method: "POST",
83
+ headers: _headers,
84
+ contentType: "application/json",
85
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
86
+ requestType: "json",
87
+ body: serializers.conversationalAi.conversations.AssignConversationTagsRequestModel.jsonOrThrow(request, {
88
+ unrecognizedObjectKeys: "strip",
89
+ }),
90
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
91
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
92
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
93
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
94
+ logging: this._options.logging,
95
+ });
96
+ if (_response.ok) {
97
+ return { data: undefined, rawResponse: _response.rawResponse };
98
+ }
99
+ if (_response.error.reason === "status-code") {
100
+ switch (_response.error.statusCode) {
101
+ case 422:
102
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
103
+ default:
104
+ throw new errors.ElevenLabsError({
105
+ statusCode: _response.error.statusCode,
106
+ body: _response.error.body,
107
+ rawResponse: _response.rawResponse,
108
+ });
109
+ }
110
+ }
111
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/conversations/{conversation_id}/tags");
112
+ });
113
+ }
114
+ /**
115
+ * Remove a single conversation tag from a conversation.
116
+ *
117
+ * @param {string} conversation_id
118
+ * @param {string} tag_id
119
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
120
+ *
121
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
122
+ *
123
+ * @example
124
+ * await client.conversationalAi.conversations.tags.unassign("conversation_id", "tag_id")
125
+ */
126
+ unassign(conversation_id, tag_id, requestOptions) {
127
+ return core.HttpResponsePromise.fromPromise(this.__unassign(conversation_id, tag_id, requestOptions));
128
+ }
129
+ __unassign(conversation_id, tag_id, requestOptions) {
130
+ return __awaiter(this, void 0, void 0, function* () {
131
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
132
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
133
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
134
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/tags/${core.url.encodePathParam(tag_id)}`),
135
+ method: "DELETE",
136
+ headers: _headers,
137
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
138
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
139
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
140
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
141
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
142
+ logging: this._options.logging,
143
+ });
144
+ if (_response.ok) {
145
+ return { data: undefined, rawResponse: _response.rawResponse };
146
+ }
147
+ if (_response.error.reason === "status-code") {
148
+ switch (_response.error.statusCode) {
149
+ case 422:
150
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
151
+ default:
152
+ throw new errors.ElevenLabsError({
153
+ statusCode: _response.error.statusCode,
154
+ body: _response.error.body,
155
+ rawResponse: _response.rawResponse,
156
+ });
157
+ }
158
+ }
159
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/conversations/{conversation_id}/tags/{tag_id}");
160
+ });
161
+ }
162
+ /**
163
+ * List conversation tags for the workspace, ordered by most recently created first.
164
+ *
165
+ * @param {ElevenLabs.conversationalAi.conversations.TagsListRequest} request
166
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
167
+ *
168
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
169
+ *
170
+ * @example
171
+ * await client.conversationalAi.conversations.tags.list({
172
+ * pageSize: 1,
173
+ * cursor: "cursor"
174
+ * })
175
+ */
176
+ list(request = {}, requestOptions) {
177
+ return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
178
+ }
179
+ __list() {
180
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
181
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
182
+ const { pageSize, cursor } = request;
183
+ const _queryParams = {};
184
+ if (pageSize != null) {
185
+ _queryParams.page_size = pageSize.toString();
186
+ }
187
+ if (cursor != null) {
188
+ _queryParams.cursor = cursor;
189
+ }
190
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
191
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
192
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/tags"),
193
+ method: "GET",
194
+ headers: _headers,
195
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
196
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
197
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
198
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
199
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
200
+ logging: this._options.logging,
201
+ });
202
+ if (_response.ok) {
203
+ return {
204
+ data: serializers.GetConversationTagsPageResponseModel.parseOrThrow(_response.body, {
205
+ unrecognizedObjectKeys: "passthrough",
206
+ allowUnrecognizedUnionMembers: true,
207
+ allowUnrecognizedEnumValues: true,
208
+ breadcrumbsPrefix: ["response"],
209
+ }),
210
+ rawResponse: _response.rawResponse,
211
+ };
212
+ }
213
+ if (_response.error.reason === "status-code") {
214
+ switch (_response.error.statusCode) {
215
+ case 422:
216
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
217
+ default:
218
+ throw new errors.ElevenLabsError({
219
+ statusCode: _response.error.statusCode,
220
+ body: _response.error.body,
221
+ rawResponse: _response.rawResponse,
222
+ });
223
+ }
224
+ }
225
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/tags");
226
+ });
227
+ }
228
+ /**
229
+ * Create a new conversation tag for the workspace.
230
+ *
231
+ * @param {ElevenLabs.conversationalAi.conversations.CreateConversationTagRequestModel} request
232
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
233
+ *
234
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
235
+ *
236
+ * @example
237
+ * await client.conversationalAi.conversations.tags.create({
238
+ * title: "title"
239
+ * })
240
+ */
241
+ create(request, requestOptions) {
242
+ return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
243
+ }
244
+ __create(request, requestOptions) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
247
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
248
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
249
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/tags"),
250
+ method: "POST",
251
+ headers: _headers,
252
+ contentType: "application/json",
253
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
254
+ requestType: "json",
255
+ body: serializers.conversationalAi.conversations.CreateConversationTagRequestModel.jsonOrThrow(request, {
256
+ unrecognizedObjectKeys: "strip",
257
+ }),
258
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
259
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
260
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
261
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
262
+ logging: this._options.logging,
263
+ });
264
+ if (_response.ok) {
265
+ return {
266
+ data: serializers.ConversationTagResponseModel.parseOrThrow(_response.body, {
267
+ unrecognizedObjectKeys: "passthrough",
268
+ allowUnrecognizedUnionMembers: true,
269
+ allowUnrecognizedEnumValues: true,
270
+ breadcrumbsPrefix: ["response"],
271
+ }),
272
+ rawResponse: _response.rawResponse,
273
+ };
274
+ }
275
+ if (_response.error.reason === "status-code") {
276
+ switch (_response.error.statusCode) {
277
+ case 422:
278
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
279
+ default:
280
+ throw new errors.ElevenLabsError({
281
+ statusCode: _response.error.statusCode,
282
+ body: _response.error.body,
283
+ rawResponse: _response.rawResponse,
284
+ });
285
+ }
286
+ }
287
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/tags");
288
+ });
289
+ }
290
+ /**
291
+ * Get a conversation tag by ID.
292
+ *
293
+ * @param {string} tag_id
294
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
295
+ *
296
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
297
+ *
298
+ * @example
299
+ * await client.conversationalAi.conversations.tags.get("tag_id")
300
+ */
301
+ get(tag_id, requestOptions) {
302
+ return core.HttpResponsePromise.fromPromise(this.__get(tag_id, requestOptions));
303
+ }
304
+ __get(tag_id, requestOptions) {
305
+ return __awaiter(this, void 0, void 0, function* () {
306
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
307
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
308
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
309
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tags/${core.url.encodePathParam(tag_id)}`),
310
+ method: "GET",
311
+ headers: _headers,
312
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
313
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
314
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
315
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
316
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
317
+ logging: this._options.logging,
318
+ });
319
+ if (_response.ok) {
320
+ return {
321
+ data: serializers.ConversationTagResponseModel.parseOrThrow(_response.body, {
322
+ unrecognizedObjectKeys: "passthrough",
323
+ allowUnrecognizedUnionMembers: true,
324
+ allowUnrecognizedEnumValues: true,
325
+ breadcrumbsPrefix: ["response"],
326
+ }),
327
+ rawResponse: _response.rawResponse,
328
+ };
329
+ }
330
+ if (_response.error.reason === "status-code") {
331
+ switch (_response.error.statusCode) {
332
+ case 422:
333
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
334
+ default:
335
+ throw new errors.ElevenLabsError({
336
+ statusCode: _response.error.statusCode,
337
+ body: _response.error.body,
338
+ rawResponse: _response.rawResponse,
339
+ });
340
+ }
341
+ }
342
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/tags/{tag_id}");
343
+ });
344
+ }
345
+ /**
346
+ * Delete a conversation tag. Restricted to the tag owner or a workspace admin.
347
+ *
348
+ * @param {string} tag_id
349
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
350
+ *
351
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
352
+ *
353
+ * @example
354
+ * await client.conversationalAi.conversations.tags.delete("tag_id")
355
+ */
356
+ delete(tag_id, requestOptions) {
357
+ return core.HttpResponsePromise.fromPromise(this.__delete(tag_id, requestOptions));
358
+ }
359
+ __delete(tag_id, requestOptions) {
360
+ return __awaiter(this, void 0, void 0, function* () {
361
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
362
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
363
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
364
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tags/${core.url.encodePathParam(tag_id)}`),
365
+ method: "DELETE",
366
+ headers: _headers,
367
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
368
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
369
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
370
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
371
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
372
+ logging: this._options.logging,
373
+ });
374
+ if (_response.ok) {
375
+ return { data: undefined, rawResponse: _response.rawResponse };
376
+ }
377
+ if (_response.error.reason === "status-code") {
378
+ switch (_response.error.statusCode) {
379
+ case 422:
380
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
381
+ default:
382
+ throw new errors.ElevenLabsError({
383
+ statusCode: _response.error.statusCode,
384
+ body: _response.error.body,
385
+ rawResponse: _response.rawResponse,
386
+ });
387
+ }
388
+ }
389
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/tags/{tag_id}");
390
+ });
391
+ }
392
+ /**
393
+ * Update a conversation tag's title and/or description. Restricted to the tag owner or a workspace admin.
394
+ *
395
+ * @param {string} tag_id
396
+ * @param {ElevenLabs.conversationalAi.conversations.PatchConversationTagRequestModel} request
397
+ * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
398
+ *
399
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
400
+ *
401
+ * @example
402
+ * await client.conversationalAi.conversations.tags.update("tag_id")
403
+ */
404
+ update(tag_id, request = {}, requestOptions) {
405
+ return core.HttpResponsePromise.fromPromise(this.__update(tag_id, request, requestOptions));
406
+ }
407
+ __update(tag_id_1) {
408
+ return __awaiter(this, arguments, void 0, function* (tag_id, request = {}, requestOptions) {
409
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
410
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
411
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
412
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tags/${core.url.encodePathParam(tag_id)}`),
413
+ method: "PATCH",
414
+ headers: _headers,
415
+ contentType: "application/json",
416
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
417
+ requestType: "json",
418
+ body: serializers.conversationalAi.conversations.PatchConversationTagRequestModel.jsonOrThrow(request, {
419
+ unrecognizedObjectKeys: "strip",
420
+ }),
421
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
422
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
423
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
424
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
425
+ logging: this._options.logging,
426
+ });
427
+ if (_response.ok) {
428
+ return {
429
+ data: serializers.ConversationTagResponseModel.parseOrThrow(_response.body, {
430
+ unrecognizedObjectKeys: "passthrough",
431
+ allowUnrecognizedUnionMembers: true,
432
+ allowUnrecognizedEnumValues: true,
433
+ breadcrumbsPrefix: ["response"],
434
+ }),
435
+ rawResponse: _response.rawResponse,
436
+ };
437
+ }
438
+ if (_response.error.reason === "status-code") {
439
+ switch (_response.error.statusCode) {
440
+ case 422:
441
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
442
+ default:
443
+ throw new errors.ElevenLabsError({
444
+ statusCode: _response.error.statusCode,
445
+ body: _response.error.body,
446
+ rawResponse: _response.rawResponse,
447
+ });
448
+ }
449
+ }
450
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/tags/{tag_id}");
451
+ });
452
+ }
453
+ }
454
+ exports.TagsClient = TagsClient;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * tagIds: ["tag_ids"]
5
+ * }
6
+ */
7
+ export interface AssignConversationTagsRequestModel {
8
+ /** Tag IDs to add to the conversation. Re-assigning an existing tag is a no-op. */
9
+ tagIds: string[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * title: "title"
5
+ * }
6
+ */
7
+ export interface CreateConversationTagRequestModel {
8
+ /** Display title of the tag. */
9
+ title: string;
10
+ /** Optional free-text description. */
11
+ description?: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface PatchConversationTagRequestModel {
6
+ /** If provided, replaces the tag title. Omit to leave unchanged. */
7
+ title?: string;
8
+ /** If provided, replaces the tag description. Omit to leave unchanged. */
9
+ description?: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * pageSize: 1,
5
+ * cursor: "cursor"
6
+ * }
7
+ */
8
+ export interface TagsListRequest {
9
+ /** How many conversation tags to return. Can not exceed 100. */
10
+ pageSize?: number;
11
+ /** Used for fetching next page. Cursor is returned in the response. */
12
+ cursor?: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export type { AssignConversationTagsRequestModel } from "./AssignConversationTagsRequestModel";
2
+ export type { CreateConversationTagRequestModel } from "./CreateConversationTagRequestModel";
3
+ export type { PatchConversationTagRequestModel } from "./PatchConversationTagRequestModel";
4
+ export type { TagsListRequest } from "./TagsListRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,8 @@
1
+ export declare const ConversationsListRequestExcludeStatusesItem: {
2
+ readonly Initiated: "initiated";
3
+ readonly InProgress: "in-progress";
4
+ readonly Processing: "processing";
5
+ readonly Done: "done";
6
+ readonly Failed: "failed";
7
+ };
8
+ export type ConversationsListRequestExcludeStatusesItem = (typeof ConversationsListRequestExcludeStatusesItem)[keyof typeof ConversationsListRequestExcludeStatusesItem];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ConversationsListRequestExcludeStatusesItem = void 0;
5
+ exports.ConversationsListRequestExcludeStatusesItem = {
6
+ Initiated: "initiated",
7
+ InProgress: "in-progress",
8
+ Processing: "processing",
9
+ Done: "done",
10
+ Failed: "failed",
11
+ };
@@ -1 +1,2 @@
1
+ export * from "./ConversationsListRequestExcludeStatusesItem";
1
2
  export * from "./ConversationsListRequestSummaryMode";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ConversationsListRequestExcludeStatusesItem"), exports);
17
18
  __exportStar(require("./ConversationsListRequestSummaryMode"), exports);
@@ -30,6 +30,7 @@ export declare class KnowledgeBaseClient {
30
30
  * search: "search",
31
31
  * showOnlyOwnedDocuments: true,
32
32
  * createdByUserId: "created_by_user_id",
33
+ * types: ["file"],
33
34
  * parentFolderId: "parent_folder_id",
34
35
  * ancestorFolderId: "ancestor_folder_id",
35
36
  * foldersFirst: true,
@@ -71,6 +72,7 @@ export declare class KnowledgeBaseClient {
71
72
  * await client.conversationalAi.knowledgeBase.search({
72
73
  * query: "query",
73
74
  * pageSize: 1,
75
+ * types: ["file"],
74
76
  * cursor: "cursor"
75
77
  * })
76
78
  */