phenoml 0.0.7 → 0.0.8

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 (600) hide show
  1. package/dist/cjs/BaseClient.d.ts +3 -3
  2. package/dist/cjs/Client.d.ts +5 -2
  3. package/dist/cjs/Client.js +14 -9
  4. package/dist/cjs/api/resources/agent/client/Client.d.ts +2 -2
  5. package/dist/cjs/api/resources/agent/client/Client.js +23 -27
  6. package/dist/cjs/api/resources/agent/client/index.d.ts +0 -1
  7. package/dist/cjs/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.ts +1 -1
  8. package/dist/cjs/api/resources/agent/client/requests/index.d.ts +3 -3
  9. package/dist/cjs/api/resources/agent/errors/BadRequestError.d.ts +1 -1
  10. package/dist/cjs/api/resources/agent/errors/ForbiddenError.d.ts +1 -1
  11. package/dist/cjs/api/resources/agent/errors/InternalServerError.d.ts +1 -1
  12. package/dist/cjs/api/resources/agent/errors/NotFoundError.d.ts +1 -1
  13. package/dist/cjs/api/resources/agent/errors/UnauthorizedError.d.ts +1 -1
  14. package/dist/cjs/api/resources/agent/errors/index.d.ts +1 -1
  15. package/dist/cjs/api/resources/agent/errors/index.js +1 -1
  16. package/dist/cjs/api/resources/agent/index.d.ts +3 -3
  17. package/dist/cjs/api/resources/agent/index.js +3 -3
  18. package/dist/cjs/api/resources/agent/resources/index.d.ts +1 -1
  19. package/dist/cjs/api/resources/agent/resources/index.js +4 -4
  20. package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +2 -2
  21. package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +16 -20
  22. package/dist/cjs/api/resources/agent/resources/prompts/client/index.d.ts +0 -1
  23. package/dist/cjs/api/resources/agent/resources/prompts/client/requests/index.d.ts +2 -2
  24. package/dist/cjs/api/resources/agent/resources/prompts/index.d.ts +1 -1
  25. package/dist/cjs/api/resources/agent/resources/prompts/index.js +1 -1
  26. package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.d.ts +1 -1
  27. package/dist/cjs/api/resources/agent/resources/prompts/types/index.d.ts +1 -1
  28. package/dist/cjs/api/resources/agent/resources/prompts/types/index.js +1 -1
  29. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.d.ts +1 -1
  30. package/dist/cjs/api/resources/agent/types/AgentListResponse.d.ts +1 -1
  31. package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.d.ts +1 -1
  32. package/dist/cjs/api/resources/agent/types/AgentResponse.d.ts +1 -1
  33. package/dist/cjs/api/resources/agent/types/JsonPatch.d.ts +1 -1
  34. package/dist/cjs/api/resources/agent/types/index.d.ts +7 -7
  35. package/dist/cjs/api/resources/agent/types/index.js +7 -7
  36. package/dist/cjs/api/resources/authtoken/client/Client.d.ts +1 -1
  37. package/dist/cjs/api/resources/authtoken/client/Client.js +1 -1
  38. package/dist/cjs/api/resources/authtoken/errors/BadRequestError.d.ts +1 -1
  39. package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.d.ts +1 -1
  40. package/dist/cjs/api/resources/authtoken/index.d.ts +2 -2
  41. package/dist/cjs/api/resources/authtoken/index.js +2 -2
  42. package/dist/cjs/api/resources/authtoken/resources/auth/client/index.d.ts +0 -1
  43. package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/index.d.ts +1 -1
  44. package/dist/cjs/api/resources/authtoken/resources/auth/index.d.ts +1 -1
  45. package/dist/cjs/api/resources/authtoken/resources/auth/index.js +1 -1
  46. package/dist/cjs/api/resources/authtoken/resources/index.d.ts +1 -1
  47. package/dist/cjs/api/resources/authtoken/resources/index.js +4 -4
  48. package/dist/cjs/api/resources/cohort/client/Client.d.ts +2 -2
  49. package/dist/cjs/api/resources/cohort/client/Client.js +6 -10
  50. package/dist/cjs/api/resources/cohort/client/index.d.ts +0 -1
  51. package/dist/cjs/api/resources/cohort/client/requests/index.d.ts +1 -1
  52. package/dist/cjs/api/resources/cohort/errors/BadRequestError.d.ts +1 -1
  53. package/dist/cjs/api/resources/cohort/errors/InternalServerError.d.ts +1 -1
  54. package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.d.ts +1 -1
  55. package/dist/cjs/api/resources/cohort/errors/index.d.ts +1 -1
  56. package/dist/cjs/api/resources/cohort/errors/index.js +1 -1
  57. package/dist/cjs/api/resources/cohort/index.d.ts +2 -2
  58. package/dist/cjs/api/resources/cohort/index.js +2 -2
  59. package/dist/cjs/api/resources/cohort/types/CohortResponse.d.ts +1 -1
  60. package/dist/cjs/api/resources/construe/client/Client.d.ts +2 -2
  61. package/dist/cjs/api/resources/construe/client/Client.js +8 -12
  62. package/dist/cjs/api/resources/construe/client/index.d.ts +0 -1
  63. package/dist/cjs/api/resources/construe/client/requests/ExtractRequest.d.ts +1 -1
  64. package/dist/cjs/api/resources/construe/client/requests/index.d.ts +3 -3
  65. package/dist/cjs/api/resources/construe/errors/BadRequestError.d.ts +1 -1
  66. package/dist/cjs/api/resources/construe/errors/ConflictError.d.ts +1 -1
  67. package/dist/cjs/api/resources/construe/errors/FailedDependencyError.d.ts +1 -1
  68. package/dist/cjs/api/resources/construe/errors/InternalServerError.d.ts +1 -1
  69. package/dist/cjs/api/resources/construe/errors/UnauthorizedError.d.ts +1 -1
  70. package/dist/cjs/api/resources/construe/errors/index.d.ts +1 -1
  71. package/dist/cjs/api/resources/construe/errors/index.js +1 -1
  72. package/dist/cjs/api/resources/construe/index.d.ts +2 -2
  73. package/dist/cjs/api/resources/construe/index.js +2 -2
  74. package/dist/cjs/api/resources/construe/types/ExtractCodesResult.d.ts +1 -1
  75. package/dist/cjs/api/resources/construe/types/index.d.ts +6 -6
  76. package/dist/cjs/api/resources/construe/types/index.js +6 -6
  77. package/dist/cjs/api/resources/fhir/client/Client.d.ts +2 -2
  78. package/dist/cjs/api/resources/fhir/client/Client.js +18 -22
  79. package/dist/cjs/api/resources/fhir/client/index.d.ts +0 -1
  80. package/dist/cjs/api/resources/fhir/client/requests/FhirCreateRequest.d.ts +1 -1
  81. package/dist/cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.ts +1 -1
  82. package/dist/cjs/api/resources/fhir/client/requests/FhirPatchRequest.d.ts +1 -1
  83. package/dist/cjs/api/resources/fhir/client/requests/FhirUpsertRequest.d.ts +1 -1
  84. package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
  85. package/dist/cjs/api/resources/fhir/errors/BadRequestError.d.ts +1 -1
  86. package/dist/cjs/api/resources/fhir/errors/InternalServerError.d.ts +1 -1
  87. package/dist/cjs/api/resources/fhir/errors/NotFoundError.d.ts +1 -1
  88. package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.d.ts +1 -1
  89. package/dist/cjs/api/resources/fhir/errors/index.d.ts +2 -2
  90. package/dist/cjs/api/resources/fhir/errors/index.js +2 -2
  91. package/dist/cjs/api/resources/fhir/index.d.ts +2 -2
  92. package/dist/cjs/api/resources/fhir/index.js +2 -2
  93. package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +1 -1
  94. package/dist/cjs/api/resources/fhir/types/index.d.ts +3 -3
  95. package/dist/cjs/api/resources/fhir/types/index.js +3 -3
  96. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
  97. package/dist/cjs/api/resources/fhirProvider/client/Client.js +17 -21
  98. package/dist/cjs/api/resources/fhirProvider/client/index.d.ts +0 -1
  99. package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +1 -1
  100. package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.ts +1 -1
  101. package/dist/cjs/api/resources/fhirProvider/client/requests/index.d.ts +4 -4
  102. package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.d.ts +1 -1
  103. package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.d.ts +1 -1
  104. package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.d.ts +1 -1
  105. package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.d.ts +1 -1
  106. package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.d.ts +1 -1
  107. package/dist/cjs/api/resources/fhirProvider/errors/index.d.ts +1 -1
  108. package/dist/cjs/api/resources/fhirProvider/errors/index.js +1 -1
  109. package/dist/cjs/api/resources/fhirProvider/index.d.ts +2 -2
  110. package/dist/cjs/api/resources/fhirProvider/index.js +2 -2
  111. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +1 -1
  112. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.d.ts +1 -1
  113. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.ts +1 -1
  114. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.d.ts +1 -1
  115. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.ts +1 -1
  116. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +1 -1
  117. package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +7 -7
  118. package/dist/cjs/api/resources/fhirProvider/types/index.js +7 -7
  119. package/dist/cjs/api/resources/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/index.js +2 -1
  121. package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +2 -2
  122. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +9 -13
  123. package/dist/cjs/api/resources/lang2Fhir/client/index.d.ts +0 -1
  124. package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +4 -4
  125. package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.d.ts +1 -1
  126. package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.d.ts +1 -1
  127. package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.d.ts +1 -1
  128. package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.d.ts +1 -1
  129. package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.d.ts +1 -1
  130. package/dist/cjs/api/resources/lang2Fhir/errors/index.d.ts +2 -2
  131. package/dist/cjs/api/resources/lang2Fhir/errors/index.js +2 -2
  132. package/dist/cjs/api/resources/lang2Fhir/index.d.ts +2 -2
  133. package/dist/cjs/api/resources/lang2Fhir/index.js +2 -2
  134. package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
  135. package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
  136. package/dist/cjs/api/resources/summary/client/Client.d.ts +125 -0
  137. package/dist/cjs/api/resources/summary/client/Client.js +510 -0
  138. package/dist/cjs/api/resources/summary/client/index.d.ts +1 -0
  139. package/dist/cjs/api/resources/summary/client/index.js +17 -0
  140. package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.d.ts +37 -0
  141. package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.js +16 -0
  142. package/dist/cjs/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.ts +23 -0
  143. package/dist/cjs/api/resources/summary/client/requests/CreateSummaryTemplateRequest.js +3 -0
  144. package/dist/cjs/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.ts +18 -0
  145. package/dist/cjs/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.js +3 -0
  146. package/dist/cjs/api/resources/summary/client/requests/index.d.ts +3 -0
  147. package/dist/cjs/api/resources/summary/client/requests/index.js +2 -0
  148. package/dist/cjs/api/resources/summary/errors/BadRequestError.d.ts +5 -0
  149. package/dist/cjs/api/resources/summary/errors/BadRequestError.js +50 -0
  150. package/dist/cjs/api/resources/summary/errors/ForbiddenError.d.ts +5 -0
  151. package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +50 -0
  152. package/dist/cjs/api/resources/summary/errors/InternalServerError.d.ts +5 -0
  153. package/dist/cjs/api/resources/summary/errors/InternalServerError.js +50 -0
  154. package/dist/cjs/api/resources/summary/errors/NotFoundError.d.ts +5 -0
  155. package/dist/cjs/api/resources/summary/errors/NotFoundError.js +50 -0
  156. package/dist/cjs/api/resources/summary/errors/UnauthorizedError.d.ts +5 -0
  157. package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +50 -0
  158. package/dist/cjs/api/resources/summary/errors/index.d.ts +5 -0
  159. package/dist/cjs/api/resources/summary/errors/index.js +21 -0
  160. package/dist/cjs/api/resources/summary/index.d.ts +3 -0
  161. package/dist/cjs/api/resources/summary/index.js +19 -0
  162. package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.d.ts +8 -0
  163. package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.js +3 -0
  164. package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.d.ts +7 -0
  165. package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.js +3 -0
  166. package/dist/cjs/api/resources/summary/types/FhirBundle.d.ts +13 -0
  167. package/dist/cjs/api/resources/summary/types/FhirBundle.js +3 -0
  168. package/dist/cjs/api/resources/summary/types/FhirResource.d.ts +6 -0
  169. package/dist/cjs/api/resources/summary/types/FhirResource.js +3 -0
  170. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +4 -0
  171. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.js +3 -0
  172. package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.d.ts +5 -0
  173. package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.js +3 -0
  174. package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.d.ts +5 -0
  175. package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.js +3 -0
  176. package/dist/cjs/api/resources/summary/types/SummaryTemplate.d.ts +15 -0
  177. package/dist/cjs/api/resources/summary/types/SummaryTemplate.js +3 -0
  178. package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.d.ts +6 -0
  179. package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.js +3 -0
  180. package/dist/cjs/api/resources/summary/types/index.d.ts +9 -0
  181. package/dist/cjs/api/resources/summary/types/index.js +25 -0
  182. package/dist/cjs/api/resources/tools/client/Client.d.ts +2 -2
  183. package/dist/cjs/api/resources/tools/client/Client.js +8 -12
  184. package/dist/cjs/api/resources/tools/client/index.d.ts +0 -1
  185. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +3 -3
  186. package/dist/cjs/api/resources/tools/errors/BadRequestError.d.ts +1 -1
  187. package/dist/cjs/api/resources/tools/errors/FailedDependencyError.d.ts +1 -1
  188. package/dist/cjs/api/resources/tools/errors/ForbiddenError.d.ts +1 -1
  189. package/dist/cjs/api/resources/tools/errors/InternalServerError.d.ts +1 -1
  190. package/dist/cjs/api/resources/tools/errors/UnauthorizedError.d.ts +1 -1
  191. package/dist/cjs/api/resources/tools/errors/index.d.ts +2 -2
  192. package/dist/cjs/api/resources/tools/errors/index.js +2 -2
  193. package/dist/cjs/api/resources/tools/index.d.ts +2 -2
  194. package/dist/cjs/api/resources/tools/index.js +2 -2
  195. package/dist/cjs/api/resources/tools/resources/index.d.ts +1 -1
  196. package/dist/cjs/api/resources/tools/resources/index.js +4 -4
  197. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +2 -2
  198. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +11 -15
  199. package/dist/cjs/api/resources/tools/resources/mcpServer/client/index.d.ts +0 -1
  200. package/dist/cjs/api/resources/tools/resources/mcpServer/client/requests/index.d.ts +1 -1
  201. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.d.ts +1 -1
  202. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.js +4 -4
  203. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +2 -2
  204. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +13 -17
  205. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
  206. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.ts +1 -1
  207. package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +1 -1
  208. package/dist/cjs/api/resources/tools/types/index.d.ts +1 -1
  209. package/dist/cjs/api/resources/tools/types/index.js +1 -1
  210. package/dist/cjs/api/resources/workflows/client/Client.d.ts +2 -2
  211. package/dist/cjs/api/resources/workflows/client/Client.js +19 -23
  212. package/dist/cjs/api/resources/workflows/client/index.d.ts +0 -1
  213. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +5 -5
  214. package/dist/cjs/api/resources/workflows/errors/BadRequestError.d.ts +1 -1
  215. package/dist/cjs/api/resources/workflows/errors/ForbiddenError.d.ts +1 -1
  216. package/dist/cjs/api/resources/workflows/errors/InternalServerError.d.ts +1 -1
  217. package/dist/cjs/api/resources/workflows/errors/NotFoundError.d.ts +1 -1
  218. package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.d.ts +1 -1
  219. package/dist/cjs/api/resources/workflows/errors/index.d.ts +2 -2
  220. package/dist/cjs/api/resources/workflows/errors/index.js +2 -2
  221. package/dist/cjs/api/resources/workflows/index.d.ts +2 -2
  222. package/dist/cjs/api/resources/workflows/index.js +2 -2
  223. package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +1 -1
  224. package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +1 -1
  225. package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +1 -1
  226. package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +1 -1
  227. package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +1 -1
  228. package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +1 -1
  229. package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +1 -1
  230. package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.d.ts +1 -1
  231. package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.d.ts +1 -1
  232. package/dist/cjs/api/resources/workflows/types/index.d.ts +11 -11
  233. package/dist/cjs/api/resources/workflows/types/index.js +11 -11
  234. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +1 -1
  235. package/dist/cjs/core/fetcher/Fetcher.js +2 -1
  236. package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
  237. package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
  238. package/dist/cjs/core/fetcher/makeRequest.js +2 -2
  239. package/dist/cjs/core/fetcher/requestWithRetries.js +3 -3
  240. package/dist/cjs/core/index.d.ts +2 -2
  241. package/dist/cjs/core/index.js +2 -2
  242. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  243. package/dist/cjs/core/url/encodePathParam.js +21 -0
  244. package/dist/cjs/core/url/index.d.ts +1 -0
  245. package/dist/cjs/core/url/index.js +3 -1
  246. package/dist/cjs/core/url/join.js +3 -3
  247. package/dist/cjs/errors/phenomlError.d.ts +1 -1
  248. package/dist/cjs/errors/phenomlError.js +1 -1
  249. package/dist/cjs/version.d.ts +1 -1
  250. package/dist/cjs/version.js +1 -1
  251. package/dist/esm/BaseClient.d.mts +3 -3
  252. package/dist/esm/BaseClient.mjs +1 -2
  253. package/dist/esm/Client.d.mts +5 -2
  254. package/dist/esm/Client.mjs +10 -6
  255. package/dist/esm/api/resources/agent/client/Client.d.mts +2 -2
  256. package/dist/esm/api/resources/agent/client/Client.mjs +23 -27
  257. package/dist/esm/api/resources/agent/client/index.d.mts +0 -1
  258. package/dist/esm/api/resources/agent/client/index.mjs +0 -1
  259. package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.mts +1 -1
  260. package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.mjs +1 -1
  261. package/dist/esm/api/resources/agent/client/requests/index.d.mts +3 -3
  262. package/dist/esm/api/resources/agent/client/requests/index.mjs +1 -3
  263. package/dist/esm/api/resources/agent/errors/BadRequestError.d.mts +1 -1
  264. package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +0 -1
  265. package/dist/esm/api/resources/agent/errors/ForbiddenError.d.mts +1 -1
  266. package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +0 -1
  267. package/dist/esm/api/resources/agent/errors/InternalServerError.d.mts +1 -1
  268. package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +0 -1
  269. package/dist/esm/api/resources/agent/errors/NotFoundError.d.mts +1 -1
  270. package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +0 -1
  271. package/dist/esm/api/resources/agent/errors/UnauthorizedError.d.mts +1 -1
  272. package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +0 -1
  273. package/dist/esm/api/resources/agent/errors/index.d.mts +1 -1
  274. package/dist/esm/api/resources/agent/errors/index.mjs +1 -1
  275. package/dist/esm/api/resources/agent/index.d.mts +3 -3
  276. package/dist/esm/api/resources/agent/index.mjs +3 -3
  277. package/dist/esm/api/resources/agent/resources/index.d.mts +1 -1
  278. package/dist/esm/api/resources/agent/resources/index.mjs +1 -1
  279. package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +2 -2
  280. package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +16 -20
  281. package/dist/esm/api/resources/agent/resources/prompts/client/index.d.mts +0 -1
  282. package/dist/esm/api/resources/agent/resources/prompts/client/index.mjs +0 -1
  283. package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.d.mts +2 -2
  284. package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.mjs +1 -2
  285. package/dist/esm/api/resources/agent/resources/prompts/index.d.mts +1 -1
  286. package/dist/esm/api/resources/agent/resources/prompts/index.mjs +1 -1
  287. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +1 -1
  288. package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.mjs +1 -1
  289. package/dist/esm/api/resources/agent/resources/prompts/types/index.d.mts +1 -1
  290. package/dist/esm/api/resources/agent/resources/prompts/types/index.mjs +1 -1
  291. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +1 -1
  292. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.mjs +1 -1
  293. package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +1 -1
  294. package/dist/esm/api/resources/agent/types/AgentListResponse.mjs +1 -1
  295. package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +1 -1
  296. package/dist/esm/api/resources/agent/types/AgentPromptsResponse.mjs +1 -1
  297. package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +1 -1
  298. package/dist/esm/api/resources/agent/types/AgentResponse.mjs +1 -1
  299. package/dist/esm/api/resources/agent/types/JsonPatch.d.mts +1 -1
  300. package/dist/esm/api/resources/agent/types/JsonPatch.mjs +1 -1
  301. package/dist/esm/api/resources/agent/types/index.d.mts +7 -7
  302. package/dist/esm/api/resources/agent/types/index.mjs +7 -7
  303. package/dist/esm/api/resources/authtoken/client/Client.d.mts +1 -1
  304. package/dist/esm/api/resources/authtoken/client/Client.mjs +1 -3
  305. package/dist/esm/api/resources/authtoken/errors/BadRequestError.d.mts +1 -1
  306. package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +0 -1
  307. package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.d.mts +1 -1
  308. package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +0 -1
  309. package/dist/esm/api/resources/authtoken/index.d.mts +2 -2
  310. package/dist/esm/api/resources/authtoken/index.mjs +2 -2
  311. package/dist/esm/api/resources/authtoken/resources/auth/client/index.d.mts +0 -1
  312. package/dist/esm/api/resources/authtoken/resources/auth/client/index.mjs +0 -1
  313. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.d.mts +1 -1
  314. package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.mjs +1 -1
  315. package/dist/esm/api/resources/authtoken/resources/auth/index.d.mts +1 -1
  316. package/dist/esm/api/resources/authtoken/resources/auth/index.mjs +1 -1
  317. package/dist/esm/api/resources/authtoken/resources/index.d.mts +1 -1
  318. package/dist/esm/api/resources/authtoken/resources/index.mjs +1 -1
  319. package/dist/esm/api/resources/cohort/client/Client.d.mts +2 -2
  320. package/dist/esm/api/resources/cohort/client/Client.mjs +6 -10
  321. package/dist/esm/api/resources/cohort/client/index.d.mts +0 -1
  322. package/dist/esm/api/resources/cohort/client/index.mjs +0 -1
  323. package/dist/esm/api/resources/cohort/client/requests/index.d.mts +1 -1
  324. package/dist/esm/api/resources/cohort/client/requests/index.mjs +1 -1
  325. package/dist/esm/api/resources/cohort/errors/BadRequestError.d.mts +1 -1
  326. package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +0 -1
  327. package/dist/esm/api/resources/cohort/errors/InternalServerError.d.mts +1 -1
  328. package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +0 -1
  329. package/dist/esm/api/resources/cohort/errors/UnauthorizedError.d.mts +1 -1
  330. package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +0 -1
  331. package/dist/esm/api/resources/cohort/errors/index.d.mts +1 -1
  332. package/dist/esm/api/resources/cohort/errors/index.mjs +1 -1
  333. package/dist/esm/api/resources/cohort/index.d.mts +2 -2
  334. package/dist/esm/api/resources/cohort/index.mjs +2 -2
  335. package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +1 -1
  336. package/dist/esm/api/resources/cohort/types/CohortResponse.mjs +1 -1
  337. package/dist/esm/api/resources/construe/client/Client.d.mts +2 -2
  338. package/dist/esm/api/resources/construe/client/Client.mjs +8 -12
  339. package/dist/esm/api/resources/construe/client/index.d.mts +0 -1
  340. package/dist/esm/api/resources/construe/client/index.mjs +0 -1
  341. package/dist/esm/api/resources/construe/client/requests/ExtractRequest.d.mts +1 -1
  342. package/dist/esm/api/resources/construe/client/requests/ExtractRequest.mjs +1 -1
  343. package/dist/esm/api/resources/construe/client/requests/index.d.mts +3 -3
  344. package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -3
  345. package/dist/esm/api/resources/construe/errors/BadRequestError.d.mts +1 -1
  346. package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +0 -1
  347. package/dist/esm/api/resources/construe/errors/ConflictError.d.mts +1 -1
  348. package/dist/esm/api/resources/construe/errors/ConflictError.mjs +0 -1
  349. package/dist/esm/api/resources/construe/errors/FailedDependencyError.d.mts +1 -1
  350. package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +0 -1
  351. package/dist/esm/api/resources/construe/errors/InternalServerError.d.mts +1 -1
  352. package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +0 -1
  353. package/dist/esm/api/resources/construe/errors/UnauthorizedError.d.mts +1 -1
  354. package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +0 -1
  355. package/dist/esm/api/resources/construe/errors/index.d.mts +1 -1
  356. package/dist/esm/api/resources/construe/errors/index.mjs +1 -1
  357. package/dist/esm/api/resources/construe/index.d.mts +2 -2
  358. package/dist/esm/api/resources/construe/index.mjs +2 -2
  359. package/dist/esm/api/resources/construe/types/ExtractCodesResult.d.mts +1 -1
  360. package/dist/esm/api/resources/construe/types/ExtractCodesResult.mjs +1 -1
  361. package/dist/esm/api/resources/construe/types/index.d.mts +6 -6
  362. package/dist/esm/api/resources/construe/types/index.mjs +6 -6
  363. package/dist/esm/api/resources/fhir/client/Client.d.mts +2 -2
  364. package/dist/esm/api/resources/fhir/client/Client.mjs +18 -22
  365. package/dist/esm/api/resources/fhir/client/index.d.mts +0 -1
  366. package/dist/esm/api/resources/fhir/client/index.mjs +0 -1
  367. package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.d.mts +1 -1
  368. package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.mjs +1 -1
  369. package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.mts +1 -1
  370. package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.mjs +1 -1
  371. package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.d.mts +1 -1
  372. package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.mjs +1 -1
  373. package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.d.mts +1 -1
  374. package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.mjs +1 -1
  375. package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
  376. package/dist/esm/api/resources/fhir/client/requests/index.mjs +1 -6
  377. package/dist/esm/api/resources/fhir/errors/BadRequestError.d.mts +1 -1
  378. package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +0 -1
  379. package/dist/esm/api/resources/fhir/errors/InternalServerError.d.mts +1 -1
  380. package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +0 -1
  381. package/dist/esm/api/resources/fhir/errors/NotFoundError.d.mts +1 -1
  382. package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +0 -1
  383. package/dist/esm/api/resources/fhir/errors/UnauthorizedError.d.mts +1 -1
  384. package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +0 -1
  385. package/dist/esm/api/resources/fhir/errors/index.d.mts +2 -2
  386. package/dist/esm/api/resources/fhir/errors/index.mjs +2 -2
  387. package/dist/esm/api/resources/fhir/index.d.mts +2 -2
  388. package/dist/esm/api/resources/fhir/index.mjs +2 -2
  389. package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +1 -1
  390. package/dist/esm/api/resources/fhir/types/FhirSearchResponse.mjs +1 -1
  391. package/dist/esm/api/resources/fhir/types/index.d.mts +3 -3
  392. package/dist/esm/api/resources/fhir/types/index.mjs +3 -3
  393. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
  394. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +17 -21
  395. package/dist/esm/api/resources/fhirProvider/client/index.d.mts +0 -1
  396. package/dist/esm/api/resources/fhirProvider/client/index.mjs +0 -1
  397. package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +1 -1
  398. package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.mjs +1 -1
  399. package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.mts +1 -1
  400. package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.mjs +1 -1
  401. package/dist/esm/api/resources/fhirProvider/client/requests/index.d.mts +4 -4
  402. package/dist/esm/api/resources/fhirProvider/client/requests/index.mjs +1 -4
  403. package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.d.mts +1 -1
  404. package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +0 -1
  405. package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.d.mts +1 -1
  406. package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +0 -1
  407. package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.d.mts +1 -1
  408. package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +0 -1
  409. package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.d.mts +1 -1
  410. package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +0 -1
  411. package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.d.mts +1 -1
  412. package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +0 -1
  413. package/dist/esm/api/resources/fhirProvider/errors/index.d.mts +1 -1
  414. package/dist/esm/api/resources/fhirProvider/errors/index.mjs +1 -1
  415. package/dist/esm/api/resources/fhirProvider/index.d.mts +2 -2
  416. package/dist/esm/api/resources/fhirProvider/index.mjs +2 -2
  417. package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +1 -1
  418. package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.mjs +1 -1
  419. package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +1 -1
  420. package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.mjs +1 -1
  421. package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +1 -1
  422. package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.mjs +1 -1
  423. package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +1 -1
  424. package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.mjs +1 -1
  425. package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.mts +1 -1
  426. package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.mjs +1 -1
  427. package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +1 -1
  428. package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.mjs +1 -1
  429. package/dist/esm/api/resources/fhirProvider/types/index.d.mts +7 -7
  430. package/dist/esm/api/resources/fhirProvider/types/index.mjs +7 -7
  431. package/dist/esm/api/resources/index.d.mts +1 -0
  432. package/dist/esm/api/resources/index.mjs +1 -0
  433. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +2 -2
  434. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +9 -13
  435. package/dist/esm/api/resources/lang2Fhir/client/index.d.mts +0 -1
  436. package/dist/esm/api/resources/lang2Fhir/client/index.mjs +0 -1
  437. package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +4 -4
  438. package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +1 -4
  439. package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.d.mts +1 -1
  440. package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +0 -1
  441. package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.d.mts +1 -1
  442. package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +0 -1
  443. package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.d.mts +1 -1
  444. package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +0 -1
  445. package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.d.mts +1 -1
  446. package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +0 -1
  447. package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.d.mts +1 -1
  448. package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +0 -1
  449. package/dist/esm/api/resources/lang2Fhir/errors/index.d.mts +2 -2
  450. package/dist/esm/api/resources/lang2Fhir/errors/index.mjs +2 -2
  451. package/dist/esm/api/resources/lang2Fhir/index.d.mts +2 -2
  452. package/dist/esm/api/resources/lang2Fhir/index.mjs +2 -2
  453. package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
  454. package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
  455. package/dist/esm/api/resources/summary/client/Client.d.mts +125 -0
  456. package/dist/esm/api/resources/summary/client/Client.mjs +473 -0
  457. package/dist/esm/api/resources/summary/client/index.d.mts +1 -0
  458. package/dist/esm/api/resources/summary/client/index.mjs +1 -0
  459. package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.d.mts +37 -0
  460. package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.mjs +13 -0
  461. package/dist/esm/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.mts +23 -0
  462. package/dist/esm/api/resources/summary/client/requests/CreateSummaryTemplateRequest.mjs +2 -0
  463. package/dist/esm/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.mts +18 -0
  464. package/dist/esm/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.mjs +2 -0
  465. package/dist/esm/api/resources/summary/client/requests/index.d.mts +3 -0
  466. package/dist/esm/api/resources/summary/client/requests/index.mjs +1 -0
  467. package/dist/esm/api/resources/summary/errors/BadRequestError.d.mts +5 -0
  468. package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +13 -0
  469. package/dist/esm/api/resources/summary/errors/ForbiddenError.d.mts +5 -0
  470. package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +13 -0
  471. package/dist/esm/api/resources/summary/errors/InternalServerError.d.mts +5 -0
  472. package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +13 -0
  473. package/dist/esm/api/resources/summary/errors/NotFoundError.d.mts +5 -0
  474. package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +13 -0
  475. package/dist/esm/api/resources/summary/errors/UnauthorizedError.d.mts +5 -0
  476. package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +13 -0
  477. package/dist/esm/api/resources/summary/errors/index.d.mts +5 -0
  478. package/dist/esm/api/resources/summary/errors/index.mjs +5 -0
  479. package/dist/esm/api/resources/summary/index.d.mts +3 -0
  480. package/dist/esm/api/resources/summary/index.mjs +3 -0
  481. package/dist/esm/api/resources/summary/types/CreateSummaryResponse.d.mts +8 -0
  482. package/dist/esm/api/resources/summary/types/CreateSummaryResponse.mjs +2 -0
  483. package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.d.mts +7 -0
  484. package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.mjs +2 -0
  485. package/dist/esm/api/resources/summary/types/FhirBundle.d.mts +13 -0
  486. package/dist/esm/api/resources/summary/types/FhirBundle.mjs +2 -0
  487. package/dist/esm/api/resources/summary/types/FhirResource.d.mts +6 -0
  488. package/dist/esm/api/resources/summary/types/FhirResource.mjs +2 -0
  489. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +4 -0
  490. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.mjs +2 -0
  491. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +5 -0
  492. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.mjs +2 -0
  493. package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.d.mts +5 -0
  494. package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.mjs +2 -0
  495. package/dist/esm/api/resources/summary/types/SummaryTemplate.d.mts +15 -0
  496. package/dist/esm/api/resources/summary/types/SummaryTemplate.mjs +2 -0
  497. package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.d.mts +6 -0
  498. package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.mjs +2 -0
  499. package/dist/esm/api/resources/summary/types/index.d.mts +9 -0
  500. package/dist/esm/api/resources/summary/types/index.mjs +9 -0
  501. package/dist/esm/api/resources/tools/client/Client.d.mts +2 -2
  502. package/dist/esm/api/resources/tools/client/Client.mjs +8 -12
  503. package/dist/esm/api/resources/tools/client/index.d.mts +0 -1
  504. package/dist/esm/api/resources/tools/client/index.mjs +0 -1
  505. package/dist/esm/api/resources/tools/client/requests/index.d.mts +3 -3
  506. package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -3
  507. package/dist/esm/api/resources/tools/errors/BadRequestError.d.mts +1 -1
  508. package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +0 -1
  509. package/dist/esm/api/resources/tools/errors/FailedDependencyError.d.mts +1 -1
  510. package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +0 -1
  511. package/dist/esm/api/resources/tools/errors/ForbiddenError.d.mts +1 -1
  512. package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +0 -1
  513. package/dist/esm/api/resources/tools/errors/InternalServerError.d.mts +1 -1
  514. package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +0 -1
  515. package/dist/esm/api/resources/tools/errors/UnauthorizedError.d.mts +1 -1
  516. package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +0 -1
  517. package/dist/esm/api/resources/tools/errors/index.d.mts +2 -2
  518. package/dist/esm/api/resources/tools/errors/index.mjs +2 -2
  519. package/dist/esm/api/resources/tools/index.d.mts +2 -2
  520. package/dist/esm/api/resources/tools/index.mjs +2 -2
  521. package/dist/esm/api/resources/tools/resources/index.d.mts +1 -1
  522. package/dist/esm/api/resources/tools/resources/index.mjs +1 -1
  523. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +2 -2
  524. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +11 -15
  525. package/dist/esm/api/resources/tools/resources/mcpServer/client/index.d.mts +0 -1
  526. package/dist/esm/api/resources/tools/resources/mcpServer/client/index.mjs +0 -1
  527. package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.d.mts +1 -1
  528. package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.mjs +1 -1
  529. package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.d.mts +1 -1
  530. package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.mjs +1 -1
  531. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +2 -2
  532. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +13 -17
  533. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
  534. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +0 -1
  535. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.mts +1 -1
  536. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.mjs +1 -1
  537. package/dist/esm/api/resources/tools/types/CohortResponse.d.mts +1 -1
  538. package/dist/esm/api/resources/tools/types/CohortResponse.mjs +1 -1
  539. package/dist/esm/api/resources/tools/types/index.d.mts +1 -1
  540. package/dist/esm/api/resources/tools/types/index.mjs +1 -1
  541. package/dist/esm/api/resources/workflows/client/Client.d.mts +2 -2
  542. package/dist/esm/api/resources/workflows/client/Client.mjs +19 -23
  543. package/dist/esm/api/resources/workflows/client/index.d.mts +0 -1
  544. package/dist/esm/api/resources/workflows/client/index.mjs +0 -1
  545. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +5 -5
  546. package/dist/esm/api/resources/workflows/client/requests/index.mjs +1 -5
  547. package/dist/esm/api/resources/workflows/errors/BadRequestError.d.mts +1 -1
  548. package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +0 -1
  549. package/dist/esm/api/resources/workflows/errors/ForbiddenError.d.mts +1 -1
  550. package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +0 -1
  551. package/dist/esm/api/resources/workflows/errors/InternalServerError.d.mts +1 -1
  552. package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +0 -1
  553. package/dist/esm/api/resources/workflows/errors/NotFoundError.d.mts +1 -1
  554. package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +0 -1
  555. package/dist/esm/api/resources/workflows/errors/UnauthorizedError.d.mts +1 -1
  556. package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +0 -1
  557. package/dist/esm/api/resources/workflows/errors/index.d.mts +2 -2
  558. package/dist/esm/api/resources/workflows/errors/index.mjs +2 -2
  559. package/dist/esm/api/resources/workflows/index.d.mts +2 -2
  560. package/dist/esm/api/resources/workflows/index.mjs +2 -2
  561. package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +1 -1
  562. package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.mjs +1 -1
  563. package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +1 -1
  564. package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.mjs +1 -1
  565. package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +1 -1
  566. package/dist/esm/api/resources/workflows/types/StepOperation.mjs +1 -1
  567. package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +1 -1
  568. package/dist/esm/api/resources/workflows/types/WorkflowDefinition.mjs +1 -1
  569. package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +1 -1
  570. package/dist/esm/api/resources/workflows/types/WorkflowGraph.mjs +1 -1
  571. package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +1 -1
  572. package/dist/esm/api/resources/workflows/types/WorkflowResponse.mjs +1 -1
  573. package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +1 -1
  574. package/dist/esm/api/resources/workflows/types/WorkflowStep.mjs +0 -1
  575. package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.d.mts +1 -1
  576. package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +1 -1
  577. package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.d.mts +1 -1
  578. package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +1 -1
  579. package/dist/esm/api/resources/workflows/types/index.d.mts +11 -11
  580. package/dist/esm/api/resources/workflows/types/index.mjs +11 -11
  581. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +1 -1
  582. package/dist/esm/core/fetcher/EndpointSupplier.mjs +0 -1
  583. package/dist/esm/core/fetcher/Fetcher.mjs +2 -1
  584. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
  585. package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
  586. package/dist/esm/core/fetcher/makeRequest.mjs +2 -2
  587. package/dist/esm/core/fetcher/requestWithRetries.mjs +3 -3
  588. package/dist/esm/core/index.d.mts +2 -2
  589. package/dist/esm/core/index.mjs +2 -2
  590. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  591. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  592. package/dist/esm/core/url/index.d.mts +1 -0
  593. package/dist/esm/core/url/index.mjs +1 -0
  594. package/dist/esm/core/url/join.mjs +3 -3
  595. package/dist/esm/errors/phenomlError.d.mts +1 -1
  596. package/dist/esm/errors/phenomlError.mjs +1 -2
  597. package/dist/esm/version.d.mts +1 -1
  598. package/dist/esm/version.mjs +1 -1
  599. package/package.json +16 -15
  600. package/reference.md +829 -465
@@ -1,5 +1,5 @@
1
1
  export * from "./BadRequestError.js";
2
- export * from "./UnauthorizedError.js";
3
- export * from "./ForbiddenError.js";
4
2
  export * from "./FailedDependencyError.js";
3
+ export * from "./ForbiddenError.js";
5
4
  export * from "./InternalServerError.js";
5
+ export * from "./UnauthorizedError.js";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestError.js"), exports);
18
- __exportStar(require("./UnauthorizedError.js"), exports);
19
- __exportStar(require("./ForbiddenError.js"), exports);
20
18
  __exportStar(require("./FailedDependencyError.js"), exports);
19
+ __exportStar(require("./ForbiddenError.js"), exports);
21
20
  __exportStar(require("./InternalServerError.js"), exports);
21
+ __exportStar(require("./UnauthorizedError.js"), exports);
@@ -1,4 +1,4 @@
1
- export * from "./types/index.js";
2
- export * from "./errors/index.js";
3
1
  export * from "./client/index.js";
2
+ export * from "./errors/index.js";
4
3
  export * from "./resources/index.js";
4
+ export * from "./types/index.js";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types/index.js"), exports);
18
- __exportStar(require("./errors/index.js"), exports);
19
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./errors/index.js"), exports);
20
19
  __exportStar(require("./resources/index.js"), exports);
20
+ __exportStar(require("./types/index.js"), exports);
@@ -1,2 +1,2 @@
1
- export * as mcpServer from "./mcpServer/index.js";
2
1
  export * from "./mcpServer/client/requests/index.js";
2
+ export * as mcpServer from "./mcpServer/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,10 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.mcpServer = void 0;
40
- exports.mcpServer = __importStar(require("./mcpServer/index.js"));
41
40
  __exportStar(require("./mcpServer/client/requests/index.js"), exports);
41
+ exports.mcpServer = __importStar(require("./mcpServer/index.js"));
@@ -11,7 +11,7 @@ export declare namespace McpServer {
11
11
  export declare class McpServer {
12
12
  protected readonly _options: McpServer.Options;
13
13
  protected _tools: Tools | undefined;
14
- constructor(_options?: McpServer.Options);
14
+ constructor(_options: McpServer.Options);
15
15
  get tools(): Tools;
16
16
  /**
17
17
  * Creates a new MCP server
@@ -76,5 +76,5 @@ export declare class McpServer {
76
76
  */
77
77
  delete(mcpServerId: string, requestOptions?: McpServer.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerResponse>;
78
78
  private __delete;
79
- protected _getAuthorizationHeader(): Promise<string | undefined>;
79
+ protected _getAuthorizationHeader(): Promise<string>;
80
80
  }
@@ -44,14 +44,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.McpServer = void 0;
47
- const environments = __importStar(require("../../../../../../environments.js"));
48
- const core = __importStar(require("../../../../../../core/index.js"));
49
- const phenoml = __importStar(require("../../../../../index.js"));
50
47
  const headers_js_1 = require("../../../../../../core/headers.js");
48
+ const core = __importStar(require("../../../../../../core/index.js"));
49
+ const environments = __importStar(require("../../../../../../environments.js"));
51
50
  const errors = __importStar(require("../../../../../../errors/index.js"));
51
+ const phenoml = __importStar(require("../../../../../index.js"));
52
52
  const Client_js_1 = require("../resources/tools/client/Client.js");
53
53
  class McpServer {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  get tools() {
@@ -81,7 +81,7 @@ class McpServer {
81
81
  __create(request, requestOptions) {
82
82
  return __awaiter(this, void 0, void 0, function* () {
83
83
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
84
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
84
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
85
85
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
86
86
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "tools/mcp-server/create"),
87
87
  method: "POST",
@@ -150,7 +150,7 @@ class McpServer {
150
150
  __list(requestOptions) {
151
151
  return __awaiter(this, void 0, void 0, function* () {
152
152
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
153
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
153
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
154
154
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
155
155
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "tools/mcp-server/list"),
156
156
  method: "GET",
@@ -215,9 +215,9 @@ class McpServer {
215
215
  __get(mcpServerId, requestOptions) {
216
216
  return __awaiter(this, void 0, void 0, function* () {
217
217
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
218
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
218
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
219
219
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
220
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${encodeURIComponent(mcpServerId)}`),
220
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${core.url.encodePathParam(mcpServerId)}`),
221
221
  method: "GET",
222
222
  headers: _headers,
223
223
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -280,9 +280,9 @@ class McpServer {
280
280
  __delete(mcpServerId, requestOptions) {
281
281
  return __awaiter(this, void 0, void 0, function* () {
282
282
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
283
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
283
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
284
284
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
285
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${encodeURIComponent(mcpServerId)}`),
285
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${core.url.encodePathParam(mcpServerId)}`),
286
286
  method: "DELETE",
287
287
  headers: _headers,
288
288
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -328,11 +328,7 @@ class McpServer {
328
328
  }
329
329
  _getAuthorizationHeader() {
330
330
  return __awaiter(this, void 0, void 0, function* () {
331
- const bearer = yield core.Supplier.get(this._options.token);
332
- if (bearer != null) {
333
- return `Bearer ${bearer}`;
334
- }
335
- return undefined;
331
+ return `Bearer ${yield core.Supplier.get(this._options.token)}`;
336
332
  });
337
333
  }
338
334
  }
@@ -1,2 +1 @@
1
- export {};
2
1
  export * from "./requests/index.js";
@@ -1 +1 @@
1
- export { type McpServerCreateRequest } from "./McpServerCreateRequest.js";
1
+ export type { McpServerCreateRequest } from "./McpServerCreateRequest.js";
@@ -1,2 +1,2 @@
1
- export * as tools from "./tools/index.js";
2
1
  export * from "./tools/client/requests/index.js";
2
+ export * as tools from "./tools/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,10 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.tools = void 0;
40
- exports.tools = __importStar(require("./tools/index.js"));
41
40
  __exportStar(require("./tools/client/requests/index.js"), exports);
41
+ exports.tools = __importStar(require("./tools/index.js"));
@@ -9,7 +9,7 @@ export declare namespace Tools {
9
9
  }
10
10
  export declare class Tools {
11
11
  protected readonly _options: Tools.Options;
12
- constructor(_options?: Tools.Options);
12
+ constructor(_options: Tools.Options);
13
13
  /**
14
14
  * Lists all MCP server tools for a specific MCP server
15
15
  *
@@ -76,5 +76,5 @@ export declare class Tools {
76
76
  */
77
77
  call(mcpServerToolId: string, request: phenoml.tools.mcpServer.McpServerToolCallRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerToolCallResponse>;
78
78
  private __call;
79
- protected _getAuthorizationHeader(): Promise<string | undefined>;
79
+ protected _getAuthorizationHeader(): Promise<string>;
80
80
  }
@@ -44,13 +44,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.Tools = void 0;
47
- const environments = __importStar(require("../../../../../../../../environments.js"));
48
- const core = __importStar(require("../../../../../../../../core/index.js"));
49
- const phenoml = __importStar(require("../../../../../../../index.js"));
50
47
  const headers_js_1 = require("../../../../../../../../core/headers.js");
48
+ const core = __importStar(require("../../../../../../../../core/index.js"));
49
+ const environments = __importStar(require("../../../../../../../../environments.js"));
51
50
  const errors = __importStar(require("../../../../../../../../errors/index.js"));
51
+ const phenoml = __importStar(require("../../../../../../../index.js"));
52
52
  class Tools {
53
- constructor(_options = {}) {
53
+ constructor(_options) {
54
54
  this._options = _options;
55
55
  }
56
56
  /**
@@ -72,9 +72,9 @@ class Tools {
72
72
  __list(mcpServerId, requestOptions) {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
74
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
75
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
76
76
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
77
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${encodeURIComponent(mcpServerId)}/list`),
77
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/${core.url.encodePathParam(mcpServerId)}/list`),
78
78
  method: "GET",
79
79
  headers: _headers,
80
80
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -137,9 +137,9 @@ class Tools {
137
137
  __get(mcpServerToolId, requestOptions) {
138
138
  return __awaiter(this, void 0, void 0, function* () {
139
139
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
140
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
140
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
141
141
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
142
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${encodeURIComponent(mcpServerToolId)}`),
142
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${core.url.encodePathParam(mcpServerToolId)}`),
143
143
  method: "GET",
144
144
  headers: _headers,
145
145
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -202,9 +202,9 @@ class Tools {
202
202
  __delete(mcpServerToolId, requestOptions) {
203
203
  return __awaiter(this, void 0, void 0, function* () {
204
204
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
205
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
205
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
206
206
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
207
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${encodeURIComponent(mcpServerToolId)}`),
207
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${core.url.encodePathParam(mcpServerToolId)}`),
208
208
  method: "DELETE",
209
209
  headers: _headers,
210
210
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -273,9 +273,9 @@ class Tools {
273
273
  __call(mcpServerToolId, request, requestOptions) {
274
274
  return __awaiter(this, void 0, void 0, function* () {
275
275
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
276
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
276
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
277
277
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
278
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${encodeURIComponent(mcpServerToolId)}/call`),
278
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `tools/mcp-server/tool/${core.url.encodePathParam(mcpServerToolId)}/call`),
279
279
  method: "POST",
280
280
  headers: _headers,
281
281
  contentType: "application/json",
@@ -329,11 +329,7 @@ class Tools {
329
329
  }
330
330
  _getAuthorizationHeader() {
331
331
  return __awaiter(this, void 0, void 0, function* () {
332
- const bearer = yield core.Supplier.get(this._options.token);
333
- if (bearer != null) {
334
- return `Bearer ${bearer}`;
335
- }
336
- return undefined;
332
+ return `Bearer ${yield core.Supplier.get(this._options.token)}`;
337
333
  });
338
334
  }
339
335
  }
@@ -1,2 +1 @@
1
- export {};
2
1
  export * from "./requests/index.js";
@@ -1 +1 @@
1
- export { type McpServerToolCallRequest } from "./McpServerToolCallRequest.js";
1
+ export type { McpServerToolCallRequest } from "./McpServerToolCallRequest.js";
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface CohortResponse {
3
3
  /** Whether the cohort analysis was successful */
4
4
  success?: boolean;
@@ -1,6 +1,6 @@
1
+ export * from "./CohortResponse.js";
1
2
  export * from "./Lang2FhirAndCreateResponse.js";
2
3
  export * from "./Lang2FhirAndSearchResponse.js";
3
- export * from "./CohortResponse.js";
4
4
  export * from "./McpServerResponse.js";
5
5
  export * from "./McpServerToolCallResponse.js";
6
6
  export * from "./McpServerToolResponse.js";
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CohortResponse.js"), exports);
17
18
  __exportStar(require("./Lang2FhirAndCreateResponse.js"), exports);
18
19
  __exportStar(require("./Lang2FhirAndSearchResponse.js"), exports);
19
- __exportStar(require("./CohortResponse.js"), exports);
20
20
  __exportStar(require("./McpServerResponse.js"), exports);
21
21
  __exportStar(require("./McpServerToolCallResponse.js"), exports);
22
22
  __exportStar(require("./McpServerToolResponse.js"), exports);
@@ -9,7 +9,7 @@ export declare namespace Workflows {
9
9
  }
10
10
  export declare class Workflows {
11
11
  protected readonly _options: Workflows.Options;
12
- constructor(_options?: Workflows.Options);
12
+ constructor(_options: Workflows.Options);
13
13
  /**
14
14
  * Retrieves all workflow definitions for the authenticated user
15
15
  *
@@ -141,5 +141,5 @@ export declare class Workflows {
141
141
  */
142
142
  execute(id: string, request: phenoml.workflows.ExecuteWorkflowRequest, requestOptions?: Workflows.RequestOptions): core.HttpResponsePromise<phenoml.workflows.ExecuteWorkflowResponse>;
143
143
  private __execute;
144
- protected _getAuthorizationHeader(): Promise<string | undefined>;
144
+ protected _getAuthorizationHeader(): Promise<string>;
145
145
  }
@@ -55,13 +55,13 @@ var __rest = (this && this.__rest) || function (s, e) {
55
55
  };
56
56
  Object.defineProperty(exports, "__esModule", { value: true });
57
57
  exports.Workflows = void 0;
58
- const environments = __importStar(require("../../../../environments.js"));
59
- const core = __importStar(require("../../../../core/index.js"));
60
- const phenoml = __importStar(require("../../../index.js"));
61
58
  const headers_js_1 = require("../../../../core/headers.js");
59
+ const core = __importStar(require("../../../../core/index.js"));
60
+ const environments = __importStar(require("../../../../environments.js"));
62
61
  const errors = __importStar(require("../../../../errors/index.js"));
62
+ const phenoml = __importStar(require("../../../index.js"));
63
63
  class Workflows {
64
- constructor(_options = {}) {
64
+ constructor(_options) {
65
65
  this._options = _options;
66
66
  }
67
67
  /**
@@ -88,9 +88,9 @@ class Workflows {
88
88
  const { verbose } = request;
89
89
  const _queryParams = {};
90
90
  if (verbose != null) {
91
- _queryParams["verbose"] = verbose.toString();
91
+ _queryParams.verbose = verbose.toString();
92
92
  }
93
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
93
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
94
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
95
95
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "workflows"),
96
96
  method: "GET",
@@ -172,9 +172,9 @@ class Workflows {
172
172
  const { verbose } = request, _body = __rest(request, ["verbose"]);
173
173
  const _queryParams = {};
174
174
  if (verbose != null) {
175
- _queryParams["verbose"] = verbose.toString();
175
+ _queryParams.verbose = verbose.toString();
176
176
  }
177
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
177
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
178
178
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
179
179
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "workflows"),
180
180
  method: "POST",
@@ -254,11 +254,11 @@ class Workflows {
254
254
  const { verbose } = request;
255
255
  const _queryParams = {};
256
256
  if (verbose != null) {
257
- _queryParams["verbose"] = verbose.toString();
257
+ _queryParams.verbose = verbose.toString();
258
258
  }
259
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
259
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
260
260
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
261
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
261
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${core.url.encodePathParam(id)}`),
262
262
  method: "GET",
263
263
  headers: _headers,
264
264
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -342,11 +342,11 @@ class Workflows {
342
342
  const { verbose } = request, _body = __rest(request, ["verbose"]);
343
343
  const _queryParams = {};
344
344
  if (verbose != null) {
345
- _queryParams["verbose"] = verbose.toString();
345
+ _queryParams.verbose = verbose.toString();
346
346
  }
347
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
347
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
348
348
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
349
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
349
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${core.url.encodePathParam(id)}`),
350
350
  method: "PUT",
351
351
  headers: _headers,
352
352
  contentType: "application/json",
@@ -420,9 +420,9 @@ class Workflows {
420
420
  __delete(id, requestOptions) {
421
421
  return __awaiter(this, void 0, void 0, function* () {
422
422
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
423
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
423
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
424
424
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
425
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}`),
425
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${core.url.encodePathParam(id)}`),
426
426
  method: "DELETE",
427
427
  headers: _headers,
428
428
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -500,9 +500,9 @@ class Workflows {
500
500
  __execute(id, request, requestOptions) {
501
501
  return __awaiter(this, void 0, void 0, function* () {
502
502
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
503
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
503
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
504
504
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
505
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${encodeURIComponent(id)}/execute`),
505
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `workflows/${core.url.encodePathParam(id)}/execute`),
506
506
  method: "POST",
507
507
  headers: _headers,
508
508
  contentType: "application/json",
@@ -558,11 +558,7 @@ class Workflows {
558
558
  }
559
559
  _getAuthorizationHeader() {
560
560
  return __awaiter(this, void 0, void 0, function* () {
561
- const bearer = yield core.Supplier.get(this._options.token);
562
- if (bearer != null) {
563
- return `Bearer ${bearer}`;
564
- }
565
- return undefined;
561
+ return `Bearer ${yield core.Supplier.get(this._options.token)}`;
566
562
  });
567
563
  }
568
564
  }
@@ -1,2 +1 @@
1
- export {};
2
1
  export * from "./requests/index.js";
@@ -1,5 +1,5 @@
1
- export { type WorkflowsListRequest } from "./WorkflowsListRequest.js";
2
- export { type CreateWorkflowRequest } from "./CreateWorkflowRequest.js";
3
- export { type WorkflowsGetRequest } from "./WorkflowsGetRequest.js";
4
- export { type UpdateWorkflowRequest } from "./UpdateWorkflowRequest.js";
5
- export { type ExecuteWorkflowRequest } from "./ExecuteWorkflowRequest.js";
1
+ export type { CreateWorkflowRequest } from "./CreateWorkflowRequest.js";
2
+ export type { ExecuteWorkflowRequest } from "./ExecuteWorkflowRequest.js";
3
+ export type { UpdateWorkflowRequest } from "./UpdateWorkflowRequest.js";
4
+ export type { WorkflowsGetRequest } from "./WorkflowsGetRequest.js";
5
+ export type { WorkflowsListRequest } from "./WorkflowsListRequest.js";
@@ -1,5 +1,5 @@
1
+ import type * as core from "../../../../core/index.js";
1
2
  import * as errors from "../../../../errors/index.js";
2
- import * as core from "../../../../core/index.js";
3
3
  export declare class BadRequestError extends errors.phenomlError {
4
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
5
5
  }
@@ -1,5 +1,5 @@
1
+ import type * as core from "../../../../core/index.js";
1
2
  import * as errors from "../../../../errors/index.js";
2
- import * as core from "../../../../core/index.js";
3
3
  export declare class ForbiddenError extends errors.phenomlError {
4
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
5
5
  }
@@ -1,5 +1,5 @@
1
+ import type * as core from "../../../../core/index.js";
1
2
  import * as errors from "../../../../errors/index.js";
2
- import * as core from "../../../../core/index.js";
3
3
  export declare class InternalServerError extends errors.phenomlError {
4
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
5
5
  }
@@ -1,5 +1,5 @@
1
+ import type * as core from "../../../../core/index.js";
1
2
  import * as errors from "../../../../errors/index.js";
2
- import * as core from "../../../../core/index.js";
3
3
  export declare class NotFoundError extends errors.phenomlError {
4
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
5
5
  }
@@ -1,5 +1,5 @@
1
+ import type * as core from "../../../../core/index.js";
1
2
  import * as errors from "../../../../errors/index.js";
2
- import * as core from "../../../../core/index.js";
3
3
  export declare class UnauthorizedError extends errors.phenomlError {
4
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
5
5
  }
@@ -1,5 +1,5 @@
1
- export * from "./UnauthorizedError.js";
1
+ export * from "./BadRequestError.js";
2
2
  export * from "./ForbiddenError.js";
3
3
  export * from "./InternalServerError.js";
4
- export * from "./BadRequestError.js";
5
4
  export * from "./NotFoundError.js";
5
+ export * from "./UnauthorizedError.js";
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./UnauthorizedError.js"), exports);
17
+ __exportStar(require("./BadRequestError.js"), exports);
18
18
  __exportStar(require("./ForbiddenError.js"), exports);
19
19
  __exportStar(require("./InternalServerError.js"), exports);
20
- __exportStar(require("./BadRequestError.js"), exports);
21
20
  __exportStar(require("./NotFoundError.js"), exports);
21
+ __exportStar(require("./UnauthorizedError.js"), exports);
@@ -1,3 +1,3 @@
1
- export * from "./types/index.js";
2
- export * from "./errors/index.js";
3
1
  export * from "./client/index.js";
2
+ export * from "./errors/index.js";
3
+ export * from "./types/index.js";
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types/index.js"), exports);
18
- __exportStar(require("./errors/index.js"), exports);
19
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./errors/index.js"), exports);
19
+ __exportStar(require("./types/index.js"), exports);
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface CreateWorkflowResponse {
3
3
  /** Whether the workflow was created successfully */
4
4
  success?: boolean;
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface ListWorkflowsResponse {
3
3
  /** Whether the workflow list was retrieved successfully */
4
4
  success?: boolean;
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface StepOperation {
3
3
  search_definition?: phenoml.workflows.Lang2FhirSearchDefinition;
4
4
  create_definition?: phenoml.workflows.Lang2FhirCreateDefinition;
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface WorkflowDefinition {
3
3
  /** Unique identifier for the workflow */
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  export interface WorkflowGraph {
3
3
  /** Ordered list of workflow execution steps */
4
4
  steps?: phenoml.workflows.WorkflowStep[];
@@ -1,4 +1,4 @@
1
- import * as phenoml from "../../../index.js";
1
+ import type * as phenoml from "../../../index.js";
2
2
  /**
3
3
  * Simplified workflow representation without implementation details
4
4
  */