phenoml 9.1.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (512) hide show
  1. package/dist/cjs/BaseClient.d.ts +13 -4
  2. package/dist/cjs/BaseClient.js +59 -0
  3. package/dist/cjs/Client.d.ts +34 -34
  4. package/dist/cjs/Client.js +13 -54
  5. package/dist/cjs/api/resources/agent/client/Client.d.ts +26 -27
  6. package/dist/cjs/api/resources/agent/client/Client.js +56 -185
  7. package/dist/cjs/api/resources/agent/errors/BadRequestError.js +5 -1
  8. package/dist/cjs/api/resources/agent/errors/ForbiddenError.js +5 -1
  9. package/dist/cjs/api/resources/agent/errors/InternalServerError.js +5 -1
  10. package/dist/cjs/api/resources/agent/errors/NotFoundError.js +5 -1
  11. package/dist/cjs/api/resources/agent/errors/UnauthorizedError.js +5 -1
  12. package/dist/cjs/api/resources/agent/exports.d.ts +3 -0
  13. package/dist/cjs/api/resources/agent/exports.js +22 -0
  14. package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +20 -21
  15. package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +35 -129
  16. package/dist/cjs/api/resources/agent/resources/prompts/exports.d.ts +2 -0
  17. package/dist/cjs/api/resources/agent/resources/prompts/exports.js +21 -0
  18. package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.d.ts +2 -2
  19. package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.d.ts +3 -3
  20. package/dist/cjs/api/resources/agent/types/AgentChatResponse.d.ts +4 -4
  21. package/dist/cjs/api/resources/agent/types/AgentChatStreamEvent.d.ts +8 -8
  22. package/dist/cjs/api/resources/agent/types/AgentCreateRequest.d.ts +4 -4
  23. package/dist/cjs/api/resources/agent/types/AgentDeleteResponse.d.ts +2 -2
  24. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.d.ts +3 -3
  25. package/dist/cjs/api/resources/agent/types/AgentListResponse.d.ts +3 -3
  26. package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.d.ts +3 -3
  27. package/dist/cjs/api/resources/agent/types/AgentResponse.d.ts +3 -3
  28. package/dist/cjs/api/resources/agent/types/AgentTemplate.d.ts +8 -8
  29. package/dist/cjs/api/resources/agent/types/ChatMessageTemplate.d.ts +10 -10
  30. package/dist/cjs/api/resources/agent/types/ChatSessionTemplate.d.ts +9 -9
  31. package/dist/cjs/api/resources/agent/types/JsonPatchOperation.d.ts +2 -2
  32. package/dist/cjs/api/resources/agent/types/PromptTemplate.d.ts +6 -6
  33. package/dist/cjs/api/resources/agent/types/SuccessResponse.d.ts +2 -2
  34. package/dist/cjs/api/resources/authtoken/client/Client.d.ts +9 -9
  35. package/dist/cjs/api/resources/authtoken/client/Client.js +7 -6
  36. package/dist/cjs/api/resources/authtoken/errors/BadRequestError.js +5 -1
  37. package/dist/cjs/api/resources/authtoken/errors/InternalServerError.d.ts +5 -0
  38. package/dist/cjs/api/resources/authtoken/errors/InternalServerError.js +54 -0
  39. package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.js +5 -1
  40. package/dist/cjs/api/resources/authtoken/errors/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/authtoken/errors/index.js +1 -0
  42. package/dist/cjs/api/resources/authtoken/exports.d.ts +3 -0
  43. package/dist/cjs/api/resources/authtoken/exports.js +22 -0
  44. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.d.ts +28 -30
  45. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.js +76 -43
  46. package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.d.ts +12 -0
  47. package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.js +3 -0
  48. package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/authtoken/resources/auth/exports.d.ts +2 -0
  50. package/dist/cjs/api/resources/authtoken/resources/auth/exports.js +21 -0
  51. package/dist/cjs/api/resources/authtoken/types/BadRequestErrorBody.d.ts +3 -3
  52. package/dist/cjs/api/resources/authtoken/types/OAuthError.d.ts +19 -0
  53. package/dist/cjs/api/resources/authtoken/types/OAuthError.js +14 -0
  54. package/dist/cjs/api/resources/authtoken/types/TokenResponse.d.ts +8 -0
  55. package/dist/cjs/api/resources/authtoken/types/TokenResponse.js +3 -0
  56. package/dist/cjs/api/resources/authtoken/types/UnauthorizedErrorBody.d.ts +3 -3
  57. package/dist/cjs/api/resources/authtoken/types/index.d.ts +2 -0
  58. package/dist/cjs/api/resources/authtoken/types/index.js +2 -0
  59. package/dist/cjs/api/resources/cohort/client/Client.d.ts +8 -9
  60. package/dist/cjs/api/resources/cohort/client/Client.js +11 -27
  61. package/dist/cjs/api/resources/cohort/errors/BadRequestError.js +5 -1
  62. package/dist/cjs/api/resources/cohort/errors/InternalServerError.js +5 -1
  63. package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.js +5 -1
  64. package/dist/cjs/api/resources/cohort/exports.d.ts +2 -0
  65. package/dist/cjs/api/resources/cohort/exports.js +21 -0
  66. package/dist/cjs/api/resources/cohort/types/CohortResponse.d.ts +3 -3
  67. package/dist/cjs/api/resources/cohort/types/SearchConcept.d.ts +4 -4
  68. package/dist/cjs/api/resources/construe/client/Client.d.ts +28 -29
  69. package/dist/cjs/api/resources/construe/client/Client.js +78 -239
  70. package/dist/cjs/api/resources/construe/client/requests/index.d.ts +1 -1
  71. package/dist/cjs/api/resources/construe/client/requests/index.js +3 -0
  72. package/dist/cjs/api/resources/construe/errors/BadRequestError.js +5 -1
  73. package/dist/cjs/api/resources/construe/errors/ConflictError.js +5 -1
  74. package/dist/cjs/api/resources/construe/errors/FailedDependencyError.js +5 -1
  75. package/dist/cjs/api/resources/construe/errors/ForbiddenError.js +5 -1
  76. package/dist/cjs/api/resources/construe/errors/GatewayTimeoutError.js +5 -1
  77. package/dist/cjs/api/resources/construe/errors/InternalServerError.js +5 -1
  78. package/dist/cjs/api/resources/construe/errors/NotFoundError.js +5 -1
  79. package/dist/cjs/api/resources/construe/errors/NotImplementedError.js +5 -1
  80. package/dist/cjs/api/resources/construe/errors/ServiceUnavailableError.js +5 -1
  81. package/dist/cjs/api/resources/construe/errors/UnauthorizedError.js +5 -1
  82. package/dist/cjs/api/resources/construe/exports.d.ts +2 -0
  83. package/dist/cjs/api/resources/construe/exports.js +21 -0
  84. package/dist/cjs/api/resources/construe/types/CodeResponse.d.ts +1 -1
  85. package/dist/cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts +3 -3
  86. package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +8 -8
  87. package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.d.ts +2 -2
  88. package/dist/cjs/api/resources/construe/types/ExtractedCodeResult.d.ts +3 -3
  89. package/dist/cjs/api/resources/construe/types/GetCodeResponse.d.ts +1 -1
  90. package/dist/cjs/api/resources/construe/types/ListCodesResponse.d.ts +1 -1
  91. package/dist/cjs/api/resources/fhir/client/Client.d.ts +18 -19
  92. package/dist/cjs/api/resources/fhir/client/Client.js +46 -134
  93. package/dist/cjs/api/resources/fhir/client/requests/FhirSearchRequest.d.ts +0 -6
  94. package/dist/cjs/api/resources/fhir/errors/BadGatewayError.js +5 -1
  95. package/dist/cjs/api/resources/fhir/errors/BadRequestError.js +5 -1
  96. package/dist/cjs/api/resources/fhir/errors/InternalServerError.js +5 -1
  97. package/dist/cjs/api/resources/fhir/errors/NotFoundError.js +5 -1
  98. package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.js +5 -1
  99. package/dist/cjs/api/resources/fhir/exports.d.ts +2 -0
  100. package/dist/cjs/api/resources/fhir/exports.js +21 -0
  101. package/dist/cjs/api/resources/fhir/types/ErrorResponse.d.ts +2 -2
  102. package/dist/cjs/api/resources/fhir/types/FhirBundle.d.ts +8 -8
  103. package/dist/cjs/api/resources/fhir/types/FhirPatchRequestBodyItem.d.ts +2 -2
  104. package/dist/cjs/api/resources/fhir/types/FhirResource.d.ts +5 -5
  105. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +20 -21
  106. package/dist/cjs/api/resources/fhirProvider/client/Client.js +35 -129
  107. package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.js +5 -1
  108. package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.js +5 -1
  109. package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.js +5 -1
  110. package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.js +5 -1
  111. package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.js +5 -1
  112. package/dist/cjs/api/resources/fhirProvider/exports.d.ts +2 -0
  113. package/dist/cjs/api/resources/fhirProvider/exports.js +21 -0
  114. package/dist/cjs/api/resources/fhirProvider/types/ClientSecretAuth.d.ts +2 -2
  115. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +12 -12
  116. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +2 -2
  117. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.d.ts +3 -3
  118. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.ts +3 -3
  119. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.d.ts +3 -3
  120. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSandboxInfo.d.ts +4 -4
  121. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +8 -8
  122. package/dist/cjs/api/resources/fhirProvider/types/FhirQueryResponse.d.ts +4 -4
  123. package/dist/cjs/api/resources/fhirProvider/types/JsonWebKey.d.ts +6 -6
  124. package/dist/cjs/api/resources/fhirProvider/types/JwtAuth.d.ts +3 -3
  125. package/dist/cjs/api/resources/fhirProvider/types/OnBehalfOfAuth.d.ts +2 -2
  126. package/dist/cjs/api/resources/fhirProvider/types/ServiceAccountMetadata.d.ts +4 -4
  127. package/dist/cjs/api/resources/fhirProvider/types/SmartConfiguration.d.ts +5 -5
  128. package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +38 -17
  129. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +93 -92
  130. package/dist/cjs/api/resources/lang2Fhir/client/requests/DocumentMultiRequest.d.ts +19 -0
  131. package/dist/cjs/api/resources/lang2Fhir/client/requests/DocumentMultiRequest.js +3 -0
  132. package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +2 -1
  133. package/dist/cjs/api/resources/lang2Fhir/client/requests/index.js +3 -0
  134. package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.js +5 -1
  135. package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.js +5 -1
  136. package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.js +5 -1
  137. package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.js +5 -1
  138. package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.js +5 -1
  139. package/dist/cjs/api/resources/lang2Fhir/errors/UnprocessableEntityError.d.ts +5 -0
  140. package/dist/cjs/api/resources/lang2Fhir/errors/UnprocessableEntityError.js +54 -0
  141. package/dist/cjs/api/resources/lang2Fhir/errors/index.d.ts +1 -0
  142. package/dist/cjs/api/resources/lang2Fhir/errors/index.js +1 -0
  143. package/dist/cjs/api/resources/lang2Fhir/exports.d.ts +2 -0
  144. package/dist/cjs/api/resources/lang2Fhir/exports.js +21 -0
  145. package/dist/cjs/api/resources/lang2Fhir/types/CreateMultiResponse.d.ts +15 -15
  146. package/dist/cjs/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.ts +4 -4
  147. package/dist/cjs/api/resources/lang2Fhir/types/SearchResponse.d.ts +2 -2
  148. package/dist/cjs/api/resources/summary/client/Client.d.ts +18 -19
  149. package/dist/cjs/api/resources/summary/client/Client.js +31 -112
  150. package/dist/cjs/api/resources/summary/client/requests/index.d.ts +1 -1
  151. package/dist/cjs/api/resources/summary/client/requests/index.js +3 -0
  152. package/dist/cjs/api/resources/summary/errors/BadRequestError.js +5 -1
  153. package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +5 -1
  154. package/dist/cjs/api/resources/summary/errors/InternalServerError.js +5 -1
  155. package/dist/cjs/api/resources/summary/errors/NotFoundError.js +5 -1
  156. package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +5 -1
  157. package/dist/cjs/api/resources/summary/exports.d.ts +2 -0
  158. package/dist/cjs/api/resources/summary/exports.js +21 -0
  159. package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.d.ts +4 -4
  160. package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.d.ts +4 -4
  161. package/dist/cjs/api/resources/summary/types/ErrorResponse.d.ts +2 -2
  162. package/dist/cjs/api/resources/summary/types/FhirBundle.d.ts +1 -1
  163. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +2 -2
  164. package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.d.ts +2 -2
  165. package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.d.ts +2 -2
  166. package/dist/cjs/api/resources/summary/types/SummaryTemplate.d.ts +9 -9
  167. package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.d.ts +3 -3
  168. package/dist/cjs/api/resources/tools/client/Client.d.ts +17 -18
  169. package/dist/cjs/api/resources/tools/client/Client.js +32 -91
  170. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +1 -1
  171. package/dist/cjs/api/resources/tools/client/requests/index.js +3 -0
  172. package/dist/cjs/api/resources/tools/errors/BadRequestError.js +5 -1
  173. package/dist/cjs/api/resources/tools/errors/FailedDependencyError.js +5 -1
  174. package/dist/cjs/api/resources/tools/errors/ForbiddenError.js +5 -1
  175. package/dist/cjs/api/resources/tools/errors/InternalServerError.js +5 -1
  176. package/dist/cjs/api/resources/tools/errors/UnauthorizedError.js +5 -1
  177. package/dist/cjs/api/resources/tools/exports.d.ts +3 -0
  178. package/dist/cjs/api/resources/tools/exports.js +22 -0
  179. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +17 -18
  180. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +24 -79
  181. package/dist/cjs/api/resources/tools/resources/mcpServer/exports.d.ts +3 -0
  182. package/dist/cjs/api/resources/tools/resources/mcpServer/exports.js +22 -0
  183. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +14 -15
  184. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +23 -78
  185. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/exports.d.ts +2 -0
  186. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/exports.js +21 -0
  187. package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +5 -5
  188. package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateMultiResponse.d.ts +10 -10
  189. package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateResponse.d.ts +4 -4
  190. package/dist/cjs/api/resources/tools/types/Lang2FhirAndSearchResponse.d.ts +5 -5
  191. package/dist/cjs/api/resources/tools/types/McpServerResponse.d.ts +7 -7
  192. package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.d.ts +4 -4
  193. package/dist/cjs/api/resources/tools/types/McpServerToolResponse.d.ts +9 -9
  194. package/dist/cjs/api/resources/tools/types/SearchConcept.d.ts +4 -4
  195. package/dist/cjs/api/resources/workflows/client/Client.d.ts +18 -19
  196. package/dist/cjs/api/resources/workflows/client/Client.js +43 -128
  197. package/dist/cjs/api/resources/workflows/errors/BadRequestError.js +5 -1
  198. package/dist/cjs/api/resources/workflows/errors/ForbiddenError.js +5 -1
  199. package/dist/cjs/api/resources/workflows/errors/InternalServerError.js +5 -1
  200. package/dist/cjs/api/resources/workflows/errors/NotFoundError.js +5 -1
  201. package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.js +5 -1
  202. package/dist/cjs/api/resources/workflows/exports.d.ts +2 -0
  203. package/dist/cjs/api/resources/workflows/exports.js +21 -0
  204. package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +5 -5
  205. package/dist/cjs/api/resources/workflows/types/DecisionNodeDefinition.d.ts +3 -3
  206. package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowResponse.d.ts +4 -4
  207. package/dist/cjs/api/resources/workflows/types/Lang2FhirCreateDefinition.d.ts +4 -4
  208. package/dist/cjs/api/resources/workflows/types/Lang2FhirSearchDefinition.d.ts +5 -5
  209. package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +4 -4
  210. package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +4 -4
  211. package/dist/cjs/api/resources/workflows/types/SubWorkflowDefinition.d.ts +3 -3
  212. package/dist/cjs/api/resources/workflows/types/WorkflowConfig.d.ts +2 -2
  213. package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +8 -8
  214. package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +1 -1
  215. package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +9 -9
  216. package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +8 -8
  217. package/dist/cjs/api/resources/workflows/types/WorkflowStepSummary.d.ts +5 -5
  218. package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.d.ts +2 -2
  219. package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.d.ts +3 -3
  220. package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.d.ts +4 -4
  221. package/dist/cjs/auth/OAuthAuthProvider.d.ts +45 -0
  222. package/dist/cjs/auth/OAuthAuthProvider.js +190 -0
  223. package/dist/cjs/auth/index.d.ts +1 -0
  224. package/dist/cjs/auth/index.js +5 -0
  225. package/dist/cjs/core/auth/AuthProvider.d.ts +4 -1
  226. package/dist/cjs/core/auth/BearerToken.d.ts +3 -1
  227. package/dist/cjs/core/auth/BearerToken.js +7 -6
  228. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  229. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  230. package/dist/cjs/core/auth/index.d.ts +1 -0
  231. package/dist/cjs/core/auth/index.js +3 -1
  232. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +6 -7
  233. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
  234. package/dist/cjs/core/fetcher/Fetcher.d.ts +6 -3
  235. package/dist/cjs/core/fetcher/Fetcher.js +10 -3
  236. package/dist/cjs/core/fetcher/getResponseBody.js +18 -4
  237. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
  238. package/dist/cjs/core/fetcher/makeRequest.js +30 -9
  239. package/dist/cjs/core/fetcher/signals.d.ts +1 -1
  240. package/dist/cjs/core/headers.d.ts +2 -2
  241. package/dist/cjs/core/runtime/runtime.js +17 -15
  242. package/dist/cjs/core/stream/Stream.d.ts +9 -0
  243. package/dist/cjs/core/stream/Stream.js +100 -5
  244. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  245. package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
  246. package/dist/cjs/errors/phenomlError.js +5 -1
  247. package/dist/cjs/errors/phenomlTimeoutError.js +5 -1
  248. package/dist/cjs/index.d.ts +4 -2
  249. package/dist/cjs/index.js +9 -5
  250. package/dist/cjs/version.d.ts +1 -1
  251. package/dist/cjs/version.js +1 -1
  252. package/dist/esm/BaseClient.d.mts +13 -4
  253. package/dist/esm/BaseClient.mjs +24 -1
  254. package/dist/esm/Client.d.mts +34 -34
  255. package/dist/esm/Client.mjs +23 -31
  256. package/dist/esm/api/resources/agent/client/Client.d.mts +26 -27
  257. package/dist/esm/api/resources/agent/client/Client.mjs +55 -184
  258. package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +5 -1
  259. package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +5 -1
  260. package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +5 -1
  261. package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +5 -1
  262. package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +5 -1
  263. package/dist/esm/api/resources/agent/exports.d.mts +3 -0
  264. package/dist/esm/api/resources/agent/exports.mjs +4 -0
  265. package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +20 -21
  266. package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +34 -128
  267. package/dist/esm/api/resources/agent/resources/prompts/exports.d.mts +2 -0
  268. package/dist/esm/api/resources/agent/resources/prompts/exports.mjs +3 -0
  269. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.d.mts +2 -2
  270. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +3 -3
  271. package/dist/esm/api/resources/agent/types/AgentChatResponse.d.mts +4 -4
  272. package/dist/esm/api/resources/agent/types/AgentChatStreamEvent.d.mts +8 -8
  273. package/dist/esm/api/resources/agent/types/AgentCreateRequest.d.mts +4 -4
  274. package/dist/esm/api/resources/agent/types/AgentDeleteResponse.d.mts +2 -2
  275. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +3 -3
  276. package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +3 -3
  277. package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +3 -3
  278. package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +3 -3
  279. package/dist/esm/api/resources/agent/types/AgentTemplate.d.mts +8 -8
  280. package/dist/esm/api/resources/agent/types/ChatMessageTemplate.d.mts +10 -10
  281. package/dist/esm/api/resources/agent/types/ChatSessionTemplate.d.mts +9 -9
  282. package/dist/esm/api/resources/agent/types/JsonPatchOperation.d.mts +2 -2
  283. package/dist/esm/api/resources/agent/types/PromptTemplate.d.mts +6 -6
  284. package/dist/esm/api/resources/agent/types/SuccessResponse.d.mts +2 -2
  285. package/dist/esm/api/resources/authtoken/client/Client.d.mts +9 -9
  286. package/dist/esm/api/resources/authtoken/client/Client.mjs +6 -5
  287. package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +5 -1
  288. package/dist/esm/api/resources/authtoken/errors/InternalServerError.d.mts +5 -0
  289. package/dist/esm/api/resources/authtoken/errors/InternalServerError.mjs +17 -0
  290. package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +5 -1
  291. package/dist/esm/api/resources/authtoken/errors/index.d.mts +1 -0
  292. package/dist/esm/api/resources/authtoken/errors/index.mjs +1 -0
  293. package/dist/esm/api/resources/authtoken/exports.d.mts +3 -0
  294. package/dist/esm/api/resources/authtoken/exports.mjs +4 -0
  295. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +28 -30
  296. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +74 -41
  297. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.d.mts +12 -0
  298. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.mjs +2 -0
  299. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.d.mts +1 -0
  300. package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +2 -0
  301. package/dist/esm/api/resources/authtoken/resources/auth/exports.mjs +3 -0
  302. package/dist/esm/api/resources/authtoken/types/BadRequestErrorBody.d.mts +3 -3
  303. package/dist/esm/api/resources/authtoken/types/OAuthError.d.mts +19 -0
  304. package/dist/esm/api/resources/authtoken/types/OAuthError.mjs +11 -0
  305. package/dist/esm/api/resources/authtoken/types/TokenResponse.d.mts +8 -0
  306. package/dist/esm/api/resources/authtoken/types/TokenResponse.mjs +2 -0
  307. package/dist/esm/api/resources/authtoken/types/UnauthorizedErrorBody.d.mts +3 -3
  308. package/dist/esm/api/resources/authtoken/types/index.d.mts +2 -0
  309. package/dist/esm/api/resources/authtoken/types/index.mjs +2 -0
  310. package/dist/esm/api/resources/cohort/client/Client.d.mts +8 -9
  311. package/dist/esm/api/resources/cohort/client/Client.mjs +10 -26
  312. package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +5 -1
  313. package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +5 -1
  314. package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +5 -1
  315. package/dist/esm/api/resources/cohort/exports.d.mts +2 -0
  316. package/dist/esm/api/resources/cohort/exports.mjs +3 -0
  317. package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +3 -3
  318. package/dist/esm/api/resources/cohort/types/SearchConcept.d.mts +4 -4
  319. package/dist/esm/api/resources/construe/client/Client.d.mts +28 -29
  320. package/dist/esm/api/resources/construe/client/Client.mjs +77 -238
  321. package/dist/esm/api/resources/construe/client/requests/index.d.mts +1 -1
  322. package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -1
  323. package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +5 -1
  324. package/dist/esm/api/resources/construe/errors/ConflictError.mjs +5 -1
  325. package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +5 -1
  326. package/dist/esm/api/resources/construe/errors/ForbiddenError.mjs +5 -1
  327. package/dist/esm/api/resources/construe/errors/GatewayTimeoutError.mjs +5 -1
  328. package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +5 -1
  329. package/dist/esm/api/resources/construe/errors/NotFoundError.mjs +5 -1
  330. package/dist/esm/api/resources/construe/errors/NotImplementedError.mjs +5 -1
  331. package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.mjs +5 -1
  332. package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +5 -1
  333. package/dist/esm/api/resources/construe/exports.d.mts +2 -0
  334. package/dist/esm/api/resources/construe/exports.mjs +3 -0
  335. package/dist/esm/api/resources/construe/types/CodeResponse.d.mts +1 -1
  336. package/dist/esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts +3 -3
  337. package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +8 -8
  338. package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +2 -2
  339. package/dist/esm/api/resources/construe/types/ExtractedCodeResult.d.mts +3 -3
  340. package/dist/esm/api/resources/construe/types/GetCodeResponse.d.mts +1 -1
  341. package/dist/esm/api/resources/construe/types/ListCodesResponse.d.mts +1 -1
  342. package/dist/esm/api/resources/fhir/client/Client.d.mts +18 -19
  343. package/dist/esm/api/resources/fhir/client/Client.mjs +44 -132
  344. package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.d.mts +0 -6
  345. package/dist/esm/api/resources/fhir/errors/BadGatewayError.mjs +5 -1
  346. package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +5 -1
  347. package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +5 -1
  348. package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +5 -1
  349. package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +5 -1
  350. package/dist/esm/api/resources/fhir/exports.d.mts +2 -0
  351. package/dist/esm/api/resources/fhir/exports.mjs +3 -0
  352. package/dist/esm/api/resources/fhir/types/ErrorResponse.d.mts +2 -2
  353. package/dist/esm/api/resources/fhir/types/FhirBundle.d.mts +8 -8
  354. package/dist/esm/api/resources/fhir/types/FhirPatchRequestBodyItem.d.mts +2 -2
  355. package/dist/esm/api/resources/fhir/types/FhirResource.d.mts +5 -5
  356. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +20 -21
  357. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +34 -128
  358. package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +5 -1
  359. package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +5 -1
  360. package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +5 -1
  361. package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +5 -1
  362. package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +5 -1
  363. package/dist/esm/api/resources/fhirProvider/exports.d.mts +2 -0
  364. package/dist/esm/api/resources/fhirProvider/exports.mjs +3 -0
  365. package/dist/esm/api/resources/fhirProvider/types/ClientSecretAuth.d.mts +2 -2
  366. package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +12 -12
  367. package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +2 -2
  368. package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +3 -3
  369. package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +3 -3
  370. package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +3 -3
  371. package/dist/esm/api/resources/fhirProvider/types/FhirProviderSandboxInfo.d.mts +4 -4
  372. package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +8 -8
  373. package/dist/esm/api/resources/fhirProvider/types/FhirQueryResponse.d.mts +4 -4
  374. package/dist/esm/api/resources/fhirProvider/types/JsonWebKey.d.mts +6 -6
  375. package/dist/esm/api/resources/fhirProvider/types/JwtAuth.d.mts +3 -3
  376. package/dist/esm/api/resources/fhirProvider/types/OnBehalfOfAuth.d.mts +2 -2
  377. package/dist/esm/api/resources/fhirProvider/types/ServiceAccountMetadata.d.mts +4 -4
  378. package/dist/esm/api/resources/fhirProvider/types/SmartConfiguration.d.mts +5 -5
  379. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +38 -17
  380. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +92 -91
  381. package/dist/esm/api/resources/lang2Fhir/client/requests/DocumentMultiRequest.d.mts +19 -0
  382. package/dist/esm/api/resources/lang2Fhir/client/requests/DocumentMultiRequest.mjs +2 -0
  383. package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +2 -1
  384. package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +1 -1
  385. package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +5 -1
  386. package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +5 -1
  387. package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +5 -1
  388. package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +5 -1
  389. package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +5 -1
  390. package/dist/esm/api/resources/lang2Fhir/errors/UnprocessableEntityError.d.mts +5 -0
  391. package/dist/esm/api/resources/lang2Fhir/errors/UnprocessableEntityError.mjs +17 -0
  392. package/dist/esm/api/resources/lang2Fhir/errors/index.d.mts +1 -0
  393. package/dist/esm/api/resources/lang2Fhir/errors/index.mjs +1 -0
  394. package/dist/esm/api/resources/lang2Fhir/exports.d.mts +2 -0
  395. package/dist/esm/api/resources/lang2Fhir/exports.mjs +3 -0
  396. package/dist/esm/api/resources/lang2Fhir/types/CreateMultiResponse.d.mts +15 -15
  397. package/dist/esm/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.mts +4 -4
  398. package/dist/esm/api/resources/lang2Fhir/types/SearchResponse.d.mts +2 -2
  399. package/dist/esm/api/resources/summary/client/Client.d.mts +18 -19
  400. package/dist/esm/api/resources/summary/client/Client.mjs +30 -111
  401. package/dist/esm/api/resources/summary/client/requests/index.d.mts +1 -1
  402. package/dist/esm/api/resources/summary/client/requests/index.mjs +1 -1
  403. package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +5 -1
  404. package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +5 -1
  405. package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +5 -1
  406. package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +5 -1
  407. package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +5 -1
  408. package/dist/esm/api/resources/summary/exports.d.mts +2 -0
  409. package/dist/esm/api/resources/summary/exports.mjs +3 -0
  410. package/dist/esm/api/resources/summary/types/CreateSummaryResponse.d.mts +4 -4
  411. package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.d.mts +4 -4
  412. package/dist/esm/api/resources/summary/types/ErrorResponse.d.mts +2 -2
  413. package/dist/esm/api/resources/summary/types/FhirBundle.d.mts +1 -1
  414. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +2 -2
  415. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +2 -2
  416. package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.d.mts +2 -2
  417. package/dist/esm/api/resources/summary/types/SummaryTemplate.d.mts +9 -9
  418. package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.d.mts +3 -3
  419. package/dist/esm/api/resources/tools/client/Client.d.mts +17 -18
  420. package/dist/esm/api/resources/tools/client/Client.mjs +31 -90
  421. package/dist/esm/api/resources/tools/client/requests/index.d.mts +1 -1
  422. package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -1
  423. package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +5 -1
  424. package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +5 -1
  425. package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +5 -1
  426. package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +5 -1
  427. package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +5 -1
  428. package/dist/esm/api/resources/tools/exports.d.mts +3 -0
  429. package/dist/esm/api/resources/tools/exports.mjs +4 -0
  430. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +17 -18
  431. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +24 -79
  432. package/dist/esm/api/resources/tools/resources/mcpServer/exports.d.mts +3 -0
  433. package/dist/esm/api/resources/tools/resources/mcpServer/exports.mjs +4 -0
  434. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +14 -15
  435. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +22 -77
  436. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/exports.d.mts +2 -0
  437. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/exports.mjs +3 -0
  438. package/dist/esm/api/resources/tools/types/CohortResponse.d.mts +5 -5
  439. package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateMultiResponse.d.mts +10 -10
  440. package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateResponse.d.mts +4 -4
  441. package/dist/esm/api/resources/tools/types/Lang2FhirAndSearchResponse.d.mts +5 -5
  442. package/dist/esm/api/resources/tools/types/McpServerResponse.d.mts +7 -7
  443. package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.d.mts +4 -4
  444. package/dist/esm/api/resources/tools/types/McpServerToolResponse.d.mts +9 -9
  445. package/dist/esm/api/resources/tools/types/SearchConcept.d.mts +4 -4
  446. package/dist/esm/api/resources/workflows/client/Client.d.mts +18 -19
  447. package/dist/esm/api/resources/workflows/client/Client.mjs +42 -127
  448. package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +5 -1
  449. package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +5 -1
  450. package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +5 -1
  451. package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +5 -1
  452. package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +5 -1
  453. package/dist/esm/api/resources/workflows/exports.d.mts +2 -0
  454. package/dist/esm/api/resources/workflows/exports.mjs +3 -0
  455. package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +5 -5
  456. package/dist/esm/api/resources/workflows/types/DecisionNodeDefinition.d.mts +3 -3
  457. package/dist/esm/api/resources/workflows/types/ExecuteWorkflowResponse.d.mts +4 -4
  458. package/dist/esm/api/resources/workflows/types/Lang2FhirCreateDefinition.d.mts +4 -4
  459. package/dist/esm/api/resources/workflows/types/Lang2FhirSearchDefinition.d.mts +5 -5
  460. package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +4 -4
  461. package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +4 -4
  462. package/dist/esm/api/resources/workflows/types/SubWorkflowDefinition.d.mts +3 -3
  463. package/dist/esm/api/resources/workflows/types/WorkflowConfig.d.mts +2 -2
  464. package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +8 -8
  465. package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +1 -1
  466. package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +9 -9
  467. package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +8 -8
  468. package/dist/esm/api/resources/workflows/types/WorkflowStepSummary.d.mts +5 -5
  469. package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts +2 -2
  470. package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.d.mts +3 -3
  471. package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.d.mts +4 -4
  472. package/dist/esm/auth/OAuthAuthProvider.d.mts +45 -0
  473. package/dist/esm/auth/OAuthAuthProvider.mjs +152 -0
  474. package/dist/esm/auth/index.d.mts +1 -0
  475. package/dist/esm/auth/index.mjs +1 -0
  476. package/dist/esm/core/auth/AuthProvider.d.mts +4 -1
  477. package/dist/esm/core/auth/BearerToken.d.mts +3 -1
  478. package/dist/esm/core/auth/BearerToken.mjs +7 -6
  479. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  480. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  481. package/dist/esm/core/auth/index.d.mts +1 -0
  482. package/dist/esm/core/auth/index.mjs +1 -0
  483. package/dist/esm/core/fetcher/BinaryResponse.d.mts +6 -7
  484. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
  485. package/dist/esm/core/fetcher/Fetcher.d.mts +6 -3
  486. package/dist/esm/core/fetcher/Fetcher.mjs +10 -3
  487. package/dist/esm/core/fetcher/getResponseBody.mjs +18 -4
  488. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
  489. package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
  490. package/dist/esm/core/fetcher/signals.d.mts +1 -1
  491. package/dist/esm/core/headers.d.mts +2 -2
  492. package/dist/esm/core/runtime/runtime.mjs +17 -15
  493. package/dist/esm/core/stream/Stream.d.mts +9 -0
  494. package/dist/esm/core/stream/Stream.mjs +100 -5
  495. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  496. package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
  497. package/dist/esm/errors/phenomlError.mjs +5 -1
  498. package/dist/esm/errors/phenomlTimeoutError.mjs +5 -1
  499. package/dist/esm/index.d.mts +4 -2
  500. package/dist/esm/index.mjs +3 -2
  501. package/dist/esm/version.d.mts +1 -1
  502. package/dist/esm/version.mjs +1 -1
  503. package/package.json +162 -5
  504. package/reference.md +209 -73
  505. package/dist/cjs/WrapperClient.d.ts +0 -21
  506. package/dist/cjs/WrapperClient.js +0 -111
  507. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
  508. package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
  509. package/dist/esm/WrapperClient.d.mts +0 -21
  510. package/dist/esm/WrapperClient.mjs +0 -75
  511. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
  512. package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
package/reference.md CHANGED
@@ -55,7 +55,7 @@ await client.agent.create({
55
55
  <dl>
56
56
  <dd>
57
57
 
58
- **requestOptions:** `Agent.RequestOptions`
58
+ **requestOptions:** `AgentClient.RequestOptions`
59
59
 
60
60
  </dd>
61
61
  </dl>
@@ -120,7 +120,7 @@ await client.agent.list({
120
120
  <dl>
121
121
  <dd>
122
122
 
123
- **requestOptions:** `Agent.RequestOptions`
123
+ **requestOptions:** `AgentClient.RequestOptions`
124
124
 
125
125
  </dd>
126
126
  </dl>
@@ -183,7 +183,7 @@ await client.agent.get("id");
183
183
  <dl>
184
184
  <dd>
185
185
 
186
- **requestOptions:** `Agent.RequestOptions`
186
+ **requestOptions:** `AgentClient.RequestOptions`
187
187
 
188
188
  </dd>
189
189
  </dl>
@@ -258,7 +258,7 @@ await client.agent.update("id", {
258
258
  <dl>
259
259
  <dd>
260
260
 
261
- **requestOptions:** `Agent.RequestOptions`
261
+ **requestOptions:** `AgentClient.RequestOptions`
262
262
 
263
263
  </dd>
264
264
  </dl>
@@ -321,7 +321,7 @@ await client.agent.delete("id");
321
321
  <dl>
322
322
  <dd>
323
323
 
324
- **requestOptions:** `Agent.RequestOptions`
324
+ **requestOptions:** `AgentClient.RequestOptions`
325
325
 
326
326
  </dd>
327
327
  </dl>
@@ -403,7 +403,7 @@ await client.agent.patch("id", [{
403
403
  <dl>
404
404
  <dd>
405
405
 
406
- **requestOptions:** `Agent.RequestOptions`
406
+ **requestOptions:** `AgentClient.RequestOptions`
407
407
 
408
408
  </dd>
409
409
  </dl>
@@ -471,7 +471,7 @@ await client.agent.chat({
471
471
  <dl>
472
472
  <dd>
473
473
 
474
- **requestOptions:** `Agent.RequestOptions`
474
+ **requestOptions:** `AgentClient.RequestOptions`
475
475
 
476
476
  </dd>
477
477
  </dl>
@@ -483,7 +483,7 @@ await client.agent.chat({
483
483
  </dl>
484
484
  </details>
485
485
 
486
- <details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">streamChat</a>({ ...params }) -> core.Stream<phenoml.AgentChatStreamEvent></code></summary>
486
+ <details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">streamChat</a>({ ...params }) -> core.Stream&lt;phenoml.AgentChatStreamEvent&gt;</code></summary>
487
487
  <dl>
488
488
  <dd>
489
489
 
@@ -544,7 +544,7 @@ for await (const item of response) {
544
544
  <dl>
545
545
  <dd>
546
546
 
547
- **requestOptions:** `Agent.RequestOptions`
547
+ **requestOptions:** `AgentClient.RequestOptions`
548
548
 
549
549
  </dd>
550
550
  </dl>
@@ -612,7 +612,7 @@ await client.agent.getChatMessages({
612
612
  <dl>
613
613
  <dd>
614
614
 
615
- **requestOptions:** `Agent.RequestOptions`
615
+ **requestOptions:** `AgentClient.RequestOptions`
616
616
 
617
617
  </dd>
618
618
  </dl>
@@ -679,7 +679,7 @@ await client.agent.prompts.create({
679
679
  <dl>
680
680
  <dd>
681
681
 
682
- **requestOptions:** `Prompts.RequestOptions`
682
+ **requestOptions:** `PromptsClient.RequestOptions`
683
683
 
684
684
  </dd>
685
685
  </dl>
@@ -734,7 +734,7 @@ await client.agent.prompts.list();
734
734
  <dl>
735
735
  <dd>
736
736
 
737
- **requestOptions:** `Prompts.RequestOptions`
737
+ **requestOptions:** `PromptsClient.RequestOptions`
738
738
 
739
739
  </dd>
740
740
  </dl>
@@ -797,7 +797,7 @@ await client.agent.prompts.get("id");
797
797
  <dl>
798
798
  <dd>
799
799
 
800
- **requestOptions:** `Prompts.RequestOptions`
800
+ **requestOptions:** `PromptsClient.RequestOptions`
801
801
 
802
802
  </dd>
803
803
  </dl>
@@ -868,7 +868,7 @@ await client.agent.prompts.update("id");
868
868
  <dl>
869
869
  <dd>
870
870
 
871
- **requestOptions:** `Prompts.RequestOptions`
871
+ **requestOptions:** `PromptsClient.RequestOptions`
872
872
 
873
873
  </dd>
874
874
  </dl>
@@ -931,7 +931,7 @@ await client.agent.prompts.delete("id");
931
931
  <dl>
932
932
  <dd>
933
933
 
934
- **requestOptions:** `Prompts.RequestOptions`
934
+ **requestOptions:** `PromptsClient.RequestOptions`
935
935
 
936
936
  </dd>
937
937
  </dl>
@@ -1013,7 +1013,7 @@ await client.agent.prompts.patch("id", [{
1013
1013
  <dl>
1014
1014
  <dd>
1015
1015
 
1016
- **requestOptions:** `Prompts.RequestOptions`
1016
+ **requestOptions:** `PromptsClient.RequestOptions`
1017
1017
 
1018
1018
  </dd>
1019
1019
  </dl>
@@ -1068,7 +1068,7 @@ await client.agent.prompts.loadDefaults();
1068
1068
  <dl>
1069
1069
  <dd>
1070
1070
 
1071
- **requestOptions:** `Prompts.RequestOptions`
1071
+ **requestOptions:** `PromptsClient.RequestOptions`
1072
1072
 
1073
1073
  </dd>
1074
1074
  </dl>
@@ -1135,7 +1135,73 @@ await client.authtoken.auth.generateToken({
1135
1135
  <dl>
1136
1136
  <dd>
1137
1137
 
1138
- **requestOptions:** `Auth.RequestOptions`
1138
+ **requestOptions:** `AuthClient.RequestOptions`
1139
+
1140
+ </dd>
1141
+ </dl>
1142
+ </dd>
1143
+ </dl>
1144
+
1145
+
1146
+ </dd>
1147
+ </dl>
1148
+ </details>
1149
+
1150
+ <details><summary><code>client.authtoken.auth.<a href="/src/api/resources/authtoken/resources/auth/client/Client.ts">getToken</a>({ ...params }) -> phenoml.TokenResponse</code></summary>
1151
+ <dl>
1152
+ <dd>
1153
+
1154
+ #### 📝 Description
1155
+
1156
+ <dl>
1157
+ <dd>
1158
+
1159
+ <dl>
1160
+ <dd>
1161
+
1162
+ OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4).
1163
+ Accepts client_id and client_secret in the request body (JSON or
1164
+ form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and
1165
+ returns an access token with expiration information.
1166
+ </dd>
1167
+ </dl>
1168
+ </dd>
1169
+ </dl>
1170
+
1171
+ #### 🔌 Usage
1172
+
1173
+ <dl>
1174
+ <dd>
1175
+
1176
+ <dl>
1177
+ <dd>
1178
+
1179
+ ```typescript
1180
+ await client.authtoken.auth.getToken();
1181
+
1182
+ ```
1183
+ </dd>
1184
+ </dl>
1185
+ </dd>
1186
+ </dl>
1187
+
1188
+ #### ⚙️ Parameters
1189
+
1190
+ <dl>
1191
+ <dd>
1192
+
1193
+ <dl>
1194
+ <dd>
1195
+
1196
+ **request:** `phenoml.authtoken.ClientCredentialsRequest`
1197
+
1198
+ </dd>
1199
+ </dl>
1200
+
1201
+ <dl>
1202
+ <dd>
1203
+
1204
+ **requestOptions:** `AuthClient.RequestOptions`
1139
1205
 
1140
1206
  </dd>
1141
1207
  </dl>
@@ -1201,7 +1267,7 @@ await client.cohort.analyze({
1201
1267
  <dl>
1202
1268
  <dd>
1203
1269
 
1204
- **requestOptions:** `Cohort.RequestOptions`
1270
+ **requestOptions:** `CohortClient.RequestOptions`
1205
1271
 
1206
1272
  </dd>
1207
1273
  </dl>
@@ -1272,7 +1338,7 @@ await client.construe.uploadCodeSystem({
1272
1338
  <dl>
1273
1339
  <dd>
1274
1340
 
1275
- **requestOptions:** `Construe.RequestOptions`
1341
+ **requestOptions:** `ConstrueClient.RequestOptions`
1276
1342
 
1277
1343
  </dd>
1278
1344
  </dl>
@@ -1339,7 +1405,7 @@ await client.construe.extractCodes({
1339
1405
  <dl>
1340
1406
  <dd>
1341
1407
 
1342
- **requestOptions:** `Construe.RequestOptions`
1408
+ **requestOptions:** `ConstrueClient.RequestOptions`
1343
1409
 
1344
1410
  </dd>
1345
1411
  </dl>
@@ -1394,7 +1460,7 @@ await client.construe.listAvailableCodeSystems();
1394
1460
  <dl>
1395
1461
  <dd>
1396
1462
 
1397
- **requestOptions:** `Construe.RequestOptions`
1463
+ **requestOptions:** `ConstrueClient.RequestOptions`
1398
1464
 
1399
1465
  </dd>
1400
1466
  </dl>
@@ -1467,7 +1533,7 @@ await client.construe.getCodeSystemDetail("ICD-10-CM", {
1467
1533
  <dl>
1468
1534
  <dd>
1469
1535
 
1470
- **requestOptions:** `Construe.RequestOptions`
1536
+ **requestOptions:** `ConstrueClient.RequestOptions`
1471
1537
 
1472
1538
  </dd>
1473
1539
  </dl>
@@ -1541,7 +1607,7 @@ await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
1541
1607
  <dl>
1542
1608
  <dd>
1543
1609
 
1544
- **requestOptions:** `Construe.RequestOptions`
1610
+ **requestOptions:** `ConstrueClient.RequestOptions`
1545
1611
 
1546
1612
  </dd>
1547
1613
  </dl>
@@ -1616,7 +1682,7 @@ await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
1616
1682
  <dl>
1617
1683
  <dd>
1618
1684
 
1619
- **requestOptions:** `Construe.RequestOptions`
1685
+ **requestOptions:** `ConstrueClient.RequestOptions`
1620
1686
 
1621
1687
  </dd>
1622
1688
  </dl>
@@ -1693,7 +1759,7 @@ await client.construe.listCodesInACodeSystem("ICD-10-CM", {
1693
1759
  <dl>
1694
1760
  <dd>
1695
1761
 
1696
- **requestOptions:** `Construe.RequestOptions`
1762
+ **requestOptions:** `ConstrueClient.RequestOptions`
1697
1763
 
1698
1764
  </dd>
1699
1765
  </dl>
@@ -1776,7 +1842,7 @@ await client.construe.getASpecificCode("ICD-10-CM", "E11.65", {
1776
1842
  <dl>
1777
1843
  <dd>
1778
1844
 
1779
- **requestOptions:** `Construe.RequestOptions`
1845
+ **requestOptions:** `ConstrueClient.RequestOptions`
1780
1846
 
1781
1847
  </dd>
1782
1848
  </dl>
@@ -1869,7 +1935,7 @@ await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
1869
1935
  <dl>
1870
1936
  <dd>
1871
1937
 
1872
- **requestOptions:** `Construe.RequestOptions`
1938
+ **requestOptions:** `ConstrueClient.RequestOptions`
1873
1939
 
1874
1940
  </dd>
1875
1941
  </dl>
@@ -1951,7 +2017,7 @@ await client.construe.submitFeedbackOnExtractionResults({
1951
2017
  <dl>
1952
2018
  <dd>
1953
2019
 
1954
- **requestOptions:** `Construe.RequestOptions`
2020
+ **requestOptions:** `ConstrueClient.RequestOptions`
1955
2021
 
1956
2022
  </dd>
1957
2023
  </dl>
@@ -2049,7 +2115,7 @@ await client.construe.terminologyServerTextSearch("ICD-10-CM", {
2049
2115
  <dl>
2050
2116
  <dd>
2051
2117
 
2052
- **requestOptions:** `Construe.RequestOptions`
2118
+ **requestOptions:** `ConstrueClient.RequestOptions`
2053
2119
 
2054
2120
  </dd>
2055
2121
  </dl>
@@ -2144,7 +2210,7 @@ Examples:
2144
2210
  <dl>
2145
2211
  <dd>
2146
2212
 
2147
- **requestOptions:** `Fhir.RequestOptions`
2213
+ **requestOptions:** `FhirClient.RequestOptions`
2148
2214
 
2149
2215
  </dd>
2150
2216
  </dl>
@@ -2251,7 +2317,7 @@ Examples:
2251
2317
  <dl>
2252
2318
  <dd>
2253
2319
 
2254
- **requestOptions:** `Fhir.RequestOptions`
2320
+ **requestOptions:** `FhirClient.RequestOptions`
2255
2321
 
2256
2322
  </dd>
2257
2323
  </dl>
@@ -2360,7 +2426,7 @@ Examples:
2360
2426
  <dl>
2361
2427
  <dd>
2362
2428
 
2363
- **requestOptions:** `Fhir.RequestOptions`
2429
+ **requestOptions:** `FhirClient.RequestOptions`
2364
2430
 
2365
2431
  </dd>
2366
2432
  </dl>
@@ -2372,7 +2438,7 @@ Examples:
2372
2438
  </dl>
2373
2439
  </details>
2374
2440
 
2375
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">delete</a>(fhir_provider_id, fhir_path, { ...params }) -> Record<string, unknown></code></summary>
2441
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">delete</a>(fhir_provider_id, fhir_path, { ...params }) -> Record&lt;string, unknown&gt;</code></summary>
2376
2442
  <dl>
2377
2443
  <dd>
2378
2444
 
@@ -2454,7 +2520,7 @@ Examples:
2454
2520
  <dl>
2455
2521
  <dd>
2456
2522
 
2457
- **requestOptions:** `Fhir.RequestOptions`
2523
+ **requestOptions:** `FhirClient.RequestOptions`
2458
2524
 
2459
2525
  </dd>
2460
2526
  </dl>
@@ -2558,7 +2624,7 @@ Examples:
2558
2624
  <dl>
2559
2625
  <dd>
2560
2626
 
2561
- **requestOptions:** `Fhir.RequestOptions`
2627
+ **requestOptions:** `FhirClient.RequestOptions`
2562
2628
 
2563
2629
  </dd>
2564
2630
  </dl>
@@ -2672,7 +2738,7 @@ The ID of the FHIR provider to use. Can be either:
2672
2738
  <dl>
2673
2739
  <dd>
2674
2740
 
2675
- **requestOptions:** `Fhir.RequestOptions`
2741
+ **requestOptions:** `FhirClient.RequestOptions`
2676
2742
 
2677
2743
  </dd>
2678
2744
  </dl>
@@ -2746,7 +2812,7 @@ await client.fhirProvider.create({
2746
2812
  <dl>
2747
2813
  <dd>
2748
2814
 
2749
- **requestOptions:** `FhirProvider.RequestOptions`
2815
+ **requestOptions:** `FhirProviderClient.RequestOptions`
2750
2816
 
2751
2817
  </dd>
2752
2818
  </dl>
@@ -2804,7 +2870,7 @@ await client.fhirProvider.list();
2804
2870
  <dl>
2805
2871
  <dd>
2806
2872
 
2807
- **requestOptions:** `FhirProvider.RequestOptions`
2873
+ **requestOptions:** `FhirProviderClient.RequestOptions`
2808
2874
 
2809
2875
  </dd>
2810
2876
  </dl>
@@ -2870,7 +2936,7 @@ await client.fhirProvider.get("fhir_provider_id");
2870
2936
  <dl>
2871
2937
  <dd>
2872
2938
 
2873
- **requestOptions:** `FhirProvider.RequestOptions`
2939
+ **requestOptions:** `FhirProviderClient.RequestOptions`
2874
2940
 
2875
2941
  </dd>
2876
2942
  </dl>
@@ -2935,7 +3001,7 @@ await client.fhirProvider.delete("fhir_provider_id");
2935
3001
  <dl>
2936
3002
  <dd>
2937
3003
 
2938
- **requestOptions:** `FhirProvider.RequestOptions`
3004
+ **requestOptions:** `FhirProviderClient.RequestOptions`
2939
3005
 
2940
3006
  </dd>
2941
3007
  </dl>
@@ -3012,7 +3078,7 @@ await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad",
3012
3078
  <dl>
3013
3079
  <dd>
3014
3080
 
3015
- **requestOptions:** `FhirProvider.RequestOptions`
3081
+ **requestOptions:** `FhirProviderClient.RequestOptions`
3016
3082
 
3017
3083
  </dd>
3018
3084
  </dl>
@@ -3091,7 +3157,7 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
3091
3157
  <dl>
3092
3158
  <dd>
3093
3159
 
3094
- **requestOptions:** `FhirProvider.RequestOptions`
3160
+ **requestOptions:** `FhirProviderClient.RequestOptions`
3095
3161
 
3096
3162
  </dd>
3097
3163
  </dl>
@@ -3167,7 +3233,7 @@ await client.fhirProvider.removeAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad
3167
3233
  <dl>
3168
3234
  <dd>
3169
3235
 
3170
- **requestOptions:** `FhirProvider.RequestOptions`
3236
+ **requestOptions:** `FhirProviderClient.RequestOptions`
3171
3237
 
3172
3238
  </dd>
3173
3239
  </dl>
@@ -3235,7 +3301,7 @@ await client.lang2Fhir.create({
3235
3301
  <dl>
3236
3302
  <dd>
3237
3303
 
3238
- **requestOptions:** `Lang2Fhir.RequestOptions`
3304
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3239
3305
 
3240
3306
  </dd>
3241
3307
  </dl>
@@ -3302,7 +3368,7 @@ await client.lang2Fhir.createMulti({
3302
3368
  <dl>
3303
3369
  <dd>
3304
3370
 
3305
- **requestOptions:** `Lang2Fhir.RequestOptions`
3371
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3306
3372
 
3307
3373
  </dd>
3308
3374
  </dl>
@@ -3374,7 +3440,7 @@ await client.lang2Fhir.search({
3374
3440
  <dl>
3375
3441
  <dd>
3376
3442
 
3377
- **requestOptions:** `Lang2Fhir.RequestOptions`
3443
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3378
3444
 
3379
3445
  </dd>
3380
3446
  </dl>
@@ -3448,7 +3514,7 @@ await client.lang2Fhir.uploadProfile({
3448
3514
  <dl>
3449
3515
  <dd>
3450
3516
 
3451
- **requestOptions:** `Lang2Fhir.RequestOptions`
3517
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3452
3518
 
3453
3519
  </dd>
3454
3520
  </dl>
@@ -3515,7 +3581,76 @@ await client.lang2Fhir.document({
3515
3581
  <dl>
3516
3582
  <dd>
3517
3583
 
3518
- **requestOptions:** `Lang2Fhir.RequestOptions`
3584
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3585
+
3586
+ </dd>
3587
+ </dl>
3588
+ </dd>
3589
+ </dl>
3590
+
3591
+
3592
+ </dd>
3593
+ </dl>
3594
+ </details>
3595
+
3596
+ <details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">extractMultipleFhirResourcesFromADocument</a>({ ...params }) -> phenoml.CreateMultiResponse</code></summary>
3597
+ <dl>
3598
+ <dd>
3599
+
3600
+ #### 📝 Description
3601
+
3602
+ <dl>
3603
+ <dd>
3604
+
3605
+ <dl>
3606
+ <dd>
3607
+
3608
+ Extracts text from a document (PDF or image) and converts it into multiple FHIR resources,
3609
+ returned as a transaction Bundle. Combines document text extraction with multi-resource detection.
3610
+ Automatically detects Patient, Condition, MedicationRequest, Observation, and other resource types.
3611
+ Resources are linked with proper references (e.g., Conditions reference the Patient).
3612
+ </dd>
3613
+ </dl>
3614
+ </dd>
3615
+ </dl>
3616
+
3617
+ #### 🔌 Usage
3618
+
3619
+ <dl>
3620
+ <dd>
3621
+
3622
+ <dl>
3623
+ <dd>
3624
+
3625
+ ```typescript
3626
+ await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
3627
+ version: "R4",
3628
+ content: "content"
3629
+ });
3630
+
3631
+ ```
3632
+ </dd>
3633
+ </dl>
3634
+ </dd>
3635
+ </dl>
3636
+
3637
+ #### ⚙️ Parameters
3638
+
3639
+ <dl>
3640
+ <dd>
3641
+
3642
+ <dl>
3643
+ <dd>
3644
+
3645
+ **request:** `phenoml.lang2Fhir.DocumentMultiRequest`
3646
+
3647
+ </dd>
3648
+ </dl>
3649
+
3650
+ <dl>
3651
+ <dd>
3652
+
3653
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3519
3654
 
3520
3655
  </dd>
3521
3656
  </dl>
@@ -3571,7 +3706,7 @@ await client.summary.listTemplates();
3571
3706
  <dl>
3572
3707
  <dd>
3573
3708
 
3574
- **requestOptions:** `Summary.RequestOptions`
3709
+ **requestOptions:** `SummaryClient.RequestOptions`
3575
3710
 
3576
3711
  </dd>
3577
3712
  </dl>
@@ -3639,7 +3774,7 @@ await client.summary.createTemplate({
3639
3774
  <dl>
3640
3775
  <dd>
3641
3776
 
3642
- **requestOptions:** `Summary.RequestOptions`
3777
+ **requestOptions:** `SummaryClient.RequestOptions`
3643
3778
 
3644
3779
  </dd>
3645
3780
  </dl>
@@ -3702,7 +3837,7 @@ await client.summary.getTemplate("id");
3702
3837
  <dl>
3703
3838
  <dd>
3704
3839
 
3705
- **requestOptions:** `Summary.RequestOptions`
3840
+ **requestOptions:** `SummaryClient.RequestOptions`
3706
3841
 
3707
3842
  </dd>
3708
3843
  </dl>
@@ -3778,7 +3913,7 @@ await client.summary.updateTemplate("id", {
3778
3913
  <dl>
3779
3914
  <dd>
3780
3915
 
3781
- **requestOptions:** `Summary.RequestOptions`
3916
+ **requestOptions:** `SummaryClient.RequestOptions`
3782
3917
 
3783
3918
  </dd>
3784
3919
  </dl>
@@ -3841,7 +3976,7 @@ await client.summary.deleteTemplate("id");
3841
3976
  <dl>
3842
3977
  <dd>
3843
3978
 
3844
- **requestOptions:** `Summary.RequestOptions`
3979
+ **requestOptions:** `SummaryClient.RequestOptions`
3845
3980
 
3846
3981
  </dd>
3847
3982
  </dl>
@@ -3911,7 +4046,7 @@ await client.summary.create({
3911
4046
  <dl>
3912
4047
  <dd>
3913
4048
 
3914
- **requestOptions:** `Summary.RequestOptions`
4049
+ **requestOptions:** `SummaryClient.RequestOptions`
3915
4050
 
3916
4051
  </dd>
3917
4052
  </dl>
@@ -3980,7 +4115,7 @@ await client.tools.createFhirResource({
3980
4115
  <dl>
3981
4116
  <dd>
3982
4117
 
3983
- **requestOptions:** `Tools.RequestOptions`
4118
+ **requestOptions:** `ToolsClient.RequestOptions`
3984
4119
 
3985
4120
  </dd>
3986
4121
  </dl>
@@ -4052,7 +4187,7 @@ await client.tools.createFhirResourcesMulti({
4052
4187
  <dl>
4053
4188
  <dd>
4054
4189
 
4055
- **requestOptions:** `Tools.RequestOptions`
4190
+ **requestOptions:** `ToolsClient.RequestOptions`
4056
4191
 
4057
4192
  </dd>
4058
4193
  </dl>
@@ -4119,7 +4254,7 @@ await client.tools.searchFhirResources({
4119
4254
  <dl>
4120
4255
  <dd>
4121
4256
 
4122
- **requestOptions:** `Tools.RequestOptions`
4257
+ **requestOptions:** `ToolsClient.RequestOptions`
4123
4258
 
4124
4259
  </dd>
4125
4260
  </dl>
@@ -4187,7 +4322,7 @@ await client.tools.analyzeCohort({
4187
4322
  <dl>
4188
4323
  <dd>
4189
4324
 
4190
- **requestOptions:** `Tools.RequestOptions`
4325
+ **requestOptions:** `ToolsClient.RequestOptions`
4191
4326
 
4192
4327
  </dd>
4193
4328
  </dl>
@@ -4254,7 +4389,7 @@ await client.tools.mcpServer.create({
4254
4389
  <dl>
4255
4390
  <dd>
4256
4391
 
4257
- **requestOptions:** `McpServer.RequestOptions`
4392
+ **requestOptions:** `McpServerClient.RequestOptions`
4258
4393
 
4259
4394
  </dd>
4260
4395
  </dl>
@@ -4309,7 +4444,7 @@ await client.tools.mcpServer.list();
4309
4444
  <dl>
4310
4445
  <dd>
4311
4446
 
4312
- **requestOptions:** `McpServer.RequestOptions`
4447
+ **requestOptions:** `McpServerClient.RequestOptions`
4313
4448
 
4314
4449
  </dd>
4315
4450
  </dl>
@@ -4372,7 +4507,7 @@ await client.tools.mcpServer.get("mcp_server_id");
4372
4507
  <dl>
4373
4508
  <dd>
4374
4509
 
4375
- **requestOptions:** `McpServer.RequestOptions`
4510
+ **requestOptions:** `McpServerClient.RequestOptions`
4376
4511
 
4377
4512
  </dd>
4378
4513
  </dl>
@@ -4435,7 +4570,7 @@ await client.tools.mcpServer.delete("mcp_server_id");
4435
4570
  <dl>
4436
4571
  <dd>
4437
4572
 
4438
- **requestOptions:** `McpServer.RequestOptions`
4573
+ **requestOptions:** `McpServerClient.RequestOptions`
4439
4574
 
4440
4575
  </dd>
4441
4576
  </dl>
@@ -4499,7 +4634,7 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
4499
4634
  <dl>
4500
4635
  <dd>
4501
4636
 
4502
- **requestOptions:** `Tools.RequestOptions`
4637
+ **requestOptions:** `ToolsClient.RequestOptions`
4503
4638
 
4504
4639
  </dd>
4505
4640
  </dl>
@@ -4562,7 +4697,7 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
4562
4697
  <dl>
4563
4698
  <dd>
4564
4699
 
4565
- **requestOptions:** `Tools.RequestOptions`
4700
+ **requestOptions:** `ToolsClient.RequestOptions`
4566
4701
 
4567
4702
  </dd>
4568
4703
  </dl>
@@ -4625,7 +4760,7 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
4625
4760
  <dl>
4626
4761
  <dd>
4627
4762
 
4628
- **requestOptions:** `Tools.RequestOptions`
4763
+ **requestOptions:** `ToolsClient.RequestOptions`
4629
4764
 
4630
4765
  </dd>
4631
4766
  </dl>
@@ -4700,7 +4835,7 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
4700
4835
  <dl>
4701
4836
  <dd>
4702
4837
 
4703
- **requestOptions:** `Tools.RequestOptions`
4838
+ **requestOptions:** `ToolsClient.RequestOptions`
4704
4839
 
4705
4840
  </dd>
4706
4841
  </dl>
@@ -4766,7 +4901,7 @@ await client.workflows.list({
4766
4901
  <dl>
4767
4902
  <dd>
4768
4903
 
4769
- **requestOptions:** `Workflows.RequestOptions`
4904
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4770
4905
 
4771
4906
  </dd>
4772
4907
  </dl>
@@ -4839,7 +4974,7 @@ await client.workflows.create({
4839
4974
  <dl>
4840
4975
  <dd>
4841
4976
 
4842
- **requestOptions:** `Workflows.RequestOptions`
4977
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4843
4978
 
4844
4979
  </dd>
4845
4980
  </dl>
@@ -4912,7 +5047,7 @@ await client.workflows.get("id", {
4912
5047
  <dl>
4913
5048
  <dd>
4914
5049
 
4915
- **requestOptions:** `Workflows.RequestOptions`
5050
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4916
5051
 
4917
5052
  </dd>
4918
5053
  </dl>
@@ -4993,7 +5128,7 @@ await client.workflows.update("id", {
4993
5128
  <dl>
4994
5129
  <dd>
4995
5130
 
4996
- **requestOptions:** `Workflows.RequestOptions`
5131
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4997
5132
 
4998
5133
  </dd>
4999
5134
  </dl>
@@ -5056,7 +5191,7 @@ await client.workflows.delete("id");
5056
5191
  <dl>
5057
5192
  <dd>
5058
5193
 
5059
- **requestOptions:** `Workflows.RequestOptions`
5194
+ **requestOptions:** `WorkflowsClient.RequestOptions`
5060
5195
 
5061
5196
  </dd>
5062
5197
  </dl>
@@ -5134,7 +5269,7 @@ await client.workflows.execute("id", {
5134
5269
  <dl>
5135
5270
  <dd>
5136
5271
 
5137
- **requestOptions:** `Workflows.RequestOptions`
5272
+ **requestOptions:** `WorkflowsClient.RequestOptions`
5138
5273
 
5139
5274
  </dd>
5140
5275
  </dl>
@@ -5145,3 +5280,4 @@ await client.workflows.execute("id", {
5145
5280
  </dd>
5146
5281
  </dl>
5147
5282
  </details>
5283
+