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
  }
@@ -286,12 +286,12 @@ class ConstrueClient {
286
286
  * @throws {@link phenoml.construe.InternalServerError}
287
287
  *
288
288
  * @example
289
- * await client.construe.listAvailableCodeSystems()
289
+ * await client.construe.listCodeSystems()
290
290
  */
291
- listAvailableCodeSystems(requestOptions) {
292
- return core.HttpResponsePromise.fromPromise(this.__listAvailableCodeSystems(requestOptions));
291
+ listCodeSystems(requestOptions) {
292
+ return core.HttpResponsePromise.fromPromise(this.__listCodeSystems(requestOptions));
293
293
  }
294
- __listAvailableCodeSystems(requestOptions) {
294
+ __listCodeSystems(requestOptions) {
295
295
  return __awaiter(this, void 0, void 0, function* () {
296
296
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
297
297
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -334,7 +334,7 @@ class ConstrueClient {
334
334
  * Returns full metadata for a single code system, including timestamps and builtin status.
335
335
  *
336
336
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
337
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemRequest} request
337
+ * @param {phenoml.construe.GetCodeSystemRequest} request
338
338
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
339
339
  *
340
340
  * @throws {@link phenoml.construe.BadRequestError}
@@ -343,14 +343,14 @@ class ConstrueClient {
343
343
  * @throws {@link phenoml.construe.InternalServerError}
344
344
  *
345
345
  * @example
346
- * await client.construe.getCodeSystemDetail("ICD-10-CM", {
346
+ * await client.construe.getCodeSystem("ICD-10-CM", {
347
347
  * version: "2025"
348
348
  * })
349
349
  */
350
- getCodeSystemDetail(codesystem, request = {}, requestOptions) {
351
- return core.HttpResponsePromise.fromPromise(this.__getCodeSystemDetail(codesystem, request, requestOptions));
350
+ getCodeSystem(codesystem, request = {}, requestOptions) {
351
+ return core.HttpResponsePromise.fromPromise(this.__getCodeSystem(codesystem, request, requestOptions));
352
352
  }
353
- __getCodeSystemDetail(codesystem_1) {
353
+ __getCodeSystem(codesystem_1) {
354
354
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
355
355
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
356
356
  const { version } = request;
@@ -406,7 +406,7 @@ class ConstrueClient {
406
406
  * Only available on dedicated instances. Large systems may take up to a minute to delete.
407
407
  *
408
408
  * @param {string} codesystem - Code system name
409
- * @param {phenoml.construe.DeleteConstrueCodesSystemsCodesystemRequest} request
409
+ * @param {phenoml.construe.DeleteCodeSystemRequest} request
410
410
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
411
411
  *
412
412
  * @throws {@link phenoml.construe.BadRequestError}
@@ -416,14 +416,14 @@ class ConstrueClient {
416
416
  * @throws {@link phenoml.construe.InternalServerError}
417
417
  *
418
418
  * @example
419
- * await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
419
+ * await client.construe.deleteCodeSystem("CUSTOM_CODES", {
420
420
  * version: "version"
421
421
  * })
422
422
  */
423
- deleteCustomCodeSystem(codesystem, request = {}, requestOptions) {
424
- return core.HttpResponsePromise.fromPromise(this.__deleteCustomCodeSystem(codesystem, request, requestOptions));
423
+ deleteCodeSystem(codesystem, request = {}, requestOptions) {
424
+ return core.HttpResponsePromise.fromPromise(this.__deleteCodeSystem(codesystem, request, requestOptions));
425
425
  }
426
- __deleteCustomCodeSystem(codesystem_1) {
426
+ __deleteCodeSystem(codesystem_1) {
427
427
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
428
428
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
429
429
  const { version } = request;
@@ -482,7 +482,7 @@ class ConstrueClient {
482
482
  * Only available on dedicated instances. Builtin systems cannot be exported.
483
483
  *
484
484
  * @param {string} codesystem - Code system name
485
- * @param {phenoml.construe.GetConstrueCodesSystemsCodesystemExportRequest} request
485
+ * @param {phenoml.construe.ExportCodeSystemRequest} request
486
486
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
487
487
  *
488
488
  * @throws {@link phenoml.construe.BadRequestError}
@@ -494,14 +494,14 @@ class ConstrueClient {
494
494
  * @throws {@link phenoml.construe.InternalServerError}
495
495
  *
496
496
  * @example
497
- * await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
497
+ * await client.construe.exportCodeSystem("CUSTOM_CODES", {
498
498
  * version: "version"
499
499
  * })
500
500
  */
501
- exportCustomCodeSystem(codesystem, request = {}, requestOptions) {
502
- return core.HttpResponsePromise.fromPromise(this.__exportCustomCodeSystem(codesystem, request, requestOptions));
501
+ exportCodeSystem(codesystem, request = {}, requestOptions) {
502
+ return core.HttpResponsePromise.fromPromise(this.__exportCodeSystem(codesystem, request, requestOptions));
503
503
  }
504
- __exportCustomCodeSystem(codesystem_1) {
504
+ __exportCodeSystem(codesystem_1) {
505
505
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
506
506
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
507
507
  const { version } = request;
@@ -564,7 +564,7 @@ class ConstrueClient {
564
564
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
565
565
  *
566
566
  * @param {string} codesystem - Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
567
- * @param {phenoml.construe.GetConstrueCodesCodesystemRequest} request
567
+ * @param {phenoml.construe.ListCodesRequest} request
568
568
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
569
569
  *
570
570
  * @throws {@link phenoml.construe.BadRequestError}
@@ -573,16 +573,16 @@ class ConstrueClient {
573
573
  * @throws {@link phenoml.construe.InternalServerError}
574
574
  *
575
575
  * @example
576
- * await client.construe.listCodesInACodeSystem("ICD-10-CM", {
576
+ * await client.construe.listCodes("ICD-10-CM", {
577
577
  * version: "2025",
578
578
  * cursor: "cursor",
579
579
  * limit: 1
580
580
  * })
581
581
  */
582
- listCodesInACodeSystem(codesystem, request = {}, requestOptions) {
583
- return core.HttpResponsePromise.fromPromise(this.__listCodesInACodeSystem(codesystem, request, requestOptions));
582
+ listCodes(codesystem, request = {}, requestOptions) {
583
+ return core.HttpResponsePromise.fromPromise(this.__listCodes(codesystem, request, requestOptions));
584
584
  }
585
- __listCodesInACodeSystem(codesystem_1) {
585
+ __listCodes(codesystem_1) {
586
586
  return __awaiter(this, arguments, void 0, function* (codesystem, request = {}, requestOptions) {
587
587
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
588
588
  const { version, cursor, limit } = request;
@@ -640,7 +640,7 @@ class ConstrueClient {
640
640
  * @param {string} codesystem - Code system name
641
641
  * @param {string} codeID - The code identifier. ICD-10-CM codes are stored without their
642
642
  * cosmetic dot (use "E1165", not "E11.65").
643
- * @param {phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest} request
643
+ * @param {phenoml.construe.GetCodeRequest} request
644
644
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
645
645
  *
646
646
  * @throws {@link phenoml.construe.BadRequestError}
@@ -649,14 +649,14 @@ class ConstrueClient {
649
649
  * @throws {@link phenoml.construe.InternalServerError}
650
650
  *
651
651
  * @example
652
- * await client.construe.getASpecificCode("ICD-10-CM", "E1165", {
652
+ * await client.construe.getCode("ICD-10-CM", "E1165", {
653
653
  * version: "version"
654
654
  * })
655
655
  */
656
- getASpecificCode(codesystem, codeID, request = {}, requestOptions) {
657
- return core.HttpResponsePromise.fromPromise(this.__getASpecificCode(codesystem, codeID, request, requestOptions));
656
+ getCode(codesystem, codeID, request = {}, requestOptions) {
657
+ return core.HttpResponsePromise.fromPromise(this.__getCode(codesystem, codeID, request, requestOptions));
658
658
  }
659
- __getASpecificCode(codesystem_1, codeID_1) {
659
+ __getCode(codesystem_1, codeID_1) {
660
660
  return __awaiter(this, arguments, void 0, function* (codesystem, codeID, request = {}, requestOptions) {
661
661
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
662
662
  const { version } = request;
@@ -726,7 +726,7 @@ class ConstrueClient {
726
726
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
727
727
  *
728
728
  * @param {string} codesystem - Code system name
729
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchSemanticRequest} request
729
+ * @param {phenoml.construe.SearchSemanticRequest} request
730
730
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
731
731
  *
732
732
  * @throws {@link phenoml.construe.BadRequestError}
@@ -735,16 +735,16 @@ class ConstrueClient {
735
735
  * @throws {@link phenoml.construe.InternalServerError}
736
736
  *
737
737
  * @example
738
- * await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
738
+ * await client.construe.searchSemantic("ICD-10-CM", {
739
739
  * text: "patient has trouble breathing at night and wakes up gasping",
740
740
  * version: "version",
741
741
  * limit: 1
742
742
  * })
743
743
  */
744
- semanticSearchEmbeddingBased(codesystem, request, requestOptions) {
745
- return core.HttpResponsePromise.fromPromise(this.__semanticSearchEmbeddingBased(codesystem, request, requestOptions));
744
+ searchSemantic(codesystem, request, requestOptions) {
745
+ return core.HttpResponsePromise.fromPromise(this.__searchSemantic(codesystem, request, requestOptions));
746
746
  }
747
- __semanticSearchEmbeddingBased(codesystem, request, requestOptions) {
747
+ __searchSemantic(codesystem, request, requestOptions) {
748
748
  return __awaiter(this, void 0, void 0, function* () {
749
749
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
750
750
  const { text, version, limit } = request;
@@ -810,7 +810,7 @@ class ConstrueClient {
810
810
  * @throws {@link phenoml.construe.ServiceUnavailableError}
811
811
  *
812
812
  * @example
813
- * await client.construe.submitFeedbackOnExtractionResults({
813
+ * await client.construe.submitFeedback({
814
814
  * text: "Patient has type 2 diabetes with hyperglycemia",
815
815
  * received_result: {
816
816
  * system: {
@@ -837,10 +837,10 @@ class ConstrueClient {
837
837
  * detail: "Expected code E11.65 because the text mentions hyperglycemia"
838
838
  * })
839
839
  */
840
- submitFeedbackOnExtractionResults(request, requestOptions) {
841
- return core.HttpResponsePromise.fromPromise(this.__submitFeedbackOnExtractionResults(request, requestOptions));
840
+ submitFeedback(request, requestOptions) {
841
+ return core.HttpResponsePromise.fromPromise(this.__submitFeedback(request, requestOptions));
842
842
  }
843
- __submitFeedbackOnExtractionResults(request, requestOptions) {
843
+ __submitFeedback(request, requestOptions) {
844
844
  return __awaiter(this, void 0, void 0, function* () {
845
845
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
846
846
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -910,7 +910,7 @@ class ConstrueClient {
910
910
  * Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
911
911
  *
912
912
  * @param {string} codesystem - Code system name
913
- * @param {phenoml.construe.GetConstrueCodesCodesystemSearchTextRequest} request
913
+ * @param {phenoml.construe.SearchTextRequest} request
914
914
  * @param {ConstrueClient.RequestOptions} requestOptions - Request-specific configuration.
915
915
  *
916
916
  * @throws {@link phenoml.construe.BadRequestError}
@@ -920,16 +920,16 @@ class ConstrueClient {
920
920
  * @throws {@link phenoml.construe.NotImplementedError}
921
921
  *
922
922
  * @example
923
- * await client.construe.terminologyServerTextSearch("ICD-10-CM", {
923
+ * await client.construe.searchText("ICD-10-CM", {
924
924
  * q: "E11.65",
925
925
  * version: "version",
926
926
  * limit: 1
927
927
  * })
928
928
  */
929
- terminologyServerTextSearch(codesystem, request, requestOptions) {
930
- return core.HttpResponsePromise.fromPromise(this.__terminologyServerTextSearch(codesystem, request, requestOptions));
929
+ searchText(codesystem, request, requestOptions) {
930
+ return core.HttpResponsePromise.fromPromise(this.__searchText(codesystem, request, requestOptions));
931
931
  }
932
- __terminologyServerTextSearch(codesystem, request, requestOptions) {
932
+ __searchText(codesystem, request, requestOptions) {
933
933
  return __awaiter(this, void 0, void 0, function* () {
934
934
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
935
935
  const { q, version, limit } = request;
@@ -4,7 +4,7 @@
4
4
  * version: "version"
5
5
  * }
6
6
  */
7
- export interface DeleteConstrueCodesSystemsCodesystemRequest {
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 DeleteConstrueCodesSystemsCodesystemRequest {
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.js";
1
+ export type { DeleteCodeSystemRequest } from "./DeleteCodeSystemRequest.js";
2
+ export type { ExportCodeSystemRequest } from "./ExportCodeSystemRequest.js";
2
3
  export type { ExtractRequest } from "./ExtractRequest.js";
3
4
  export type { FeedbackRequest } from "./FeedbackRequest.js";
4
- export type { GetConstrueCodesCodesystemCodeIdRequest } from "./GetConstrueCodesCodesystemCodeIdRequest.js";
5
- export type { GetConstrueCodesCodesystemRequest } from "./GetConstrueCodesCodesystemRequest.js";
6
- export type { GetConstrueCodesCodesystemSearchSemanticRequest } from "./GetConstrueCodesCodesystemSearchSemanticRequest.js";
7
- export type { GetConstrueCodesCodesystemSearchTextRequest } from "./GetConstrueCodesCodesystemSearchTextRequest.js";
8
- export type { GetConstrueCodesSystemsCodesystemExportRequest } from "./GetConstrueCodesSystemsCodesystemExportRequest.js";
9
- export type { GetConstrueCodesSystemsCodesystemRequest } from "./GetConstrueCodesSystemsCodesystemRequest.js";
5
+ export type { GetCodeRequest } from "./GetCodeRequest.js";
6
+ export type { GetCodeSystemRequest } from "./GetCodeSystemRequest.js";
7
+ export type { ListCodesRequest } from "./ListCodesRequest.js";
8
+ export type { SearchSemanticRequest } from "./SearchSemanticRequest.js";
9
+ export type { SearchTextRequest } from "./SearchTextRequest.js";
10
10
  export { UploadRequest } from "./UploadRequest.js";
@@ -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.js";
3
3
  export * from "./CodeResponse.js";
4
4
  export * from "./CodeSystemDetails.js";
5
5
  export * from "./CodeSystemInfo.js";
6
- export * from "./ConstrueUploadCodeSystemResponse.js";
7
6
  export * from "./DeleteCodeSystemResponse.js";
8
7
  export * from "./ExportCodeSystemResponse.js";
9
8
  export * from "./ExtractCodesResult.js";
@@ -19,3 +18,4 @@ export * from "./SemanticSearchResponse.js";
19
18
  export * from "./SemanticSearchResult.js";
20
19
  export * from "./TextSearchResponse.js";
21
20
  export * from "./TextSearchResult.js";
21
+ export * from "./UploadCodeSystemResponse.js";
@@ -19,7 +19,6 @@ __exportStar(require("./CodeCategory.js"), exports);
19
19
  __exportStar(require("./CodeResponse.js"), exports);
20
20
  __exportStar(require("./CodeSystemDetails.js"), exports);
21
21
  __exportStar(require("./CodeSystemInfo.js"), exports);
22
- __exportStar(require("./ConstrueUploadCodeSystemResponse.js"), exports);
23
22
  __exportStar(require("./DeleteCodeSystemResponse.js"), exports);
24
23
  __exportStar(require("./ExportCodeSystemResponse.js"), exports);
25
24
  __exportStar(require("./ExtractCodesResult.js"), exports);
@@ -35,3 +34,4 @@ __exportStar(require("./SemanticSearchResponse.js"), exports);
35
34
  __exportStar(require("./SemanticSearchResult.js"), exports);
36
35
  __exportStar(require("./TextSearchResponse.js"), exports);
37
36
  __exportStar(require("./TextSearchResult.js"), exports);
37
+ __exportStar(require("./UploadCodeSystemResponse.js"), exports);