phenoml 15.0.0 → 16.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 (313) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agent/client/Client.d.ts +5 -5
  3. package/dist/cjs/api/resources/agent/client/Client.js +2 -2
  4. package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.ts → GetChatMessagesRequest.d.ts} +3 -3
  5. package/dist/{esm/api/resources/agent/client/requests/AgentListRequest.d.mts → cjs/api/resources/agent/client/requests/ListRequest.d.ts} +1 -1
  6. package/dist/cjs/api/resources/agent/client/requests/index.d.ts +2 -2
  7. package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.d.ts → DeleteResponse.d.ts} +1 -1
  8. package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestOrder.d.ts +5 -0
  9. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.js → GetChatMessagesRequestOrder.js} +2 -2
  10. package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestRole.d.ts +7 -0
  11. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestRole.js → GetChatMessagesRequestRole.js} +2 -2
  12. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.d.ts → GetChatMessagesResponse.d.ts} +1 -1
  13. package/dist/cjs/api/resources/agent/types/{AgentListResponse.d.ts → ListResponse.d.ts} +1 -1
  14. package/dist/cjs/api/resources/agent/types/index.d.ts +5 -5
  15. package/dist/cjs/api/resources/agent/types/index.js +5 -5
  16. package/dist/cjs/api/resources/authtoken/client/Client.d.ts +26 -4
  17. package/dist/cjs/api/resources/authtoken/client/Client.js +109 -4
  18. package/dist/cjs/api/resources/authtoken/client/index.d.ts +1 -1
  19. package/dist/cjs/api/resources/authtoken/client/index.js +15 -0
  20. package/dist/cjs/api/resources/authtoken/exports.d.ts +0 -1
  21. package/dist/cjs/api/resources/authtoken/exports.js +0 -1
  22. package/dist/cjs/api/resources/authtoken/index.d.ts +0 -1
  23. package/dist/cjs/api/resources/authtoken/index.js +0 -1
  24. package/dist/cjs/api/resources/construe/client/Client.d.ts +35 -35
  25. package/dist/cjs/api/resources/construe/client/Client.js +43 -43
  26. package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.d.ts → DeleteCodeSystemRequest.d.ts} +1 -1
  27. package/dist/{esm/api/resources/construe/client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.mts → cjs/api/resources/construe/client/requests/ExportCodeSystemRequest.d.ts} +1 -1
  28. package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts → cjs/api/resources/construe/client/requests/GetCodeRequest.d.ts} +1 -1
  29. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.ts → GetCodeSystemRequest.d.ts} +1 -1
  30. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.ts → ListCodesRequest.d.ts} +1 -1
  31. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.ts → SearchSemanticRequest.d.ts} +1 -1
  32. package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts → cjs/api/resources/construe/client/requests/SearchTextRequest.d.ts} +1 -1
  33. package/dist/cjs/api/resources/construe/client/requests/index.d.ts +7 -7
  34. package/dist/{esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts → cjs/api/resources/construe/types/UploadCodeSystemResponse.d.ts} +1 -1
  35. package/dist/cjs/api/resources/construe/types/index.d.ts +1 -1
  36. package/dist/cjs/api/resources/construe/types/index.js +1 -1
  37. package/dist/cjs/api/resources/fhir/client/Client.d.ts +12 -12
  38. package/dist/cjs/api/resources/fhir/client/Client.js +6 -6
  39. package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.d.ts → CreateRequest.d.ts} +1 -1
  40. package/dist/{esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts → cjs/api/resources/fhir/client/requests/DeleteRequest.d.ts} +1 -1
  41. package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.ts → ExecuteBundleRequest.d.ts} +1 -1
  42. package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.d.ts → PatchRequest.d.ts} +2 -2
  43. package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.d.ts → SearchRequest.d.ts} +1 -1
  44. package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.d.ts → UpsertRequest.d.ts} +1 -1
  45. package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
  46. package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.ts → PatchRequestBodyItem.d.ts} +3 -3
  47. package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.js → PatchRequestBodyItem.js} +5 -5
  48. package/dist/cjs/api/resources/fhir/types/SearchResponse.d.ts +2 -0
  49. package/dist/cjs/api/resources/fhir/types/index.d.ts +2 -2
  50. package/dist/cjs/api/resources/fhir/types/index.js +2 -2
  51. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
  52. package/dist/cjs/api/resources/fhirProvider/client/Client.js +1 -4
  53. package/dist/{esm/api/resources/agent/types/AgentDeleteResponse.d.mts → cjs/api/resources/fhirProvider/types/DeleteResponse.d.ts} +1 -1
  54. package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.ts → RemoveAuthConfigResponse.d.ts} +1 -1
  55. package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +2 -2
  56. package/dist/cjs/api/resources/fhirProvider/types/index.js +2 -2
  57. package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +4 -4
  58. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +4 -4
  59. package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.ts → UploadProfileResponse.d.ts} +1 -1
  60. package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
  61. package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
  62. package/dist/cjs/api/resources/summary/client/Client.d.ts +3 -88
  63. package/dist/cjs/api/resources/summary/client/Client.js +4 -309
  64. package/dist/cjs/api/resources/summary/client/requests/index.d.ts +0 -2
  65. package/dist/cjs/api/resources/summary/exports.d.ts +1 -0
  66. package/dist/cjs/api/resources/summary/exports.js +1 -0
  67. package/dist/cjs/api/resources/summary/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/summary/index.js +1 -0
  69. package/dist/cjs/api/resources/summary/resources/index.d.ts +3 -0
  70. package/dist/cjs/api/resources/{authtoken → summary}/resources/index.js +4 -3
  71. package/dist/cjs/api/resources/summary/resources/templates/client/Client.d.ts +101 -0
  72. package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +366 -0
  73. package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.js +2 -0
  75. package/dist/cjs/api/resources/summary/resources/templates/exports.d.ts +2 -0
  76. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.js +2 -2
  77. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.js +1 -0
  79. package/dist/cjs/api/resources/{workflows/types/WorkflowsDeleteResponse.d.ts → summary/resources/templates/types/TemplatesDeleteResponse.d.ts} +1 -1
  80. package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.d.ts → resources/templates/types/TemplatesGetResponse.d.ts} +2 -2
  81. package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.d.ts → resources/templates/types/TemplatesListResponse.d.ts} +2 -2
  82. package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.ts → resources/templates/types/TemplatesUpdateResponse.d.ts} +2 -2
  83. package/dist/cjs/api/resources/summary/resources/templates/types/index.d.ts +4 -0
  84. package/dist/cjs/api/resources/summary/resources/templates/types/index.js +20 -0
  85. package/dist/cjs/api/resources/summary/types/index.d.ts +0 -4
  86. package/dist/cjs/api/resources/summary/types/index.js +0 -4
  87. package/dist/cjs/api/resources/workflows/client/Client.d.ts +7 -6
  88. package/dist/cjs/api/resources/workflows/client/Client.js +8 -14
  89. package/dist/{esm/api/resources/workflows/client/requests/WorkflowsGetRequest.d.mts → cjs/api/resources/workflows/client/requests/GetRequest.d.ts} +1 -1
  90. package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.d.ts → ListRequest.d.ts} +1 -1
  91. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +2 -2
  92. package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.d.ts +5 -0
  93. package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +54 -0
  94. package/dist/cjs/api/resources/workflows/errors/index.d.ts +1 -0
  95. package/dist/cjs/api/resources/workflows/errors/index.js +1 -0
  96. package/dist/{esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts → cjs/api/resources/workflows/types/DeleteResponse.d.ts} +1 -1
  97. package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.d.ts → GetResponse.d.ts} +1 -1
  98. package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.d.ts → UpdateResponse.d.ts} +1 -1
  99. package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -3
  100. package/dist/cjs/api/resources/workflows/types/index.js +3 -3
  101. package/dist/cjs/auth/OAuthAuthProvider.js +2 -2
  102. package/dist/cjs/version.d.ts +1 -1
  103. package/dist/cjs/version.js +1 -1
  104. package/dist/esm/BaseClient.mjs +2 -2
  105. package/dist/esm/api/resources/agent/client/Client.d.mts +5 -5
  106. package/dist/esm/api/resources/agent/client/Client.mjs +2 -2
  107. package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.mts → GetChatMessagesRequest.d.mts} +3 -3
  108. package/dist/{cjs/api/resources/agent/client/requests/AgentListRequest.d.ts → esm/api/resources/agent/client/requests/ListRequest.d.mts} +1 -1
  109. package/dist/esm/api/resources/agent/client/requests/index.d.mts +2 -2
  110. package/dist/esm/api/resources/agent/types/DeleteResponse.d.mts +4 -0
  111. package/dist/esm/api/resources/agent/types/GetChatMessagesRequestOrder.d.mts +5 -0
  112. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.mjs → GetChatMessagesRequestOrder.mjs} +1 -1
  113. package/dist/esm/api/resources/agent/types/GetChatMessagesRequestRole.d.mts +7 -0
  114. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestRole.mjs → GetChatMessagesRequestRole.mjs} +1 -1
  115. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.d.mts → GetChatMessagesResponse.d.mts} +1 -1
  116. package/dist/esm/api/resources/agent/types/{AgentListResponse.d.mts → ListResponse.d.mts} +1 -1
  117. package/dist/esm/api/resources/agent/types/index.d.mts +5 -5
  118. package/dist/esm/api/resources/agent/types/index.mjs +5 -5
  119. package/dist/esm/api/resources/authtoken/client/Client.d.mts +26 -4
  120. package/dist/esm/api/resources/authtoken/client/Client.mjs +76 -4
  121. package/dist/esm/api/resources/authtoken/client/index.d.mts +1 -1
  122. package/dist/esm/api/resources/authtoken/client/index.mjs +1 -1
  123. package/dist/esm/api/resources/authtoken/exports.d.mts +0 -1
  124. package/dist/esm/api/resources/authtoken/exports.mjs +0 -1
  125. package/dist/esm/api/resources/authtoken/index.d.mts +0 -1
  126. package/dist/esm/api/resources/authtoken/index.mjs +0 -1
  127. package/dist/esm/api/resources/construe/client/Client.d.mts +35 -35
  128. package/dist/esm/api/resources/construe/client/Client.mjs +43 -43
  129. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.d.mts → DeleteCodeSystemRequest.d.mts} +1 -1
  130. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.ts → esm/api/resources/construe/client/requests/ExportCodeSystemRequest.d.mts} +1 -1
  131. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts → esm/api/resources/construe/client/requests/GetCodeRequest.d.mts} +1 -1
  132. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.mts → GetCodeSystemRequest.d.mts} +1 -1
  133. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.mts → ListCodesRequest.d.mts} +1 -1
  134. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.mts → SearchSemanticRequest.d.mts} +1 -1
  135. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts → esm/api/resources/construe/client/requests/SearchTextRequest.d.mts} +1 -1
  136. package/dist/esm/api/resources/construe/client/requests/index.d.mts +7 -7
  137. package/dist/{cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts → esm/api/resources/construe/types/UploadCodeSystemResponse.d.mts} +1 -1
  138. package/dist/esm/api/resources/construe/types/index.d.mts +1 -1
  139. package/dist/esm/api/resources/construe/types/index.mjs +1 -1
  140. package/dist/esm/api/resources/fhir/client/Client.d.mts +12 -12
  141. package/dist/esm/api/resources/fhir/client/Client.mjs +6 -6
  142. package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.d.mts → CreateRequest.d.mts} +1 -1
  143. package/dist/{cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts → esm/api/resources/fhir/client/requests/DeleteRequest.d.mts} +1 -1
  144. package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.mts → ExecuteBundleRequest.d.mts} +1 -1
  145. package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts} +2 -2
  146. package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.d.mts → SearchRequest.d.mts} +1 -1
  147. package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.d.mts → UpsertRequest.d.mts} +1 -1
  148. package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
  149. package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.mts → PatchRequestBodyItem.d.mts} +3 -3
  150. package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.mjs → PatchRequestBodyItem.mjs} +4 -4
  151. package/dist/esm/api/resources/fhir/types/SearchResponse.d.mts +2 -0
  152. package/dist/esm/api/resources/fhir/types/index.d.mts +2 -2
  153. package/dist/esm/api/resources/fhir/types/index.mjs +2 -2
  154. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
  155. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +1 -4
  156. package/dist/esm/api/resources/fhirProvider/types/DeleteResponse.d.mts +4 -0
  157. package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.mts → RemoveAuthConfigResponse.d.mts} +1 -1
  158. package/dist/esm/api/resources/fhirProvider/types/index.d.mts +2 -2
  159. package/dist/esm/api/resources/fhirProvider/types/index.mjs +2 -2
  160. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +4 -4
  161. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +4 -4
  162. package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.mts → UploadProfileResponse.d.mts} +1 -1
  163. package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
  164. package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
  165. package/dist/esm/api/resources/summary/client/Client.d.mts +3 -88
  166. package/dist/esm/api/resources/summary/client/Client.mjs +4 -309
  167. package/dist/esm/api/resources/summary/client/requests/index.d.mts +0 -2
  168. package/dist/esm/api/resources/summary/exports.d.mts +1 -0
  169. package/dist/esm/api/resources/summary/exports.mjs +1 -0
  170. package/dist/esm/api/resources/summary/index.d.mts +1 -0
  171. package/dist/esm/api/resources/summary/index.mjs +1 -0
  172. package/dist/esm/api/resources/summary/resources/index.d.mts +3 -0
  173. package/dist/esm/api/resources/summary/resources/index.mjs +3 -0
  174. package/dist/esm/api/resources/summary/resources/templates/client/Client.d.mts +101 -0
  175. package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +329 -0
  176. package/dist/esm/api/resources/summary/resources/templates/client/requests/index.d.mts +2 -0
  177. package/dist/esm/api/resources/summary/resources/templates/client/requests/index.mjs +1 -0
  178. package/dist/esm/api/resources/summary/resources/templates/exports.d.mts +2 -0
  179. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.mjs +1 -1
  180. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.mts +1 -0
  181. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.mjs +1 -0
  182. package/dist/esm/api/resources/summary/resources/templates/types/TemplatesDeleteResponse.d.mts +4 -0
  183. package/dist/esm/api/resources/summary/resources/templates/types/TemplatesGetResponse.d.mts +5 -0
  184. package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.d.mts → resources/templates/types/TemplatesListResponse.d.mts} +2 -2
  185. package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.mts → resources/templates/types/TemplatesUpdateResponse.d.mts} +2 -2
  186. package/dist/esm/api/resources/summary/resources/templates/types/index.d.mts +4 -0
  187. package/dist/esm/api/resources/summary/resources/templates/types/index.mjs +4 -0
  188. package/dist/esm/api/resources/summary/types/index.d.mts +0 -4
  189. package/dist/esm/api/resources/summary/types/index.mjs +0 -4
  190. package/dist/esm/api/resources/workflows/client/Client.d.mts +7 -6
  191. package/dist/esm/api/resources/workflows/client/Client.mjs +8 -14
  192. package/dist/{cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts → esm/api/resources/workflows/client/requests/GetRequest.d.mts} +1 -1
  193. package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.d.mts → ListRequest.d.mts} +1 -1
  194. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +2 -2
  195. package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.d.mts +5 -0
  196. package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +17 -0
  197. package/dist/esm/api/resources/workflows/errors/index.d.mts +1 -0
  198. package/dist/esm/api/resources/workflows/errors/index.mjs +1 -0
  199. package/dist/esm/api/resources/workflows/types/DeleteResponse.d.mts +4 -0
  200. package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.d.mts → GetResponse.d.mts} +1 -1
  201. package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.d.mts → UpdateResponse.d.mts} +1 -1
  202. package/dist/esm/api/resources/workflows/types/index.d.mts +3 -3
  203. package/dist/esm/api/resources/workflows/types/index.mjs +3 -3
  204. package/dist/esm/auth/OAuthAuthProvider.mjs +2 -2
  205. package/dist/esm/version.d.mts +1 -1
  206. package/dist/esm/version.mjs +1 -1
  207. package/openapi/openapi.json +11397 -0
  208. package/package.json +14 -12
  209. package/reference.md +140 -139
  210. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.ts +0 -5
  211. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.ts +0 -7
  212. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.d.ts +0 -34
  213. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.js +0 -121
  214. package/dist/cjs/api/resources/authtoken/resources/auth/exports.d.ts +0 -2
  215. package/dist/cjs/api/resources/authtoken/resources/index.d.ts +0 -2
  216. package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +0 -2
  217. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -4
  218. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +0 -4
  219. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.mts +0 -5
  220. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.mts +0 -7
  221. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +0 -34
  222. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +0 -84
  223. package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +0 -2
  224. package/dist/esm/api/resources/authtoken/resources/index.d.mts +0 -2
  225. package/dist/esm/api/resources/authtoken/resources/index.mjs +0 -2
  226. package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +0 -2
  227. package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -4
  228. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +0 -4
  229. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +0 -5
  230. /package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.js → GetChatMessagesRequest.js} +0 -0
  231. /package/dist/cjs/api/resources/agent/client/requests/{AgentListRequest.js → ListRequest.js} +0 -0
  232. /package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.js → DeleteResponse.js} +0 -0
  233. /package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.js → GetChatMessagesResponse.js} +0 -0
  234. /package/dist/cjs/api/resources/agent/types/{AgentListResponse.js → ListResponse.js} +0 -0
  235. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.ts +0 -0
  236. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.js +0 -0
  237. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.ts +0 -0
  238. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.js +0 -0
  239. /package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.js → DeleteCodeSystemRequest.js} +0 -0
  240. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.js → ExportCodeSystemRequest.js} +0 -0
  241. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.js → GetCodeRequest.js} +0 -0
  242. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.js → GetCodeSystemRequest.js} +0 -0
  243. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.js → ListCodesRequest.js} +0 -0
  244. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.js → SearchSemanticRequest.js} +0 -0
  245. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.js → SearchTextRequest.js} +0 -0
  246. /package/dist/cjs/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.js → UploadCodeSystemResponse.js} +0 -0
  247. /package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.js → CreateRequest.js} +0 -0
  248. /package/dist/cjs/api/resources/fhir/client/requests/{FhirDeleteRequest.js → DeleteRequest.js} +0 -0
  249. /package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.js → ExecuteBundleRequest.js} +0 -0
  250. /package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.js → PatchRequest.js} +0 -0
  251. /package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.js → SearchRequest.js} +0 -0
  252. /package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.js → UpsertRequest.js} +0 -0
  253. /package/dist/cjs/api/resources/fhir/types/{FhirSearchResponse.js → SearchResponse.js} +0 -0
  254. /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.js → DeleteResponse.js} +0 -0
  255. /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.js → RemoveAuthConfigResponse.js} +0 -0
  256. /package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.js → UploadProfileResponse.js} +0 -0
  257. /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.ts +0 -0
  258. /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.js +0 -0
  259. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.ts +0 -0
  260. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.js +0 -0
  261. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.ts +0 -0
  262. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.js +0 -0
  263. /package/dist/cjs/api/resources/summary/{types/SummaryDeleteTemplateResponse.js → resources/templates/types/TemplatesDeleteResponse.js} +0 -0
  264. /package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.js → resources/templates/types/TemplatesGetResponse.js} +0 -0
  265. /package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.js → resources/templates/types/TemplatesListResponse.js} +0 -0
  266. /package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.js → resources/templates/types/TemplatesUpdateResponse.js} +0 -0
  267. /package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.js → GetRequest.js} +0 -0
  268. /package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsListRequest.js → ListRequest.js} +0 -0
  269. /package/dist/cjs/api/resources/workflows/types/{WorkflowsDeleteResponse.js → DeleteResponse.js} +0 -0
  270. /package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.js → GetResponse.js} +0 -0
  271. /package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.js → UpdateResponse.js} +0 -0
  272. /package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.mjs → GetChatMessagesRequest.mjs} +0 -0
  273. /package/dist/esm/api/resources/agent/client/requests/{AgentListRequest.mjs → ListRequest.mjs} +0 -0
  274. /package/dist/esm/api/resources/agent/types/{AgentDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  275. /package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.mjs → GetChatMessagesResponse.mjs} +0 -0
  276. /package/dist/esm/api/resources/agent/types/{AgentListResponse.mjs → ListResponse.mjs} +0 -0
  277. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.mts +0 -0
  278. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.mjs +0 -0
  279. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.mts +0 -0
  280. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.mjs +0 -0
  281. /package/dist/esm/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.mjs → DeleteCodeSystemRequest.mjs} +0 -0
  282. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.mjs → ExportCodeSystemRequest.mjs} +0 -0
  283. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.mjs → GetCodeRequest.mjs} +0 -0
  284. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.mjs → GetCodeSystemRequest.mjs} +0 -0
  285. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.mjs → ListCodesRequest.mjs} +0 -0
  286. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.mjs → SearchSemanticRequest.mjs} +0 -0
  287. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.mjs → SearchTextRequest.mjs} +0 -0
  288. /package/dist/esm/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.mjs → UploadCodeSystemResponse.mjs} +0 -0
  289. /package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.mjs → CreateRequest.mjs} +0 -0
  290. /package/dist/esm/api/resources/fhir/client/requests/{FhirDeleteRequest.mjs → DeleteRequest.mjs} +0 -0
  291. /package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.mjs → ExecuteBundleRequest.mjs} +0 -0
  292. /package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.mjs → PatchRequest.mjs} +0 -0
  293. /package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.mjs → SearchRequest.mjs} +0 -0
  294. /package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.mjs → UpsertRequest.mjs} +0 -0
  295. /package/dist/esm/api/resources/fhir/types/{FhirSearchResponse.mjs → SearchResponse.mjs} +0 -0
  296. /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  297. /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.mjs → RemoveAuthConfigResponse.mjs} +0 -0
  298. /package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.mjs → UploadProfileResponse.mjs} +0 -0
  299. /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.mts +0 -0
  300. /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.mjs +0 -0
  301. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.mts +0 -0
  302. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.mjs +0 -0
  303. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.mts +0 -0
  304. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.mjs +0 -0
  305. /package/dist/esm/api/resources/summary/{types/SummaryDeleteTemplateResponse.mjs → resources/templates/types/TemplatesDeleteResponse.mjs} +0 -0
  306. /package/dist/esm/api/resources/summary/{types/SummaryGetTemplateResponse.mjs → resources/templates/types/TemplatesGetResponse.mjs} +0 -0
  307. /package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.mjs → resources/templates/types/TemplatesListResponse.mjs} +0 -0
  308. /package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.mjs → resources/templates/types/TemplatesUpdateResponse.mjs} +0 -0
  309. /package/dist/esm/api/resources/workflows/client/requests/{WorkflowsGetRequest.mjs → GetRequest.mjs} +0 -0
  310. /package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.mjs → ListRequest.mjs} +0 -0
  311. /package/dist/esm/api/resources/workflows/types/{WorkflowsDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  312. /package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.mjs → GetResponse.mjs} +0 -0
  313. /package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.mjs → UpdateResponse.mjs} +0 -0
@@ -50,7 +50,7 @@ export declare class ConstrueClient {
50
50
  * desc_col: "description"
51
51
  * })
52
52
  */
53
- uploadCodeSystem(request: phenoml.construe.UploadRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ConstrueUploadCodeSystemResponse>;
53
+ uploadCodeSystem(request: phenoml.construe.UploadRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.UploadCodeSystemResponse>;
54
54
  private __uploadCodeSystem;
55
55
  /**
56
56
  * Converts natural language text into structured medical codes.
@@ -142,15 +142,15 @@ export declare class ConstrueClient {
142
142
  * @throws {@link phenoml.construe.InternalServerError}
143
143
  *
144
144
  * @example
145
- * await client.construe.listAvailableCodeSystems()
145
+ * await client.construe.listCodeSystems()
146
146
  */
147
- listAvailableCodeSystems(requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ListCodeSystemsResponse>;
148
- private __listAvailableCodeSystems;
147
+ listCodeSystems(requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ListCodeSystemsResponse>;
148
+ private __listCodeSystems;
149
149
  /**
150
150
  * Returns full metadata for a single code system, including timestamps and builtin status.
151
151
  *
152
152
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
153
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemRequest} request
153
+ * @param {phenoml.construe.GetCodeSystemRequest} request
154
154
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
155
155
  *
156
156
  * @throws {@link phenoml.construe.BadRequestError}
@@ -159,18 +159,18 @@ export declare class ConstrueClient {
159
159
  * @throws {@link phenoml.construe.InternalServerError}
160
160
  *
161
161
  * @example
162
- * await client.construe.getCodeSystemDetail("ICD-10-CM", {
162
+ * await client.construe.getCodeSystem("ICD-10-CM", {
163
163
  * version: "2025"
164
164
  * })
165
165
  */
166
- getCodeSystemDetail(codesystem: string, request?: phenoml.construe.GetConstrueCodesSystemsCodesystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.GetCodeSystemDetailResponse>;
167
- private __getCodeSystemDetail;
166
+ getCodeSystem(codesystem: string, request?: phenoml.construe.GetCodeSystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.GetCodeSystemDetailResponse>;
167
+ private __getCodeSystem;
168
168
  /**
169
169
  * Deletes a custom (non-builtin) code system and all its codes. Builtin systems cannot be deleted.
170
170
  * Only available on dedicated instances. Large systems may take up to a minute to delete.
171
171
  *
172
172
  * @param {string} codesystem - Code system name
173
- * @param {phenoml.construe.DeleteConstrueCodesSystemsCodesystemRequest} request
173
+ * @param {phenoml.construe.DeleteCodeSystemRequest} request
174
174
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
175
175
  *
176
176
  * @throws {@link phenoml.construe.BadRequestError}
@@ -180,19 +180,19 @@ export declare class ConstrueClient {
180
180
  * @throws {@link phenoml.construe.InternalServerError}
181
181
  *
182
182
  * @example
183
- * await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
183
+ * await client.construe.deleteCodeSystem("CUSTOM_CODES", {
184
184
  * version: "version"
185
185
  * })
186
186
  */
187
- deleteCustomCodeSystem(codesystem: string, request?: phenoml.construe.DeleteConstrueCodesSystemsCodesystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.DeleteCodeSystemResponse>;
188
- private __deleteCustomCodeSystem;
187
+ deleteCodeSystem(codesystem: string, request?: phenoml.construe.DeleteCodeSystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.DeleteCodeSystemResponse>;
188
+ private __deleteCodeSystem;
189
189
  /**
190
190
  * Exports a custom (non-builtin) code system as a JSON file compatible with the upload format.
191
191
  * The exported file can be re-uploaded directly via POST /construe/upload with format "json".
192
192
  * Only available on dedicated instances. Builtin systems cannot be exported.
193
193
  *
194
194
  * @param {string} codesystem - Code system name
195
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemExportRequest} request
195
+ * @param {phenoml.construe.ExportCodeSystemRequest} request
196
196
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
197
197
  *
198
198
  * @throws {@link phenoml.construe.BadRequestError}
@@ -204,19 +204,19 @@ export declare class ConstrueClient {
204
204
  * @throws {@link phenoml.construe.InternalServerError}
205
205
  *
206
206
  * @example
207
- * await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
207
+ * await client.construe.exportCodeSystem("CUSTOM_CODES", {
208
208
  * version: "version"
209
209
  * })
210
210
  */
211
- exportCustomCodeSystem(codesystem: string, request?: phenoml.construe.GetConstrueCodesSystemsCodesystemExportRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ExportCodeSystemResponse>;
212
- private __exportCustomCodeSystem;
211
+ exportCodeSystem(codesystem: string, request?: phenoml.construe.ExportCodeSystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ExportCodeSystemResponse>;
212
+ private __exportCodeSystem;
213
213
  /**
214
214
  * Returns a paginated list of all codes in the specified code system from the terminology server.
215
215
  *
216
216
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
217
217
  *
218
218
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
219
- * @param {phenoml.construe.GetConstrueCodesCodesystemRequest} request
219
+ * @param {phenoml.construe.ListCodesRequest} request
220
220
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
221
221
  *
222
222
  * @throws {@link phenoml.construe.BadRequestError}
@@ -225,14 +225,14 @@ export declare class ConstrueClient {
225
225
  * @throws {@link phenoml.construe.InternalServerError}
226
226
  *
227
227
  * @example
228
- * await client.construe.listCodesInACodeSystem("ICD-10-CM", {
228
+ * await client.construe.listCodes("ICD-10-CM", {
229
229
  * version: "2025",
230
230
  * cursor: "cursor",
231
231
  * limit: 1
232
232
  * })
233
233
  */
234
- listCodesInACodeSystem(codesystem: string, request?: phenoml.construe.GetConstrueCodesCodesystemRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ListCodesResponse>;
235
- private __listCodesInACodeSystem;
234
+ listCodes(codesystem: string, request?: phenoml.construe.ListCodesRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.ListCodesResponse>;
235
+ private __listCodes;
236
236
  /**
237
237
  * Looks up a specific code in the terminology server and returns its details.
238
238
  *
@@ -241,7 +241,7 @@ export declare class ConstrueClient {
241
241
  * @param {string} codesystem - Code system name
242
242
  * @param {string} codeID - The code identifier. ICD-10-CM codes are stored without their
243
243
  * cosmetic dot (use "E1165", not "E11.65").
244
- * @param {phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest} request
244
+ * @param {phenoml.construe.GetCodeRequest} request
245
245
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
246
246
  *
247
247
  * @throws {@link phenoml.construe.BadRequestError}
@@ -250,12 +250,12 @@ export declare class ConstrueClient {
250
250
  * @throws {@link phenoml.construe.InternalServerError}
251
251
  *
252
252
  * @example
253
- * await client.construe.getASpecificCode("ICD-10-CM", "E1165", {
253
+ * await client.construe.getCode("ICD-10-CM", "E1165", {
254
254
  * version: "version"
255
255
  * })
256
256
  */
257
- getASpecificCode(codesystem: string, codeID: string, request?: phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.GetCodeResponse>;
258
- private __getASpecificCode;
257
+ getCode(codesystem: string, codeID: string, request?: phenoml.construe.GetCodeRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.GetCodeResponse>;
258
+ private __getCode;
259
259
  /**
260
260
  * Performs semantic similarity search using vector embeddings.
261
261
  *
@@ -278,7 +278,7 @@ export declare class ConstrueClient {
278
278
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
279
279
  *
280
280
  * @param {string} codesystem - Code system name
281
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchSemanticRequest} request
281
+ * @param {phenoml.construe.SearchSemanticRequest} request
282
282
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
283
283
  *
284
284
  * @throws {@link phenoml.construe.BadRequestError}
@@ -287,14 +287,14 @@ export declare class ConstrueClient {
287
287
  * @throws {@link phenoml.construe.InternalServerError}
288
288
  *
289
289
  * @example
290
- * await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
290
+ * await client.construe.searchSemantic("ICD-10-CM", {
291
291
  * text: "patient has trouble breathing at night and wakes up gasping",
292
292
  * version: "version",
293
293
  * limit: 1
294
294
  * })
295
295
  */
296
- semanticSearchEmbeddingBased(codesystem: string, request: phenoml.construe.GetConstrueCodesCodesystemSearchSemanticRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.SemanticSearchResponse>;
297
- private __semanticSearchEmbeddingBased;
296
+ searchSemantic(codesystem: string, request: phenoml.construe.SearchSemanticRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.SemanticSearchResponse>;
297
+ private __searchSemantic;
298
298
  /**
299
299
  * Submits user feedback on results from the Construe extraction endpoint.
300
300
  * Feedback includes the full extraction result received and the result the user expected.
@@ -308,7 +308,7 @@ export declare class ConstrueClient {
308
308
  * @throws {@link phenoml.construe.ServiceUnavailableError}
309
309
  *
310
310
  * @example
311
- * await client.construe.submitFeedbackOnExtractionResults({
311
+ * await client.construe.submitFeedback({
312
312
  * text: "Patient has type 2 diabetes with hyperglycemia",
313
313
  * received_result: {
314
314
  * system: {
@@ -335,8 +335,8 @@ export declare class ConstrueClient {
335
335
  * detail: "Expected code E11.65 because the text mentions hyperglycemia"
336
336
  * })
337
337
  */
338
- submitFeedbackOnExtractionResults(request: phenoml.construe.FeedbackRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.FeedbackResponse>;
339
- private __submitFeedbackOnExtractionResults;
338
+ submitFeedback(request: phenoml.construe.FeedbackRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.FeedbackResponse>;
339
+ private __submitFeedback;
340
340
  /**
341
341
  * Performs fast full-text search over code IDs and descriptions.
342
342
  *
@@ -364,7 +364,7 @@ export declare class ConstrueClient {
364
364
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
365
365
  *
366
366
  * @param {string} codesystem - Code system name
367
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchTextRequest} request
367
+ * @param {phenoml.construe.SearchTextRequest} request
368
368
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
369
369
  *
370
370
  * @throws {@link phenoml.construe.BadRequestError}
@@ -374,12 +374,12 @@ export declare class ConstrueClient {
374
374
  * @throws {@link phenoml.construe.NotImplementedError}
375
375
  *
376
376
  * @example
377
- * await client.construe.terminologyServerTextSearch("ICD-10-CM", {
377
+ * await client.construe.searchText("ICD-10-CM", {
378
378
  * q: "E11.65",
379
379
  * version: "version",
380
380
  * limit: 1
381
381
  * })
382
382
  */
383
- terminologyServerTextSearch(codesystem: string, request: phenoml.construe.GetConstrueCodesCodesystemSearchTextRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.TextSearchResponse>;
384
- private __terminologyServerTextSearch;
383
+ searchText(codesystem: string, request: phenoml.construe.SearchTextRequest, requestOptions?: ConstrueClient.RequestOptions): core.HttpResponsePromise<phenoml.construe.TextSearchResponse>;
384
+ private __searchText;
385
385
  }
@@ -250,12 +250,12 @@ export class ConstrueClient {
250
250
  * @throws {@link phenoml.construe.InternalServerError}
251
251
  *
252
252
  * @example
253
- * await client.construe.listAvailableCodeSystems()
253
+ * await client.construe.listCodeSystems()
254
254
  */
255
- listAvailableCodeSystems(requestOptions) {
256
- return core.HttpResponsePromise.fromPromise(this.__listAvailableCodeSystems(requestOptions));
255
+ listCodeSystems(requestOptions) {
256
+ return core.HttpResponsePromise.fromPromise(this.__listCodeSystems(requestOptions));
257
257
  }
258
- __listAvailableCodeSystems(requestOptions) {
258
+ __listCodeSystems(requestOptions) {
259
259
  return __awaiter(this, void 0, void 0, function* () {
260
260
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
261
261
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -298,7 +298,7 @@ export class ConstrueClient {
298
298
  * Returns full metadata for a single code system, including timestamps and builtin status.
299
299
  *
300
300
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
301
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemRequest} request
301
+ * @param {phenoml.construe.GetCodeSystemRequest} request
302
302
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
303
303
  *
304
304
  * @throws {@link phenoml.construe.BadRequestError}
@@ -307,14 +307,14 @@ export class ConstrueClient {
307
307
  * @throws {@link phenoml.construe.InternalServerError}
308
308
  *
309
309
  * @example
310
- * await client.construe.getCodeSystemDetail("ICD-10-CM", {
310
+ * await client.construe.getCodeSystem("ICD-10-CM", {
311
311
  * version: "2025"
312
312
  * })
313
313
  */
314
- getCodeSystemDetail(codesystem, request = {}, requestOptions) {
315
- return core.HttpResponsePromise.fromPromise(this.__getCodeSystemDetail(codesystem, request, requestOptions));
314
+ getCodeSystem(codesystem, request = {}, requestOptions) {
315
+ return core.HttpResponsePromise.fromPromise(this.__getCodeSystem(codesystem, request, requestOptions));
316
316
  }
317
- __getCodeSystemDetail(codesystem_1) {
317
+ __getCodeSystem(codesystem_1) {
318
318
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
319
319
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
320
320
  const { version } = request;
@@ -370,7 +370,7 @@ export class ConstrueClient {
370
370
  * Only available on dedicated instances. Large systems may take up to a minute to delete.
371
371
  *
372
372
  * @param {string} codesystem - Code system name
373
- * @param {phenoml.construe.DeleteConstrueCodesSystemsCodesystemRequest} request
373
+ * @param {phenoml.construe.DeleteCodeSystemRequest} request
374
374
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
375
375
  *
376
376
  * @throws {@link phenoml.construe.BadRequestError}
@@ -380,14 +380,14 @@ export class ConstrueClient {
380
380
  * @throws {@link phenoml.construe.InternalServerError}
381
381
  *
382
382
  * @example
383
- * await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
383
+ * await client.construe.deleteCodeSystem("CUSTOM_CODES", {
384
384
  * version: "version"
385
385
  * })
386
386
  */
387
- deleteCustomCodeSystem(codesystem, request = {}, requestOptions) {
388
- return core.HttpResponsePromise.fromPromise(this.__deleteCustomCodeSystem(codesystem, request, requestOptions));
387
+ deleteCodeSystem(codesystem, request = {}, requestOptions) {
388
+ return core.HttpResponsePromise.fromPromise(this.__deleteCodeSystem(codesystem, request, requestOptions));
389
389
  }
390
- __deleteCustomCodeSystem(codesystem_1) {
390
+ __deleteCodeSystem(codesystem_1) {
391
391
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
392
392
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
393
393
  const { version } = request;
@@ -446,7 +446,7 @@ export class ConstrueClient {
446
446
  * Only available on dedicated instances. Builtin systems cannot be exported.
447
447
  *
448
448
  * @param {string} codesystem - Code system name
449
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemExportRequest} request
449
+ * @param {phenoml.construe.ExportCodeSystemRequest} request
450
450
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
451
451
  *
452
452
  * @throws {@link phenoml.construe.BadRequestError}
@@ -458,14 +458,14 @@ export class ConstrueClient {
458
458
  * @throws {@link phenoml.construe.InternalServerError}
459
459
  *
460
460
  * @example
461
- * await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
461
+ * await client.construe.exportCodeSystem("CUSTOM_CODES", {
462
462
  * version: "version"
463
463
  * })
464
464
  */
465
- exportCustomCodeSystem(codesystem, request = {}, requestOptions) {
466
- return core.HttpResponsePromise.fromPromise(this.__exportCustomCodeSystem(codesystem, request, requestOptions));
465
+ exportCodeSystem(codesystem, request = {}, requestOptions) {
466
+ return core.HttpResponsePromise.fromPromise(this.__exportCodeSystem(codesystem, request, requestOptions));
467
467
  }
468
- __exportCustomCodeSystem(codesystem_1) {
468
+ __exportCodeSystem(codesystem_1) {
469
469
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
470
470
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
471
471
  const { version } = request;
@@ -528,7 +528,7 @@ export class ConstrueClient {
528
528
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
529
529
  *
530
530
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
531
- * @param {phenoml.construe.GetConstrueCodesCodesystemRequest} request
531
+ * @param {phenoml.construe.ListCodesRequest} request
532
532
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
533
533
  *
534
534
  * @throws {@link phenoml.construe.BadRequestError}
@@ -537,16 +537,16 @@ export class ConstrueClient {
537
537
  * @throws {@link phenoml.construe.InternalServerError}
538
538
  *
539
539
  * @example
540
- * await client.construe.listCodesInACodeSystem("ICD-10-CM", {
540
+ * await client.construe.listCodes("ICD-10-CM", {
541
541
  * version: "2025",
542
542
  * cursor: "cursor",
543
543
  * limit: 1
544
544
  * })
545
545
  */
546
- listCodesInACodeSystem(codesystem, request = {}, requestOptions) {
547
- return core.HttpResponsePromise.fromPromise(this.__listCodesInACodeSystem(codesystem, request, requestOptions));
546
+ listCodes(codesystem, request = {}, requestOptions) {
547
+ return core.HttpResponsePromise.fromPromise(this.__listCodes(codesystem, request, requestOptions));
548
548
  }
549
- __listCodesInACodeSystem(codesystem_1) {
549
+ __listCodes(codesystem_1) {
550
550
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
551
551
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
552
552
  const { version, cursor, limit } = request;
@@ -604,7 +604,7 @@ export class ConstrueClient {
604
604
  * @param {string} codesystem - Code system name
605
605
  * @param {string} codeID - The code identifier. ICD-10-CM codes are stored without their
606
606
  * cosmetic dot (use "E1165", not "E11.65").
607
- * @param {phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest} request
607
+ * @param {phenoml.construe.GetCodeRequest} request
608
608
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
609
609
  *
610
610
  * @throws {@link phenoml.construe.BadRequestError}
@@ -613,14 +613,14 @@ export class ConstrueClient {
613
613
  * @throws {@link phenoml.construe.InternalServerError}
614
614
  *
615
615
  * @example
616
- * await client.construe.getASpecificCode("ICD-10-CM", "E1165", {
616
+ * await client.construe.getCode("ICD-10-CM", "E1165", {
617
617
  * version: "version"
618
618
  * })
619
619
  */
620
- getASpecificCode(codesystem, codeID, request = {}, requestOptions) {
621
- return core.HttpResponsePromise.fromPromise(this.__getASpecificCode(codesystem, codeID, request, requestOptions));
620
+ getCode(codesystem, codeID, request = {}, requestOptions) {
621
+ return core.HttpResponsePromise.fromPromise(this.__getCode(codesystem, codeID, request, requestOptions));
622
622
  }
623
- __getASpecificCode(codesystem_1, codeID_1) {
623
+ __getCode(codesystem_1, codeID_1) {
624
624
  return __awaiter(this, arguments, void 0, function* (codesystem, codeID, request = {}, requestOptions) {
625
625
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
626
626
  const { version } = request;
@@ -690,7 +690,7 @@ export class ConstrueClient {
690
690
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
691
691
  *
692
692
  * @param {string} codesystem - Code system name
693
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchSemanticRequest} request
693
+ * @param {phenoml.construe.SearchSemanticRequest} request
694
694
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
695
695
  *
696
696
  * @throws {@link phenoml.construe.BadRequestError}
@@ -699,16 +699,16 @@ export class ConstrueClient {
699
699
  * @throws {@link phenoml.construe.InternalServerError}
700
700
  *
701
701
  * @example
702
- * await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
702
+ * await client.construe.searchSemantic("ICD-10-CM", {
703
703
  * text: "patient has trouble breathing at night and wakes up gasping",
704
704
  * version: "version",
705
705
  * limit: 1
706
706
  * })
707
707
  */
708
- semanticSearchEmbeddingBased(codesystem, request, requestOptions) {
709
- return core.HttpResponsePromise.fromPromise(this.__semanticSearchEmbeddingBased(codesystem, request, requestOptions));
708
+ searchSemantic(codesystem, request, requestOptions) {
709
+ return core.HttpResponsePromise.fromPromise(this.__searchSemantic(codesystem, request, requestOptions));
710
710
  }
711
- __semanticSearchEmbeddingBased(codesystem, request, requestOptions) {
711
+ __searchSemantic(codesystem, request, requestOptions) {
712
712
  return __awaiter(this, void 0, void 0, function* () {
713
713
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
714
714
  const { text, version, limit } = request;
@@ -774,7 +774,7 @@ export class ConstrueClient {
774
774
  * @throws {@link phenoml.construe.ServiceUnavailableError}
775
775
  *
776
776
  * @example
777
- * await client.construe.submitFeedbackOnExtractionResults({
777
+ * await client.construe.submitFeedback({
778
778
  * text: "Patient has type 2 diabetes with hyperglycemia",
779
779
  * received_result: {
780
780
  * system: {
@@ -801,10 +801,10 @@ export class ConstrueClient {
801
801
  * detail: "Expected code E11.65 because the text mentions hyperglycemia"
802
802
  * })
803
803
  */
804
- submitFeedbackOnExtractionResults(request, requestOptions) {
805
- return core.HttpResponsePromise.fromPromise(this.__submitFeedbackOnExtractionResults(request, requestOptions));
804
+ submitFeedback(request, requestOptions) {
805
+ return core.HttpResponsePromise.fromPromise(this.__submitFeedback(request, requestOptions));
806
806
  }
807
- __submitFeedbackOnExtractionResults(request, requestOptions) {
807
+ __submitFeedback(request, requestOptions) {
808
808
  return __awaiter(this, void 0, void 0, function* () {
809
809
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
810
810
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -874,7 +874,7 @@ export class ConstrueClient {
874
874
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
875
875
  *
876
876
  * @param {string} codesystem - Code system name
877
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchTextRequest} request
877
+ * @param {phenoml.construe.SearchTextRequest} request
878
878
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
879
879
  *
880
880
  * @throws {@link phenoml.construe.BadRequestError}
@@ -884,16 +884,16 @@ export class ConstrueClient {
884
884
  * @throws {@link phenoml.construe.NotImplementedError}
885
885
  *
886
886
  * @example
887
- * await client.construe.terminologyServerTextSearch("ICD-10-CM", {
887
+ * await client.construe.searchText("ICD-10-CM", {
888
888
  * q: "E11.65",
889
889
  * version: "version",
890
890
  * limit: 1
891
891
  * })
892
892
  */
893
- terminologyServerTextSearch(codesystem, request, requestOptions) {
894
- return core.HttpResponsePromise.fromPromise(this.__terminologyServerTextSearch(codesystem, request, requestOptions));
893
+ searchText(codesystem, request, requestOptions) {
894
+ return core.HttpResponsePromise.fromPromise(this.__searchText(codesystem, request, requestOptions));
895
895
  }
896
- __terminologyServerTextSearch(codesystem, request, requestOptions) {
896
+ __searchText(codesystem, request, requestOptions) {
897
897
  return __awaiter(this, void 0, void 0, function* () {
898
898
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
899
899
  const { q, version, limit } = request;
@@ -4,7 +4,7 @@
4
4
  * version: "version"
5
5
  * }
6
6
  */
7
- export interface GetConstrueCodesSystemsCodesystemExportRequest {
7
+ export interface DeleteCodeSystemRequest {
8
8
  /** Specific version of the code system. Required if multiple versions exist. */
9
9
  version?: string;
10
10
  }
@@ -4,7 +4,7 @@
4
4
  * version: "version"
5
5
  * }
6
6
  */
7
- export interface GetConstrueCodesSystemsCodesystemExportRequest {
7
+ export interface ExportCodeSystemRequest {
8
8
  /** Specific version of the code system. Required if multiple versions exist. */
9
9
  version?: string;
10
10
  }
@@ -4,7 +4,7 @@
4
4
  * version: "version"
5
5
  * }
6
6
  */
7
- export interface GetConstrueCodesCodesystemCodeIdRequest {
7
+ export interface GetCodeRequest {
8
8
  /** Specific version of the code system */
9
9
  version?: string;
10
10
  }
@@ -4,7 +4,7 @@
4
4
  * version: "2025"
5
5
  * }
6
6
  */
7
- export interface GetConstrueCodesSystemsCodesystemRequest {
7
+ export interface GetCodeSystemRequest {
8
8
  /** Specific version of the code system. Required if multiple versions exist. */
9
9
  version?: string;
10
10
  }
@@ -6,7 +6,7 @@
6
6
  * limit: 1
7
7
  * }
8
8
  */
9
- export interface GetConstrueCodesCodesystemRequest {
9
+ export interface ListCodesRequest {
10
10
  /** Specific version of the code system. Required if multiple versions exist. */
11
11
  version?: string;
12
12
  /** Pagination cursor from previous response */
@@ -6,7 +6,7 @@
6
6
  * limit: 1
7
7
  * }
8
8
  */
9
- export interface GetConstrueCodesCodesystemSearchSemanticRequest {
9
+ export interface SearchSemanticRequest {
10
10
  /** Natural language text to find semantically similar codes for */
11
11
  text: string;
12
12
  /** Specific version of the code system */
@@ -6,7 +6,7 @@
6
6
  * limit: 1
7
7
  * }
8
8
  */
9
- export interface GetConstrueCodesCodesystemSearchTextRequest {
9
+ export interface SearchTextRequest {
10
10
  /** Search query (searches code IDs and descriptions) */
11
11
  q: string;
12
12
  /** Specific version of the code system */
@@ -1,10 +1,10 @@
1
- export type { DeleteConstrueCodesSystemsCodesystemRequest } from "./DeleteConstrueCodesSystemsCodesystemRequest.mjs";
1
+ export type { DeleteCodeSystemRequest } from "./DeleteCodeSystemRequest.mjs";
2
+ export type { ExportCodeSystemRequest } from "./ExportCodeSystemRequest.mjs";
2
3
  export type { ExtractRequest } from "./ExtractRequest.mjs";
3
4
  export type { FeedbackRequest } from "./FeedbackRequest.mjs";
4
- export type { GetConstrueCodesCodesystemCodeIdRequest } from "./GetConstrueCodesCodesystemCodeIdRequest.mjs";
5
- export type { GetConstrueCodesCodesystemRequest } from "./GetConstrueCodesCodesystemRequest.mjs";
6
- export type { GetConstrueCodesCodesystemSearchSemanticRequest } from "./GetConstrueCodesCodesystemSearchSemanticRequest.mjs";
7
- export type { GetConstrueCodesCodesystemSearchTextRequest } from "./GetConstrueCodesCodesystemSearchTextRequest.mjs";
8
- export type { GetConstrueCodesSystemsCodesystemExportRequest } from "./GetConstrueCodesSystemsCodesystemExportRequest.mjs";
9
- export type { GetConstrueCodesSystemsCodesystemRequest } from "./GetConstrueCodesSystemsCodesystemRequest.mjs";
5
+ export type { GetCodeRequest } from "./GetCodeRequest.mjs";
6
+ export type { GetCodeSystemRequest } from "./GetCodeSystemRequest.mjs";
7
+ export type { ListCodesRequest } from "./ListCodesRequest.mjs";
8
+ export type { SearchSemanticRequest } from "./SearchSemanticRequest.mjs";
9
+ export type { SearchTextRequest } from "./SearchTextRequest.mjs";
10
10
  export { UploadRequest } from "./UploadRequest.mjs";
@@ -1,4 +1,4 @@
1
- export interface ConstrueUploadCodeSystemResponse {
1
+ export interface UploadCodeSystemResponse {
2
2
  status?: string | undefined;
3
3
  name?: string | undefined;
4
4
  version?: string | undefined;
@@ -3,7 +3,6 @@ export * from "./CodeCategory.mjs";
3
3
  export * from "./CodeResponse.mjs";
4
4
  export * from "./CodeSystemDetails.mjs";
5
5
  export * from "./CodeSystemInfo.mjs";
6
- export * from "./ConstrueUploadCodeSystemResponse.mjs";
7
6
  export * from "./DeleteCodeSystemResponse.mjs";
8
7
  export * from "./ExportCodeSystemResponse.mjs";
9
8
  export * from "./ExtractCodesResult.mjs";
@@ -19,3 +18,4 @@ export * from "./SemanticSearchResponse.mjs";
19
18
  export * from "./SemanticSearchResult.mjs";
20
19
  export * from "./TextSearchResponse.mjs";
21
20
  export * from "./TextSearchResult.mjs";
21
+ export * from "./UploadCodeSystemResponse.mjs";
@@ -3,7 +3,6 @@ export * from "./CodeCategory.mjs";
3
3
  export * from "./CodeResponse.mjs";
4
4
  export * from "./CodeSystemDetails.mjs";
5
5
  export * from "./CodeSystemInfo.mjs";
6
- export * from "./ConstrueUploadCodeSystemResponse.mjs";
7
6
  export * from "./DeleteCodeSystemResponse.mjs";
8
7
  export * from "./ExportCodeSystemResponse.mjs";
9
8
  export * from "./ExtractCodesResult.mjs";
@@ -19,3 +18,4 @@ export * from "./SemanticSearchResponse.mjs";
19
18
  export * from "./SemanticSearchResult.mjs";
20
19
  export * from "./TextSearchResponse.mjs";
21
20
  export * from "./TextSearchResult.mjs";
21
+ export * from "./UploadCodeSystemResponse.mjs";