phenoml 9.2.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 (502) 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 +18 -19
  129. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +31 -112
  130. package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +1 -1
  131. package/dist/cjs/api/resources/lang2Fhir/client/requests/index.js +3 -0
  132. package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.js +5 -1
  133. package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.js +5 -1
  134. package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.js +5 -1
  135. package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.js +5 -1
  136. package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.js +5 -1
  137. package/dist/cjs/api/resources/lang2Fhir/errors/UnprocessableEntityError.js +5 -1
  138. package/dist/cjs/api/resources/lang2Fhir/exports.d.ts +2 -0
  139. package/dist/cjs/api/resources/lang2Fhir/exports.js +21 -0
  140. package/dist/cjs/api/resources/lang2Fhir/types/CreateMultiResponse.d.ts +15 -15
  141. package/dist/cjs/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.ts +4 -4
  142. package/dist/cjs/api/resources/lang2Fhir/types/SearchResponse.d.ts +2 -2
  143. package/dist/cjs/api/resources/summary/client/Client.d.ts +18 -19
  144. package/dist/cjs/api/resources/summary/client/Client.js +31 -112
  145. package/dist/cjs/api/resources/summary/client/requests/index.d.ts +1 -1
  146. package/dist/cjs/api/resources/summary/client/requests/index.js +3 -0
  147. package/dist/cjs/api/resources/summary/errors/BadRequestError.js +5 -1
  148. package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +5 -1
  149. package/dist/cjs/api/resources/summary/errors/InternalServerError.js +5 -1
  150. package/dist/cjs/api/resources/summary/errors/NotFoundError.js +5 -1
  151. package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +5 -1
  152. package/dist/cjs/api/resources/summary/exports.d.ts +2 -0
  153. package/dist/cjs/api/resources/summary/exports.js +21 -0
  154. package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.d.ts +4 -4
  155. package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.d.ts +4 -4
  156. package/dist/cjs/api/resources/summary/types/ErrorResponse.d.ts +2 -2
  157. package/dist/cjs/api/resources/summary/types/FhirBundle.d.ts +1 -1
  158. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +2 -2
  159. package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.d.ts +2 -2
  160. package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.d.ts +2 -2
  161. package/dist/cjs/api/resources/summary/types/SummaryTemplate.d.ts +9 -9
  162. package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.d.ts +3 -3
  163. package/dist/cjs/api/resources/tools/client/Client.d.ts +17 -18
  164. package/dist/cjs/api/resources/tools/client/Client.js +32 -91
  165. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +1 -1
  166. package/dist/cjs/api/resources/tools/client/requests/index.js +3 -0
  167. package/dist/cjs/api/resources/tools/errors/BadRequestError.js +5 -1
  168. package/dist/cjs/api/resources/tools/errors/FailedDependencyError.js +5 -1
  169. package/dist/cjs/api/resources/tools/errors/ForbiddenError.js +5 -1
  170. package/dist/cjs/api/resources/tools/errors/InternalServerError.js +5 -1
  171. package/dist/cjs/api/resources/tools/errors/UnauthorizedError.js +5 -1
  172. package/dist/cjs/api/resources/tools/exports.d.ts +3 -0
  173. package/dist/cjs/api/resources/tools/exports.js +22 -0
  174. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +17 -18
  175. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +24 -79
  176. package/dist/cjs/api/resources/tools/resources/mcpServer/exports.d.ts +3 -0
  177. package/dist/cjs/api/resources/tools/resources/mcpServer/exports.js +22 -0
  178. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +14 -15
  179. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +23 -78
  180. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/exports.d.ts +2 -0
  181. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/exports.js +21 -0
  182. package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +5 -5
  183. package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateMultiResponse.d.ts +10 -10
  184. package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateResponse.d.ts +4 -4
  185. package/dist/cjs/api/resources/tools/types/Lang2FhirAndSearchResponse.d.ts +5 -5
  186. package/dist/cjs/api/resources/tools/types/McpServerResponse.d.ts +7 -7
  187. package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.d.ts +4 -4
  188. package/dist/cjs/api/resources/tools/types/McpServerToolResponse.d.ts +9 -9
  189. package/dist/cjs/api/resources/tools/types/SearchConcept.d.ts +4 -4
  190. package/dist/cjs/api/resources/workflows/client/Client.d.ts +18 -19
  191. package/dist/cjs/api/resources/workflows/client/Client.js +43 -128
  192. package/dist/cjs/api/resources/workflows/errors/BadRequestError.js +5 -1
  193. package/dist/cjs/api/resources/workflows/errors/ForbiddenError.js +5 -1
  194. package/dist/cjs/api/resources/workflows/errors/InternalServerError.js +5 -1
  195. package/dist/cjs/api/resources/workflows/errors/NotFoundError.js +5 -1
  196. package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.js +5 -1
  197. package/dist/cjs/api/resources/workflows/exports.d.ts +2 -0
  198. package/dist/cjs/api/resources/workflows/exports.js +21 -0
  199. package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +5 -5
  200. package/dist/cjs/api/resources/workflows/types/DecisionNodeDefinition.d.ts +3 -3
  201. package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowResponse.d.ts +4 -4
  202. package/dist/cjs/api/resources/workflows/types/Lang2FhirCreateDefinition.d.ts +4 -4
  203. package/dist/cjs/api/resources/workflows/types/Lang2FhirSearchDefinition.d.ts +5 -5
  204. package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +4 -4
  205. package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +4 -4
  206. package/dist/cjs/api/resources/workflows/types/SubWorkflowDefinition.d.ts +3 -3
  207. package/dist/cjs/api/resources/workflows/types/WorkflowConfig.d.ts +2 -2
  208. package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +8 -8
  209. package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +1 -1
  210. package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +9 -9
  211. package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +8 -8
  212. package/dist/cjs/api/resources/workflows/types/WorkflowStepSummary.d.ts +5 -5
  213. package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.d.ts +2 -2
  214. package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.d.ts +3 -3
  215. package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.d.ts +4 -4
  216. package/dist/cjs/auth/OAuthAuthProvider.d.ts +45 -0
  217. package/dist/cjs/auth/OAuthAuthProvider.js +190 -0
  218. package/dist/cjs/auth/index.d.ts +1 -0
  219. package/dist/cjs/auth/index.js +5 -0
  220. package/dist/cjs/core/auth/AuthProvider.d.ts +4 -1
  221. package/dist/cjs/core/auth/BearerToken.d.ts +3 -1
  222. package/dist/cjs/core/auth/BearerToken.js +7 -6
  223. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  224. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  225. package/dist/cjs/core/auth/index.d.ts +1 -0
  226. package/dist/cjs/core/auth/index.js +3 -1
  227. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +6 -7
  228. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
  229. package/dist/cjs/core/fetcher/Fetcher.d.ts +6 -3
  230. package/dist/cjs/core/fetcher/Fetcher.js +10 -3
  231. package/dist/cjs/core/fetcher/getResponseBody.js +18 -4
  232. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
  233. package/dist/cjs/core/fetcher/makeRequest.js +30 -9
  234. package/dist/cjs/core/fetcher/signals.d.ts +1 -1
  235. package/dist/cjs/core/headers.d.ts +2 -2
  236. package/dist/cjs/core/runtime/runtime.js +17 -15
  237. package/dist/cjs/core/stream/Stream.d.ts +9 -0
  238. package/dist/cjs/core/stream/Stream.js +100 -5
  239. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  240. package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
  241. package/dist/cjs/errors/phenomlError.js +5 -1
  242. package/dist/cjs/errors/phenomlTimeoutError.js +5 -1
  243. package/dist/cjs/index.d.ts +4 -2
  244. package/dist/cjs/index.js +9 -5
  245. package/dist/cjs/version.d.ts +1 -1
  246. package/dist/cjs/version.js +1 -1
  247. package/dist/esm/BaseClient.d.mts +13 -4
  248. package/dist/esm/BaseClient.mjs +24 -1
  249. package/dist/esm/Client.d.mts +34 -34
  250. package/dist/esm/Client.mjs +23 -31
  251. package/dist/esm/api/resources/agent/client/Client.d.mts +26 -27
  252. package/dist/esm/api/resources/agent/client/Client.mjs +55 -184
  253. package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +5 -1
  254. package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +5 -1
  255. package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +5 -1
  256. package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +5 -1
  257. package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +5 -1
  258. package/dist/esm/api/resources/agent/exports.d.mts +3 -0
  259. package/dist/esm/api/resources/agent/exports.mjs +4 -0
  260. package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +20 -21
  261. package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +34 -128
  262. package/dist/esm/api/resources/agent/resources/prompts/exports.d.mts +2 -0
  263. package/dist/esm/api/resources/agent/resources/prompts/exports.mjs +3 -0
  264. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.d.mts +2 -2
  265. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +3 -3
  266. package/dist/esm/api/resources/agent/types/AgentChatResponse.d.mts +4 -4
  267. package/dist/esm/api/resources/agent/types/AgentChatStreamEvent.d.mts +8 -8
  268. package/dist/esm/api/resources/agent/types/AgentCreateRequest.d.mts +4 -4
  269. package/dist/esm/api/resources/agent/types/AgentDeleteResponse.d.mts +2 -2
  270. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +3 -3
  271. package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +3 -3
  272. package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +3 -3
  273. package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +3 -3
  274. package/dist/esm/api/resources/agent/types/AgentTemplate.d.mts +8 -8
  275. package/dist/esm/api/resources/agent/types/ChatMessageTemplate.d.mts +10 -10
  276. package/dist/esm/api/resources/agent/types/ChatSessionTemplate.d.mts +9 -9
  277. package/dist/esm/api/resources/agent/types/JsonPatchOperation.d.mts +2 -2
  278. package/dist/esm/api/resources/agent/types/PromptTemplate.d.mts +6 -6
  279. package/dist/esm/api/resources/agent/types/SuccessResponse.d.mts +2 -2
  280. package/dist/esm/api/resources/authtoken/client/Client.d.mts +9 -9
  281. package/dist/esm/api/resources/authtoken/client/Client.mjs +6 -5
  282. package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +5 -1
  283. package/dist/esm/api/resources/authtoken/errors/InternalServerError.d.mts +5 -0
  284. package/dist/esm/api/resources/authtoken/errors/InternalServerError.mjs +17 -0
  285. package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +5 -1
  286. package/dist/esm/api/resources/authtoken/errors/index.d.mts +1 -0
  287. package/dist/esm/api/resources/authtoken/errors/index.mjs +1 -0
  288. package/dist/esm/api/resources/authtoken/exports.d.mts +3 -0
  289. package/dist/esm/api/resources/authtoken/exports.mjs +4 -0
  290. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +28 -30
  291. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +74 -41
  292. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.d.mts +12 -0
  293. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/ClientCredentialsRequest.mjs +2 -0
  294. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.d.mts +1 -0
  295. package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +2 -0
  296. package/dist/esm/api/resources/authtoken/resources/auth/exports.mjs +3 -0
  297. package/dist/esm/api/resources/authtoken/types/BadRequestErrorBody.d.mts +3 -3
  298. package/dist/esm/api/resources/authtoken/types/OAuthError.d.mts +19 -0
  299. package/dist/esm/api/resources/authtoken/types/OAuthError.mjs +11 -0
  300. package/dist/esm/api/resources/authtoken/types/TokenResponse.d.mts +8 -0
  301. package/dist/esm/api/resources/authtoken/types/TokenResponse.mjs +2 -0
  302. package/dist/esm/api/resources/authtoken/types/UnauthorizedErrorBody.d.mts +3 -3
  303. package/dist/esm/api/resources/authtoken/types/index.d.mts +2 -0
  304. package/dist/esm/api/resources/authtoken/types/index.mjs +2 -0
  305. package/dist/esm/api/resources/cohort/client/Client.d.mts +8 -9
  306. package/dist/esm/api/resources/cohort/client/Client.mjs +10 -26
  307. package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +5 -1
  308. package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +5 -1
  309. package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +5 -1
  310. package/dist/esm/api/resources/cohort/exports.d.mts +2 -0
  311. package/dist/esm/api/resources/cohort/exports.mjs +3 -0
  312. package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +3 -3
  313. package/dist/esm/api/resources/cohort/types/SearchConcept.d.mts +4 -4
  314. package/dist/esm/api/resources/construe/client/Client.d.mts +28 -29
  315. package/dist/esm/api/resources/construe/client/Client.mjs +77 -238
  316. package/dist/esm/api/resources/construe/client/requests/index.d.mts +1 -1
  317. package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -1
  318. package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +5 -1
  319. package/dist/esm/api/resources/construe/errors/ConflictError.mjs +5 -1
  320. package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +5 -1
  321. package/dist/esm/api/resources/construe/errors/ForbiddenError.mjs +5 -1
  322. package/dist/esm/api/resources/construe/errors/GatewayTimeoutError.mjs +5 -1
  323. package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +5 -1
  324. package/dist/esm/api/resources/construe/errors/NotFoundError.mjs +5 -1
  325. package/dist/esm/api/resources/construe/errors/NotImplementedError.mjs +5 -1
  326. package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.mjs +5 -1
  327. package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +5 -1
  328. package/dist/esm/api/resources/construe/exports.d.mts +2 -0
  329. package/dist/esm/api/resources/construe/exports.mjs +3 -0
  330. package/dist/esm/api/resources/construe/types/CodeResponse.d.mts +1 -1
  331. package/dist/esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts +3 -3
  332. package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +8 -8
  333. package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +2 -2
  334. package/dist/esm/api/resources/construe/types/ExtractedCodeResult.d.mts +3 -3
  335. package/dist/esm/api/resources/construe/types/GetCodeResponse.d.mts +1 -1
  336. package/dist/esm/api/resources/construe/types/ListCodesResponse.d.mts +1 -1
  337. package/dist/esm/api/resources/fhir/client/Client.d.mts +18 -19
  338. package/dist/esm/api/resources/fhir/client/Client.mjs +44 -132
  339. package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.d.mts +0 -6
  340. package/dist/esm/api/resources/fhir/errors/BadGatewayError.mjs +5 -1
  341. package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +5 -1
  342. package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +5 -1
  343. package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +5 -1
  344. package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +5 -1
  345. package/dist/esm/api/resources/fhir/exports.d.mts +2 -0
  346. package/dist/esm/api/resources/fhir/exports.mjs +3 -0
  347. package/dist/esm/api/resources/fhir/types/ErrorResponse.d.mts +2 -2
  348. package/dist/esm/api/resources/fhir/types/FhirBundle.d.mts +8 -8
  349. package/dist/esm/api/resources/fhir/types/FhirPatchRequestBodyItem.d.mts +2 -2
  350. package/dist/esm/api/resources/fhir/types/FhirResource.d.mts +5 -5
  351. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +20 -21
  352. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +34 -128
  353. package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +5 -1
  354. package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +5 -1
  355. package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +5 -1
  356. package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +5 -1
  357. package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +5 -1
  358. package/dist/esm/api/resources/fhirProvider/exports.d.mts +2 -0
  359. package/dist/esm/api/resources/fhirProvider/exports.mjs +3 -0
  360. package/dist/esm/api/resources/fhirProvider/types/ClientSecretAuth.d.mts +2 -2
  361. package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +12 -12
  362. package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +2 -2
  363. package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +3 -3
  364. package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +3 -3
  365. package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +3 -3
  366. package/dist/esm/api/resources/fhirProvider/types/FhirProviderSandboxInfo.d.mts +4 -4
  367. package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +8 -8
  368. package/dist/esm/api/resources/fhirProvider/types/FhirQueryResponse.d.mts +4 -4
  369. package/dist/esm/api/resources/fhirProvider/types/JsonWebKey.d.mts +6 -6
  370. package/dist/esm/api/resources/fhirProvider/types/JwtAuth.d.mts +3 -3
  371. package/dist/esm/api/resources/fhirProvider/types/OnBehalfOfAuth.d.mts +2 -2
  372. package/dist/esm/api/resources/fhirProvider/types/ServiceAccountMetadata.d.mts +4 -4
  373. package/dist/esm/api/resources/fhirProvider/types/SmartConfiguration.d.mts +5 -5
  374. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +18 -19
  375. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +30 -111
  376. package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +1 -1
  377. package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +1 -1
  378. package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +5 -1
  379. package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +5 -1
  380. package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +5 -1
  381. package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +5 -1
  382. package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +5 -1
  383. package/dist/esm/api/resources/lang2Fhir/errors/UnprocessableEntityError.mjs +5 -1
  384. package/dist/esm/api/resources/lang2Fhir/exports.d.mts +2 -0
  385. package/dist/esm/api/resources/lang2Fhir/exports.mjs +3 -0
  386. package/dist/esm/api/resources/lang2Fhir/types/CreateMultiResponse.d.mts +15 -15
  387. package/dist/esm/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.mts +4 -4
  388. package/dist/esm/api/resources/lang2Fhir/types/SearchResponse.d.mts +2 -2
  389. package/dist/esm/api/resources/summary/client/Client.d.mts +18 -19
  390. package/dist/esm/api/resources/summary/client/Client.mjs +30 -111
  391. package/dist/esm/api/resources/summary/client/requests/index.d.mts +1 -1
  392. package/dist/esm/api/resources/summary/client/requests/index.mjs +1 -1
  393. package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +5 -1
  394. package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +5 -1
  395. package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +5 -1
  396. package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +5 -1
  397. package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +5 -1
  398. package/dist/esm/api/resources/summary/exports.d.mts +2 -0
  399. package/dist/esm/api/resources/summary/exports.mjs +3 -0
  400. package/dist/esm/api/resources/summary/types/CreateSummaryResponse.d.mts +4 -4
  401. package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.d.mts +4 -4
  402. package/dist/esm/api/resources/summary/types/ErrorResponse.d.mts +2 -2
  403. package/dist/esm/api/resources/summary/types/FhirBundle.d.mts +1 -1
  404. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +2 -2
  405. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +2 -2
  406. package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.d.mts +2 -2
  407. package/dist/esm/api/resources/summary/types/SummaryTemplate.d.mts +9 -9
  408. package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.d.mts +3 -3
  409. package/dist/esm/api/resources/tools/client/Client.d.mts +17 -18
  410. package/dist/esm/api/resources/tools/client/Client.mjs +31 -90
  411. package/dist/esm/api/resources/tools/client/requests/index.d.mts +1 -1
  412. package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -1
  413. package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +5 -1
  414. package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +5 -1
  415. package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +5 -1
  416. package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +5 -1
  417. package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +5 -1
  418. package/dist/esm/api/resources/tools/exports.d.mts +3 -0
  419. package/dist/esm/api/resources/tools/exports.mjs +4 -0
  420. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +17 -18
  421. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +24 -79
  422. package/dist/esm/api/resources/tools/resources/mcpServer/exports.d.mts +3 -0
  423. package/dist/esm/api/resources/tools/resources/mcpServer/exports.mjs +4 -0
  424. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +14 -15
  425. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +22 -77
  426. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/exports.d.mts +2 -0
  427. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/exports.mjs +3 -0
  428. package/dist/esm/api/resources/tools/types/CohortResponse.d.mts +5 -5
  429. package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateMultiResponse.d.mts +10 -10
  430. package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateResponse.d.mts +4 -4
  431. package/dist/esm/api/resources/tools/types/Lang2FhirAndSearchResponse.d.mts +5 -5
  432. package/dist/esm/api/resources/tools/types/McpServerResponse.d.mts +7 -7
  433. package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.d.mts +4 -4
  434. package/dist/esm/api/resources/tools/types/McpServerToolResponse.d.mts +9 -9
  435. package/dist/esm/api/resources/tools/types/SearchConcept.d.mts +4 -4
  436. package/dist/esm/api/resources/workflows/client/Client.d.mts +18 -19
  437. package/dist/esm/api/resources/workflows/client/Client.mjs +42 -127
  438. package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +5 -1
  439. package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +5 -1
  440. package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +5 -1
  441. package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +5 -1
  442. package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +5 -1
  443. package/dist/esm/api/resources/workflows/exports.d.mts +2 -0
  444. package/dist/esm/api/resources/workflows/exports.mjs +3 -0
  445. package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +5 -5
  446. package/dist/esm/api/resources/workflows/types/DecisionNodeDefinition.d.mts +3 -3
  447. package/dist/esm/api/resources/workflows/types/ExecuteWorkflowResponse.d.mts +4 -4
  448. package/dist/esm/api/resources/workflows/types/Lang2FhirCreateDefinition.d.mts +4 -4
  449. package/dist/esm/api/resources/workflows/types/Lang2FhirSearchDefinition.d.mts +5 -5
  450. package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +4 -4
  451. package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +4 -4
  452. package/dist/esm/api/resources/workflows/types/SubWorkflowDefinition.d.mts +3 -3
  453. package/dist/esm/api/resources/workflows/types/WorkflowConfig.d.mts +2 -2
  454. package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +8 -8
  455. package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +1 -1
  456. package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +9 -9
  457. package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +8 -8
  458. package/dist/esm/api/resources/workflows/types/WorkflowStepSummary.d.mts +5 -5
  459. package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts +2 -2
  460. package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.d.mts +3 -3
  461. package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.d.mts +4 -4
  462. package/dist/esm/auth/OAuthAuthProvider.d.mts +45 -0
  463. package/dist/esm/auth/OAuthAuthProvider.mjs +152 -0
  464. package/dist/esm/auth/index.d.mts +1 -0
  465. package/dist/esm/auth/index.mjs +1 -0
  466. package/dist/esm/core/auth/AuthProvider.d.mts +4 -1
  467. package/dist/esm/core/auth/BearerToken.d.mts +3 -1
  468. package/dist/esm/core/auth/BearerToken.mjs +7 -6
  469. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  470. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  471. package/dist/esm/core/auth/index.d.mts +1 -0
  472. package/dist/esm/core/auth/index.mjs +1 -0
  473. package/dist/esm/core/fetcher/BinaryResponse.d.mts +6 -7
  474. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
  475. package/dist/esm/core/fetcher/Fetcher.d.mts +6 -3
  476. package/dist/esm/core/fetcher/Fetcher.mjs +10 -3
  477. package/dist/esm/core/fetcher/getResponseBody.mjs +18 -4
  478. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
  479. package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
  480. package/dist/esm/core/fetcher/signals.d.mts +1 -1
  481. package/dist/esm/core/headers.d.mts +2 -2
  482. package/dist/esm/core/runtime/runtime.mjs +17 -15
  483. package/dist/esm/core/stream/Stream.d.mts +9 -0
  484. package/dist/esm/core/stream/Stream.mjs +100 -5
  485. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  486. package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
  487. package/dist/esm/errors/phenomlError.mjs +5 -1
  488. package/dist/esm/errors/phenomlTimeoutError.mjs +5 -1
  489. package/dist/esm/index.d.mts +4 -2
  490. package/dist/esm/index.mjs +3 -2
  491. package/dist/esm/version.d.mts +1 -1
  492. package/dist/esm/version.mjs +1 -1
  493. package/package.json +162 -5
  494. package/reference.md +141 -74
  495. package/dist/cjs/WrapperClient.d.ts +0 -21
  496. package/dist/cjs/WrapperClient.js +0 -111
  497. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
  498. package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
  499. package/dist/esm/WrapperClient.d.mts +0 -21
  500. package/dist/esm/WrapperClient.mjs +0 -75
  501. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
  502. 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,7 @@ await client.lang2Fhir.document({
3515
3581
  <dl>
3516
3582
  <dd>
3517
3583
 
3518
- **requestOptions:** `Lang2Fhir.RequestOptions`
3584
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3519
3585
 
3520
3586
  </dd>
3521
3587
  </dl>
@@ -3584,7 +3650,7 @@ await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
3584
3650
  <dl>
3585
3651
  <dd>
3586
3652
 
3587
- **requestOptions:** `Lang2Fhir.RequestOptions`
3653
+ **requestOptions:** `Lang2FhirClient.RequestOptions`
3588
3654
 
3589
3655
  </dd>
3590
3656
  </dl>
@@ -3640,7 +3706,7 @@ await client.summary.listTemplates();
3640
3706
  <dl>
3641
3707
  <dd>
3642
3708
 
3643
- **requestOptions:** `Summary.RequestOptions`
3709
+ **requestOptions:** `SummaryClient.RequestOptions`
3644
3710
 
3645
3711
  </dd>
3646
3712
  </dl>
@@ -3708,7 +3774,7 @@ await client.summary.createTemplate({
3708
3774
  <dl>
3709
3775
  <dd>
3710
3776
 
3711
- **requestOptions:** `Summary.RequestOptions`
3777
+ **requestOptions:** `SummaryClient.RequestOptions`
3712
3778
 
3713
3779
  </dd>
3714
3780
  </dl>
@@ -3771,7 +3837,7 @@ await client.summary.getTemplate("id");
3771
3837
  <dl>
3772
3838
  <dd>
3773
3839
 
3774
- **requestOptions:** `Summary.RequestOptions`
3840
+ **requestOptions:** `SummaryClient.RequestOptions`
3775
3841
 
3776
3842
  </dd>
3777
3843
  </dl>
@@ -3847,7 +3913,7 @@ await client.summary.updateTemplate("id", {
3847
3913
  <dl>
3848
3914
  <dd>
3849
3915
 
3850
- **requestOptions:** `Summary.RequestOptions`
3916
+ **requestOptions:** `SummaryClient.RequestOptions`
3851
3917
 
3852
3918
  </dd>
3853
3919
  </dl>
@@ -3910,7 +3976,7 @@ await client.summary.deleteTemplate("id");
3910
3976
  <dl>
3911
3977
  <dd>
3912
3978
 
3913
- **requestOptions:** `Summary.RequestOptions`
3979
+ **requestOptions:** `SummaryClient.RequestOptions`
3914
3980
 
3915
3981
  </dd>
3916
3982
  </dl>
@@ -3980,7 +4046,7 @@ await client.summary.create({
3980
4046
  <dl>
3981
4047
  <dd>
3982
4048
 
3983
- **requestOptions:** `Summary.RequestOptions`
4049
+ **requestOptions:** `SummaryClient.RequestOptions`
3984
4050
 
3985
4051
  </dd>
3986
4052
  </dl>
@@ -4049,7 +4115,7 @@ await client.tools.createFhirResource({
4049
4115
  <dl>
4050
4116
  <dd>
4051
4117
 
4052
- **requestOptions:** `Tools.RequestOptions`
4118
+ **requestOptions:** `ToolsClient.RequestOptions`
4053
4119
 
4054
4120
  </dd>
4055
4121
  </dl>
@@ -4121,7 +4187,7 @@ await client.tools.createFhirResourcesMulti({
4121
4187
  <dl>
4122
4188
  <dd>
4123
4189
 
4124
- **requestOptions:** `Tools.RequestOptions`
4190
+ **requestOptions:** `ToolsClient.RequestOptions`
4125
4191
 
4126
4192
  </dd>
4127
4193
  </dl>
@@ -4188,7 +4254,7 @@ await client.tools.searchFhirResources({
4188
4254
  <dl>
4189
4255
  <dd>
4190
4256
 
4191
- **requestOptions:** `Tools.RequestOptions`
4257
+ **requestOptions:** `ToolsClient.RequestOptions`
4192
4258
 
4193
4259
  </dd>
4194
4260
  </dl>
@@ -4256,7 +4322,7 @@ await client.tools.analyzeCohort({
4256
4322
  <dl>
4257
4323
  <dd>
4258
4324
 
4259
- **requestOptions:** `Tools.RequestOptions`
4325
+ **requestOptions:** `ToolsClient.RequestOptions`
4260
4326
 
4261
4327
  </dd>
4262
4328
  </dl>
@@ -4323,7 +4389,7 @@ await client.tools.mcpServer.create({
4323
4389
  <dl>
4324
4390
  <dd>
4325
4391
 
4326
- **requestOptions:** `McpServer.RequestOptions`
4392
+ **requestOptions:** `McpServerClient.RequestOptions`
4327
4393
 
4328
4394
  </dd>
4329
4395
  </dl>
@@ -4378,7 +4444,7 @@ await client.tools.mcpServer.list();
4378
4444
  <dl>
4379
4445
  <dd>
4380
4446
 
4381
- **requestOptions:** `McpServer.RequestOptions`
4447
+ **requestOptions:** `McpServerClient.RequestOptions`
4382
4448
 
4383
4449
  </dd>
4384
4450
  </dl>
@@ -4441,7 +4507,7 @@ await client.tools.mcpServer.get("mcp_server_id");
4441
4507
  <dl>
4442
4508
  <dd>
4443
4509
 
4444
- **requestOptions:** `McpServer.RequestOptions`
4510
+ **requestOptions:** `McpServerClient.RequestOptions`
4445
4511
 
4446
4512
  </dd>
4447
4513
  </dl>
@@ -4504,7 +4570,7 @@ await client.tools.mcpServer.delete("mcp_server_id");
4504
4570
  <dl>
4505
4571
  <dd>
4506
4572
 
4507
- **requestOptions:** `McpServer.RequestOptions`
4573
+ **requestOptions:** `McpServerClient.RequestOptions`
4508
4574
 
4509
4575
  </dd>
4510
4576
  </dl>
@@ -4568,7 +4634,7 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
4568
4634
  <dl>
4569
4635
  <dd>
4570
4636
 
4571
- **requestOptions:** `Tools.RequestOptions`
4637
+ **requestOptions:** `ToolsClient.RequestOptions`
4572
4638
 
4573
4639
  </dd>
4574
4640
  </dl>
@@ -4631,7 +4697,7 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
4631
4697
  <dl>
4632
4698
  <dd>
4633
4699
 
4634
- **requestOptions:** `Tools.RequestOptions`
4700
+ **requestOptions:** `ToolsClient.RequestOptions`
4635
4701
 
4636
4702
  </dd>
4637
4703
  </dl>
@@ -4694,7 +4760,7 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
4694
4760
  <dl>
4695
4761
  <dd>
4696
4762
 
4697
- **requestOptions:** `Tools.RequestOptions`
4763
+ **requestOptions:** `ToolsClient.RequestOptions`
4698
4764
 
4699
4765
  </dd>
4700
4766
  </dl>
@@ -4769,7 +4835,7 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
4769
4835
  <dl>
4770
4836
  <dd>
4771
4837
 
4772
- **requestOptions:** `Tools.RequestOptions`
4838
+ **requestOptions:** `ToolsClient.RequestOptions`
4773
4839
 
4774
4840
  </dd>
4775
4841
  </dl>
@@ -4835,7 +4901,7 @@ await client.workflows.list({
4835
4901
  <dl>
4836
4902
  <dd>
4837
4903
 
4838
- **requestOptions:** `Workflows.RequestOptions`
4904
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4839
4905
 
4840
4906
  </dd>
4841
4907
  </dl>
@@ -4908,7 +4974,7 @@ await client.workflows.create({
4908
4974
  <dl>
4909
4975
  <dd>
4910
4976
 
4911
- **requestOptions:** `Workflows.RequestOptions`
4977
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4912
4978
 
4913
4979
  </dd>
4914
4980
  </dl>
@@ -4981,7 +5047,7 @@ await client.workflows.get("id", {
4981
5047
  <dl>
4982
5048
  <dd>
4983
5049
 
4984
- **requestOptions:** `Workflows.RequestOptions`
5050
+ **requestOptions:** `WorkflowsClient.RequestOptions`
4985
5051
 
4986
5052
  </dd>
4987
5053
  </dl>
@@ -5062,7 +5128,7 @@ await client.workflows.update("id", {
5062
5128
  <dl>
5063
5129
  <dd>
5064
5130
 
5065
- **requestOptions:** `Workflows.RequestOptions`
5131
+ **requestOptions:** `WorkflowsClient.RequestOptions`
5066
5132
 
5067
5133
  </dd>
5068
5134
  </dl>
@@ -5125,7 +5191,7 @@ await client.workflows.delete("id");
5125
5191
  <dl>
5126
5192
  <dd>
5127
5193
 
5128
- **requestOptions:** `Workflows.RequestOptions`
5194
+ **requestOptions:** `WorkflowsClient.RequestOptions`
5129
5195
 
5130
5196
  </dd>
5131
5197
  </dl>
@@ -5203,7 +5269,7 @@ await client.workflows.execute("id", {
5203
5269
  <dl>
5204
5270
  <dd>
5205
5271
 
5206
- **requestOptions:** `Workflows.RequestOptions`
5272
+ **requestOptions:** `WorkflowsClient.RequestOptions`
5207
5273
 
5208
5274
  </dd>
5209
5275
  </dl>
@@ -5214,3 +5280,4 @@ await client.workflows.execute("id", {
5214
5280
  </dd>
5215
5281
  </dl>
5216
5282
  </details>
5283
+