@corti/sdk 1.0.0-alpha → 1.0.0-alpha.2

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 (1578) hide show
  1. package/README.md +126 -44
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -2
  4. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
  5. package/dist/cjs/{serialization/types/AuthTokenRequest.js → api/errors/UnprocessableEntityError.js} +18 -9
  6. package/dist/cjs/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/api/errors/index.js +1 -0
  8. package/dist/cjs/api/resources/agents/client/Client.d.ts +6 -0
  9. package/dist/cjs/api/resources/agents/client/Client.js +42 -0
  10. package/dist/cjs/api/resources/codes/client/Client.d.ts +15 -3
  11. package/dist/cjs/api/resources/codes/client/Client.js +16 -10
  12. package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +16 -4
  13. package/dist/cjs/api/resources/documents/client/Client.js +5 -35
  14. package/dist/cjs/api/resources/interactions/client/Client.js +5 -35
  15. package/dist/cjs/api/resources/recordings/client/Client.js +4 -28
  16. package/dist/cjs/api/resources/stream/client/Client.d.ts +2 -2
  17. package/dist/cjs/api/resources/stream/client/Client.js +4 -2
  18. package/dist/cjs/api/resources/stream/client/Socket.d.ts +1 -1
  19. package/dist/cjs/api/resources/transcribe/client/Client.d.ts +2 -2
  20. package/dist/cjs/api/resources/transcribe/client/Client.js +4 -2
  21. package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +1 -1
  22. package/dist/cjs/api/resources/transcripts/client/Client.js +4 -28
  23. package/dist/cjs/api/types/AgentsErrorResponse.d.ts +12 -0
  24. package/dist/cjs/api/types/AgentsValidationError.d.ts +8 -0
  25. package/dist/cjs/api/types/AgentsValidationErrorErrorsItem.d.ts +4 -0
  26. package/dist/cjs/api/types/AgentsValidationErrorResponse.d.ts +4 -0
  27. package/dist/cjs/api/types/CodesFilter.d.ts +11 -0
  28. package/dist/cjs/api/types/CodesGeneralReadResponse.d.ts +2 -0
  29. package/dist/cjs/api/types/CodesGeneralReadResponseAlternativesItem.d.ts +9 -0
  30. package/dist/cjs/api/types/CodesGeneralReadResponseEvidencesItem.d.ts +6 -2
  31. package/dist/cjs/api/types/CodesGeneralResponse.d.ts +2 -2
  32. package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +2 -1
  33. package/dist/cjs/api/types/CommonCodingSystemEnum.js +2 -1
  34. package/dist/cjs/api/types/StreamConfigMessage.d.ts +1 -1
  35. package/dist/cjs/api/types/StreamEndMessage.d.ts +1 -2
  36. package/dist/cjs/api/types/StreamEndedMessage.d.ts +1 -2
  37. package/dist/cjs/api/types/StreamErrorMessage.d.ts +1 -1
  38. package/dist/cjs/api/types/StreamFactsMessage.d.ts +1 -1
  39. package/dist/cjs/api/types/StreamFlushMessage.d.ts +1 -2
  40. package/dist/cjs/api/types/StreamFlushedMessage.d.ts +1 -2
  41. package/dist/cjs/api/types/StreamTranscriptMessage.d.ts +1 -1
  42. package/dist/cjs/api/types/StreamUsageMessage.d.ts +1 -2
  43. package/dist/cjs/api/types/TranscribeCommandMessage.d.ts +1 -1
  44. package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +1 -2
  45. package/dist/cjs/api/types/TranscribeConfigMessage.d.ts +1 -1
  46. package/dist/cjs/api/types/TranscribeEndMessage.d.ts +1 -2
  47. package/dist/cjs/api/types/TranscribeEndedMessage.d.ts +1 -2
  48. package/dist/cjs/api/types/TranscribeErrorMessage.d.ts +1 -1
  49. package/dist/cjs/api/types/TranscribeFlushMessage.d.ts +1 -2
  50. package/dist/cjs/api/types/TranscribeFlushedMessage.d.ts +1 -2
  51. package/dist/cjs/api/types/TranscribeFormattingDates.d.ts +4 -4
  52. package/dist/cjs/api/types/TranscribeFormattingDates.js +4 -4
  53. package/dist/cjs/api/types/TranscribeFormattingNumbers.d.ts +2 -2
  54. package/dist/cjs/api/types/TranscribeFormattingNumbers.js +2 -2
  55. package/dist/cjs/api/types/TranscribeFormattingNumericRanges.d.ts +1 -1
  56. package/dist/cjs/api/types/TranscribeFormattingNumericRanges.js +1 -1
  57. package/dist/cjs/api/types/TranscribeFormattingOrdinals.d.ts +1 -0
  58. package/dist/cjs/api/types/TranscribeFormattingOrdinals.js +1 -0
  59. package/dist/cjs/api/types/TranscribeFormattingTimes.d.ts +3 -2
  60. package/dist/cjs/api/types/TranscribeFormattingTimes.js +3 -2
  61. package/dist/cjs/api/types/TranscribeTranscriptMessage.d.ts +1 -1
  62. package/dist/cjs/api/types/TranscribeUsageMessage.d.ts +1 -2
  63. package/dist/cjs/api/types/index.d.ts +6 -19
  64. package/dist/cjs/api/types/index.js +6 -19
  65. package/dist/cjs/auth/OAuthAuthProvider.d.ts +1 -99
  66. package/dist/cjs/auth/OAuthAuthProvider.js +4 -276
  67. package/dist/cjs/core/fetcher/index.d.ts +2 -11
  68. package/dist/cjs/core/fetcher/index.js +16 -15
  69. package/dist/cjs/custom/CortiClient.d.ts +15 -4
  70. package/dist/cjs/custom/CortiClient.js +8 -5
  71. package/dist/cjs/custom/CortiWebSocketProxyClient.d.ts +10 -40
  72. package/dist/cjs/custom/CortiWebSocketProxyClient.js +12 -74
  73. package/dist/cjs/custom/{CortiAuth.d.ts → auth/CortiAuth.d.ts} +7 -7
  74. package/dist/cjs/custom/{CortiAuth.js → auth/CortiAuth.js} +9 -9
  75. package/dist/cjs/custom/{OAuthAuthCodeAuthProvider.d.ts → auth/OAuthAuthCodeAuthProvider.d.ts} +3 -3
  76. package/dist/cjs/custom/{OAuthAuthCodeAuthProvider.js → auth/OAuthAuthCodeAuthProvider.js} +3 -3
  77. package/dist/cjs/custom/{OAuthPkceAuthProvider.d.ts → auth/OAuthPkceAuthProvider.d.ts} +3 -3
  78. package/dist/cjs/custom/{OAuthPkceAuthProvider.js → auth/OAuthPkceAuthProvider.js} +3 -3
  79. package/dist/cjs/custom/{OAuthRopcAuthProvider.d.ts → auth/OAuthRopcAuthProvider.d.ts} +3 -3
  80. package/dist/cjs/custom/{OAuthRopcAuthProvider.js → auth/OAuthRopcAuthProvider.js} +3 -3
  81. package/dist/cjs/custom/fetcher.d.ts +3 -0
  82. package/dist/cjs/custom/fetcher.js +8 -0
  83. package/dist/cjs/custom/overrides/OAuthAuthProvider.d.ts +99 -0
  84. package/dist/cjs/custom/overrides/OAuthAuthProvider.js +289 -0
  85. package/dist/cjs/custom/overrides/fetcher/index.d.ts +12 -0
  86. package/dist/cjs/custom/overrides/fetcher/index.js +18 -0
  87. package/dist/cjs/custom/overrides/index.d.ts +14 -0
  88. package/dist/cjs/custom/overrides/index.js +61 -0
  89. package/dist/cjs/custom/proxy/CustomProxyStream.d.ts +17 -0
  90. package/dist/cjs/custom/proxy/CustomProxyStream.js +18 -0
  91. package/dist/cjs/custom/proxy/CustomProxyTranscribe.d.ts +17 -0
  92. package/dist/cjs/custom/proxy/CustomProxyTranscribe.js +21 -0
  93. package/dist/cjs/custom/stream/CustomStream.d.ts +39 -0
  94. package/dist/cjs/custom/stream/CustomStream.js +183 -0
  95. package/dist/cjs/custom/stream/CustomStreamSocket.d.ts +7 -0
  96. package/dist/cjs/custom/stream/CustomStreamSocket.js +17 -0
  97. package/dist/cjs/custom/stream/parseStreamResponseType.d.ts +2 -0
  98. package/dist/cjs/custom/{serialization/requests/AuthGetCodeFlowTokenRequest.js → stream/parseStreamResponseType.js} +14 -11
  99. package/dist/cjs/custom/transcribe/CustomTranscribe.d.ts +38 -0
  100. package/dist/cjs/custom/transcribe/CustomTranscribe.js +181 -0
  101. package/dist/cjs/custom/transcribe/CustomTranscribeSocket.d.ts +7 -0
  102. package/dist/cjs/custom/transcribe/CustomTranscribeSocket.js +17 -0
  103. package/dist/cjs/custom/transcribe/parseTranscribeResponseType.d.ts +2 -0
  104. package/dist/cjs/{serialization/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.js → custom/transcribe/parseTranscribeResponseType.js} +14 -11
  105. package/dist/cjs/custom/utils/encodeHeadersAsWsProtocols.d.ts +30 -0
  106. package/dist/cjs/custom/utils/encodeHeadersAsWsProtocols.js +102 -0
  107. package/dist/cjs/custom/utils/index.d.ts +3 -0
  108. package/dist/cjs/custom/utils/index.js +10 -0
  109. package/dist/cjs/custom/utils/localStorageHelpers.js +11 -9
  110. package/dist/cjs/custom/utils/withCredentialsConfig.d.ts +2 -0
  111. package/dist/cjs/custom/utils/withCredentialsConfig.js +15 -0
  112. package/dist/cjs/index.d.ts +1 -16
  113. package/dist/cjs/index.js +1 -47
  114. package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +2 -1
  115. package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.js +2 -1
  116. package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.d.ts +2 -2
  117. package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.js +1 -1
  118. package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +2 -2
  119. package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +1 -1
  120. package/dist/cjs/serialization/types/AgentsErrorResponse.d.ts +13 -0
  121. package/dist/cjs/serialization/types/AgentsErrorResponse.js +46 -0
  122. package/dist/cjs/serialization/types/AgentsValidationError.d.ts +14 -0
  123. package/dist/cjs/serialization/types/AgentsValidationError.js +46 -0
  124. package/dist/cjs/serialization/types/AgentsValidationErrorErrorsItem.d.ts +10 -0
  125. package/dist/cjs/serialization/types/{StreamConfigMessageType.js → AgentsValidationErrorErrorsItem.js} +5 -2
  126. package/dist/cjs/serialization/types/AgentsValidationErrorResponse.d.ts +10 -0
  127. package/dist/cjs/serialization/types/{StreamEndMessageType.js → AgentsValidationErrorResponse.js} +8 -2
  128. package/dist/cjs/serialization/types/CodesFilter.d.ts +11 -0
  129. package/dist/cjs/serialization/types/{StreamEndedMessageType.js → CodesFilter.js} +6 -2
  130. package/dist/cjs/serialization/types/CodesGeneralReadResponse.d.ts +2 -0
  131. package/dist/cjs/serialization/types/CodesGeneralReadResponse.js +2 -0
  132. package/dist/cjs/serialization/types/CodesGeneralReadResponseAlternativesItem.d.ts +10 -0
  133. package/dist/cjs/serialization/types/{AuthTokenRequestGrantType.js → CodesGeneralReadResponseAlternativesItem.js} +5 -2
  134. package/dist/cjs/serialization/types/CodesGeneralReadResponseEvidencesItem.d.ts +4 -2
  135. package/dist/cjs/serialization/types/CodesGeneralReadResponseEvidencesItem.js +4 -2
  136. package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
  137. package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +1 -1
  138. package/dist/cjs/serialization/types/StreamConfigMessage.d.ts +1 -2
  139. package/dist/cjs/serialization/types/StreamConfigMessage.js +1 -2
  140. package/dist/cjs/serialization/types/StreamEndMessage.d.ts +1 -2
  141. package/dist/cjs/serialization/types/StreamEndMessage.js +1 -2
  142. package/dist/cjs/serialization/types/StreamEndedMessage.d.ts +1 -2
  143. package/dist/cjs/serialization/types/StreamEndedMessage.js +1 -2
  144. package/dist/cjs/serialization/types/StreamErrorMessage.d.ts +1 -2
  145. package/dist/cjs/serialization/types/StreamErrorMessage.js +1 -2
  146. package/dist/cjs/serialization/types/StreamFactsMessage.d.ts +1 -2
  147. package/dist/cjs/serialization/types/StreamFactsMessage.js +1 -2
  148. package/dist/cjs/serialization/types/StreamFlushMessage.d.ts +1 -2
  149. package/dist/cjs/serialization/types/StreamFlushMessage.js +1 -2
  150. package/dist/cjs/serialization/types/StreamFlushedMessage.d.ts +1 -2
  151. package/dist/cjs/serialization/types/StreamFlushedMessage.js +1 -2
  152. package/dist/cjs/serialization/types/StreamTranscriptMessage.d.ts +1 -2
  153. package/dist/cjs/serialization/types/StreamTranscriptMessage.js +1 -2
  154. package/dist/cjs/serialization/types/StreamUsageMessage.d.ts +1 -2
  155. package/dist/cjs/serialization/types/StreamUsageMessage.js +1 -2
  156. package/dist/cjs/serialization/types/TranscribeCommandMessage.d.ts +1 -2
  157. package/dist/cjs/serialization/types/TranscribeCommandMessage.js +1 -2
  158. package/dist/cjs/serialization/types/TranscribeCommandVariable.d.ts +1 -2
  159. package/dist/cjs/serialization/types/TranscribeCommandVariable.js +1 -2
  160. package/dist/cjs/serialization/types/TranscribeConfigMessage.d.ts +1 -2
  161. package/dist/cjs/serialization/types/TranscribeConfigMessage.js +1 -2
  162. package/dist/cjs/serialization/types/TranscribeEndMessage.d.ts +1 -2
  163. package/dist/cjs/serialization/types/TranscribeEndMessage.js +1 -2
  164. package/dist/cjs/serialization/types/TranscribeEndedMessage.d.ts +1 -2
  165. package/dist/cjs/serialization/types/TranscribeEndedMessage.js +1 -2
  166. package/dist/cjs/serialization/types/TranscribeErrorMessage.d.ts +1 -2
  167. package/dist/cjs/serialization/types/TranscribeErrorMessage.js +1 -2
  168. package/dist/cjs/serialization/types/TranscribeFlushMessage.d.ts +1 -2
  169. package/dist/cjs/serialization/types/TranscribeFlushMessage.js +1 -2
  170. package/dist/cjs/serialization/types/TranscribeFlushedMessage.d.ts +1 -2
  171. package/dist/cjs/serialization/types/TranscribeFlushedMessage.js +1 -2
  172. package/dist/cjs/serialization/types/TranscribeFormattingDates.d.ts +1 -1
  173. package/dist/cjs/serialization/types/TranscribeFormattingDates.js +1 -1
  174. package/dist/cjs/serialization/types/TranscribeFormattingNumbers.d.ts +1 -1
  175. package/dist/cjs/serialization/types/TranscribeFormattingNumbers.js +1 -1
  176. package/dist/cjs/serialization/types/TranscribeFormattingNumericRanges.d.ts +1 -1
  177. package/dist/cjs/serialization/types/TranscribeFormattingNumericRanges.js +1 -1
  178. package/dist/cjs/serialization/types/TranscribeFormattingOrdinals.d.ts +1 -1
  179. package/dist/cjs/serialization/types/TranscribeFormattingOrdinals.js +1 -1
  180. package/dist/cjs/serialization/types/TranscribeFormattingTimes.d.ts +1 -1
  181. package/dist/cjs/serialization/types/TranscribeFormattingTimes.js +1 -1
  182. package/dist/cjs/serialization/types/TranscribeTranscriptMessage.d.ts +1 -2
  183. package/dist/cjs/serialization/types/TranscribeTranscriptMessage.js +1 -2
  184. package/dist/cjs/serialization/types/TranscribeUsageMessage.d.ts +1 -2
  185. package/dist/cjs/serialization/types/TranscribeUsageMessage.js +1 -2
  186. package/dist/cjs/serialization/types/index.d.ts +6 -19
  187. package/dist/cjs/serialization/types/index.js +6 -19
  188. package/dist/cjs/version.d.ts +1 -1
  189. package/dist/cjs/version.js +1 -1
  190. package/dist/esm/BaseClient.mjs +2 -2
  191. package/dist/esm/api/errors/ForbiddenError.d.mts +1 -2
  192. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
  193. package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
  194. package/dist/esm/api/errors/index.d.mts +1 -0
  195. package/dist/esm/api/errors/index.mjs +1 -0
  196. package/dist/esm/api/resources/agents/client/Client.d.mts +6 -0
  197. package/dist/esm/api/resources/agents/client/Client.mjs +42 -0
  198. package/dist/esm/api/resources/codes/client/Client.d.mts +15 -3
  199. package/dist/esm/api/resources/codes/client/Client.mjs +16 -10
  200. package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +16 -4
  201. package/dist/esm/api/resources/documents/client/Client.mjs +5 -35
  202. package/dist/esm/api/resources/interactions/client/Client.mjs +5 -35
  203. package/dist/esm/api/resources/recordings/client/Client.mjs +4 -28
  204. package/dist/esm/api/resources/stream/client/Client.d.mts +2 -2
  205. package/dist/esm/api/resources/stream/client/Client.mjs +5 -3
  206. package/dist/esm/api/resources/stream/client/Socket.d.mts +1 -1
  207. package/dist/esm/api/resources/transcribe/client/Client.d.mts +2 -2
  208. package/dist/esm/api/resources/transcribe/client/Client.mjs +5 -3
  209. package/dist/esm/api/resources/transcribe/client/Socket.d.mts +1 -1
  210. package/dist/esm/api/resources/transcripts/client/Client.mjs +4 -28
  211. package/dist/esm/api/types/AgentsErrorResponse.d.mts +12 -0
  212. package/dist/esm/api/types/AgentsValidationError.d.mts +8 -0
  213. package/dist/esm/api/types/AgentsValidationErrorErrorsItem.d.mts +4 -0
  214. package/dist/esm/api/types/AgentsValidationErrorResponse.d.mts +4 -0
  215. package/dist/esm/api/types/CodesFilter.d.mts +11 -0
  216. package/dist/esm/api/types/CodesGeneralReadResponse.d.mts +2 -0
  217. package/dist/esm/api/types/CodesGeneralReadResponseAlternativesItem.d.mts +9 -0
  218. package/dist/esm/api/types/CodesGeneralReadResponseEvidencesItem.d.mts +6 -2
  219. package/dist/esm/api/types/CodesGeneralResponse.d.mts +2 -2
  220. package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +2 -1
  221. package/dist/esm/api/types/CommonCodingSystemEnum.mjs +2 -1
  222. package/dist/esm/api/types/StreamConfigMessage.d.mts +1 -1
  223. package/dist/esm/api/types/StreamEndMessage.d.mts +1 -2
  224. package/dist/esm/api/types/StreamEndedMessage.d.mts +1 -2
  225. package/dist/esm/api/types/StreamErrorMessage.d.mts +1 -1
  226. package/dist/esm/api/types/StreamFactsMessage.d.mts +1 -1
  227. package/dist/esm/api/types/StreamFlushMessage.d.mts +1 -2
  228. package/dist/esm/api/types/StreamFlushedMessage.d.mts +1 -2
  229. package/dist/esm/api/types/StreamTranscriptMessage.d.mts +1 -1
  230. package/dist/esm/api/types/StreamUsageMessage.d.mts +1 -2
  231. package/dist/esm/api/types/TranscribeCommandMessage.d.mts +1 -1
  232. package/dist/esm/api/types/TranscribeCommandVariable.d.mts +1 -2
  233. package/dist/esm/api/types/TranscribeConfigMessage.d.mts +1 -1
  234. package/dist/esm/api/types/TranscribeEndMessage.d.mts +1 -2
  235. package/dist/esm/api/types/TranscribeEndedMessage.d.mts +1 -2
  236. package/dist/esm/api/types/TranscribeErrorMessage.d.mts +1 -1
  237. package/dist/esm/api/types/TranscribeFlushMessage.d.mts +1 -2
  238. package/dist/esm/api/types/TranscribeFlushedMessage.d.mts +1 -2
  239. package/dist/esm/api/types/TranscribeFormattingDates.d.mts +4 -4
  240. package/dist/esm/api/types/TranscribeFormattingDates.mjs +4 -4
  241. package/dist/esm/api/types/TranscribeFormattingNumbers.d.mts +2 -2
  242. package/dist/esm/api/types/TranscribeFormattingNumbers.mjs +2 -2
  243. package/dist/esm/api/types/TranscribeFormattingNumericRanges.d.mts +1 -1
  244. package/dist/esm/api/types/TranscribeFormattingNumericRanges.mjs +1 -1
  245. package/dist/esm/api/types/TranscribeFormattingOrdinals.d.mts +1 -0
  246. package/dist/esm/api/types/TranscribeFormattingOrdinals.mjs +1 -0
  247. package/dist/esm/api/types/TranscribeFormattingTimes.d.mts +3 -2
  248. package/dist/esm/api/types/TranscribeFormattingTimes.mjs +3 -2
  249. package/dist/esm/api/types/TranscribeTranscriptMessage.d.mts +1 -1
  250. package/dist/esm/api/types/TranscribeUsageMessage.d.mts +1 -2
  251. package/dist/esm/api/types/index.d.mts +6 -19
  252. package/dist/esm/api/types/index.mjs +6 -19
  253. package/dist/esm/auth/OAuthAuthProvider.d.mts +1 -99
  254. package/dist/esm/auth/OAuthAuthProvider.mjs +2 -239
  255. package/dist/esm/core/fetcher/index.d.mts +2 -11
  256. package/dist/esm/core/fetcher/index.mjs +2 -6
  257. package/dist/esm/custom/CortiClient.d.mts +15 -4
  258. package/dist/esm/custom/CortiClient.mjs +8 -5
  259. package/dist/esm/custom/CortiWebSocketProxyClient.d.mts +10 -40
  260. package/dist/esm/custom/CortiWebSocketProxyClient.mjs +10 -39
  261. package/dist/esm/custom/{CortiAuth.d.mts → auth/CortiAuth.d.mts} +7 -7
  262. package/dist/esm/custom/{CortiAuth.mjs → auth/CortiAuth.mjs} +9 -9
  263. package/dist/esm/custom/{OAuthAuthCodeAuthProvider.d.mts → auth/OAuthAuthCodeAuthProvider.d.mts} +3 -3
  264. package/dist/esm/custom/{OAuthAuthCodeAuthProvider.mjs → auth/OAuthAuthCodeAuthProvider.mjs} +3 -3
  265. package/dist/esm/custom/{OAuthPkceAuthProvider.d.mts → auth/OAuthPkceAuthProvider.d.mts} +3 -3
  266. package/dist/esm/custom/{OAuthPkceAuthProvider.mjs → auth/OAuthPkceAuthProvider.mjs} +3 -3
  267. package/dist/esm/custom/{OAuthRopcAuthProvider.d.mts → auth/OAuthRopcAuthProvider.d.mts} +3 -3
  268. package/dist/esm/custom/{OAuthRopcAuthProvider.mjs → auth/OAuthRopcAuthProvider.mjs} +3 -3
  269. package/dist/esm/custom/fetcher.d.mts +3 -0
  270. package/dist/esm/custom/fetcher.mjs +4 -0
  271. package/dist/esm/custom/overrides/OAuthAuthProvider.d.mts +99 -0
  272. package/dist/esm/custom/overrides/OAuthAuthProvider.mjs +238 -0
  273. package/dist/esm/custom/overrides/fetcher/index.d.mts +12 -0
  274. package/dist/esm/custom/overrides/fetcher/index.mjs +7 -0
  275. package/dist/esm/custom/overrides/index.d.mts +14 -0
  276. package/dist/esm/custom/overrides/index.mjs +14 -0
  277. package/dist/esm/custom/proxy/CustomProxyStream.d.mts +17 -0
  278. package/dist/esm/custom/proxy/CustomProxyStream.mjs +15 -0
  279. package/dist/esm/custom/proxy/CustomProxyTranscribe.d.mts +17 -0
  280. package/dist/esm/custom/proxy/CustomProxyTranscribe.mjs +18 -0
  281. package/dist/esm/custom/stream/CustomStream.d.mts +39 -0
  282. package/dist/esm/custom/stream/CustomStream.mjs +146 -0
  283. package/dist/esm/custom/stream/CustomStreamSocket.d.mts +7 -0
  284. package/dist/esm/custom/stream/CustomStreamSocket.mjs +13 -0
  285. package/dist/esm/custom/stream/parseStreamResponseType.d.mts +2 -0
  286. package/dist/esm/custom/stream/parseStreamResponseType.mjs +13 -0
  287. package/dist/esm/custom/transcribe/CustomTranscribe.d.mts +38 -0
  288. package/dist/esm/custom/transcribe/CustomTranscribe.mjs +144 -0
  289. package/dist/esm/custom/transcribe/CustomTranscribeSocket.d.mts +7 -0
  290. package/dist/esm/custom/transcribe/CustomTranscribeSocket.mjs +13 -0
  291. package/dist/esm/custom/transcribe/parseTranscribeResponseType.d.mts +2 -0
  292. package/dist/esm/custom/transcribe/parseTranscribeResponseType.mjs +13 -0
  293. package/dist/esm/custom/utils/encodeHeadersAsWsProtocols.d.mts +30 -0
  294. package/dist/esm/custom/utils/encodeHeadersAsWsProtocols.mjs +65 -0
  295. package/dist/esm/custom/utils/index.d.mts +3 -0
  296. package/dist/esm/custom/utils/index.mjs +3 -0
  297. package/dist/esm/custom/utils/localStorageHelpers.mjs +11 -9
  298. package/dist/esm/custom/utils/withCredentialsConfig.d.mts +2 -0
  299. package/dist/esm/custom/utils/withCredentialsConfig.mjs +11 -0
  300. package/dist/esm/index.d.mts +1 -16
  301. package/dist/esm/index.mjs +1 -15
  302. package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +2 -1
  303. package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +2 -1
  304. package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.d.mts +2 -2
  305. package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs +1 -1
  306. package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +2 -2
  307. package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +1 -1
  308. package/dist/esm/serialization/types/AgentsErrorResponse.d.mts +13 -0
  309. package/dist/esm/serialization/types/AgentsErrorResponse.mjs +10 -0
  310. package/dist/esm/serialization/types/AgentsValidationError.d.mts +14 -0
  311. package/dist/esm/serialization/types/AgentsValidationError.mjs +10 -0
  312. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.d.mts +10 -0
  313. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.mjs +6 -0
  314. package/dist/esm/serialization/types/AgentsValidationErrorResponse.d.mts +10 -0
  315. package/dist/esm/serialization/types/AgentsValidationErrorResponse.mjs +9 -0
  316. package/dist/esm/serialization/types/CodesFilter.d.mts +11 -0
  317. package/dist/esm/serialization/types/CodesFilter.mjs +7 -0
  318. package/dist/esm/serialization/types/CodesGeneralReadResponse.d.mts +2 -0
  319. package/dist/esm/serialization/types/CodesGeneralReadResponse.mjs +2 -0
  320. package/dist/esm/serialization/types/CodesGeneralReadResponseAlternativesItem.d.mts +10 -0
  321. package/dist/esm/serialization/types/CodesGeneralReadResponseAlternativesItem.mjs +6 -0
  322. package/dist/esm/serialization/types/CodesGeneralReadResponseEvidencesItem.d.mts +4 -2
  323. package/dist/esm/serialization/types/CodesGeneralReadResponseEvidencesItem.mjs +4 -2
  324. package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
  325. package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +1 -1
  326. package/dist/esm/serialization/types/StreamConfigMessage.d.mts +1 -2
  327. package/dist/esm/serialization/types/StreamConfigMessage.mjs +1 -2
  328. package/dist/esm/serialization/types/StreamEndMessage.d.mts +1 -2
  329. package/dist/esm/serialization/types/StreamEndMessage.mjs +1 -2
  330. package/dist/esm/serialization/types/StreamEndedMessage.d.mts +1 -2
  331. package/dist/esm/serialization/types/StreamEndedMessage.mjs +1 -2
  332. package/dist/esm/serialization/types/StreamErrorMessage.d.mts +1 -2
  333. package/dist/esm/serialization/types/StreamErrorMessage.mjs +1 -2
  334. package/dist/esm/serialization/types/StreamFactsMessage.d.mts +1 -2
  335. package/dist/esm/serialization/types/StreamFactsMessage.mjs +1 -2
  336. package/dist/esm/serialization/types/StreamFlushMessage.d.mts +1 -2
  337. package/dist/esm/serialization/types/StreamFlushMessage.mjs +1 -2
  338. package/dist/esm/serialization/types/StreamFlushedMessage.d.mts +1 -2
  339. package/dist/esm/serialization/types/StreamFlushedMessage.mjs +1 -2
  340. package/dist/esm/serialization/types/StreamTranscriptMessage.d.mts +1 -2
  341. package/dist/esm/serialization/types/StreamTranscriptMessage.mjs +1 -2
  342. package/dist/esm/serialization/types/StreamUsageMessage.d.mts +1 -2
  343. package/dist/esm/serialization/types/StreamUsageMessage.mjs +1 -2
  344. package/dist/esm/serialization/types/TranscribeCommandMessage.d.mts +1 -2
  345. package/dist/esm/serialization/types/TranscribeCommandMessage.mjs +1 -2
  346. package/dist/esm/serialization/types/TranscribeCommandVariable.d.mts +1 -2
  347. package/dist/esm/serialization/types/TranscribeCommandVariable.mjs +1 -2
  348. package/dist/esm/serialization/types/TranscribeConfigMessage.d.mts +1 -2
  349. package/dist/esm/serialization/types/TranscribeConfigMessage.mjs +1 -2
  350. package/dist/esm/serialization/types/TranscribeEndMessage.d.mts +1 -2
  351. package/dist/esm/serialization/types/TranscribeEndMessage.mjs +1 -2
  352. package/dist/esm/serialization/types/TranscribeEndedMessage.d.mts +1 -2
  353. package/dist/esm/serialization/types/TranscribeEndedMessage.mjs +1 -2
  354. package/dist/esm/serialization/types/TranscribeErrorMessage.d.mts +1 -2
  355. package/dist/esm/serialization/types/TranscribeErrorMessage.mjs +1 -2
  356. package/dist/esm/serialization/types/TranscribeFlushMessage.d.mts +1 -2
  357. package/dist/esm/serialization/types/TranscribeFlushMessage.mjs +1 -2
  358. package/dist/esm/serialization/types/TranscribeFlushedMessage.d.mts +1 -2
  359. package/dist/esm/serialization/types/TranscribeFlushedMessage.mjs +1 -2
  360. package/dist/esm/serialization/types/TranscribeFormattingDates.d.mts +1 -1
  361. package/dist/esm/serialization/types/TranscribeFormattingDates.mjs +1 -1
  362. package/dist/esm/serialization/types/TranscribeFormattingNumbers.d.mts +1 -1
  363. package/dist/esm/serialization/types/TranscribeFormattingNumbers.mjs +1 -1
  364. package/dist/esm/serialization/types/TranscribeFormattingNumericRanges.d.mts +1 -1
  365. package/dist/esm/serialization/types/TranscribeFormattingNumericRanges.mjs +1 -1
  366. package/dist/esm/serialization/types/TranscribeFormattingOrdinals.d.mts +1 -1
  367. package/dist/esm/serialization/types/TranscribeFormattingOrdinals.mjs +1 -1
  368. package/dist/esm/serialization/types/TranscribeFormattingTimes.d.mts +1 -1
  369. package/dist/esm/serialization/types/TranscribeFormattingTimes.mjs +1 -1
  370. package/dist/esm/serialization/types/TranscribeTranscriptMessage.d.mts +1 -2
  371. package/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs +1 -2
  372. package/dist/esm/serialization/types/TranscribeUsageMessage.d.mts +1 -2
  373. package/dist/esm/serialization/types/TranscribeUsageMessage.mjs +1 -2
  374. package/dist/esm/serialization/types/index.d.mts +6 -19
  375. package/dist/esm/serialization/types/index.mjs +6 -19
  376. package/dist/esm/version.d.mts +1 -1
  377. package/dist/esm/version.mjs +1 -1
  378. package/package.json +9 -119
  379. package/dist/cjs/api/resources/agents/exports.d.ts +0 -2
  380. package/dist/cjs/api/resources/agents/exports.js +0 -21
  381. package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.d.ts +0 -10
  382. package/dist/cjs/api/resources/agents/types/AgentsMessageStreamResponse.js +0 -5
  383. package/dist/cjs/api/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -22
  384. package/dist/cjs/api/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.js +0 -5
  385. package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.d.ts +0 -15
  386. package/dist/cjs/api/resources/auth/client/requests/AuthGetTokenRequest.js +0 -5
  387. package/dist/cjs/api/resources/auth/client/requests/index.d.ts +0 -1
  388. package/dist/cjs/api/resources/auth/client/requests/index.js +0 -2
  389. package/dist/cjs/api/resources/auth/exports.d.ts +0 -2
  390. package/dist/cjs/api/resources/auth/exports.js +0 -21
  391. package/dist/cjs/api/resources/auth/types/AuthGetTokenRequestGrantType.d.ts +0 -6
  392. package/dist/cjs/api/resources/auth/types/AuthGetTokenRequestGrantType.js +0 -9
  393. package/dist/cjs/api/resources/auth/types/AuthTokenRequest.d.ts +0 -2
  394. package/dist/cjs/api/resources/auth/types/GetTokenResponse.d.ts +0 -10
  395. package/dist/cjs/api/resources/auth/types/GetTokenResponse.js +0 -5
  396. package/dist/cjs/api/resources/codes/exports.d.ts +0 -2
  397. package/dist/cjs/api/resources/codes/exports.js +0 -21
  398. package/dist/cjs/api/resources/documents/client/requests/DocumentsCreateRequest.d.ts +0 -20
  399. package/dist/cjs/api/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +0 -5
  400. package/dist/cjs/api/resources/documents/client/requests/DocumentsGetRequest.d.ts +0 -5
  401. package/dist/cjs/api/resources/documents/client/requests/DocumentsListRequest.d.ts +0 -5
  402. package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.d.ts +0 -31
  403. package/dist/cjs/api/resources/documents/client/requests/RequestDocumentCreate.js +0 -5
  404. package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.d.ts +0 -13
  405. package/dist/cjs/api/resources/documents/client/requests/RequestDocumentUpdate.js +0 -5
  406. package/dist/cjs/api/resources/documents/exports.d.ts +0 -2
  407. package/dist/cjs/api/resources/documents/exports.js +0 -21
  408. package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.d.ts +0 -10
  409. package/dist/cjs/api/resources/documents/types/RequestDocumentCreateContextItem.js +0 -5
  410. package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +0 -9
  411. package/dist/cjs/api/resources/documents/types/RequestDocumentUpdateSectionsItem.js +0 -5
  412. package/dist/cjs/api/resources/documents/types/index.d.ts +0 -2
  413. package/dist/cjs/api/resources/documents/types/index.js +0 -18
  414. package/dist/cjs/api/resources/facts/client/requests/FactsListRequest.d.ts +0 -5
  415. package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.d.ts +0 -21
  416. package/dist/cjs/api/resources/facts/client/requests/RequestFactUpdate.js +0 -5
  417. package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.d.ts +0 -17
  418. package/dist/cjs/api/resources/facts/client/requests/RequestFactsCreate.js +0 -5
  419. package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.d.ts +0 -16
  420. package/dist/cjs/api/resources/facts/client/requests/RequestFactsUpdate.js +0 -5
  421. package/dist/cjs/api/resources/facts/exports.d.ts +0 -2
  422. package/dist/cjs/api/resources/facts/exports.js +0 -21
  423. package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.d.ts +0 -12
  424. package/dist/cjs/api/resources/facts/types/RequestFactsCreateFactsItem.js +0 -5
  425. package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +0 -14
  426. package/dist/cjs/api/resources/facts/types/RequestFactsUpdateFactsItem.js +0 -5
  427. package/dist/cjs/api/resources/facts/types/index.d.ts +0 -2
  428. package/dist/cjs/api/resources/facts/types/index.js +0 -18
  429. package/dist/cjs/api/resources/interactions/client/requests/InteractionsDeleteRequest.d.ts +0 -5
  430. package/dist/cjs/api/resources/interactions/client/requests/InteractionsDeleteRequest.js +0 -3
  431. package/dist/cjs/api/resources/interactions/client/requests/InteractionsGetRequest.d.ts +0 -5
  432. package/dist/cjs/api/resources/interactions/client/requests/InteractionsGetRequest.js +0 -3
  433. package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.d.ts +0 -22
  434. package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionCreate.js +0 -5
  435. package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +0 -16
  436. package/dist/cjs/api/resources/interactions/client/requests/RequestInteractionUpdate.js +0 -5
  437. package/dist/cjs/api/resources/interactions/exports.d.ts +0 -2
  438. package/dist/cjs/api/resources/interactions/exports.js +0 -21
  439. package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.d.ts +0 -11
  440. package/dist/cjs/api/resources/interactions/types/InteractionsListRequestDirection.js +0 -10
  441. package/dist/cjs/api/resources/recordings/client/requests/RecordingsDeleteRequest.d.ts +0 -5
  442. package/dist/cjs/api/resources/recordings/client/requests/RecordingsDeleteRequest.js +0 -3
  443. package/dist/cjs/api/resources/recordings/client/requests/RecordingsGetRequest.d.ts +0 -5
  444. package/dist/cjs/api/resources/recordings/client/requests/RecordingsGetRequest.js +0 -3
  445. package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.d.ts +0 -5
  446. package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.js +0 -3
  447. package/dist/cjs/api/resources/recordings/client/requests/index.d.ts +0 -3
  448. package/dist/cjs/api/resources/recordings/client/requests/index.js +0 -2
  449. package/dist/cjs/api/resources/recordings/exports.d.ts +0 -2
  450. package/dist/cjs/api/resources/recordings/exports.js +0 -21
  451. package/dist/cjs/api/resources/stream/exports.d.ts +0 -2
  452. package/dist/cjs/api/resources/stream/exports.js +0 -21
  453. package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.ts +0 -17
  454. package/dist/cjs/api/resources/templates/client/requests/TemplatesSectionsListRequest.js +0 -5
  455. package/dist/cjs/api/resources/templates/exports.d.ts +0 -2
  456. package/dist/cjs/api/resources/templates/exports.js +0 -21
  457. package/dist/cjs/api/resources/transcribe/exports.d.ts +0 -2
  458. package/dist/cjs/api/resources/transcribe/exports.js +0 -21
  459. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.d.ts +0 -28
  460. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptCreate.js +0 -5
  461. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.d.ts +0 -5
  462. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.js +0 -3
  463. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetRequest.d.ts +0 -5
  464. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetRequest.js +0 -3
  465. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.d.ts +0 -5
  466. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.js +0 -3
  467. package/dist/cjs/api/resources/transcripts/exports.d.ts +0 -2
  468. package/dist/cjs/api/resources/transcripts/exports.js +0 -21
  469. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.ts +0 -12
  470. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateModelName.js +0 -11
  471. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.ts +0 -10
  472. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js +0 -5
  473. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.ts +0 -21
  474. package/dist/cjs/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.js +0 -20
  475. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -12
  476. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -11
  477. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +0 -21
  478. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +0 -20
  479. package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.d.ts +0 -11
  480. package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestDirection.js +0 -10
  481. package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.d.ts +0 -11
  482. package/dist/cjs/api/resources/transcripts/types/TranscriptsListRequestSort.js +0 -10
  483. package/dist/cjs/api/resources/transcripts/types/index.d.ts +0 -1
  484. package/dist/cjs/api/resources/transcripts/types/index.js +0 -17
  485. package/dist/cjs/api/types/AgentsMessageSendParams.d.ts +0 -10
  486. package/dist/cjs/api/types/AgentsMessageSendParams.js +0 -5
  487. package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.d.ts +0 -19
  488. package/dist/cjs/api/types/AgentsTaskArtifactUpdateEvent.js +0 -5
  489. package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.d.ts +0 -17
  490. package/dist/cjs/api/types/AgentsTaskStatusUpdateEvent.js +0 -5
  491. package/dist/cjs/api/types/AuthTokenRequest.d.ts +0 -14
  492. package/dist/cjs/api/types/AuthTokenRequest.js +0 -3
  493. package/dist/cjs/api/types/AuthTokenRequestGrantType.d.ts +0 -5
  494. package/dist/cjs/api/types/AuthTokenRequestGrantType.js +0 -8
  495. package/dist/cjs/api/types/CommonTranscript.d.ts +0 -17
  496. package/dist/cjs/api/types/CommonTranscript.js +0 -5
  497. package/dist/cjs/api/types/DocumentContextData.d.ts +0 -14
  498. package/dist/cjs/api/types/DocumentContextData.js +0 -5
  499. package/dist/cjs/api/types/DocumentTemplate.d.ts +0 -14
  500. package/dist/cjs/api/types/DocumentTemplate.js +0 -5
  501. package/dist/cjs/api/types/DocumentsContextData.d.ts +0 -14
  502. package/dist/cjs/api/types/DocumentsContextData.js +0 -5
  503. package/dist/cjs/api/types/DocumentsContextTypeEnum.d.ts +0 -9
  504. package/dist/cjs/api/types/DocumentsContextTypeEnum.js +0 -11
  505. package/dist/cjs/api/types/DocumentsCreateRequestBody.d.ts +0 -8
  506. package/dist/cjs/api/types/DocumentsCreateRequestBody.js +0 -3
  507. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -16
  508. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.js +0 -5
  509. package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.d.ts +0 -12
  510. package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.js +0 -5
  511. package/dist/cjs/api/types/Encounter.d.ts +0 -16
  512. package/dist/cjs/api/types/Encounter.js +0 -5
  513. package/dist/cjs/api/types/EncounterPeriod.d.ts +0 -9
  514. package/dist/cjs/api/types/EncounterPeriod.js +0 -5
  515. package/dist/cjs/api/types/EncounterStatus.d.ts +0 -12
  516. package/dist/cjs/api/types/EncounterStatus.js +0 -14
  517. package/dist/cjs/api/types/EncounterType.d.ts +0 -11
  518. package/dist/cjs/api/types/EncounterType.js +0 -13
  519. package/dist/cjs/api/types/EncounterUpdate.d.ts +0 -16
  520. package/dist/cjs/api/types/EncounterUpdate.js +0 -5
  521. package/dist/cjs/api/types/FactContext.d.ts +0 -12
  522. package/dist/cjs/api/types/FactContext.js +0 -5
  523. package/dist/cjs/api/types/GenderEnum.d.ts +0 -10
  524. package/dist/cjs/api/types/GenderEnum.js +0 -12
  525. package/dist/cjs/api/types/ParticipantRoleEnum.d.ts +0 -9
  526. package/dist/cjs/api/types/ParticipantRoleEnum.js +0 -11
  527. package/dist/cjs/api/types/Patient.d.ts +0 -16
  528. package/dist/cjs/api/types/Patient.js +0 -5
  529. package/dist/cjs/api/types/PatientUpdate.d.ts +0 -16
  530. package/dist/cjs/api/types/PatientUpdate.js +0 -5
  531. package/dist/cjs/api/types/ResponseAllTemplateSections.d.ts +0 -8
  532. package/dist/cjs/api/types/ResponseAllTemplateSections.js +0 -5
  533. package/dist/cjs/api/types/ResponseAllTemplates.d.ts +0 -8
  534. package/dist/cjs/api/types/ResponseAllTemplates.js +0 -5
  535. package/dist/cjs/api/types/ResponseAllTemplatesDataItem.d.ts +0 -20
  536. package/dist/cjs/api/types/ResponseAllTemplatesDataItem.js +0 -5
  537. package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +0 -10
  538. package/dist/cjs/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.js +0 -5
  539. package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +0 -11
  540. package/dist/cjs/api/types/ResponseAllTemplatesDataItemTranslationsItem.js +0 -5
  541. package/dist/cjs/api/types/ResponseDocumentList.d.ts +0 -7
  542. package/dist/cjs/api/types/ResponseDocumentList.js +0 -5
  543. package/dist/cjs/api/types/ResponseDocumentRead.d.ts +0 -22
  544. package/dist/cjs/api/types/ResponseDocumentRead.js +0 -5
  545. package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.d.ts +0 -17
  546. package/dist/cjs/api/types/ResponseDocumentReadSectionsItem.js +0 -5
  547. package/dist/cjs/api/types/ResponseFactGroupsFiltered.d.ts +0 -7
  548. package/dist/cjs/api/types/ResponseFactGroupsFiltered.js +0 -5
  549. package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.d.ts +0 -9
  550. package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItem.js +0 -5
  551. package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +0 -8
  552. package/dist/cjs/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.js +0 -5
  553. package/dist/cjs/api/types/ResponseFactUpdate.d.ts +0 -22
  554. package/dist/cjs/api/types/ResponseFactUpdate.js +0 -5
  555. package/dist/cjs/api/types/ResponseFactsCreate.d.ts +0 -8
  556. package/dist/cjs/api/types/ResponseFactsCreate.js +0 -5
  557. package/dist/cjs/api/types/ResponseFactsCreateFactsItem.d.ts +0 -20
  558. package/dist/cjs/api/types/ResponseFactsCreateFactsItem.js +0 -5
  559. package/dist/cjs/api/types/ResponseFactsList.d.ts +0 -8
  560. package/dist/cjs/api/types/ResponseFactsList.js +0 -5
  561. package/dist/cjs/api/types/ResponseFactsListFactsItem.d.ts +0 -23
  562. package/dist/cjs/api/types/ResponseFactsListFactsItem.js +0 -5
  563. package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.d.ts +0 -11
  564. package/dist/cjs/api/types/ResponseFactsListFactsItemEvidenceItem.js +0 -5
  565. package/dist/cjs/api/types/ResponseFactsUpdate.d.ts +0 -8
  566. package/dist/cjs/api/types/ResponseFactsUpdate.js +0 -5
  567. package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.d.ts +0 -22
  568. package/dist/cjs/api/types/ResponseFactsUpdateFactsItem.js +0 -5
  569. package/dist/cjs/api/types/ResponseInteraction.d.ts +0 -24
  570. package/dist/cjs/api/types/ResponseInteraction.js +0 -5
  571. package/dist/cjs/api/types/ResponseInteractionCreate.d.ts +0 -10
  572. package/dist/cjs/api/types/ResponseInteractionCreate.js +0 -5
  573. package/dist/cjs/api/types/ResponseInteractions.d.ts +0 -7
  574. package/dist/cjs/api/types/ResponseInteractions.js +0 -5
  575. package/dist/cjs/api/types/ResponseMetadataCreate.d.ts +0 -7
  576. package/dist/cjs/api/types/ResponseMetadataCreate.js +0 -5
  577. package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +0 -10
  578. package/dist/cjs/api/types/ResponseMetadataCreateParticipantsRolesItem.js +0 -5
  579. package/dist/cjs/api/types/ResponseRecordingCreate.d.ts +0 -8
  580. package/dist/cjs/api/types/ResponseRecordingCreate.js +0 -5
  581. package/dist/cjs/api/types/ResponseRecordingList.d.ts +0 -8
  582. package/dist/cjs/api/types/ResponseRecordingList.js +0 -5
  583. package/dist/cjs/api/types/ResponseTranscriptCreate.d.ts +0 -13
  584. package/dist/cjs/api/types/ResponseTranscriptCreate.js +0 -5
  585. package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.d.ts +0 -17
  586. package/dist/cjs/api/types/ResponseTranscriptCreateTranscriptsItem.js +0 -5
  587. package/dist/cjs/api/types/ResponseTranscriptListAll.d.ts +0 -7
  588. package/dist/cjs/api/types/ResponseTranscriptListAll.js +0 -5
  589. package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.d.ts +0 -9
  590. package/dist/cjs/api/types/ResponseTranscriptListAllTranscriptsItem.js +0 -5
  591. package/dist/cjs/api/types/ResponseTranscriptListFull.d.ts +0 -10
  592. package/dist/cjs/api/types/ResponseTranscriptListFull.js +0 -5
  593. package/dist/cjs/api/types/ResponseTranscriptListFullTranscriptsItem.d.ts +0 -17
  594. package/dist/cjs/api/types/ResponseTranscriptListFullTranscriptsItem.js +0 -5
  595. package/dist/cjs/api/types/Section.d.ts +0 -22
  596. package/dist/cjs/api/types/Section.js +0 -5
  597. package/dist/cjs/api/types/SectionTranslationsItem.d.ts +0 -11
  598. package/dist/cjs/api/types/SectionTranslationsItem.js +0 -5
  599. package/dist/cjs/api/types/SortingDirectionEnum.d.ts +0 -8
  600. package/dist/cjs/api/types/SortingDirectionEnum.js +0 -10
  601. package/dist/cjs/api/types/StreamConfigData.d.ts +0 -8
  602. package/dist/cjs/api/types/StreamConfigData.js +0 -5
  603. package/dist/cjs/api/types/StreamConfigMessageType.d.ts +0 -4
  604. package/dist/cjs/api/types/StreamConfigMessageType.js +0 -7
  605. package/dist/cjs/api/types/StreamConfigModeOutputLocale.d.ts +0 -21
  606. package/dist/cjs/api/types/StreamConfigModeOutputLocale.js +0 -20
  607. package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.d.ts +0 -21
  608. package/dist/cjs/api/types/StreamConfigTranscriptionPrimaryLanguage.js +0 -20
  609. package/dist/cjs/api/types/StreamConfigurationMessage.d.ts +0 -8
  610. package/dist/cjs/api/types/StreamConfigurationMessage.js +0 -5
  611. package/dist/cjs/api/types/StreamEndMessageType.d.ts +0 -4
  612. package/dist/cjs/api/types/StreamEndMessageType.js +0 -7
  613. package/dist/cjs/api/types/StreamEndedMessageType.d.ts +0 -4
  614. package/dist/cjs/api/types/StreamEndedMessageType.js +0 -7
  615. package/dist/cjs/api/types/StreamErrorMessageType.d.ts +0 -4
  616. package/dist/cjs/api/types/StreamErrorMessageType.js +0 -7
  617. package/dist/cjs/api/types/StreamFactsMessageType.d.ts +0 -4
  618. package/dist/cjs/api/types/StreamFactsMessageType.js +0 -7
  619. package/dist/cjs/api/types/StreamFlushMessageType.d.ts +0 -4
  620. package/dist/cjs/api/types/StreamFlushMessageType.js +0 -7
  621. package/dist/cjs/api/types/StreamFlushedMessageType.d.ts +0 -4
  622. package/dist/cjs/api/types/StreamFlushedMessageType.js +0 -7
  623. package/dist/cjs/api/types/StreamParticipantRole.d.ts +0 -12
  624. package/dist/cjs/api/types/StreamParticipantRole.js +0 -11
  625. package/dist/cjs/api/types/StreamTranscriptMessageType.d.ts +0 -4
  626. package/dist/cjs/api/types/StreamTranscriptMessageType.js +0 -7
  627. package/dist/cjs/api/types/StreamUsageMessageType.d.ts +0 -4
  628. package/dist/cjs/api/types/StreamUsageMessageType.js +0 -7
  629. package/dist/cjs/api/types/TemplateFiltered.d.ts +0 -20
  630. package/dist/cjs/api/types/TemplateFiltered.js +0 -5
  631. package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.d.ts +0 -10
  632. package/dist/cjs/api/types/TemplateFilteredTemplateSectionsItem.js +0 -5
  633. package/dist/cjs/api/types/TemplateFilteredTranslationsItem.d.ts +0 -11
  634. package/dist/cjs/api/types/TemplateFilteredTranslationsItem.js +0 -5
  635. package/dist/cjs/api/types/TranscribeCommandMessageType.d.ts +0 -4
  636. package/dist/cjs/api/types/TranscribeCommandMessageType.js +0 -7
  637. package/dist/cjs/api/types/TranscribeCommandVariableType.d.ts +0 -5
  638. package/dist/cjs/api/types/TranscribeCommandVariableType.js +0 -8
  639. package/dist/cjs/api/types/TranscribeConfigMessageType.d.ts +0 -4
  640. package/dist/cjs/api/types/TranscribeConfigMessageType.js +0 -7
  641. package/dist/cjs/api/types/TranscribeConfigurationMessage.d.ts +0 -8
  642. package/dist/cjs/api/types/TranscribeConfigurationMessage.js +0 -5
  643. package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.d.ts +0 -16
  644. package/dist/cjs/api/types/TranscribeConfigurationMessageConfiguration.js +0 -5
  645. package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +0 -21
  646. package/dist/cjs/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +0 -20
  647. package/dist/cjs/api/types/TranscribeEndMessageType.d.ts +0 -4
  648. package/dist/cjs/api/types/TranscribeEndMessageType.js +0 -7
  649. package/dist/cjs/api/types/TranscribeEndedMessageType.d.ts +0 -4
  650. package/dist/cjs/api/types/TranscribeEndedMessageType.js +0 -7
  651. package/dist/cjs/api/types/TranscribeErrorMessageType.d.ts +0 -4
  652. package/dist/cjs/api/types/TranscribeErrorMessageType.js +0 -7
  653. package/dist/cjs/api/types/TranscribeFlushMessageType.d.ts +0 -4
  654. package/dist/cjs/api/types/TranscribeFlushMessageType.js +0 -7
  655. package/dist/cjs/api/types/TranscribeFlushedMessageType.d.ts +0 -4
  656. package/dist/cjs/api/types/TranscribeFlushedMessageType.js +0 -7
  657. package/dist/cjs/api/types/TranscribeTranscriptMessageType.d.ts +0 -4
  658. package/dist/cjs/api/types/TranscribeTranscriptMessageType.js +0 -7
  659. package/dist/cjs/api/types/TranscribeUsageMessageType.d.ts +0 -4
  660. package/dist/cjs/api/types/TranscribeUsageMessageType.js +0 -7
  661. package/dist/cjs/api/types/Transcript.d.ts +0 -17
  662. package/dist/cjs/api/types/Transcript.js +0 -5
  663. package/dist/cjs/api/types/UsageInfo.d.ts +0 -6
  664. package/dist/cjs/api/types/UsageInfo.js +0 -5
  665. package/dist/cjs/api/types/V2DocumentContextTypeEnum.d.ts +0 -9
  666. package/dist/cjs/api/types/V2DocumentContextTypeEnum.js +0 -11
  667. package/dist/cjs/api/types/V2SourceEnum.d.ts +0 -9
  668. package/dist/cjs/api/types/V2SourceEnum.js +0 -11
  669. package/dist/cjs/api/types/WritingStyle.d.ts +0 -7
  670. package/dist/cjs/api/types/WritingStyle.js +0 -5
  671. package/dist/cjs/auth/BearerAuthProvider.d.ts +0 -20
  672. package/dist/cjs/auth/BearerAuthProvider.js +0 -79
  673. package/dist/cjs/auth/OAuthRopcAuthProvider.d.ts +0 -33
  674. package/dist/cjs/auth/OAuthRopcAuthProvider.js +0 -130
  675. package/dist/cjs/core/auth/BearerProvider.d.ts +0 -8
  676. package/dist/cjs/core/auth/BearerProvider.js +0 -57
  677. package/dist/cjs/core/auth/OAuthTokenProvider.d.ts +0 -25
  678. package/dist/cjs/core/auth/OAuthTokenProvider.js +0 -86
  679. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
  680. package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
  681. package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  682. package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  683. package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  684. package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  685. package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  686. package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  687. package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  688. package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  689. package/dist/cjs/core/pagination/CustomPager.d.ts +0 -67
  690. package/dist/cjs/core/pagination/CustomPager.js +0 -194
  691. package/dist/cjs/core/pagination/Pageable.d.ts +0 -14
  692. package/dist/cjs/core/pagination/Pageable.js +0 -10
  693. package/dist/cjs/core/stream/Stream.d.ts +0 -46
  694. package/dist/cjs/core/stream/Stream.js +0 -169
  695. package/dist/cjs/core/stream/index.d.ts +0 -1
  696. package/dist/cjs/core/stream/index.js +0 -5
  697. package/dist/cjs/custom/BearerProvider.d.ts +0 -13
  698. package/dist/cjs/custom/BearerProvider.js +0 -60
  699. package/dist/cjs/custom/CortiOAuthAuthProvider.d.ts +0 -7
  700. package/dist/cjs/custom/CortiOAuthAuthProvider.js +0 -15
  701. package/dist/cjs/custom/CortiWebSocketClient.d.ts +0 -14
  702. package/dist/cjs/custom/CortiWebSocketClient.js +0 -64
  703. package/dist/cjs/custom/CustomStream.d.ts +0 -8
  704. package/dist/cjs/custom/CustomStream.js +0 -62
  705. package/dist/cjs/custom/CustomStreamSocket.d.ts +0 -15
  706. package/dist/cjs/custom/CustomStreamSocket.js +0 -70
  707. package/dist/cjs/custom/CustomTranscribe.d.ts +0 -6
  708. package/dist/cjs/custom/CustomTranscribe.js +0 -62
  709. package/dist/cjs/custom/CustomTranscribeSocket.d.ts +0 -15
  710. package/dist/cjs/custom/CustomTranscribeSocket.js +0 -70
  711. package/dist/cjs/custom/ExtendedAuthClient.d.ts +0 -32
  712. package/dist/cjs/custom/ExtendedAuthClient.js +0 -163
  713. package/dist/cjs/custom/ExtendedClient.d.ts +0 -57
  714. package/dist/cjs/custom/ExtendedClient.js +0 -90
  715. package/dist/cjs/custom/RefreshBearerProvider.d.ts +0 -33
  716. package/dist/cjs/custom/RefreshBearerProvider.js +0 -112
  717. package/dist/cjs/custom/api/resources/auth/client/ExtendedClient.d.ts +0 -32
  718. package/dist/cjs/custom/api/resources/auth/client/ExtendedClient.js +0 -162
  719. package/dist/cjs/custom/createAuthProvider.d.ts +0 -6
  720. package/dist/cjs/custom/createAuthProvider.js +0 -53
  721. package/dist/cjs/custom/environments.d.ts +0 -10
  722. package/dist/cjs/custom/environments.js +0 -12
  723. package/dist/cjs/custom/index.d.ts +0 -1
  724. package/dist/cjs/custom/index.js +0 -5
  725. package/dist/cjs/custom/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -19
  726. package/dist/cjs/custom/requests/AuthGetCodeFlowTokenRequest.js +0 -2
  727. package/dist/cjs/custom/requests/index.d.ts +0 -1
  728. package/dist/cjs/custom/requests/index.js +0 -2
  729. package/dist/cjs/custom/serialization/index.d.ts +0 -1
  730. package/dist/cjs/custom/serialization/index.js +0 -17
  731. package/dist/cjs/custom/serialization/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -15
  732. package/dist/cjs/custom/serialization/requests/index.d.ts +0 -1
  733. package/dist/cjs/custom/serialization/requests/index.js +0 -5
  734. package/dist/cjs/custom/utils/getEnvironmentFromString.d.ts +0 -5
  735. package/dist/cjs/custom/utils/getEnvironmentFromString.js +0 -13
  736. package/dist/cjs/custom/utils/localStorage.d.ts +0 -4
  737. package/dist/cjs/custom/utils/localStorage.js +0 -40
  738. package/dist/cjs/custom/utils/pkce.d.ts +0 -2
  739. package/dist/cjs/custom/utils/pkce.js +0 -29
  740. package/dist/cjs/custom/utils/tokenRequest.d.ts +0 -12
  741. package/dist/cjs/custom/utils/tokenRequest.js +0 -79
  742. package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.d.ts +0 -19
  743. package/dist/cjs/serialization/resources/agents/types/AgentsMessageStreamResponse.js +0 -50
  744. package/dist/cjs/serialization/resources/auth/client/index.d.ts +0 -1
  745. package/dist/cjs/serialization/resources/auth/client/index.js +0 -17
  746. package/dist/cjs/serialization/resources/auth/client/requests/AuthGetCodeFlowTokenRequest.d.ts +0 -15
  747. package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.ts +0 -13
  748. package/dist/cjs/serialization/resources/auth/client/requests/AuthGetTokenRequest.js +0 -44
  749. package/dist/cjs/serialization/resources/auth/client/requests/index.d.ts +0 -1
  750. package/dist/cjs/serialization/resources/auth/client/requests/index.js +0 -5
  751. package/dist/cjs/serialization/resources/auth/types/AuthGetTokenRequestGrantType.d.ts +0 -7
  752. package/dist/cjs/serialization/resources/auth/types/AuthGetTokenRequestGrantType.js +0 -39
  753. package/dist/cjs/serialization/resources/auth/types/AuthTokenRequest.d.ts +0 -12
  754. package/dist/cjs/serialization/resources/auth/types/AuthTokenRequest.js +0 -50
  755. package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.d.ts +0 -16
  756. package/dist/cjs/serialization/resources/auth/types/GetTokenResponse.js +0 -47
  757. package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentCreate.d.ts +0 -19
  758. package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentCreate.js +0 -50
  759. package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentUpdate.d.ts +0 -14
  760. package/dist/cjs/serialization/resources/documents/client/requests/RequestDocumentUpdate.js +0 -45
  761. package/dist/cjs/serialization/resources/documents/types/RequestDocumentCreateContextItem.d.ts +0 -15
  762. package/dist/cjs/serialization/resources/documents/types/RequestDocumentCreateContextItem.js +0 -46
  763. package/dist/cjs/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.d.ts +0 -15
  764. package/dist/cjs/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.js +0 -46
  765. package/dist/cjs/serialization/resources/documents/types/index.d.ts +0 -2
  766. package/dist/cjs/serialization/resources/documents/types/index.js +0 -18
  767. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactUpdate.d.ts +0 -16
  768. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactUpdate.js +0 -47
  769. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsCreate.d.ts +0 -13
  770. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsCreate.js +0 -44
  771. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsUpdate.d.ts +0 -13
  772. package/dist/cjs/serialization/resources/facts/client/requests/RequestFactsUpdate.js +0 -44
  773. package/dist/cjs/serialization/resources/facts/types/RequestFactsCreateFactsItem.d.ts +0 -15
  774. package/dist/cjs/serialization/resources/facts/types/RequestFactsCreateFactsItem.js +0 -46
  775. package/dist/cjs/serialization/resources/facts/types/RequestFactsUpdateFactsItem.d.ts +0 -16
  776. package/dist/cjs/serialization/resources/facts/types/RequestFactsUpdateFactsItem.js +0 -47
  777. package/dist/cjs/serialization/resources/facts/types/index.d.ts +0 -2
  778. package/dist/cjs/serialization/resources/facts/types/index.js +0 -18
  779. package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionCreate.d.ts +0 -17
  780. package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionCreate.js +0 -48
  781. package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionUpdate.d.ts +0 -17
  782. package/dist/cjs/serialization/resources/interactions/client/requests/RequestInteractionUpdate.js +0 -48
  783. package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestDirection.d.ts +0 -10
  784. package/dist/cjs/serialization/resources/interactions/types/InteractionsListRequestDirection.js +0 -41
  785. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptCreate.d.ts +0 -22
  786. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptCreate.js +0 -53
  787. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.d.ts +0 -10
  788. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.js +0 -41
  789. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.ts +0 -14
  790. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.js +0 -45
  791. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.ts +0 -10
  792. package/dist/cjs/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.js +0 -41
  793. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -10
  794. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -41
  795. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.ts +0 -10
  796. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.js +0 -41
  797. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsListRequestSort.d.ts +0 -10
  798. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsListRequestSort.js +0 -41
  799. package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +0 -1
  800. package/dist/cjs/serialization/resources/transcripts/types/index.js +0 -17
  801. package/dist/cjs/serialization/types/AgentsMessageSendParams.d.ts +0 -16
  802. package/dist/cjs/serialization/types/AgentsMessageSendParams.js +0 -47
  803. package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.d.ts +0 -19
  804. package/dist/cjs/serialization/types/AgentsTaskArtifactUpdateEvent.js +0 -50
  805. package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.d.ts +0 -18
  806. package/dist/cjs/serialization/types/AgentsTaskStatusUpdateEvent.js +0 -49
  807. package/dist/cjs/serialization/types/AuthTokenRequest.d.ts +0 -13
  808. package/dist/cjs/serialization/types/AuthTokenRequestGrantType.d.ts +0 -7
  809. package/dist/cjs/serialization/types/CommonTranscript.d.ts +0 -17
  810. package/dist/cjs/serialization/types/CommonTranscript.js +0 -48
  811. package/dist/cjs/serialization/types/DocumentContextData.d.ts +0 -12
  812. package/dist/cjs/serialization/types/DocumentContextData.js +0 -47
  813. package/dist/cjs/serialization/types/DocumentTemplate.d.ts +0 -16
  814. package/dist/cjs/serialization/types/DocumentTemplate.js +0 -47
  815. package/dist/cjs/serialization/types/DocumentsContextData.d.ts +0 -12
  816. package/dist/cjs/serialization/types/DocumentsContextData.js +0 -47
  817. package/dist/cjs/serialization/types/DocumentsContextTypeEnum.d.ts +0 -10
  818. package/dist/cjs/serialization/types/DocumentsContextTypeEnum.js +0 -41
  819. package/dist/cjs/serialization/types/DocumentsCreateRequestBody.d.ts +0 -9
  820. package/dist/cjs/serialization/types/DocumentsCreateRequestBody.js +0 -44
  821. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -18
  822. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.js +0 -49
  823. package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.d.ts +0 -15
  824. package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.js +0 -46
  825. package/dist/cjs/serialization/types/Encounter.d.ts +0 -19
  826. package/dist/cjs/serialization/types/Encounter.js +0 -50
  827. package/dist/cjs/serialization/types/EncounterPeriod.d.ts +0 -13
  828. package/dist/cjs/serialization/types/EncounterPeriod.js +0 -44
  829. package/dist/cjs/serialization/types/EncounterStatus.d.ts +0 -10
  830. package/dist/cjs/serialization/types/EncounterStatus.js +0 -41
  831. package/dist/cjs/serialization/types/EncounterType.d.ts +0 -10
  832. package/dist/cjs/serialization/types/EncounterType.js +0 -41
  833. package/dist/cjs/serialization/types/EncounterUpdate.d.ts +0 -19
  834. package/dist/cjs/serialization/types/EncounterUpdate.js +0 -50
  835. package/dist/cjs/serialization/types/FactContext.d.ts +0 -15
  836. package/dist/cjs/serialization/types/FactContext.js +0 -46
  837. package/dist/cjs/serialization/types/GenderEnum.d.ts +0 -10
  838. package/dist/cjs/serialization/types/GenderEnum.js +0 -41
  839. package/dist/cjs/serialization/types/ParticipantRoleEnum.d.ts +0 -10
  840. package/dist/cjs/serialization/types/ParticipantRoleEnum.js +0 -41
  841. package/dist/cjs/serialization/types/Patient.d.ts +0 -17
  842. package/dist/cjs/serialization/types/Patient.js +0 -48
  843. package/dist/cjs/serialization/types/PatientUpdate.d.ts +0 -17
  844. package/dist/cjs/serialization/types/PatientUpdate.js +0 -48
  845. package/dist/cjs/serialization/types/ResponseAllTemplateSections.d.ts +0 -13
  846. package/dist/cjs/serialization/types/ResponseAllTemplateSections.js +0 -44
  847. package/dist/cjs/serialization/types/ResponseAllTemplates.d.ts +0 -13
  848. package/dist/cjs/serialization/types/ResponseAllTemplates.js +0 -44
  849. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItem.d.ts +0 -20
  850. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItem.js +0 -51
  851. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.ts +0 -14
  852. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.js +0 -45
  853. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.d.ts +0 -14
  854. package/dist/cjs/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.js +0 -45
  855. package/dist/cjs/serialization/types/ResponseDocumentList.d.ts +0 -13
  856. package/dist/cjs/serialization/types/ResponseDocumentList.js +0 -44
  857. package/dist/cjs/serialization/types/ResponseDocumentRead.d.ts +0 -23
  858. package/dist/cjs/serialization/types/ResponseDocumentRead.js +0 -54
  859. package/dist/cjs/serialization/types/ResponseDocumentReadSectionsItem.d.ts +0 -17
  860. package/dist/cjs/serialization/types/ResponseDocumentReadSectionsItem.js +0 -48
  861. package/dist/cjs/serialization/types/ResponseFactGroupsFiltered.d.ts +0 -13
  862. package/dist/cjs/serialization/types/ResponseFactGroupsFiltered.js +0 -44
  863. package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItem.d.ts +0 -16
  864. package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItem.js +0 -47
  865. package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.ts +0 -14
  866. package/dist/cjs/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.js +0 -45
  867. package/dist/cjs/serialization/types/ResponseFactUpdate.d.ts +0 -21
  868. package/dist/cjs/serialization/types/ResponseFactUpdate.js +0 -52
  869. package/dist/cjs/serialization/types/ResponseFactsCreate.d.ts +0 -13
  870. package/dist/cjs/serialization/types/ResponseFactsCreate.js +0 -44
  871. package/dist/cjs/serialization/types/ResponseFactsCreateFactsItem.d.ts +0 -20
  872. package/dist/cjs/serialization/types/ResponseFactsCreateFactsItem.js +0 -51
  873. package/dist/cjs/serialization/types/ResponseFactsList.d.ts +0 -13
  874. package/dist/cjs/serialization/types/ResponseFactsList.js +0 -44
  875. package/dist/cjs/serialization/types/ResponseFactsListFactsItem.d.ts +0 -23
  876. package/dist/cjs/serialization/types/ResponseFactsListFactsItem.js +0 -54
  877. package/dist/cjs/serialization/types/ResponseFactsListFactsItemEvidenceItem.d.ts +0 -14
  878. package/dist/cjs/serialization/types/ResponseFactsListFactsItemEvidenceItem.js +0 -45
  879. package/dist/cjs/serialization/types/ResponseFactsUpdate.d.ts +0 -13
  880. package/dist/cjs/serialization/types/ResponseFactsUpdate.js +0 -44
  881. package/dist/cjs/serialization/types/ResponseFactsUpdateFactsItem.d.ts +0 -21
  882. package/dist/cjs/serialization/types/ResponseFactsUpdateFactsItem.js +0 -52
  883. package/dist/cjs/serialization/types/ResponseInteraction.d.ts +0 -23
  884. package/dist/cjs/serialization/types/ResponseInteraction.js +0 -54
  885. package/dist/cjs/serialization/types/ResponseInteractionCreate.d.ts +0 -14
  886. package/dist/cjs/serialization/types/ResponseInteractionCreate.js +0 -45
  887. package/dist/cjs/serialization/types/ResponseInteractions.d.ts +0 -13
  888. package/dist/cjs/serialization/types/ResponseInteractions.js +0 -44
  889. package/dist/cjs/serialization/types/ResponseMetadataCreate.d.ts +0 -13
  890. package/dist/cjs/serialization/types/ResponseMetadataCreate.js +0 -44
  891. package/dist/cjs/serialization/types/ResponseMetadataCreateParticipantsRolesItem.d.ts +0 -14
  892. package/dist/cjs/serialization/types/ResponseMetadataCreateParticipantsRolesItem.js +0 -45
  893. package/dist/cjs/serialization/types/ResponseRecordingCreate.d.ts +0 -13
  894. package/dist/cjs/serialization/types/ResponseRecordingCreate.js +0 -44
  895. package/dist/cjs/serialization/types/ResponseRecordingList.d.ts +0 -13
  896. package/dist/cjs/serialization/types/ResponseRecordingList.js +0 -44
  897. package/dist/cjs/serialization/types/ResponseTranscriptCreate.d.ts +0 -19
  898. package/dist/cjs/serialization/types/ResponseTranscriptCreate.js +0 -50
  899. package/dist/cjs/serialization/types/ResponseTranscriptListAll.d.ts +0 -13
  900. package/dist/cjs/serialization/types/ResponseTranscriptListAll.js +0 -44
  901. package/dist/cjs/serialization/types/ResponseTranscriptListAllTranscriptsItem.d.ts +0 -16
  902. package/dist/cjs/serialization/types/ResponseTranscriptListAllTranscriptsItem.js +0 -47
  903. package/dist/cjs/serialization/types/ResponseTranscriptListFull.d.ts +0 -15
  904. package/dist/cjs/serialization/types/ResponseTranscriptListFull.js +0 -46
  905. package/dist/cjs/serialization/types/ResponseTranscriptListFullTranscriptsItem.d.ts +0 -17
  906. package/dist/cjs/serialization/types/ResponseTranscriptListFullTranscriptsItem.js +0 -48
  907. package/dist/cjs/serialization/types/Section.d.ts +0 -21
  908. package/dist/cjs/serialization/types/Section.js +0 -52
  909. package/dist/cjs/serialization/types/SectionTranslationsItem.d.ts +0 -14
  910. package/dist/cjs/serialization/types/SectionTranslationsItem.js +0 -45
  911. package/dist/cjs/serialization/types/SortingDirectionEnum.d.ts +0 -10
  912. package/dist/cjs/serialization/types/SortingDirectionEnum.js +0 -41
  913. package/dist/cjs/serialization/types/StreamConfigData.d.ts +0 -15
  914. package/dist/cjs/serialization/types/StreamConfigData.js +0 -46
  915. package/dist/cjs/serialization/types/StreamConfigMessageType.d.ts +0 -7
  916. package/dist/cjs/serialization/types/StreamConfigModeOutputLocale.d.ts +0 -10
  917. package/dist/cjs/serialization/types/StreamConfigModeOutputLocale.js +0 -41
  918. package/dist/cjs/serialization/types/StreamConfigTranscriptionPrimaryLanguage.d.ts +0 -10
  919. package/dist/cjs/serialization/types/StreamConfigTranscriptionPrimaryLanguage.js +0 -41
  920. package/dist/cjs/serialization/types/StreamConfigurationMessage.d.ts +0 -14
  921. package/dist/cjs/serialization/types/StreamConfigurationMessage.js +0 -45
  922. package/dist/cjs/serialization/types/StreamEndMessageType.d.ts +0 -7
  923. package/dist/cjs/serialization/types/StreamEndedMessageType.d.ts +0 -7
  924. package/dist/cjs/serialization/types/StreamErrorMessageType.d.ts +0 -7
  925. package/dist/cjs/serialization/types/StreamErrorMessageType.js +0 -39
  926. package/dist/cjs/serialization/types/StreamFactsMessageType.d.ts +0 -7
  927. package/dist/cjs/serialization/types/StreamFactsMessageType.js +0 -39
  928. package/dist/cjs/serialization/types/StreamFlushMessageType.d.ts +0 -7
  929. package/dist/cjs/serialization/types/StreamFlushMessageType.js +0 -39
  930. package/dist/cjs/serialization/types/StreamFlushedMessageType.d.ts +0 -7
  931. package/dist/cjs/serialization/types/StreamFlushedMessageType.js +0 -39
  932. package/dist/cjs/serialization/types/StreamParticipantRole.d.ts +0 -10
  933. package/dist/cjs/serialization/types/StreamParticipantRole.js +0 -41
  934. package/dist/cjs/serialization/types/StreamTranscriptMessageType.d.ts +0 -7
  935. package/dist/cjs/serialization/types/StreamTranscriptMessageType.js +0 -39
  936. package/dist/cjs/serialization/types/StreamUsageMessageType.d.ts +0 -7
  937. package/dist/cjs/serialization/types/StreamUsageMessageType.js +0 -39
  938. package/dist/cjs/serialization/types/TemplateFiltered.d.ts +0 -20
  939. package/dist/cjs/serialization/types/TemplateFiltered.js +0 -51
  940. package/dist/cjs/serialization/types/TemplateFilteredTemplateSectionsItem.d.ts +0 -14
  941. package/dist/cjs/serialization/types/TemplateFilteredTemplateSectionsItem.js +0 -45
  942. package/dist/cjs/serialization/types/TemplateFilteredTranslationsItem.d.ts +0 -14
  943. package/dist/cjs/serialization/types/TemplateFilteredTranslationsItem.js +0 -45
  944. package/dist/cjs/serialization/types/TranscribeCommandMessageType.d.ts +0 -7
  945. package/dist/cjs/serialization/types/TranscribeCommandMessageType.js +0 -39
  946. package/dist/cjs/serialization/types/TranscribeCommandVariableType.d.ts +0 -7
  947. package/dist/cjs/serialization/types/TranscribeCommandVariableType.js +0 -39
  948. package/dist/cjs/serialization/types/TranscribeConfigMessageType.d.ts +0 -7
  949. package/dist/cjs/serialization/types/TranscribeConfigMessageType.js +0 -39
  950. package/dist/cjs/serialization/types/TranscribeConfigurationMessage.d.ts +0 -14
  951. package/dist/cjs/serialization/types/TranscribeConfigurationMessage.js +0 -45
  952. package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfiguration.d.ts +0 -18
  953. package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfiguration.js +0 -49
  954. package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.ts +0 -10
  955. package/dist/cjs/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.js +0 -41
  956. package/dist/cjs/serialization/types/TranscribeEndMessageType.d.ts +0 -7
  957. package/dist/cjs/serialization/types/TranscribeEndMessageType.js +0 -39
  958. package/dist/cjs/serialization/types/TranscribeEndedMessageType.d.ts +0 -7
  959. package/dist/cjs/serialization/types/TranscribeEndedMessageType.js +0 -39
  960. package/dist/cjs/serialization/types/TranscribeErrorMessageType.d.ts +0 -7
  961. package/dist/cjs/serialization/types/TranscribeErrorMessageType.js +0 -39
  962. package/dist/cjs/serialization/types/TranscribeFlushMessageType.d.ts +0 -7
  963. package/dist/cjs/serialization/types/TranscribeFlushMessageType.js +0 -39
  964. package/dist/cjs/serialization/types/TranscribeFlushedMessageType.d.ts +0 -7
  965. package/dist/cjs/serialization/types/TranscribeFlushedMessageType.js +0 -39
  966. package/dist/cjs/serialization/types/TranscribeTranscriptMessageType.d.ts +0 -7
  967. package/dist/cjs/serialization/types/TranscribeTranscriptMessageType.js +0 -39
  968. package/dist/cjs/serialization/types/TranscribeUsageMessageType.d.ts +0 -7
  969. package/dist/cjs/serialization/types/TranscribeUsageMessageType.js +0 -39
  970. package/dist/cjs/serialization/types/Transcript.d.ts +0 -17
  971. package/dist/cjs/serialization/types/Transcript.js +0 -48
  972. package/dist/cjs/serialization/types/UsageInfo.d.ts +0 -12
  973. package/dist/cjs/serialization/types/UsageInfo.js +0 -43
  974. package/dist/cjs/serialization/types/V2DocumentContextTypeEnum.d.ts +0 -10
  975. package/dist/cjs/serialization/types/V2DocumentContextTypeEnum.js +0 -41
  976. package/dist/cjs/serialization/types/V2SourceEnum.d.ts +0 -10
  977. package/dist/cjs/serialization/types/V2SourceEnum.js +0 -41
  978. package/dist/cjs/serialization/types/WritingStyle.d.ts +0 -12
  979. package/dist/cjs/serialization/types/WritingStyle.js +0 -43
  980. package/dist/esm/api/resources/agents/exports.d.mts +0 -2
  981. package/dist/esm/api/resources/agents/exports.mjs +0 -3
  982. package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.d.mts +0 -10
  983. package/dist/esm/api/resources/agents/types/AgentsMessageStreamResponse.mjs +0 -4
  984. package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.d.mts +0 -15
  985. package/dist/esm/api/resources/auth/client/requests/AuthGetTokenRequest.mjs +0 -4
  986. package/dist/esm/api/resources/auth/client/requests/index.d.mts +0 -1
  987. package/dist/esm/api/resources/auth/client/requests/index.mjs +0 -1
  988. package/dist/esm/api/resources/auth/exports.d.mts +0 -2
  989. package/dist/esm/api/resources/auth/exports.mjs +0 -3
  990. package/dist/esm/api/resources/auth/types/AuthGetTokenRequestGrantType.d.mts +0 -6
  991. package/dist/esm/api/resources/auth/types/AuthGetTokenRequestGrantType.mjs +0 -6
  992. package/dist/esm/api/resources/auth/types/AuthTokenRequest.d.mts +0 -2
  993. package/dist/esm/api/resources/auth/types/GetTokenResponse.d.mts +0 -10
  994. package/dist/esm/api/resources/auth/types/GetTokenResponse.mjs +0 -4
  995. package/dist/esm/api/resources/codes/exports.d.mts +0 -2
  996. package/dist/esm/api/resources/codes/exports.mjs +0 -3
  997. package/dist/esm/api/resources/documents/client/requests/DocumentsCreateRequest.d.mts +0 -20
  998. package/dist/esm/api/resources/documents/client/requests/DocumentsDeleteRequest.d.mts +0 -5
  999. package/dist/esm/api/resources/documents/client/requests/DocumentsGetRequest.d.mts +0 -5
  1000. package/dist/esm/api/resources/documents/client/requests/DocumentsListRequest.d.mts +0 -5
  1001. package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.d.mts +0 -31
  1002. package/dist/esm/api/resources/documents/client/requests/RequestDocumentCreate.mjs +0 -4
  1003. package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.d.mts +0 -13
  1004. package/dist/esm/api/resources/documents/client/requests/RequestDocumentUpdate.mjs +0 -4
  1005. package/dist/esm/api/resources/documents/exports.d.mts +0 -2
  1006. package/dist/esm/api/resources/documents/exports.mjs +0 -3
  1007. package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.d.mts +0 -10
  1008. package/dist/esm/api/resources/documents/types/RequestDocumentCreateContextItem.mjs +0 -4
  1009. package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +0 -9
  1010. package/dist/esm/api/resources/documents/types/RequestDocumentUpdateSectionsItem.mjs +0 -4
  1011. package/dist/esm/api/resources/documents/types/index.d.mts +0 -2
  1012. package/dist/esm/api/resources/documents/types/index.mjs +0 -2
  1013. package/dist/esm/api/resources/facts/client/requests/FactsListRequest.d.mts +0 -5
  1014. package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.d.mts +0 -21
  1015. package/dist/esm/api/resources/facts/client/requests/RequestFactUpdate.mjs +0 -4
  1016. package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.d.mts +0 -17
  1017. package/dist/esm/api/resources/facts/client/requests/RequestFactsCreate.mjs +0 -4
  1018. package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.d.mts +0 -16
  1019. package/dist/esm/api/resources/facts/client/requests/RequestFactsUpdate.mjs +0 -4
  1020. package/dist/esm/api/resources/facts/exports.d.mts +0 -2
  1021. package/dist/esm/api/resources/facts/exports.mjs +0 -3
  1022. package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.d.mts +0 -12
  1023. package/dist/esm/api/resources/facts/types/RequestFactsCreateFactsItem.mjs +0 -4
  1024. package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +0 -14
  1025. package/dist/esm/api/resources/facts/types/RequestFactsUpdateFactsItem.mjs +0 -4
  1026. package/dist/esm/api/resources/facts/types/index.d.mts +0 -2
  1027. package/dist/esm/api/resources/facts/types/index.mjs +0 -2
  1028. package/dist/esm/api/resources/interactions/client/requests/InteractionsDeleteRequest.d.mts +0 -5
  1029. package/dist/esm/api/resources/interactions/client/requests/InteractionsDeleteRequest.mjs +0 -2
  1030. package/dist/esm/api/resources/interactions/client/requests/InteractionsGetRequest.d.mts +0 -5
  1031. package/dist/esm/api/resources/interactions/client/requests/InteractionsGetRequest.mjs +0 -2
  1032. package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.d.mts +0 -22
  1033. package/dist/esm/api/resources/interactions/client/requests/RequestInteractionCreate.mjs +0 -4
  1034. package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +0 -16
  1035. package/dist/esm/api/resources/interactions/client/requests/RequestInteractionUpdate.mjs +0 -4
  1036. package/dist/esm/api/resources/interactions/exports.d.mts +0 -2
  1037. package/dist/esm/api/resources/interactions/exports.mjs +0 -3
  1038. package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.d.mts +0 -11
  1039. package/dist/esm/api/resources/interactions/types/InteractionsListRequestDirection.mjs +0 -7
  1040. package/dist/esm/api/resources/recordings/client/requests/RecordingsDeleteRequest.d.mts +0 -5
  1041. package/dist/esm/api/resources/recordings/client/requests/RecordingsDeleteRequest.mjs +0 -2
  1042. package/dist/esm/api/resources/recordings/client/requests/RecordingsGetRequest.d.mts +0 -5
  1043. package/dist/esm/api/resources/recordings/client/requests/RecordingsGetRequest.mjs +0 -2
  1044. package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.d.mts +0 -5
  1045. package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.mjs +0 -2
  1046. package/dist/esm/api/resources/recordings/client/requests/index.d.mts +0 -3
  1047. package/dist/esm/api/resources/recordings/client/requests/index.mjs +0 -1
  1048. package/dist/esm/api/resources/recordings/exports.d.mts +0 -2
  1049. package/dist/esm/api/resources/recordings/exports.mjs +0 -3
  1050. package/dist/esm/api/resources/stream/exports.d.mts +0 -2
  1051. package/dist/esm/api/resources/stream/exports.mjs +0 -3
  1052. package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.d.mts +0 -17
  1053. package/dist/esm/api/resources/templates/client/requests/TemplatesSectionsListRequest.mjs +0 -4
  1054. package/dist/esm/api/resources/templates/exports.d.mts +0 -2
  1055. package/dist/esm/api/resources/templates/exports.mjs +0 -3
  1056. package/dist/esm/api/resources/transcribe/exports.d.mts +0 -2
  1057. package/dist/esm/api/resources/transcribe/exports.mjs +0 -3
  1058. package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.d.mts +0 -28
  1059. package/dist/esm/api/resources/transcripts/client/requests/TranscriptCreate.mjs +0 -4
  1060. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.d.mts +0 -5
  1061. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsDeleteRequest.mjs +0 -2
  1062. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetRequest.d.mts +0 -5
  1063. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetRequest.mjs +0 -2
  1064. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.d.mts +0 -5
  1065. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsGetStatusRequest.mjs +0 -2
  1066. package/dist/esm/api/resources/transcripts/exports.d.mts +0 -2
  1067. package/dist/esm/api/resources/transcripts/exports.mjs +0 -3
  1068. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.d.mts +0 -12
  1069. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateModelName.mjs +0 -8
  1070. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.mts +0 -10
  1071. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs +0 -4
  1072. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.mts +0 -21
  1073. package/dist/esm/api/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.mjs +0 -17
  1074. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -12
  1075. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -8
  1076. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +0 -21
  1077. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +0 -17
  1078. package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.d.mts +0 -11
  1079. package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestDirection.mjs +0 -7
  1080. package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.d.mts +0 -11
  1081. package/dist/esm/api/resources/transcripts/types/TranscriptsListRequestSort.mjs +0 -7
  1082. package/dist/esm/api/resources/transcripts/types/index.d.mts +0 -1
  1083. package/dist/esm/api/resources/transcripts/types/index.mjs +0 -1
  1084. package/dist/esm/api/types/AgentsMessageSendParams.d.mts +0 -10
  1085. package/dist/esm/api/types/AgentsMessageSendParams.mjs +0 -4
  1086. package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.d.mts +0 -19
  1087. package/dist/esm/api/types/AgentsTaskArtifactUpdateEvent.mjs +0 -4
  1088. package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.d.mts +0 -17
  1089. package/dist/esm/api/types/AgentsTaskStatusUpdateEvent.mjs +0 -4
  1090. package/dist/esm/api/types/AuthTokenRequest.d.mts +0 -14
  1091. package/dist/esm/api/types/AuthTokenRequest.mjs +0 -2
  1092. package/dist/esm/api/types/AuthTokenRequestGrantType.d.mts +0 -5
  1093. package/dist/esm/api/types/AuthTokenRequestGrantType.mjs +0 -5
  1094. package/dist/esm/api/types/CommonTranscript.d.mts +0 -17
  1095. package/dist/esm/api/types/CommonTranscript.mjs +0 -4
  1096. package/dist/esm/api/types/DocumentContextData.d.mts +0 -14
  1097. package/dist/esm/api/types/DocumentContextData.mjs +0 -4
  1098. package/dist/esm/api/types/DocumentTemplate.d.mts +0 -14
  1099. package/dist/esm/api/types/DocumentTemplate.mjs +0 -4
  1100. package/dist/esm/api/types/DocumentsContextData.d.mts +0 -14
  1101. package/dist/esm/api/types/DocumentsContextData.mjs +0 -4
  1102. package/dist/esm/api/types/DocumentsContextTypeEnum.d.mts +0 -9
  1103. package/dist/esm/api/types/DocumentsContextTypeEnum.mjs +0 -8
  1104. package/dist/esm/api/types/DocumentsCreateRequestBody.d.mts +0 -8
  1105. package/dist/esm/api/types/DocumentsCreateRequestBody.mjs +0 -2
  1106. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -16
  1107. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.mjs +0 -4
  1108. package/dist/esm/api/types/DocumentsTemplateWithSectionIds.d.mts +0 -12
  1109. package/dist/esm/api/types/DocumentsTemplateWithSectionIds.mjs +0 -4
  1110. package/dist/esm/api/types/Encounter.d.mts +0 -16
  1111. package/dist/esm/api/types/Encounter.mjs +0 -4
  1112. package/dist/esm/api/types/EncounterPeriod.d.mts +0 -9
  1113. package/dist/esm/api/types/EncounterPeriod.mjs +0 -4
  1114. package/dist/esm/api/types/EncounterStatus.d.mts +0 -12
  1115. package/dist/esm/api/types/EncounterStatus.mjs +0 -11
  1116. package/dist/esm/api/types/EncounterType.d.mts +0 -11
  1117. package/dist/esm/api/types/EncounterType.mjs +0 -10
  1118. package/dist/esm/api/types/EncounterUpdate.d.mts +0 -16
  1119. package/dist/esm/api/types/EncounterUpdate.mjs +0 -4
  1120. package/dist/esm/api/types/FactContext.d.mts +0 -12
  1121. package/dist/esm/api/types/FactContext.mjs +0 -4
  1122. package/dist/esm/api/types/GenderEnum.d.mts +0 -10
  1123. package/dist/esm/api/types/GenderEnum.mjs +0 -9
  1124. package/dist/esm/api/types/ParticipantRoleEnum.d.mts +0 -9
  1125. package/dist/esm/api/types/ParticipantRoleEnum.mjs +0 -8
  1126. package/dist/esm/api/types/Patient.d.mts +0 -16
  1127. package/dist/esm/api/types/Patient.mjs +0 -4
  1128. package/dist/esm/api/types/PatientUpdate.d.mts +0 -16
  1129. package/dist/esm/api/types/PatientUpdate.mjs +0 -4
  1130. package/dist/esm/api/types/ResponseAllTemplateSections.d.mts +0 -8
  1131. package/dist/esm/api/types/ResponseAllTemplateSections.mjs +0 -4
  1132. package/dist/esm/api/types/ResponseAllTemplates.d.mts +0 -8
  1133. package/dist/esm/api/types/ResponseAllTemplates.mjs +0 -4
  1134. package/dist/esm/api/types/ResponseAllTemplatesDataItem.d.mts +0 -20
  1135. package/dist/esm/api/types/ResponseAllTemplatesDataItem.mjs +0 -4
  1136. package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +0 -10
  1137. package/dist/esm/api/types/ResponseAllTemplatesDataItemTemplateSectionsItem.mjs +0 -4
  1138. package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +0 -11
  1139. package/dist/esm/api/types/ResponseAllTemplatesDataItemTranslationsItem.mjs +0 -4
  1140. package/dist/esm/api/types/ResponseDocumentList.d.mts +0 -7
  1141. package/dist/esm/api/types/ResponseDocumentList.mjs +0 -4
  1142. package/dist/esm/api/types/ResponseDocumentRead.d.mts +0 -22
  1143. package/dist/esm/api/types/ResponseDocumentRead.mjs +0 -4
  1144. package/dist/esm/api/types/ResponseDocumentReadSectionsItem.d.mts +0 -17
  1145. package/dist/esm/api/types/ResponseDocumentReadSectionsItem.mjs +0 -4
  1146. package/dist/esm/api/types/ResponseFactGroupsFiltered.d.mts +0 -7
  1147. package/dist/esm/api/types/ResponseFactGroupsFiltered.mjs +0 -4
  1148. package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.d.mts +0 -9
  1149. package/dist/esm/api/types/ResponseFactGroupsFilteredDataItem.mjs +0 -4
  1150. package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +0 -8
  1151. package/dist/esm/api/types/ResponseFactGroupsFilteredDataItemTranslationsItem.mjs +0 -4
  1152. package/dist/esm/api/types/ResponseFactUpdate.d.mts +0 -22
  1153. package/dist/esm/api/types/ResponseFactUpdate.mjs +0 -4
  1154. package/dist/esm/api/types/ResponseFactsCreate.d.mts +0 -8
  1155. package/dist/esm/api/types/ResponseFactsCreate.mjs +0 -4
  1156. package/dist/esm/api/types/ResponseFactsCreateFactsItem.d.mts +0 -20
  1157. package/dist/esm/api/types/ResponseFactsCreateFactsItem.mjs +0 -4
  1158. package/dist/esm/api/types/ResponseFactsList.d.mts +0 -8
  1159. package/dist/esm/api/types/ResponseFactsList.mjs +0 -4
  1160. package/dist/esm/api/types/ResponseFactsListFactsItem.d.mts +0 -23
  1161. package/dist/esm/api/types/ResponseFactsListFactsItem.mjs +0 -4
  1162. package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.d.mts +0 -11
  1163. package/dist/esm/api/types/ResponseFactsListFactsItemEvidenceItem.mjs +0 -4
  1164. package/dist/esm/api/types/ResponseFactsUpdate.d.mts +0 -8
  1165. package/dist/esm/api/types/ResponseFactsUpdate.mjs +0 -4
  1166. package/dist/esm/api/types/ResponseFactsUpdateFactsItem.d.mts +0 -22
  1167. package/dist/esm/api/types/ResponseFactsUpdateFactsItem.mjs +0 -4
  1168. package/dist/esm/api/types/ResponseInteraction.d.mts +0 -24
  1169. package/dist/esm/api/types/ResponseInteraction.mjs +0 -4
  1170. package/dist/esm/api/types/ResponseInteractionCreate.d.mts +0 -10
  1171. package/dist/esm/api/types/ResponseInteractionCreate.mjs +0 -4
  1172. package/dist/esm/api/types/ResponseInteractions.d.mts +0 -7
  1173. package/dist/esm/api/types/ResponseInteractions.mjs +0 -4
  1174. package/dist/esm/api/types/ResponseMetadataCreate.d.mts +0 -7
  1175. package/dist/esm/api/types/ResponseMetadataCreate.mjs +0 -4
  1176. package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +0 -10
  1177. package/dist/esm/api/types/ResponseMetadataCreateParticipantsRolesItem.mjs +0 -4
  1178. package/dist/esm/api/types/ResponseRecordingCreate.d.mts +0 -8
  1179. package/dist/esm/api/types/ResponseRecordingCreate.mjs +0 -4
  1180. package/dist/esm/api/types/ResponseRecordingList.d.mts +0 -8
  1181. package/dist/esm/api/types/ResponseRecordingList.mjs +0 -4
  1182. package/dist/esm/api/types/ResponseTranscriptCreate.d.mts +0 -13
  1183. package/dist/esm/api/types/ResponseTranscriptCreate.mjs +0 -4
  1184. package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.d.mts +0 -17
  1185. package/dist/esm/api/types/ResponseTranscriptCreateTranscriptsItem.mjs +0 -4
  1186. package/dist/esm/api/types/ResponseTranscriptListAll.d.mts +0 -7
  1187. package/dist/esm/api/types/ResponseTranscriptListAll.mjs +0 -4
  1188. package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.d.mts +0 -9
  1189. package/dist/esm/api/types/ResponseTranscriptListAllTranscriptsItem.mjs +0 -4
  1190. package/dist/esm/api/types/ResponseTranscriptListFull.d.mts +0 -10
  1191. package/dist/esm/api/types/ResponseTranscriptListFull.mjs +0 -4
  1192. package/dist/esm/api/types/ResponseTranscriptListFullTranscriptsItem.d.mts +0 -17
  1193. package/dist/esm/api/types/ResponseTranscriptListFullTranscriptsItem.mjs +0 -4
  1194. package/dist/esm/api/types/Section.d.mts +0 -22
  1195. package/dist/esm/api/types/Section.mjs +0 -4
  1196. package/dist/esm/api/types/SectionTranslationsItem.d.mts +0 -11
  1197. package/dist/esm/api/types/SectionTranslationsItem.mjs +0 -4
  1198. package/dist/esm/api/types/SortingDirectionEnum.d.mts +0 -8
  1199. package/dist/esm/api/types/SortingDirectionEnum.mjs +0 -7
  1200. package/dist/esm/api/types/StreamConfigData.d.mts +0 -8
  1201. package/dist/esm/api/types/StreamConfigData.mjs +0 -4
  1202. package/dist/esm/api/types/StreamConfigMessageType.d.mts +0 -4
  1203. package/dist/esm/api/types/StreamConfigMessageType.mjs +0 -4
  1204. package/dist/esm/api/types/StreamConfigModeOutputLocale.d.mts +0 -21
  1205. package/dist/esm/api/types/StreamConfigModeOutputLocale.mjs +0 -17
  1206. package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.d.mts +0 -21
  1207. package/dist/esm/api/types/StreamConfigTranscriptionPrimaryLanguage.mjs +0 -17
  1208. package/dist/esm/api/types/StreamConfigurationMessage.d.mts +0 -8
  1209. package/dist/esm/api/types/StreamConfigurationMessage.mjs +0 -4
  1210. package/dist/esm/api/types/StreamEndMessageType.d.mts +0 -4
  1211. package/dist/esm/api/types/StreamEndMessageType.mjs +0 -4
  1212. package/dist/esm/api/types/StreamEndedMessageType.d.mts +0 -4
  1213. package/dist/esm/api/types/StreamEndedMessageType.mjs +0 -4
  1214. package/dist/esm/api/types/StreamErrorMessageType.d.mts +0 -4
  1215. package/dist/esm/api/types/StreamErrorMessageType.mjs +0 -4
  1216. package/dist/esm/api/types/StreamFactsMessageType.d.mts +0 -4
  1217. package/dist/esm/api/types/StreamFactsMessageType.mjs +0 -4
  1218. package/dist/esm/api/types/StreamFlushMessageType.d.mts +0 -4
  1219. package/dist/esm/api/types/StreamFlushMessageType.mjs +0 -4
  1220. package/dist/esm/api/types/StreamFlushedMessageType.d.mts +0 -4
  1221. package/dist/esm/api/types/StreamFlushedMessageType.mjs +0 -4
  1222. package/dist/esm/api/types/StreamParticipantRole.d.mts +0 -12
  1223. package/dist/esm/api/types/StreamParticipantRole.mjs +0 -8
  1224. package/dist/esm/api/types/StreamTranscriptMessageType.d.mts +0 -4
  1225. package/dist/esm/api/types/StreamTranscriptMessageType.mjs +0 -4
  1226. package/dist/esm/api/types/StreamUsageMessageType.d.mts +0 -4
  1227. package/dist/esm/api/types/StreamUsageMessageType.mjs +0 -4
  1228. package/dist/esm/api/types/TemplateFiltered.d.mts +0 -20
  1229. package/dist/esm/api/types/TemplateFiltered.mjs +0 -4
  1230. package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.d.mts +0 -10
  1231. package/dist/esm/api/types/TemplateFilteredTemplateSectionsItem.mjs +0 -4
  1232. package/dist/esm/api/types/TemplateFilteredTranslationsItem.d.mts +0 -11
  1233. package/dist/esm/api/types/TemplateFilteredTranslationsItem.mjs +0 -4
  1234. package/dist/esm/api/types/TranscribeCommandMessageType.d.mts +0 -4
  1235. package/dist/esm/api/types/TranscribeCommandMessageType.mjs +0 -4
  1236. package/dist/esm/api/types/TranscribeCommandVariableType.d.mts +0 -5
  1237. package/dist/esm/api/types/TranscribeCommandVariableType.mjs +0 -5
  1238. package/dist/esm/api/types/TranscribeConfigMessageType.d.mts +0 -4
  1239. package/dist/esm/api/types/TranscribeConfigMessageType.mjs +0 -4
  1240. package/dist/esm/api/types/TranscribeConfigurationMessage.d.mts +0 -8
  1241. package/dist/esm/api/types/TranscribeConfigurationMessage.mjs +0 -4
  1242. package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.d.mts +0 -16
  1243. package/dist/esm/api/types/TranscribeConfigurationMessageConfiguration.mjs +0 -4
  1244. package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +0 -21
  1245. package/dist/esm/api/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +0 -17
  1246. package/dist/esm/api/types/TranscribeEndMessageType.d.mts +0 -4
  1247. package/dist/esm/api/types/TranscribeEndMessageType.mjs +0 -4
  1248. package/dist/esm/api/types/TranscribeEndedMessageType.d.mts +0 -4
  1249. package/dist/esm/api/types/TranscribeEndedMessageType.mjs +0 -4
  1250. package/dist/esm/api/types/TranscribeErrorMessageType.d.mts +0 -4
  1251. package/dist/esm/api/types/TranscribeErrorMessageType.mjs +0 -4
  1252. package/dist/esm/api/types/TranscribeFlushMessageType.d.mts +0 -4
  1253. package/dist/esm/api/types/TranscribeFlushMessageType.mjs +0 -4
  1254. package/dist/esm/api/types/TranscribeFlushedMessageType.d.mts +0 -4
  1255. package/dist/esm/api/types/TranscribeFlushedMessageType.mjs +0 -4
  1256. package/dist/esm/api/types/TranscribeTranscriptMessageType.d.mts +0 -4
  1257. package/dist/esm/api/types/TranscribeTranscriptMessageType.mjs +0 -4
  1258. package/dist/esm/api/types/TranscribeUsageMessageType.d.mts +0 -4
  1259. package/dist/esm/api/types/TranscribeUsageMessageType.mjs +0 -4
  1260. package/dist/esm/api/types/Transcript.d.mts +0 -17
  1261. package/dist/esm/api/types/Transcript.mjs +0 -4
  1262. package/dist/esm/api/types/UsageInfo.d.mts +0 -6
  1263. package/dist/esm/api/types/UsageInfo.mjs +0 -4
  1264. package/dist/esm/api/types/V2DocumentContextTypeEnum.d.mts +0 -9
  1265. package/dist/esm/api/types/V2DocumentContextTypeEnum.mjs +0 -8
  1266. package/dist/esm/api/types/V2SourceEnum.d.mts +0 -9
  1267. package/dist/esm/api/types/V2SourceEnum.mjs +0 -8
  1268. package/dist/esm/api/types/WritingStyle.d.mts +0 -7
  1269. package/dist/esm/api/types/WritingStyle.mjs +0 -4
  1270. package/dist/esm/auth/BearerAuthProvider.d.mts +0 -20
  1271. package/dist/esm/auth/BearerAuthProvider.mjs +0 -42
  1272. package/dist/esm/auth/OAuthRopcAuthProvider.d.mts +0 -33
  1273. package/dist/esm/auth/OAuthRopcAuthProvider.mjs +0 -93
  1274. package/dist/esm/core/auth/OAuthTokenProvider.d.mts +0 -25
  1275. package/dist/esm/core/auth/OAuthTokenProvider.mjs +0 -49
  1276. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
  1277. package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
  1278. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +0 -30
  1279. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +0 -243
  1280. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +0 -21
  1281. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +0 -122
  1282. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +0 -31
  1283. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +0 -225
  1284. package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts +0 -18
  1285. package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +0 -23
  1286. package/dist/esm/core/pagination/CustomPager.d.mts +0 -67
  1287. package/dist/esm/core/pagination/CustomPager.mjs +0 -189
  1288. package/dist/esm/core/pagination/Pageable.d.mts +0 -14
  1289. package/dist/esm/core/pagination/Pageable.mjs +0 -6
  1290. package/dist/esm/core/stream/Stream.d.mts +0 -46
  1291. package/dist/esm/core/stream/Stream.mjs +0 -164
  1292. package/dist/esm/core/stream/index.d.mts +0 -1
  1293. package/dist/esm/core/stream/index.mjs +0 -1
  1294. package/dist/esm/custom/BearerProvider.d.mts +0 -13
  1295. package/dist/esm/custom/BearerProvider.mjs +0 -23
  1296. package/dist/esm/custom/CortiOAuthAuthProvider.d.mts +0 -7
  1297. package/dist/esm/custom/CortiOAuthAuthProvider.mjs +0 -11
  1298. package/dist/esm/custom/CortiWebSocketClient.d.mts +0 -14
  1299. package/dist/esm/custom/CortiWebSocketClient.mjs +0 -27
  1300. package/dist/esm/custom/CustomStream.d.mts +0 -8
  1301. package/dist/esm/custom/CustomStream.mjs +0 -25
  1302. package/dist/esm/custom/CustomStreamSocket.d.mts +0 -15
  1303. package/dist/esm/custom/CustomStreamSocket.mjs +0 -33
  1304. package/dist/esm/custom/CustomTranscribe.d.mts +0 -6
  1305. package/dist/esm/custom/CustomTranscribe.mjs +0 -25
  1306. package/dist/esm/custom/CustomTranscribeSocket.d.mts +0 -15
  1307. package/dist/esm/custom/CustomTranscribeSocket.mjs +0 -33
  1308. package/dist/esm/custom/RefreshBearerProvider.d.mts +0 -33
  1309. package/dist/esm/custom/RefreshBearerProvider.mjs +0 -75
  1310. package/dist/esm/custom/createAuthProvider.d.mts +0 -6
  1311. package/dist/esm/custom/createAuthProvider.mjs +0 -18
  1312. package/dist/esm/custom/environments.d.mts +0 -10
  1313. package/dist/esm/custom/environments.mjs +0 -9
  1314. package/dist/esm/custom/index.d.mts +0 -1
  1315. package/dist/esm/custom/index.mjs +0 -1
  1316. package/dist/esm/custom/utils/getEnvironmentFromString.d.mts +0 -5
  1317. package/dist/esm/custom/utils/getEnvironmentFromString.mjs +0 -10
  1318. package/dist/esm/custom/utils/localStorage.d.mts +0 -4
  1319. package/dist/esm/custom/utils/localStorage.mjs +0 -34
  1320. package/dist/esm/custom/utils/pkce.d.mts +0 -2
  1321. package/dist/esm/custom/utils/pkce.mjs +0 -24
  1322. package/dist/esm/custom/utils/tokenRequest.d.mts +0 -12
  1323. package/dist/esm/custom/utils/tokenRequest.mjs +0 -42
  1324. package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.d.mts +0 -19
  1325. package/dist/esm/serialization/resources/agents/types/AgentsMessageStreamResponse.mjs +0 -14
  1326. package/dist/esm/serialization/resources/auth/client/index.d.mts +0 -1
  1327. package/dist/esm/serialization/resources/auth/client/index.mjs +0 -1
  1328. package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.d.mts +0 -13
  1329. package/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.mjs +0 -8
  1330. package/dist/esm/serialization/resources/auth/client/requests/index.d.mts +0 -1
  1331. package/dist/esm/serialization/resources/auth/client/requests/index.mjs +0 -1
  1332. package/dist/esm/serialization/resources/auth/types/AuthGetTokenRequestGrantType.d.mts +0 -7
  1333. package/dist/esm/serialization/resources/auth/types/AuthGetTokenRequestGrantType.mjs +0 -3
  1334. package/dist/esm/serialization/resources/auth/types/AuthTokenRequest.d.mts +0 -12
  1335. package/dist/esm/serialization/resources/auth/types/AuthTokenRequest.mjs +0 -14
  1336. package/dist/esm/serialization/resources/auth/types/GetTokenResponse.d.mts +0 -16
  1337. package/dist/esm/serialization/resources/auth/types/GetTokenResponse.mjs +0 -11
  1338. package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentCreate.d.mts +0 -19
  1339. package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentCreate.mjs +0 -14
  1340. package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentUpdate.d.mts +0 -14
  1341. package/dist/esm/serialization/resources/documents/client/requests/RequestDocumentUpdate.mjs +0 -9
  1342. package/dist/esm/serialization/resources/documents/types/RequestDocumentCreateContextItem.d.mts +0 -15
  1343. package/dist/esm/serialization/resources/documents/types/RequestDocumentCreateContextItem.mjs +0 -10
  1344. package/dist/esm/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.d.mts +0 -15
  1345. package/dist/esm/serialization/resources/documents/types/RequestDocumentUpdateSectionsItem.mjs +0 -10
  1346. package/dist/esm/serialization/resources/documents/types/index.d.mts +0 -2
  1347. package/dist/esm/serialization/resources/documents/types/index.mjs +0 -2
  1348. package/dist/esm/serialization/resources/facts/client/requests/RequestFactUpdate.d.mts +0 -16
  1349. package/dist/esm/serialization/resources/facts/client/requests/RequestFactUpdate.mjs +0 -11
  1350. package/dist/esm/serialization/resources/facts/client/requests/RequestFactsCreate.d.mts +0 -13
  1351. package/dist/esm/serialization/resources/facts/client/requests/RequestFactsCreate.mjs +0 -8
  1352. package/dist/esm/serialization/resources/facts/client/requests/RequestFactsUpdate.d.mts +0 -13
  1353. package/dist/esm/serialization/resources/facts/client/requests/RequestFactsUpdate.mjs +0 -8
  1354. package/dist/esm/serialization/resources/facts/types/RequestFactsCreateFactsItem.d.mts +0 -15
  1355. package/dist/esm/serialization/resources/facts/types/RequestFactsCreateFactsItem.mjs +0 -10
  1356. package/dist/esm/serialization/resources/facts/types/RequestFactsUpdateFactsItem.d.mts +0 -16
  1357. package/dist/esm/serialization/resources/facts/types/RequestFactsUpdateFactsItem.mjs +0 -11
  1358. package/dist/esm/serialization/resources/facts/types/index.d.mts +0 -2
  1359. package/dist/esm/serialization/resources/facts/types/index.mjs +0 -2
  1360. package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionCreate.d.mts +0 -17
  1361. package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionCreate.mjs +0 -12
  1362. package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionUpdate.d.mts +0 -17
  1363. package/dist/esm/serialization/resources/interactions/client/requests/RequestInteractionUpdate.mjs +0 -12
  1364. package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestDirection.d.mts +0 -10
  1365. package/dist/esm/serialization/resources/interactions/types/InteractionsListRequestDirection.mjs +0 -5
  1366. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptCreate.d.mts +0 -22
  1367. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptCreate.mjs +0 -17
  1368. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.d.mts +0 -10
  1369. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateModelName.mjs +0 -5
  1370. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.d.mts +0 -14
  1371. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreateParticipantsItem.mjs +0 -9
  1372. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.d.mts +0 -10
  1373. package/dist/esm/serialization/resources/transcripts/types/RequestTranscriptCreatePrimaryLanguage.mjs +0 -5
  1374. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -10
  1375. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -5
  1376. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.d.mts +0 -10
  1377. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestPrimaryLanguage.mjs +0 -5
  1378. package/dist/esm/serialization/resources/transcripts/types/TranscriptsListRequestSort.d.mts +0 -10
  1379. package/dist/esm/serialization/resources/transcripts/types/TranscriptsListRequestSort.mjs +0 -5
  1380. package/dist/esm/serialization/resources/transcripts/types/index.d.mts +0 -1
  1381. package/dist/esm/serialization/resources/transcripts/types/index.mjs +0 -1
  1382. package/dist/esm/serialization/types/AgentsMessageSendParams.d.mts +0 -16
  1383. package/dist/esm/serialization/types/AgentsMessageSendParams.mjs +0 -11
  1384. package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.d.mts +0 -19
  1385. package/dist/esm/serialization/types/AgentsTaskArtifactUpdateEvent.mjs +0 -14
  1386. package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.d.mts +0 -18
  1387. package/dist/esm/serialization/types/AgentsTaskStatusUpdateEvent.mjs +0 -13
  1388. package/dist/esm/serialization/types/AuthTokenRequest.d.mts +0 -13
  1389. package/dist/esm/serialization/types/AuthTokenRequest.mjs +0 -9
  1390. package/dist/esm/serialization/types/AuthTokenRequestGrantType.d.mts +0 -7
  1391. package/dist/esm/serialization/types/AuthTokenRequestGrantType.mjs +0 -3
  1392. package/dist/esm/serialization/types/CommonTranscript.d.mts +0 -17
  1393. package/dist/esm/serialization/types/CommonTranscript.mjs +0 -12
  1394. package/dist/esm/serialization/types/DocumentContextData.d.mts +0 -12
  1395. package/dist/esm/serialization/types/DocumentContextData.mjs +0 -11
  1396. package/dist/esm/serialization/types/DocumentTemplate.d.mts +0 -16
  1397. package/dist/esm/serialization/types/DocumentTemplate.mjs +0 -11
  1398. package/dist/esm/serialization/types/DocumentsContextData.d.mts +0 -12
  1399. package/dist/esm/serialization/types/DocumentsContextData.mjs +0 -11
  1400. package/dist/esm/serialization/types/DocumentsContextTypeEnum.d.mts +0 -10
  1401. package/dist/esm/serialization/types/DocumentsContextTypeEnum.mjs +0 -5
  1402. package/dist/esm/serialization/types/DocumentsCreateRequestBody.d.mts +0 -9
  1403. package/dist/esm/serialization/types/DocumentsCreateRequestBody.mjs +0 -8
  1404. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -18
  1405. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs +0 -13
  1406. package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.d.mts +0 -15
  1407. package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.mjs +0 -10
  1408. package/dist/esm/serialization/types/Encounter.d.mts +0 -19
  1409. package/dist/esm/serialization/types/Encounter.mjs +0 -14
  1410. package/dist/esm/serialization/types/EncounterPeriod.d.mts +0 -13
  1411. package/dist/esm/serialization/types/EncounterPeriod.mjs +0 -8
  1412. package/dist/esm/serialization/types/EncounterStatus.d.mts +0 -10
  1413. package/dist/esm/serialization/types/EncounterStatus.mjs +0 -5
  1414. package/dist/esm/serialization/types/EncounterType.d.mts +0 -10
  1415. package/dist/esm/serialization/types/EncounterType.mjs +0 -5
  1416. package/dist/esm/serialization/types/EncounterUpdate.d.mts +0 -19
  1417. package/dist/esm/serialization/types/EncounterUpdate.mjs +0 -14
  1418. package/dist/esm/serialization/types/FactContext.d.mts +0 -15
  1419. package/dist/esm/serialization/types/FactContext.mjs +0 -10
  1420. package/dist/esm/serialization/types/GenderEnum.d.mts +0 -10
  1421. package/dist/esm/serialization/types/GenderEnum.mjs +0 -5
  1422. package/dist/esm/serialization/types/ParticipantRoleEnum.d.mts +0 -10
  1423. package/dist/esm/serialization/types/ParticipantRoleEnum.mjs +0 -5
  1424. package/dist/esm/serialization/types/Patient.d.mts +0 -17
  1425. package/dist/esm/serialization/types/Patient.mjs +0 -12
  1426. package/dist/esm/serialization/types/PatientUpdate.d.mts +0 -17
  1427. package/dist/esm/serialization/types/PatientUpdate.mjs +0 -12
  1428. package/dist/esm/serialization/types/ResponseAllTemplateSections.d.mts +0 -13
  1429. package/dist/esm/serialization/types/ResponseAllTemplateSections.mjs +0 -8
  1430. package/dist/esm/serialization/types/ResponseAllTemplates.d.mts +0 -13
  1431. package/dist/esm/serialization/types/ResponseAllTemplates.mjs +0 -8
  1432. package/dist/esm/serialization/types/ResponseAllTemplatesDataItem.d.mts +0 -20
  1433. package/dist/esm/serialization/types/ResponseAllTemplatesDataItem.mjs +0 -15
  1434. package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.d.mts +0 -14
  1435. package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTemplateSectionsItem.mjs +0 -9
  1436. package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.d.mts +0 -14
  1437. package/dist/esm/serialization/types/ResponseAllTemplatesDataItemTranslationsItem.mjs +0 -9
  1438. package/dist/esm/serialization/types/ResponseDocumentList.d.mts +0 -13
  1439. package/dist/esm/serialization/types/ResponseDocumentList.mjs +0 -8
  1440. package/dist/esm/serialization/types/ResponseDocumentRead.d.mts +0 -23
  1441. package/dist/esm/serialization/types/ResponseDocumentRead.mjs +0 -18
  1442. package/dist/esm/serialization/types/ResponseDocumentReadSectionsItem.d.mts +0 -17
  1443. package/dist/esm/serialization/types/ResponseDocumentReadSectionsItem.mjs +0 -12
  1444. package/dist/esm/serialization/types/ResponseFactGroupsFiltered.d.mts +0 -13
  1445. package/dist/esm/serialization/types/ResponseFactGroupsFiltered.mjs +0 -8
  1446. package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItem.d.mts +0 -16
  1447. package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItem.mjs +0 -11
  1448. package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.d.mts +0 -14
  1449. package/dist/esm/serialization/types/ResponseFactGroupsFilteredDataItemTranslationsItem.mjs +0 -9
  1450. package/dist/esm/serialization/types/ResponseFactUpdate.d.mts +0 -21
  1451. package/dist/esm/serialization/types/ResponseFactUpdate.mjs +0 -16
  1452. package/dist/esm/serialization/types/ResponseFactsCreate.d.mts +0 -13
  1453. package/dist/esm/serialization/types/ResponseFactsCreate.mjs +0 -8
  1454. package/dist/esm/serialization/types/ResponseFactsCreateFactsItem.d.mts +0 -20
  1455. package/dist/esm/serialization/types/ResponseFactsCreateFactsItem.mjs +0 -15
  1456. package/dist/esm/serialization/types/ResponseFactsList.d.mts +0 -13
  1457. package/dist/esm/serialization/types/ResponseFactsList.mjs +0 -8
  1458. package/dist/esm/serialization/types/ResponseFactsListFactsItem.d.mts +0 -23
  1459. package/dist/esm/serialization/types/ResponseFactsListFactsItem.mjs +0 -18
  1460. package/dist/esm/serialization/types/ResponseFactsListFactsItemEvidenceItem.d.mts +0 -14
  1461. package/dist/esm/serialization/types/ResponseFactsListFactsItemEvidenceItem.mjs +0 -9
  1462. package/dist/esm/serialization/types/ResponseFactsUpdate.d.mts +0 -13
  1463. package/dist/esm/serialization/types/ResponseFactsUpdate.mjs +0 -8
  1464. package/dist/esm/serialization/types/ResponseFactsUpdateFactsItem.d.mts +0 -21
  1465. package/dist/esm/serialization/types/ResponseFactsUpdateFactsItem.mjs +0 -16
  1466. package/dist/esm/serialization/types/ResponseInteraction.d.mts +0 -23
  1467. package/dist/esm/serialization/types/ResponseInteraction.mjs +0 -18
  1468. package/dist/esm/serialization/types/ResponseInteractionCreate.d.mts +0 -14
  1469. package/dist/esm/serialization/types/ResponseInteractionCreate.mjs +0 -9
  1470. package/dist/esm/serialization/types/ResponseInteractions.d.mts +0 -13
  1471. package/dist/esm/serialization/types/ResponseInteractions.mjs +0 -8
  1472. package/dist/esm/serialization/types/ResponseMetadataCreate.d.mts +0 -13
  1473. package/dist/esm/serialization/types/ResponseMetadataCreate.mjs +0 -8
  1474. package/dist/esm/serialization/types/ResponseMetadataCreateParticipantsRolesItem.d.mts +0 -14
  1475. package/dist/esm/serialization/types/ResponseMetadataCreateParticipantsRolesItem.mjs +0 -9
  1476. package/dist/esm/serialization/types/ResponseRecordingCreate.d.mts +0 -13
  1477. package/dist/esm/serialization/types/ResponseRecordingCreate.mjs +0 -8
  1478. package/dist/esm/serialization/types/ResponseRecordingList.d.mts +0 -13
  1479. package/dist/esm/serialization/types/ResponseRecordingList.mjs +0 -8
  1480. package/dist/esm/serialization/types/ResponseTranscriptCreate.d.mts +0 -19
  1481. package/dist/esm/serialization/types/ResponseTranscriptCreate.mjs +0 -14
  1482. package/dist/esm/serialization/types/ResponseTranscriptListAll.d.mts +0 -13
  1483. package/dist/esm/serialization/types/ResponseTranscriptListAll.mjs +0 -8
  1484. package/dist/esm/serialization/types/ResponseTranscriptListAllTranscriptsItem.d.mts +0 -16
  1485. package/dist/esm/serialization/types/ResponseTranscriptListAllTranscriptsItem.mjs +0 -11
  1486. package/dist/esm/serialization/types/ResponseTranscriptListFull.d.mts +0 -15
  1487. package/dist/esm/serialization/types/ResponseTranscriptListFull.mjs +0 -10
  1488. package/dist/esm/serialization/types/ResponseTranscriptListFullTranscriptsItem.d.mts +0 -17
  1489. package/dist/esm/serialization/types/ResponseTranscriptListFullTranscriptsItem.mjs +0 -12
  1490. package/dist/esm/serialization/types/Section.d.mts +0 -21
  1491. package/dist/esm/serialization/types/Section.mjs +0 -16
  1492. package/dist/esm/serialization/types/SectionTranslationsItem.d.mts +0 -14
  1493. package/dist/esm/serialization/types/SectionTranslationsItem.mjs +0 -9
  1494. package/dist/esm/serialization/types/SortingDirectionEnum.d.mts +0 -10
  1495. package/dist/esm/serialization/types/SortingDirectionEnum.mjs +0 -5
  1496. package/dist/esm/serialization/types/StreamConfigData.d.mts +0 -15
  1497. package/dist/esm/serialization/types/StreamConfigData.mjs +0 -10
  1498. package/dist/esm/serialization/types/StreamConfigMessageType.d.mts +0 -7
  1499. package/dist/esm/serialization/types/StreamConfigMessageType.mjs +0 -3
  1500. package/dist/esm/serialization/types/StreamConfigModeOutputLocale.d.mts +0 -10
  1501. package/dist/esm/serialization/types/StreamConfigModeOutputLocale.mjs +0 -5
  1502. package/dist/esm/serialization/types/StreamConfigTranscriptionPrimaryLanguage.d.mts +0 -10
  1503. package/dist/esm/serialization/types/StreamConfigTranscriptionPrimaryLanguage.mjs +0 -5
  1504. package/dist/esm/serialization/types/StreamConfigurationMessage.d.mts +0 -14
  1505. package/dist/esm/serialization/types/StreamConfigurationMessage.mjs +0 -9
  1506. package/dist/esm/serialization/types/StreamEndMessageType.d.mts +0 -7
  1507. package/dist/esm/serialization/types/StreamEndMessageType.mjs +0 -3
  1508. package/dist/esm/serialization/types/StreamEndedMessageType.d.mts +0 -7
  1509. package/dist/esm/serialization/types/StreamEndedMessageType.mjs +0 -3
  1510. package/dist/esm/serialization/types/StreamErrorMessageType.d.mts +0 -7
  1511. package/dist/esm/serialization/types/StreamErrorMessageType.mjs +0 -3
  1512. package/dist/esm/serialization/types/StreamFactsMessageType.d.mts +0 -7
  1513. package/dist/esm/serialization/types/StreamFactsMessageType.mjs +0 -3
  1514. package/dist/esm/serialization/types/StreamFlushMessageType.d.mts +0 -7
  1515. package/dist/esm/serialization/types/StreamFlushMessageType.mjs +0 -3
  1516. package/dist/esm/serialization/types/StreamFlushedMessageType.d.mts +0 -7
  1517. package/dist/esm/serialization/types/StreamFlushedMessageType.mjs +0 -3
  1518. package/dist/esm/serialization/types/StreamParticipantRole.d.mts +0 -10
  1519. package/dist/esm/serialization/types/StreamParticipantRole.mjs +0 -5
  1520. package/dist/esm/serialization/types/StreamTranscriptMessageType.d.mts +0 -7
  1521. package/dist/esm/serialization/types/StreamTranscriptMessageType.mjs +0 -3
  1522. package/dist/esm/serialization/types/StreamUsageMessageType.d.mts +0 -7
  1523. package/dist/esm/serialization/types/StreamUsageMessageType.mjs +0 -3
  1524. package/dist/esm/serialization/types/TemplateFiltered.d.mts +0 -20
  1525. package/dist/esm/serialization/types/TemplateFiltered.mjs +0 -15
  1526. package/dist/esm/serialization/types/TemplateFilteredTemplateSectionsItem.d.mts +0 -14
  1527. package/dist/esm/serialization/types/TemplateFilteredTemplateSectionsItem.mjs +0 -9
  1528. package/dist/esm/serialization/types/TemplateFilteredTranslationsItem.d.mts +0 -14
  1529. package/dist/esm/serialization/types/TemplateFilteredTranslationsItem.mjs +0 -9
  1530. package/dist/esm/serialization/types/TranscribeCommandMessageType.d.mts +0 -7
  1531. package/dist/esm/serialization/types/TranscribeCommandMessageType.mjs +0 -3
  1532. package/dist/esm/serialization/types/TranscribeCommandVariableType.d.mts +0 -7
  1533. package/dist/esm/serialization/types/TranscribeCommandVariableType.mjs +0 -3
  1534. package/dist/esm/serialization/types/TranscribeConfigMessageType.d.mts +0 -7
  1535. package/dist/esm/serialization/types/TranscribeConfigMessageType.mjs +0 -3
  1536. package/dist/esm/serialization/types/TranscribeConfigurationMessage.d.mts +0 -14
  1537. package/dist/esm/serialization/types/TranscribeConfigurationMessage.mjs +0 -9
  1538. package/dist/esm/serialization/types/TranscribeConfigurationMessageConfiguration.d.mts +0 -18
  1539. package/dist/esm/serialization/types/TranscribeConfigurationMessageConfiguration.mjs +0 -13
  1540. package/dist/esm/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.d.mts +0 -10
  1541. package/dist/esm/serialization/types/TranscribeConfigurationMessageConfigurationPrimaryLanguage.mjs +0 -5
  1542. package/dist/esm/serialization/types/TranscribeEndMessageType.d.mts +0 -7
  1543. package/dist/esm/serialization/types/TranscribeEndMessageType.mjs +0 -3
  1544. package/dist/esm/serialization/types/TranscribeEndedMessageType.d.mts +0 -7
  1545. package/dist/esm/serialization/types/TranscribeEndedMessageType.mjs +0 -3
  1546. package/dist/esm/serialization/types/TranscribeErrorMessageType.d.mts +0 -7
  1547. package/dist/esm/serialization/types/TranscribeErrorMessageType.mjs +0 -3
  1548. package/dist/esm/serialization/types/TranscribeFlushMessageType.d.mts +0 -7
  1549. package/dist/esm/serialization/types/TranscribeFlushMessageType.mjs +0 -3
  1550. package/dist/esm/serialization/types/TranscribeFlushedMessageType.d.mts +0 -7
  1551. package/dist/esm/serialization/types/TranscribeFlushedMessageType.mjs +0 -3
  1552. package/dist/esm/serialization/types/TranscribeTranscriptMessageType.d.mts +0 -7
  1553. package/dist/esm/serialization/types/TranscribeTranscriptMessageType.mjs +0 -3
  1554. package/dist/esm/serialization/types/TranscribeUsageMessageType.d.mts +0 -7
  1555. package/dist/esm/serialization/types/TranscribeUsageMessageType.mjs +0 -3
  1556. package/dist/esm/serialization/types/Transcript.d.mts +0 -17
  1557. package/dist/esm/serialization/types/Transcript.mjs +0 -12
  1558. package/dist/esm/serialization/types/UsageInfo.d.mts +0 -12
  1559. package/dist/esm/serialization/types/UsageInfo.mjs +0 -7
  1560. package/dist/esm/serialization/types/V2DocumentContextTypeEnum.d.mts +0 -10
  1561. package/dist/esm/serialization/types/V2DocumentContextTypeEnum.mjs +0 -5
  1562. package/dist/esm/serialization/types/V2SourceEnum.d.mts +0 -10
  1563. package/dist/esm/serialization/types/V2SourceEnum.mjs +0 -5
  1564. package/dist/esm/serialization/types/WritingStyle.d.mts +0 -12
  1565. package/dist/esm/serialization/types/WritingStyle.mjs +0 -7
  1566. package/reference.md +0 -2748
  1567. /package/dist/cjs/api/{resources/auth/types/AuthTokenRequest.js → types/AgentsErrorResponse.js} +0 -0
  1568. /package/dist/cjs/api/{resources/documents/client/requests/DocumentsCreateRequest.js → types/AgentsValidationError.js} +0 -0
  1569. /package/dist/cjs/api/{resources/documents/client/requests/DocumentsDeleteRequest.js → types/AgentsValidationErrorErrorsItem.js} +0 -0
  1570. /package/dist/cjs/api/{resources/documents/client/requests/DocumentsGetRequest.js → types/AgentsValidationErrorResponse.js} +0 -0
  1571. /package/dist/cjs/api/{resources/documents/client/requests/DocumentsListRequest.js → types/CodesFilter.js} +0 -0
  1572. /package/dist/cjs/api/{resources/facts/client/requests/FactsListRequest.js → types/CodesGeneralReadResponseAlternativesItem.js} +0 -0
  1573. /package/dist/esm/api/{resources/auth/types/AuthTokenRequest.mjs → types/AgentsErrorResponse.mjs} +0 -0
  1574. /package/dist/esm/api/{resources/documents/client/requests/DocumentsCreateRequest.mjs → types/AgentsValidationError.mjs} +0 -0
  1575. /package/dist/esm/api/{resources/documents/client/requests/DocumentsDeleteRequest.mjs → types/AgentsValidationErrorErrorsItem.mjs} +0 -0
  1576. /package/dist/esm/api/{resources/documents/client/requests/DocumentsGetRequest.mjs → types/AgentsValidationErrorResponse.mjs} +0 -0
  1577. /package/dist/esm/api/{resources/documents/client/requests/DocumentsListRequest.mjs → types/CodesFilter.mjs} +0 -0
  1578. /package/dist/esm/api/{resources/facts/client/requests/FactsListRequest.mjs → types/CodesGeneralReadResponseAlternativesItem.mjs} +0 -0
@@ -1,18 +0,0 @@
1
- export type EventCallback = (data?: any) => void;
2
- export interface StreamWrapper<WritableStream, ReadFormat> {
3
- setEncoding(encoding?: string): void;
4
- on(event: string, callback: EventCallback): void;
5
- off(event: string, callback: EventCallback): void;
6
- pipe(dest: WritableStream): WritableStream;
7
- pipeTo(dest: WritableStream): WritableStream;
8
- unpipe(dest?: WritableStream): void;
9
- destroy(error?: Error): void;
10
- pause(): void;
11
- resume(): void;
12
- get isPaused(): boolean;
13
- read(): Promise<ReadFormat | undefined>;
14
- text(): Promise<string>;
15
- json<T>(): Promise<T>;
16
- [Symbol.asyncIterator](): AsyncIterableIterator<ReadFormat>;
17
- }
18
- export declare function chooseStreamWrapper(responseBody: any): Promise<Promise<StreamWrapper<any, any>>>;
@@ -1,59 +0,0 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
- return new (P || (P = Promise))(function (resolve, reject) {
38
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
- step((generator = generator.apply(thisArg, _arguments || [])).next());
42
- });
43
- };
44
- Object.defineProperty(exports, "__esModule", { value: true });
45
- exports.chooseStreamWrapper = chooseStreamWrapper;
46
- const index_js_1 = require("../../runtime/index.js");
47
- function chooseStreamWrapper(responseBody) {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- if (index_js_1.RUNTIME.type === "node" && index_js_1.RUNTIME.parsedVersion != null && index_js_1.RUNTIME.parsedVersion >= 18) {
50
- return new (yield Promise.resolve().then(() => __importStar(require("./Node18UniversalStreamWrapper.js")))).Node18UniversalStreamWrapper(responseBody);
51
- }
52
- else if (index_js_1.RUNTIME.type !== "node" && typeof fetch === "function") {
53
- return new (yield Promise.resolve().then(() => __importStar(require("./UndiciStreamWrapper.js")))).UndiciStreamWrapper(responseBody);
54
- }
55
- else {
56
- return new (yield Promise.resolve().then(() => __importStar(require("./NodePre18StreamWrapper.js")))).NodePre18StreamWrapper(responseBody);
57
- }
58
- });
59
- }
@@ -1,67 +0,0 @@
1
- import type { BaseRequestOptions, NormalizedClientOptions } from "../../BaseClient.js";
2
- import type { APIResponse } from "../fetcher/APIResponse.js";
3
- import type { Fetcher } from "../fetcher/Fetcher.js";
4
- import type { RawResponse } from "../fetcher/index.js";
5
- /**
6
- *
7
- * @template TItem The type of the items in the page.
8
- * @template TResponse The type of the API response.
9
- */
10
- export declare class CustomPager<TItem, TResponse> implements AsyncIterable<TItem> {
11
- /** The items from the current page */
12
- data: TItem[];
13
- /** The raw HTTP response */
14
- rawResponse: RawResponse;
15
- /** The parsed response object */
16
- response: TResponse;
17
- private sendRequest;
18
- private nextRequest?;
19
- private previousRequest?;
20
- private _hasNextPage;
21
- private _hasPreviousPage;
22
- constructor(args: {
23
- response: TResponse;
24
- rawResponse: RawResponse;
25
- items: TItem[];
26
- hasNextPage: boolean;
27
- hasPreviousPage: boolean;
28
- nextRequest?: Fetcher.Args;
29
- previousRequest?: Fetcher.Args;
30
- sendRequest: (request: Fetcher.Args) => Promise<APIResponse<TResponse, Fetcher.Error>>;
31
- });
32
- /**
33
- * @returns whether there is a next page to load
34
- */
35
- hasNextPage(): boolean;
36
- /**
37
- * @returns whether there is a previous page to load
38
- */
39
- hasPreviousPage(): boolean;
40
- /**
41
- * Returns the current page data.
42
- * This is an alias for the `data` property for consistency with other pagination APIs.
43
- *
44
- * @returns the items from the current page
45
- */
46
- getCurrentPage(): TItem[];
47
- /**
48
- * Retrieves the next page of results.
49
- * @returns this pager with updated data
50
- * @throws Error if there is no next page
51
- */
52
- getNextPage(): Promise<this>;
53
- /**
54
- * Retrieves the previous page of results.
55
- * @returns this pager with updated data
56
- * @throws Error if there is no previous page
57
- */
58
- getPreviousPage(): Promise<this>;
59
- private iterMessages;
60
- [Symbol.asyncIterator](): AsyncIterator<TItem, void, unknown>;
61
- }
62
- export declare function createCustomPager<TItem, TResponse>({ sendRequest, initialHttpRequest, clientOptions, }: {
63
- sendRequest: (request: Fetcher.Args) => Promise<APIResponse<TResponse, Fetcher.Error>>;
64
- initialHttpRequest: Fetcher.Args;
65
- clientOptions: NormalizedClientOptions;
66
- requestOptions?: BaseRequestOptions;
67
- }): Promise<CustomPager<TItem, TResponse>>;
@@ -1,194 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
12
- var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
13
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
14
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
15
- return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
16
- function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
17
- function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
18
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
19
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
20
- function fulfill(value) { resume("next", value); }
21
- function reject(value) { resume("throw", value); }
22
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
23
- };
24
- var __asyncValues = (this && this.__asyncValues) || function (o) {
25
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
26
- var m = o[Symbol.asyncIterator], i;
27
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
28
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
29
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
30
- };
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.CustomPager = void 0;
33
- exports.createCustomPager = createCustomPager;
34
- /**
35
- *
36
- * @template TItem The type of the items in the page.
37
- * @template TResponse The type of the API response.
38
- */
39
- class CustomPager {
40
- constructor(args) {
41
- this.response = args.response;
42
- this.rawResponse = args.rawResponse;
43
- this.data = args.items;
44
- this._hasNextPage = args.hasNextPage;
45
- this._hasPreviousPage = args.hasPreviousPage;
46
- this.nextRequest = args.nextRequest;
47
- this.previousRequest = args.previousRequest;
48
- this.sendRequest = args.sendRequest;
49
- }
50
- /**
51
- * @returns whether there is a next page to load
52
- */
53
- hasNextPage() {
54
- return this._hasNextPage;
55
- }
56
- /**
57
- * @returns whether there is a previous page to load
58
- */
59
- hasPreviousPage() {
60
- return this._hasPreviousPage;
61
- }
62
- /**
63
- * Returns the current page data.
64
- * This is an alias for the `data` property for consistency with other pagination APIs.
65
- *
66
- * @returns the items from the current page
67
- */
68
- getCurrentPage() {
69
- return this.data;
70
- }
71
- /**
72
- * Retrieves the next page of results.
73
- * @returns this pager with updated data
74
- * @throws Error if there is no next page
75
- */
76
- getNextPage() {
77
- return __awaiter(this, void 0, void 0, function* () {
78
- if (!this._hasNextPage || !this.nextRequest) {
79
- throw new Error("No next page available");
80
- }
81
- const response = yield this.sendRequest(this.nextRequest);
82
- if (!response.ok) {
83
- const reason = response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason;
84
- throw new Error(`Failed to fetch next page: ${reason}`);
85
- }
86
- const data = response.body;
87
- const rawResponse = response.rawResponse;
88
- const parsed = yield parse({ request: this.nextRequest, data, rawResponse });
89
- this.response = data;
90
- this.rawResponse = rawResponse;
91
- this.data = parsed.items;
92
- this._hasNextPage = parsed.hasNextPage;
93
- this._hasPreviousPage = parsed.hasPreviousPage;
94
- this.nextRequest = parsed.nextRequest;
95
- this.previousRequest = parsed.previousRequest;
96
- return this;
97
- });
98
- }
99
- /**
100
- * Retrieves the previous page of results.
101
- * @returns this pager with updated data
102
- * @throws Error if there is no previous page
103
- */
104
- getPreviousPage() {
105
- return __awaiter(this, void 0, void 0, function* () {
106
- if (!this._hasPreviousPage || !this.previousRequest) {
107
- throw new Error("No previous page available");
108
- }
109
- const response = yield this.sendRequest(this.previousRequest);
110
- if (!response.ok) {
111
- const reason = response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason;
112
- throw new Error(`Failed to fetch previous page: ${reason}`);
113
- }
114
- const data = response.body;
115
- const rawResponse = response.rawResponse;
116
- const parsed = yield parse({ request: this.previousRequest, data, rawResponse });
117
- this.response = data;
118
- this.rawResponse = rawResponse;
119
- this.data = parsed.items;
120
- this._hasNextPage = parsed.hasNextPage;
121
- this._hasPreviousPage = parsed.hasPreviousPage;
122
- this.nextRequest = parsed.nextRequest;
123
- this.previousRequest = parsed.previousRequest;
124
- return this;
125
- });
126
- }
127
- iterMessages() {
128
- return __asyncGenerator(this, arguments, function* iterMessages_1() {
129
- for (const item of this.data) {
130
- yield yield __await(item);
131
- }
132
- while (this.hasNextPage()) {
133
- yield __await(this.getNextPage());
134
- for (const item of this.data) {
135
- yield yield __await(item);
136
- }
137
- }
138
- });
139
- }
140
- [Symbol.asyncIterator]() {
141
- return __asyncGenerator(this, arguments, function* _a() {
142
- var _b, e_1, _c, _d;
143
- try {
144
- for (var _e = true, _f = __asyncValues(this.iterMessages()), _g; _g = yield __await(_f.next()), _b = _g.done, !_b; _e = true) {
145
- _d = _g.value;
146
- _e = false;
147
- const message = _d;
148
- yield yield __await(message);
149
- }
150
- }
151
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
152
- finally {
153
- try {
154
- if (!_e && !_b && (_c = _f.return)) yield __await(_c.call(_f));
155
- }
156
- finally { if (e_1) throw e_1.error; }
157
- }
158
- });
159
- }
160
- }
161
- exports.CustomPager = CustomPager;
162
- function createCustomPager(_a) {
163
- return __awaiter(this, arguments, void 0, function* ({ sendRequest, initialHttpRequest, clientOptions, }) {
164
- const response = yield sendRequest(initialHttpRequest);
165
- if (!response.ok) {
166
- const reason = response.error.reason === "status-code" ? `HTTP ${response.error.statusCode}` : response.error.reason;
167
- throw new Error(`Failed to fetch initial page: ${reason}`);
168
- }
169
- const data = response.body;
170
- const rawResponse = response.rawResponse;
171
- const parsed = yield parse({ request: initialHttpRequest, data, rawResponse });
172
- return new CustomPager({
173
- response: data,
174
- rawResponse,
175
- items: parsed.items,
176
- hasNextPage: parsed.hasNextPage,
177
- hasPreviousPage: parsed.hasPreviousPage,
178
- nextRequest: parsed.nextRequest,
179
- previousRequest: parsed.previousRequest,
180
- sendRequest: sendRequest,
181
- });
182
- });
183
- }
184
- function parse(_args) {
185
- return __awaiter(this, void 0, void 0, function* () {
186
- // Placeholder implementation.
187
- // TODO: Replace this with actual parsing logic.
188
- return {
189
- items: [],
190
- hasNextPage: false,
191
- hasPreviousPage: false,
192
- };
193
- });
194
- }
@@ -1,14 +0,0 @@
1
- import { RawResponse } from "../fetcher/index.js";
2
- import { Page } from "./Page.js";
3
- export declare namespace Pageable {
4
- interface Args<Response, Item> {
5
- response: Response;
6
- rawResponse: RawResponse;
7
- hasNextPage: (response: Response) => boolean;
8
- getItems: (response: Response) => Item[];
9
- loadPage: (response: Response) => Promise<Response>;
10
- }
11
- }
12
- export declare class Pageable<R, T> extends Page<T> {
13
- constructor(args: Pageable.Args<R, T>);
14
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Pageable = void 0;
4
- const Page_js_1 = require("./Page.js");
5
- class Pageable extends Page_js_1.Page {
6
- constructor(args) {
7
- super(args);
8
- }
9
- }
10
- exports.Pageable = Pageable;
@@ -1,46 +0,0 @@
1
- export declare namespace Stream {
2
- interface Args {
3
- /**
4
- * The HTTP response stream to read from.
5
- */
6
- stream: ReadableStream;
7
- /**
8
- * The event shape to use for parsing the stream data.
9
- */
10
- eventShape: JsonEvent | SseEvent;
11
- /**
12
- * An abort signal to stop the stream.
13
- */
14
- signal?: AbortSignal;
15
- }
16
- interface JsonEvent {
17
- type: "json";
18
- messageTerminator: string;
19
- }
20
- interface SseEvent {
21
- type: "sse";
22
- streamTerminator?: string;
23
- }
24
- }
25
- export declare class Stream<T> implements AsyncIterable<T> {
26
- private stream;
27
- private parse;
28
- /**
29
- * The prefix to use for each message. For example,
30
- * for SSE, the prefix is "data: ".
31
- */
32
- private prefix;
33
- private messageTerminator;
34
- private streamTerminator;
35
- private controller;
36
- constructor({ stream, parse, eventShape, signal }: Stream.Args & {
37
- parse: (val: unknown) => Promise<T>;
38
- });
39
- private iterMessages;
40
- [Symbol.asyncIterator](): AsyncIterator<T, void, unknown>;
41
- private decodeChunk;
42
- }
43
- /**
44
- * Browser polyfill for ReadableStream
45
- */
46
- export declare function readableStreamAsyncIterable<T>(stream: any): AsyncIterableIterator<T>;
@@ -1,169 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __asyncValues = (this && this.__asyncValues) || function (o) {
12
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
13
- var m = o[Symbol.asyncIterator], i;
14
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
15
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
16
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
17
- };
18
- var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
19
- var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
20
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
21
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
22
- return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
23
- function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
24
- function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
25
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
26
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
27
- function fulfill(value) { resume("next", value); }
28
- function reject(value) { resume("throw", value); }
29
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
30
- };
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.Stream = void 0;
33
- exports.readableStreamAsyncIterable = readableStreamAsyncIterable;
34
- const index_js_1 = require("../runtime/index.js");
35
- const DATA_PREFIX = "data:";
36
- class Stream {
37
- constructor({ stream, parse, eventShape, signal }) {
38
- this.controller = new AbortController();
39
- this.stream = stream;
40
- this.parse = parse;
41
- if (eventShape.type === "sse") {
42
- this.prefix = DATA_PREFIX;
43
- this.messageTerminator = "\n";
44
- this.streamTerminator = eventShape.streamTerminator;
45
- }
46
- else {
47
- this.messageTerminator = eventShape.messageTerminator;
48
- }
49
- signal === null || signal === void 0 ? void 0 : signal.addEventListener("abort", () => this.controller.abort());
50
- }
51
- iterMessages() {
52
- return __asyncGenerator(this, arguments, function* iterMessages_1() {
53
- var _a, e_1, _b, _c;
54
- this.controller.signal;
55
- const stream = readableStreamAsyncIterable(this.stream);
56
- let buf = "";
57
- let prefixSeen = false;
58
- try {
59
- for (var _d = true, stream_1 = __asyncValues(stream), stream_1_1; stream_1_1 = yield __await(stream_1.next()), _a = stream_1_1.done, !_a; _d = true) {
60
- _c = stream_1_1.value;
61
- _d = false;
62
- const chunk = _c;
63
- buf += this.decodeChunk(chunk);
64
- let terminatorIndex;
65
- while ((terminatorIndex = buf.indexOf(this.messageTerminator)) >= 0) {
66
- let line = buf.slice(0, terminatorIndex + 1);
67
- buf = buf.slice(terminatorIndex + this.messageTerminator.length);
68
- if (!line.trim()) {
69
- continue;
70
- }
71
- if (!prefixSeen && this.prefix != null) {
72
- const prefixIndex = line.indexOf(this.prefix);
73
- if (prefixIndex === -1) {
74
- continue;
75
- }
76
- prefixSeen = true;
77
- line = line.slice(prefixIndex + this.prefix.length);
78
- }
79
- if (this.streamTerminator != null && line.includes(this.streamTerminator)) {
80
- return yield __await(void 0);
81
- }
82
- const message = yield __await(this.parse(JSON.parse(line)));
83
- yield yield __await(message);
84
- prefixSeen = false;
85
- }
86
- }
87
- }
88
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
89
- finally {
90
- try {
91
- if (!_d && !_a && (_b = stream_1.return)) yield __await(_b.call(stream_1));
92
- }
93
- finally { if (e_1) throw e_1.error; }
94
- }
95
- });
96
- }
97
- [Symbol.asyncIterator]() {
98
- return __asyncGenerator(this, arguments, function* _a() {
99
- var _b, e_2, _c, _d;
100
- try {
101
- for (var _e = true, _f = __asyncValues(this.iterMessages()), _g; _g = yield __await(_f.next()), _b = _g.done, !_b; _e = true) {
102
- _d = _g.value;
103
- _e = false;
104
- const message = _d;
105
- yield yield __await(message);
106
- }
107
- }
108
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
109
- finally {
110
- try {
111
- if (!_e && !_b && (_c = _f.return)) yield __await(_c.call(_f));
112
- }
113
- finally { if (e_2) throw e_2.error; }
114
- }
115
- });
116
- }
117
- decodeChunk(chunk) {
118
- let decoded = "";
119
- // If TextDecoder is present, use it
120
- if (typeof TextDecoder !== "undefined") {
121
- const decoder = new TextDecoder("utf8");
122
- decoded += decoder.decode(chunk);
123
- }
124
- // Buffer is present in Node.js environment
125
- else if (index_js_1.RUNTIME.type === "node" && typeof chunk !== "undefined") {
126
- decoded += Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
127
- }
128
- return decoded;
129
- }
130
- }
131
- exports.Stream = Stream;
132
- /**
133
- * Browser polyfill for ReadableStream
134
- */
135
- // biome-ignore lint/suspicious/noExplicitAny: allow explicit any
136
- function readableStreamAsyncIterable(stream) {
137
- if (stream[Symbol.asyncIterator]) {
138
- return stream;
139
- }
140
- const reader = stream.getReader();
141
- return {
142
- next() {
143
- return __awaiter(this, void 0, void 0, function* () {
144
- try {
145
- const result = yield reader.read();
146
- if (result === null || result === void 0 ? void 0 : result.done) {
147
- reader.releaseLock();
148
- } // release lock when stream becomes closed
149
- return result;
150
- }
151
- catch (e) {
152
- reader.releaseLock(); // release lock when stream becomes errored
153
- throw e;
154
- }
155
- });
156
- },
157
- return() {
158
- return __awaiter(this, void 0, void 0, function* () {
159
- const cancelPromise = reader.cancel();
160
- reader.releaseLock();
161
- yield cancelPromise;
162
- return { done: true, value: undefined };
163
- });
164
- },
165
- [Symbol.asyncIterator]() {
166
- return this;
167
- },
168
- };
169
- }
@@ -1 +0,0 @@
1
- export { Stream } from "./Stream.js";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Stream = void 0;
4
- var Stream_js_1 = require("./Stream.js");
5
- Object.defineProperty(exports, "Stream", { enumerable: true, get: function () { return Stream_js_1.Stream; } });
@@ -1,13 +0,0 @@
1
- /**
2
- * BearerProvider used as a replacement of OAuthTokenProvider, in case when BearerAuth was used instead of OAuth2.
3
- */
4
- import * as core from "../core/index.js";
5
- interface Options {
6
- accessToken: core.Supplier<string>;
7
- }
8
- export declare class BearerProvider {
9
- private _accessToken;
10
- constructor(_options: Options);
11
- getToken(): Promise<string>;
12
- }
13
- export {};
@@ -1,60 +0,0 @@
1
- "use strict";
2
- /**
3
- * BearerProvider used as a replacement of OAuthTokenProvider, in case when BearerAuth was used instead of OAuth2.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.BearerProvider = void 0;
49
- const core = __importStar(require("../core/index.js"));
50
- class BearerProvider {
51
- constructor(_options) {
52
- this._accessToken = _options.accessToken;
53
- }
54
- getToken() {
55
- return __awaiter(this, void 0, void 0, function* () {
56
- return core.Supplier.get(this._accessToken);
57
- });
58
- }
59
- }
60
- exports.BearerProvider = BearerProvider;