phenoml 0.0.20__tar.gz → 2.0.0__tar.gz

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 (274) hide show
  1. {phenoml-0.0.20 → phenoml-2.0.0}/PKG-INFO +1 -1
  2. {phenoml-0.0.20 → phenoml-2.0.0}/pyproject.toml +1 -1
  3. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/client.py +28 -20
  4. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/client.py +2 -24
  5. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/raw_client.py +2 -22
  6. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/raw_client.py +20 -16
  7. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_create_request.py +3 -2
  8. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_template.py +0 -5
  9. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/prompt_template.py +0 -5
  10. phenoml-2.0.0/src/phenoml/construe/__init__.py +63 -0
  11. phenoml-2.0.0/src/phenoml/construe/client.py +886 -0
  12. phenoml-2.0.0/src/phenoml/construe/errors/__init__.py +23 -0
  13. phenoml-2.0.0/src/phenoml/construe/errors/not_implemented_error.py +10 -0
  14. phenoml-2.0.0/src/phenoml/construe/errors/service_unavailable_error.py +10 -0
  15. phenoml-2.0.0/src/phenoml/construe/raw_client.py +1569 -0
  16. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/__init__.py +20 -0
  17. phenoml-2.0.0/src/phenoml/construe/types/code_response.py +32 -0
  18. phenoml-2.0.0/src/phenoml/construe/types/code_system_details.py +37 -0
  19. phenoml-2.0.0/src/phenoml/construe/types/code_system_info.py +27 -0
  20. phenoml-2.0.0/src/phenoml/construe/types/get_code_response.py +34 -0
  21. phenoml-2.0.0/src/phenoml/construe/types/list_code_systems_response.py +20 -0
  22. phenoml-2.0.0/src/phenoml/construe/types/list_codes_response.py +31 -0
  23. phenoml-2.0.0/src/phenoml/construe/types/semantic_search_response.py +25 -0
  24. phenoml-2.0.0/src/phenoml/construe/types/semantic_search_result.py +20 -0
  25. phenoml-2.0.0/src/phenoml/construe/types/text_search_response.py +30 -0
  26. phenoml-2.0.0/src/phenoml/construe/types/text_search_result.py +20 -0
  27. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/client_wrapper.py +2 -2
  28. phenoml-2.0.0/src/phenoml/workflows/errors/not_found_error.py +10 -0
  29. phenoml-0.0.20/src/phenoml/construe/__init__.py +0 -31
  30. phenoml-0.0.20/src/phenoml/construe/client.py +0 -309
  31. phenoml-0.0.20/src/phenoml/construe/errors/__init__.py +0 -11
  32. phenoml-0.0.20/src/phenoml/construe/raw_client.py +0 -526
  33. {phenoml-0.0.20 → phenoml-2.0.0}/LICENSE +0 -0
  34. {phenoml-0.0.20 → phenoml-2.0.0}/README.md +0 -0
  35. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/__init__.py +0 -0
  36. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/__init__.py +0 -0
  37. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/__init__.py +0 -0
  38. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/bad_request_error.py +0 -0
  39. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/forbidden_error.py +0 -0
  40. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/internal_server_error.py +0 -0
  41. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/not_found_error.py +0 -0
  42. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/errors/unauthorized_error.py +0 -0
  43. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/__init__.py +0 -0
  44. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/types/__init__.py +0 -0
  45. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/types/prompts_delete_response.py +0 -0
  46. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/prompts/types/prompts_list_response.py +0 -0
  47. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/__init__.py +0 -0
  48. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_chat_response.py +0 -0
  49. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_create_request_provider.py +0 -0
  50. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_delete_response.py +0 -0
  51. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_get_chat_messages_request_order.py +0 -0
  52. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_get_chat_messages_request_role.py +0 -0
  53. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_get_chat_messages_response.py +0 -0
  54. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_list_response.py +0 -0
  55. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_prompts_response.py +0 -0
  56. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_response.py +0 -0
  57. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/agent_template_provider.py +0 -0
  58. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/chat_message_template.py +0 -0
  59. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/chat_message_template_role.py +0 -0
  60. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/chat_session_template.py +0 -0
  61. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/json_patch.py +0 -0
  62. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/json_patch_operation.py +0 -0
  63. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/json_patch_operation_op.py +0 -0
  64. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/agent/types/success_response.py +0 -0
  65. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/__init__.py +0 -0
  66. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/auth/__init__.py +0 -0
  67. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/auth/client.py +0 -0
  68. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/auth/raw_client.py +0 -0
  69. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/auth/types/__init__.py +0 -0
  70. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/auth/types/auth_generate_token_response.py +0 -0
  71. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/client.py +0 -0
  72. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/errors/__init__.py +0 -0
  73. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/errors/bad_request_error.py +0 -0
  74. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/errors/unauthorized_error.py +0 -0
  75. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/raw_client.py +0 -0
  76. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/types/__init__.py +0 -0
  77. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/types/bad_request_error_body.py +0 -0
  78. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/authtoken/types/unauthorized_error_body.py +0 -0
  79. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/client.py +0 -0
  80. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/__init__.py +0 -0
  81. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/client.py +0 -0
  82. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/errors/__init__.py +0 -0
  83. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/errors/bad_request_error.py +0 -0
  84. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/errors/internal_server_error.py +0 -0
  85. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/errors/unauthorized_error.py +0 -0
  86. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/raw_client.py +0 -0
  87. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/types/__init__.py +0 -0
  88. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/types/cohort_response.py +0 -0
  89. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/cohort/types/search_concept.py +0 -0
  90. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/errors/bad_request_error.py +0 -0
  91. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/errors/conflict_error.py +0 -0
  92. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/errors/failed_dependency_error.py +0 -0
  93. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/errors/internal_server_error.py +0 -0
  94. {phenoml-0.0.20/src/phenoml/fhir → phenoml-2.0.0/src/phenoml/construe}/errors/not_found_error.py +0 -0
  95. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/errors/unauthorized_error.py +0 -0
  96. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/construe_upload_code_system_response.py +0 -0
  97. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extract_codes_result.py +0 -0
  98. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extract_request_config.py +0 -0
  99. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extract_request_config_chunking_method.py +0 -0
  100. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extract_request_config_validation_method.py +0 -0
  101. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extract_request_system.py +0 -0
  102. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/extracted_code_result.py +0 -0
  103. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/construe/types/upload_request_format.py +0 -0
  104. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/__init__.py +0 -0
  105. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/api_error.py +0 -0
  106. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/datetime_utils.py +0 -0
  107. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/file.py +0 -0
  108. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/force_multipart.py +0 -0
  109. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/http_client.py +0 -0
  110. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/http_response.py +0 -0
  111. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/jsonable_encoder.py +0 -0
  112. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/pydantic_utilities.py +0 -0
  113. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/query_encoder.py +0 -0
  114. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/remove_none_from_dict.py +0 -0
  115. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/request_options.py +0 -0
  116. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/core/serialization.py +0 -0
  117. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/environment.py +0 -0
  118. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/__init__.py +0 -0
  119. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/client.py +0 -0
  120. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/errors/__init__.py +0 -0
  121. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/errors/bad_request_error.py +0 -0
  122. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/errors/internal_server_error.py +0 -0
  123. {phenoml-0.0.20/src/phenoml/fhir_provider → phenoml-2.0.0/src/phenoml/fhir}/errors/not_found_error.py +0 -0
  124. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/errors/unauthorized_error.py +0 -0
  125. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/raw_client.py +0 -0
  126. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/__init__.py +0 -0
  127. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/error_response.py +0 -0
  128. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_bundle.py +0 -0
  129. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_bundle_entry_item.py +0 -0
  130. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_request.py +0 -0
  131. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_request_method.py +0 -0
  132. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_bundle_entry_item_response.py +0 -0
  133. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_patch_request_body_item.py +0 -0
  134. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_patch_request_body_item_op.py +0 -0
  135. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_resource.py +0 -0
  136. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_resource_meta.py +0 -0
  137. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir/types/fhir_search_response.py +0 -0
  138. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/__init__.py +0 -0
  139. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/client.py +0 -0
  140. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/errors/__init__.py +0 -0
  141. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/errors/bad_request_error.py +0 -0
  142. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/errors/forbidden_error.py +0 -0
  143. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/errors/internal_server_error.py +0 -0
  144. {phenoml-0.0.20/src/phenoml/summary → phenoml-2.0.0/src/phenoml/fhir_provider}/errors/not_found_error.py +0 -0
  145. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/errors/unauthorized_error.py +0 -0
  146. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/raw_client.py +0 -0
  147. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/__init__.py +0 -0
  148. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/auth_method.py +0 -0
  149. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_auth_config.py +0 -0
  150. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_delete_response.py +0 -0
  151. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_list_response.py +0 -0
  152. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_list_response_fhir_providers_item.py +0 -0
  153. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_remove_auth_config_response.py +0 -0
  154. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_response.py +0 -0
  155. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_response_data.py +0 -0
  156. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_sandbox_info.py +0 -0
  157. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_provider_template.py +0 -0
  158. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_query_response.py +0 -0
  159. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/fhir_query_response_data.py +0 -0
  160. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/json_web_key.py +0 -0
  161. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/provider.py +0 -0
  162. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/role.py +0 -0
  163. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/service_account_key.py +0 -0
  164. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/service_account_metadata.py +0 -0
  165. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/fhir_provider/types/smart_configuration.py +0 -0
  166. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/__init__.py +0 -0
  167. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/client.py +0 -0
  168. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/__init__.py +0 -0
  169. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/bad_request_error.py +0 -0
  170. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/failed_dependency_error.py +0 -0
  171. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/forbidden_error.py +0 -0
  172. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/internal_server_error.py +0 -0
  173. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/errors/unauthorized_error.py +0 -0
  174. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/raw_client.py +0 -0
  175. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/__init__.py +0 -0
  176. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_multi_response.py +0 -0
  177. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle.py +0 -0
  178. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle_entry_item.py +0 -0
  179. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_multi_response_bundle_entry_item_request.py +0 -0
  180. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_multi_response_resources_item.py +0 -0
  181. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/create_request_resource.py +0 -0
  182. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/document_request_file_type.py +0 -0
  183. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/document_request_resource.py +0 -0
  184. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/fhir_resource.py +0 -0
  185. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/lang2fhir_upload_profile_response.py +0 -0
  186. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/search_response.py +0 -0
  187. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/lang2fhir/types/search_response_resource_type.py +0 -0
  188. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/py.typed +0 -0
  189. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/__init__.py +0 -0
  190. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/client.py +0 -0
  191. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/errors/__init__.py +0 -0
  192. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/errors/bad_request_error.py +0 -0
  193. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/errors/forbidden_error.py +0 -0
  194. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/errors/internal_server_error.py +0 -0
  195. {phenoml-0.0.20/src/phenoml/workflows → phenoml-2.0.0/src/phenoml/summary}/errors/not_found_error.py +0 -0
  196. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/errors/unauthorized_error.py +0 -0
  197. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/raw_client.py +0 -0
  198. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/__init__.py +0 -0
  199. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/create_summary_request_fhir_resources.py +0 -0
  200. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/create_summary_request_mode.py +0 -0
  201. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/create_summary_response.py +0 -0
  202. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/create_summary_template_response.py +0 -0
  203. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/error_response.py +0 -0
  204. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/fhir_bundle.py +0 -0
  205. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/fhir_bundle_entry_item.py +0 -0
  206. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/fhir_resource.py +0 -0
  207. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/summary_delete_template_response.py +0 -0
  208. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/summary_get_template_response.py +0 -0
  209. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/summary_list_templates_response.py +0 -0
  210. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/summary_template.py +0 -0
  211. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/summary/types/summary_update_template_response.py +0 -0
  212. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/__init__.py +0 -0
  213. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/client.py +0 -0
  214. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/__init__.py +0 -0
  215. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/bad_request_error.py +0 -0
  216. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/failed_dependency_error.py +0 -0
  217. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/forbidden_error.py +0 -0
  218. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/internal_server_error.py +0 -0
  219. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/errors/unauthorized_error.py +0 -0
  220. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/__init__.py +0 -0
  221. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/client.py +0 -0
  222. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/raw_client.py +0 -0
  223. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/tools/__init__.py +0 -0
  224. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/tools/client.py +0 -0
  225. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/mcp_server/tools/raw_client.py +0 -0
  226. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/raw_client.py +0 -0
  227. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/__init__.py +0 -0
  228. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/cohort_response.py +0 -0
  229. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response.py +0 -0
  230. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response_resource_info_item.py +0 -0
  231. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_create_multi_response_response_bundle.py +0 -0
  232. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_create_request_resource.py +0 -0
  233. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_create_response.py +0 -0
  234. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/lang2fhir_and_search_response.py +0 -0
  235. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/mcp_server_response.py +0 -0
  236. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/mcp_server_response_data.py +0 -0
  237. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/mcp_server_tool_call_response.py +0 -0
  238. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/mcp_server_tool_response.py +0 -0
  239. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/mcp_server_tool_response_data.py +0 -0
  240. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/tools/types/search_concept.py +0 -0
  241. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/version.py +0 -0
  242. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/__init__.py +0 -0
  243. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/client.py +0 -0
  244. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/errors/__init__.py +0 -0
  245. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/errors/bad_request_error.py +0 -0
  246. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/errors/forbidden_error.py +0 -0
  247. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/errors/internal_server_error.py +0 -0
  248. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/errors/unauthorized_error.py +0 -0
  249. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/raw_client.py +0 -0
  250. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/__init__.py +0 -0
  251. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/create_workflow_request_fhir_provider_id.py +0 -0
  252. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/create_workflow_response.py +0 -0
  253. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/decision_node_definition.py +0 -0
  254. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/execute_workflow_response.py +0 -0
  255. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/execute_workflow_response_results.py +0 -0
  256. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/lang2fhir_create_definition.py +0 -0
  257. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/lang2fhir_search_definition.py +0 -0
  258. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/list_workflows_response.py +0 -0
  259. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/step_operation.py +0 -0
  260. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/sub_workflow_definition.py +0 -0
  261. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/update_workflow_request_fhir_provider_id.py +0 -0
  262. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_config.py +0 -0
  263. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_definition.py +0 -0
  264. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_graph.py +0 -0
  265. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_response.py +0 -0
  266. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_response_graph.py +0 -0
  267. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_step.py +0 -0
  268. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_step_summary.py +0 -0
  269. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_step_summary_type.py +0 -0
  270. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflow_step_type.py +0 -0
  271. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflows_delete_response.py +0 -0
  272. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflows_get_response.py +0 -0
  273. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/workflows/types/workflows_update_response.py +0 -0
  274. {phenoml-0.0.20 → phenoml-2.0.0}/src/phenoml/wrapper_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phenoml
3
- Version: 0.0.20
3
+ Version: 2.0.0
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ name = "phenoml"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "phenoml"
6
- version = "0.0.20"
6
+ version = "2.0.0"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -41,10 +41,10 @@ class AgentClient:
41
41
  *,
42
42
  name: str,
43
43
  prompts: typing.Sequence[str],
44
+ provider: AgentCreateRequestProvider,
44
45
  description: typing.Optional[str] = OMIT,
45
46
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
46
47
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
47
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
48
48
  request_options: typing.Optional[RequestOptions] = None,
49
49
  ) -> AgentResponse:
50
50
  """
@@ -58,6 +58,10 @@ class AgentClient:
58
58
  prompts : typing.Sequence[str]
59
59
  Array of prompt IDs to use for this agent
60
60
 
61
+ provider : AgentCreateRequestProvider
62
+ FHIR provider ID(s) for this agent. Required.
63
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
64
+
61
65
  description : typing.Optional[str]
62
66
  Agent description
63
67
 
@@ -67,9 +71,6 @@ class AgentClient:
67
71
  tags : typing.Optional[typing.Sequence[str]]
68
72
  Tags for categorizing the agent
69
73
 
70
- provider : typing.Optional[AgentCreateRequestProvider]
71
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
72
-
73
74
  request_options : typing.Optional[RequestOptions]
74
75
  Request-specific configuration.
75
76
 
@@ -88,15 +89,16 @@ class AgentClient:
88
89
  client.agent.create(
89
90
  name="name",
90
91
  prompts=["prompt_123", "prompt_456"],
92
+ provider="provider",
91
93
  )
92
94
  """
93
95
  _response = self._raw_client.create(
94
96
  name=name,
95
97
  prompts=prompts,
98
+ provider=provider,
96
99
  description=description,
97
100
  tools=tools,
98
101
  tags=tags,
99
- provider=provider,
100
102
  request_options=request_options,
101
103
  )
102
104
  return _response.data
@@ -171,10 +173,10 @@ class AgentClient:
171
173
  *,
172
174
  name: str,
173
175
  prompts: typing.Sequence[str],
176
+ provider: AgentCreateRequestProvider,
174
177
  description: typing.Optional[str] = OMIT,
175
178
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
176
179
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
177
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
178
180
  request_options: typing.Optional[RequestOptions] = None,
179
181
  ) -> AgentResponse:
180
182
  """
@@ -191,6 +193,10 @@ class AgentClient:
191
193
  prompts : typing.Sequence[str]
192
194
  Array of prompt IDs to use for this agent
193
195
 
196
+ provider : AgentCreateRequestProvider
197
+ FHIR provider ID(s) for this agent. Required.
198
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
199
+
194
200
  description : typing.Optional[str]
195
201
  Agent description
196
202
 
@@ -200,9 +206,6 @@ class AgentClient:
200
206
  tags : typing.Optional[typing.Sequence[str]]
201
207
  Tags for categorizing the agent
202
208
 
203
- provider : typing.Optional[AgentCreateRequestProvider]
204
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
205
-
206
209
  request_options : typing.Optional[RequestOptions]
207
210
  Request-specific configuration.
208
211
 
@@ -222,16 +225,17 @@ class AgentClient:
222
225
  id="id",
223
226
  name="name",
224
227
  prompts=["prompt_123", "prompt_456"],
228
+ provider="provider",
225
229
  )
226
230
  """
227
231
  _response = self._raw_client.update(
228
232
  id,
229
233
  name=name,
230
234
  prompts=prompts,
235
+ provider=provider,
231
236
  description=description,
232
237
  tools=tools,
233
238
  tags=tags,
234
- provider=provider,
235
239
  request_options=request_options,
236
240
  )
237
241
  return _response.data
@@ -474,10 +478,10 @@ class AsyncAgentClient:
474
478
  *,
475
479
  name: str,
476
480
  prompts: typing.Sequence[str],
481
+ provider: AgentCreateRequestProvider,
477
482
  description: typing.Optional[str] = OMIT,
478
483
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
479
484
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
480
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
481
485
  request_options: typing.Optional[RequestOptions] = None,
482
486
  ) -> AgentResponse:
483
487
  """
@@ -491,6 +495,10 @@ class AsyncAgentClient:
491
495
  prompts : typing.Sequence[str]
492
496
  Array of prompt IDs to use for this agent
493
497
 
498
+ provider : AgentCreateRequestProvider
499
+ FHIR provider ID(s) for this agent. Required.
500
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
501
+
494
502
  description : typing.Optional[str]
495
503
  Agent description
496
504
 
@@ -500,9 +508,6 @@ class AsyncAgentClient:
500
508
  tags : typing.Optional[typing.Sequence[str]]
501
509
  Tags for categorizing the agent
502
510
 
503
- provider : typing.Optional[AgentCreateRequestProvider]
504
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
505
-
506
511
  request_options : typing.Optional[RequestOptions]
507
512
  Request-specific configuration.
508
513
 
@@ -526,6 +531,7 @@ class AsyncAgentClient:
526
531
  await client.agent.create(
527
532
  name="name",
528
533
  prompts=["prompt_123", "prompt_456"],
534
+ provider="provider",
529
535
  )
530
536
 
531
537
 
@@ -534,10 +540,10 @@ class AsyncAgentClient:
534
540
  _response = await self._raw_client.create(
535
541
  name=name,
536
542
  prompts=prompts,
543
+ provider=provider,
537
544
  description=description,
538
545
  tools=tools,
539
546
  tags=tags,
540
- provider=provider,
541
547
  request_options=request_options,
542
548
  )
543
549
  return _response.data
@@ -628,10 +634,10 @@ class AsyncAgentClient:
628
634
  *,
629
635
  name: str,
630
636
  prompts: typing.Sequence[str],
637
+ provider: AgentCreateRequestProvider,
631
638
  description: typing.Optional[str] = OMIT,
632
639
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
633
640
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
634
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
635
641
  request_options: typing.Optional[RequestOptions] = None,
636
642
  ) -> AgentResponse:
637
643
  """
@@ -648,6 +654,10 @@ class AsyncAgentClient:
648
654
  prompts : typing.Sequence[str]
649
655
  Array of prompt IDs to use for this agent
650
656
 
657
+ provider : AgentCreateRequestProvider
658
+ FHIR provider ID(s) for this agent. Required.
659
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
660
+
651
661
  description : typing.Optional[str]
652
662
  Agent description
653
663
 
@@ -657,9 +667,6 @@ class AsyncAgentClient:
657
667
  tags : typing.Optional[typing.Sequence[str]]
658
668
  Tags for categorizing the agent
659
669
 
660
- provider : typing.Optional[AgentCreateRequestProvider]
661
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
662
-
663
670
  request_options : typing.Optional[RequestOptions]
664
671
  Request-specific configuration.
665
672
 
@@ -684,6 +691,7 @@ class AsyncAgentClient:
684
691
  id="id",
685
692
  name="name",
686
693
  prompts=["prompt_123", "prompt_456"],
694
+ provider="provider",
687
695
  )
688
696
 
689
697
 
@@ -693,10 +701,10 @@ class AsyncAgentClient:
693
701
  id,
694
702
  name=name,
695
703
  prompts=prompts,
704
+ provider=provider,
696
705
  description=description,
697
706
  tools=tools,
698
707
  tags=tags,
699
- provider=provider,
700
708
  request_options=request_options,
701
709
  )
702
710
  return _response.data
@@ -35,7 +35,6 @@ class PromptsClient:
35
35
  *,
36
36
  name: str,
37
37
  content: str,
38
- is_active: bool,
39
38
  description: typing.Optional[str] = OMIT,
40
39
  is_default: typing.Optional[bool] = OMIT,
41
40
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -52,9 +51,6 @@ class PromptsClient:
52
51
  content : str
53
52
  Prompt content
54
53
 
55
- is_active : bool
56
- Whether the prompt is active
57
-
58
54
  description : typing.Optional[str]
59
55
  Prompt description
60
56
 
@@ -82,13 +78,11 @@ class PromptsClient:
82
78
  client.agent.prompts.create(
83
79
  name="Medical Assistant System Prompt",
84
80
  content="You are a helpful medical assistant specialized in FHIR data processing...",
85
- is_active=True,
86
81
  )
87
82
  """
88
83
  _response = self._raw_client.create(
89
84
  name=name,
90
85
  content=content,
91
- is_active=is_active,
92
86
  description=description,
93
87
  is_default=is_default,
94
88
  tags=tags,
@@ -161,7 +155,6 @@ class PromptsClient:
161
155
  description: typing.Optional[str] = OMIT,
162
156
  content: typing.Optional[str] = OMIT,
163
157
  is_default: typing.Optional[bool] = OMIT,
164
- is_active: typing.Optional[bool] = OMIT,
165
158
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
166
159
  request_options: typing.Optional[RequestOptions] = None,
167
160
  ) -> AgentPromptsResponse:
@@ -185,9 +178,6 @@ class PromptsClient:
185
178
  is_default : typing.Optional[bool]
186
179
  Whether this is a default prompt
187
180
 
188
- is_active : typing.Optional[bool]
189
- Whether the prompt is active
190
-
191
181
  tags : typing.Optional[typing.Sequence[str]]
192
182
  Tags for categorizing the prompt
193
183
 
@@ -216,7 +206,6 @@ class PromptsClient:
216
206
  description=description,
217
207
  content=content,
218
208
  is_default=is_default,
219
- is_active=is_active,
220
209
  tags=tags,
221
210
  request_options=request_options,
222
211
  )
@@ -224,7 +213,7 @@ class PromptsClient:
224
213
 
225
214
  def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PromptsDeleteResponse:
226
215
  """
227
- Soft deletes a prompt by setting is_active to false
216
+ Deletes a prompt
228
217
 
229
218
  Parameters
230
219
  ----------
@@ -352,7 +341,6 @@ class AsyncPromptsClient:
352
341
  *,
353
342
  name: str,
354
343
  content: str,
355
- is_active: bool,
356
344
  description: typing.Optional[str] = OMIT,
357
345
  is_default: typing.Optional[bool] = OMIT,
358
346
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -369,9 +357,6 @@ class AsyncPromptsClient:
369
357
  content : str
370
358
  Prompt content
371
359
 
372
- is_active : bool
373
- Whether the prompt is active
374
-
375
360
  description : typing.Optional[str]
376
361
  Prompt description
377
362
 
@@ -404,7 +389,6 @@ class AsyncPromptsClient:
404
389
  await client.agent.prompts.create(
405
390
  name="Medical Assistant System Prompt",
406
391
  content="You are a helpful medical assistant specialized in FHIR data processing...",
407
- is_active=True,
408
392
  )
409
393
 
410
394
 
@@ -413,7 +397,6 @@ class AsyncPromptsClient:
413
397
  _response = await self._raw_client.create(
414
398
  name=name,
415
399
  content=content,
416
- is_active=is_active,
417
400
  description=description,
418
401
  is_default=is_default,
419
402
  tags=tags,
@@ -502,7 +485,6 @@ class AsyncPromptsClient:
502
485
  description: typing.Optional[str] = OMIT,
503
486
  content: typing.Optional[str] = OMIT,
504
487
  is_default: typing.Optional[bool] = OMIT,
505
- is_active: typing.Optional[bool] = OMIT,
506
488
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
507
489
  request_options: typing.Optional[RequestOptions] = None,
508
490
  ) -> AgentPromptsResponse:
@@ -526,9 +508,6 @@ class AsyncPromptsClient:
526
508
  is_default : typing.Optional[bool]
527
509
  Whether this is a default prompt
528
510
 
529
- is_active : typing.Optional[bool]
530
- Whether the prompt is active
531
-
532
511
  tags : typing.Optional[typing.Sequence[str]]
533
512
  Tags for categorizing the prompt
534
513
 
@@ -565,7 +544,6 @@ class AsyncPromptsClient:
565
544
  description=description,
566
545
  content=content,
567
546
  is_default=is_default,
568
- is_active=is_active,
569
547
  tags=tags,
570
548
  request_options=request_options,
571
549
  )
@@ -575,7 +553,7 @@ class AsyncPromptsClient:
575
553
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
576
554
  ) -> PromptsDeleteResponse:
577
555
  """
578
- Soft deletes a prompt by setting is_active to false
556
+ Deletes a prompt
579
557
 
580
558
  Parameters
581
559
  ----------
@@ -34,7 +34,6 @@ class RawPromptsClient:
34
34
  *,
35
35
  name: str,
36
36
  content: str,
37
- is_active: bool,
38
37
  description: typing.Optional[str] = OMIT,
39
38
  is_default: typing.Optional[bool] = OMIT,
40
39
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -51,9 +50,6 @@ class RawPromptsClient:
51
50
  content : str
52
51
  Prompt content
53
52
 
54
- is_active : bool
55
- Whether the prompt is active
56
-
57
53
  description : typing.Optional[str]
58
54
  Prompt description
59
55
 
@@ -79,7 +75,6 @@ class RawPromptsClient:
79
75
  "description": description,
80
76
  "content": content,
81
77
  "is_default": is_default,
82
- "is_active": is_active,
83
78
  "tags": tags,
84
79
  },
85
80
  headers={
@@ -305,7 +300,6 @@ class RawPromptsClient:
305
300
  description: typing.Optional[str] = OMIT,
306
301
  content: typing.Optional[str] = OMIT,
307
302
  is_default: typing.Optional[bool] = OMIT,
308
- is_active: typing.Optional[bool] = OMIT,
309
303
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
310
304
  request_options: typing.Optional[RequestOptions] = None,
311
305
  ) -> HttpResponse[AgentPromptsResponse]:
@@ -329,9 +323,6 @@ class RawPromptsClient:
329
323
  is_default : typing.Optional[bool]
330
324
  Whether this is a default prompt
331
325
 
332
- is_active : typing.Optional[bool]
333
- Whether the prompt is active
334
-
335
326
  tags : typing.Optional[typing.Sequence[str]]
336
327
  Tags for categorizing the prompt
337
328
 
@@ -351,7 +342,6 @@ class RawPromptsClient:
351
342
  "description": description,
352
343
  "content": content,
353
344
  "is_default": is_default,
354
- "is_active": is_active,
355
345
  "tags": tags,
356
346
  },
357
347
  headers={
@@ -434,7 +424,7 @@ class RawPromptsClient:
434
424
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
435
425
  ) -> HttpResponse[PromptsDeleteResponse]:
436
426
  """
437
- Soft deletes a prompt by setting is_active to false
427
+ Deletes a prompt
438
428
 
439
429
  Parameters
440
430
  ----------
@@ -693,7 +683,6 @@ class AsyncRawPromptsClient:
693
683
  *,
694
684
  name: str,
695
685
  content: str,
696
- is_active: bool,
697
686
  description: typing.Optional[str] = OMIT,
698
687
  is_default: typing.Optional[bool] = OMIT,
699
688
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -710,9 +699,6 @@ class AsyncRawPromptsClient:
710
699
  content : str
711
700
  Prompt content
712
701
 
713
- is_active : bool
714
- Whether the prompt is active
715
-
716
702
  description : typing.Optional[str]
717
703
  Prompt description
718
704
 
@@ -738,7 +724,6 @@ class AsyncRawPromptsClient:
738
724
  "description": description,
739
725
  "content": content,
740
726
  "is_default": is_default,
741
- "is_active": is_active,
742
727
  "tags": tags,
743
728
  },
744
729
  headers={
@@ -966,7 +951,6 @@ class AsyncRawPromptsClient:
966
951
  description: typing.Optional[str] = OMIT,
967
952
  content: typing.Optional[str] = OMIT,
968
953
  is_default: typing.Optional[bool] = OMIT,
969
- is_active: typing.Optional[bool] = OMIT,
970
954
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
971
955
  request_options: typing.Optional[RequestOptions] = None,
972
956
  ) -> AsyncHttpResponse[AgentPromptsResponse]:
@@ -990,9 +974,6 @@ class AsyncRawPromptsClient:
990
974
  is_default : typing.Optional[bool]
991
975
  Whether this is a default prompt
992
976
 
993
- is_active : typing.Optional[bool]
994
- Whether the prompt is active
995
-
996
977
  tags : typing.Optional[typing.Sequence[str]]
997
978
  Tags for categorizing the prompt
998
979
 
@@ -1012,7 +993,6 @@ class AsyncRawPromptsClient:
1012
993
  "description": description,
1013
994
  "content": content,
1014
995
  "is_default": is_default,
1015
- "is_active": is_active,
1016
996
  "tags": tags,
1017
997
  },
1018
998
  headers={
@@ -1095,7 +1075,7 @@ class AsyncRawPromptsClient:
1095
1075
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
1096
1076
  ) -> AsyncHttpResponse[PromptsDeleteResponse]:
1097
1077
  """
1098
- Soft deletes a prompt by setting is_active to false
1078
+ Deletes a prompt
1099
1079
 
1100
1080
  Parameters
1101
1081
  ----------
@@ -38,10 +38,10 @@ class RawAgentClient:
38
38
  *,
39
39
  name: str,
40
40
  prompts: typing.Sequence[str],
41
+ provider: AgentCreateRequestProvider,
41
42
  description: typing.Optional[str] = OMIT,
42
43
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
43
44
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
44
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
45
45
  request_options: typing.Optional[RequestOptions] = None,
46
46
  ) -> HttpResponse[AgentResponse]:
47
47
  """
@@ -55,6 +55,10 @@ class RawAgentClient:
55
55
  prompts : typing.Sequence[str]
56
56
  Array of prompt IDs to use for this agent
57
57
 
58
+ provider : AgentCreateRequestProvider
59
+ FHIR provider ID(s) for this agent. Required.
60
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
61
+
58
62
  description : typing.Optional[str]
59
63
  Agent description
60
64
 
@@ -64,9 +68,6 @@ class RawAgentClient:
64
68
  tags : typing.Optional[typing.Sequence[str]]
65
69
  Tags for categorizing the agent
66
70
 
67
- provider : typing.Optional[AgentCreateRequestProvider]
68
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
69
-
70
71
  request_options : typing.Optional[RequestOptions]
71
72
  Request-specific configuration.
72
73
 
@@ -315,10 +316,10 @@ class RawAgentClient:
315
316
  *,
316
317
  name: str,
317
318
  prompts: typing.Sequence[str],
319
+ provider: AgentCreateRequestProvider,
318
320
  description: typing.Optional[str] = OMIT,
319
321
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
320
322
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
321
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
322
323
  request_options: typing.Optional[RequestOptions] = None,
323
324
  ) -> HttpResponse[AgentResponse]:
324
325
  """
@@ -335,6 +336,10 @@ class RawAgentClient:
335
336
  prompts : typing.Sequence[str]
336
337
  Array of prompt IDs to use for this agent
337
338
 
339
+ provider : AgentCreateRequestProvider
340
+ FHIR provider ID(s) for this agent. Required.
341
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
342
+
338
343
  description : typing.Optional[str]
339
344
  Agent description
340
345
 
@@ -344,9 +349,6 @@ class RawAgentClient:
344
349
  tags : typing.Optional[typing.Sequence[str]]
345
350
  Tags for categorizing the agent
346
351
 
347
- provider : typing.Optional[AgentCreateRequestProvider]
348
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
349
-
350
352
  request_options : typing.Optional[RequestOptions]
351
353
  Request-specific configuration.
352
354
 
@@ -858,10 +860,10 @@ class AsyncRawAgentClient:
858
860
  *,
859
861
  name: str,
860
862
  prompts: typing.Sequence[str],
863
+ provider: AgentCreateRequestProvider,
861
864
  description: typing.Optional[str] = OMIT,
862
865
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
863
866
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
864
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
865
867
  request_options: typing.Optional[RequestOptions] = None,
866
868
  ) -> AsyncHttpResponse[AgentResponse]:
867
869
  """
@@ -875,6 +877,10 @@ class AsyncRawAgentClient:
875
877
  prompts : typing.Sequence[str]
876
878
  Array of prompt IDs to use for this agent
877
879
 
880
+ provider : AgentCreateRequestProvider
881
+ FHIR provider ID(s) for this agent. Required.
882
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
883
+
878
884
  description : typing.Optional[str]
879
885
  Agent description
880
886
 
@@ -884,9 +890,6 @@ class AsyncRawAgentClient:
884
890
  tags : typing.Optional[typing.Sequence[str]]
885
891
  Tags for categorizing the agent
886
892
 
887
- provider : typing.Optional[AgentCreateRequestProvider]
888
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
889
-
890
893
  request_options : typing.Optional[RequestOptions]
891
894
  Request-specific configuration.
892
895
 
@@ -1137,10 +1140,10 @@ class AsyncRawAgentClient:
1137
1140
  *,
1138
1141
  name: str,
1139
1142
  prompts: typing.Sequence[str],
1143
+ provider: AgentCreateRequestProvider,
1140
1144
  description: typing.Optional[str] = OMIT,
1141
1145
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
1142
1146
  tags: typing.Optional[typing.Sequence[str]] = OMIT,
1143
- provider: typing.Optional[AgentCreateRequestProvider] = OMIT,
1144
1147
  request_options: typing.Optional[RequestOptions] = None,
1145
1148
  ) -> AsyncHttpResponse[AgentResponse]:
1146
1149
  """
@@ -1157,6 +1160,10 @@ class AsyncRawAgentClient:
1157
1160
  prompts : typing.Sequence[str]
1158
1161
  Array of prompt IDs to use for this agent
1159
1162
 
1163
+ provider : AgentCreateRequestProvider
1164
+ FHIR provider ID(s) for this agent. Required.
1165
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
1166
+
1160
1167
  description : typing.Optional[str]
1161
1168
  Agent description
1162
1169
 
@@ -1166,9 +1173,6 @@ class AsyncRawAgentClient:
1166
1173
  tags : typing.Optional[typing.Sequence[str]]
1167
1174
  Tags for categorizing the agent
1168
1175
 
1169
- provider : typing.Optional[AgentCreateRequestProvider]
1170
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
1171
-
1172
1176
  request_options : typing.Optional[RequestOptions]
1173
1177
  Request-specific configuration.
1174
1178
 
@@ -33,9 +33,10 @@ class AgentCreateRequest(UniversalBaseModel):
33
33
  Tags for categorizing the agent
34
34
  """
35
35
 
36
- provider: typing.Optional[AgentCreateRequestProvider] = pydantic.Field(default=None)
36
+ provider: AgentCreateRequestProvider = pydantic.Field()
37
37
  """
38
- FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers
38
+ FHIR provider ID(s) for this agent. Required.
39
+ In shared/experiment environments, the default sandbox provider is used if a different provider is not explicitly specified.
39
40
  """
40
41
 
41
42
  if IS_PYDANTIC_V2:
@@ -33,11 +33,6 @@ class AgentTemplate(UniversalBaseModel):
33
33
  Array of MCP server tool IDs used by this agent
34
34
  """
35
35
 
36
- is_active: typing.Optional[bool] = pydantic.Field(default=None)
37
- """
38
- Whether the agent is active
39
- """
40
-
41
36
  tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
42
37
  """
43
38
  Tags for categorizing the agent
@@ -32,11 +32,6 @@ class PromptTemplate(UniversalBaseModel):
32
32
  Whether this is a default prompt
33
33
  """
34
34
 
35
- is_active: typing.Optional[bool] = pydantic.Field(default=None)
36
- """
37
- Whether the prompt is active
38
- """
39
-
40
35
  tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
41
36
  """
42
37
  Tags for categorizing the prompt