fountain-life-service-clients 3.37.2__tar.gz → 3.38.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 (32) hide show
  1. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/PKG-INFO +1 -1
  2. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/agents_api_service.py +5 -1
  3. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/genomics_report_service.py +3 -1
  4. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/survey_service.py +16 -0
  5. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/pyproject.toml +1 -1
  6. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/README.md +0 -0
  7. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/__init__.py +0 -0
  8. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/_base_client.py +0 -0
  9. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/account_service.py +0 -0
  10. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/account_service_policy_attributes.py +0 -0
  11. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/ai_template_service.py +0 -0
  12. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/claimed_domains_service.py +0 -0
  13. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/cohorts_service.py +0 -0
  14. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/ehr_ingestion_wearables_api.py +0 -0
  15. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/ehr_service.py +0 -0
  16. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/email_service_email.py +0 -0
  17. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/email_service_sms.py +0 -0
  18. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/fhir_post_processor_service.py +0 -0
  19. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/fhir_search_service.py +0 -0
  20. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/file_service.py +0 -0
  21. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/ga4gh_service.py +0 -0
  22. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/genomics_service.py +0 -0
  23. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/invitation_service.py +0 -0
  24. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/medical_results_service_results.py +0 -0
  25. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/member_notification_service.py +0 -0
  26. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/member_operations_service_members.py +0 -0
  27. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/member_scheduling_service_scheduling_prompts.py +0 -0
  28. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/oauth_apps_service.py +0 -0
  29. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/patient_service.py +0 -0
  30. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/rules_service.py +0 -0
  31. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/scheduler_service.py +0 -0
  32. {fountain_life_service_clients-3.37.2 → fountain_life_service_clients-3.38.0}/fountain_life_service_clients/user_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fountain-life-service-clients
3
- Version: 3.37.2
3
+ Version: 3.38.0
4
4
  Summary:
5
5
  License: UNLICENSED
6
6
  Author: Fountain Life
@@ -102,6 +102,8 @@ class InvokeActionPlanResponse(TypedDict):
102
102
  class InvokeTemplateRequest(TypedDict):
103
103
  subject_id: str
104
104
  project_id: str
105
+ template_id: str
106
+ instructions: NotRequired[str]
105
107
 
106
108
 
107
109
  class InvokeTemplateResponse(TypedDict):
@@ -211,7 +213,9 @@ class AgentsApiServiceClient(BaseClient):
211
213
  async def invoke_template(self, body: InvokeTemplateRequest):
212
214
  """Invoke the template agent"""
213
215
  res = await self.client.request(
214
- path="/v1/agents-v2/template/invoke", method="POST", body=cast(dict, body)
216
+ path="/v1/agents-v2/template-agent/invoke",
217
+ method="POST",
218
+ body=cast(dict, body),
215
219
  )
216
220
  return cast(AlphaResponse[InvokeTemplateResponse], res)
217
221
 
@@ -7,11 +7,13 @@ from fountain_life_service_clients._base_client import (
7
7
  BaseClient,
8
8
  )
9
9
 
10
+ VariantId = str
11
+
10
12
 
11
13
  class GenerateHereditaryReportRequest(TypedDict):
12
14
  patientId: str
13
15
  variantSetId: str
14
- variantIds: List[str]
16
+ variantIds: List[VariantId]
15
17
 
16
18
 
17
19
  class GenerateHereditaryReportResponse(TypedDict):
@@ -38,6 +38,7 @@ class PostSurveyResponsesRequest(TypedDict):
38
38
  survey: str
39
39
  current: bool
40
40
  notificationType: NotRequired[Literal["EMAIL", "PUSH"]]
41
+ autopopulate: NotRequired[bool]
41
42
  subject: Union[Subject, subject]
42
43
 
43
44
 
@@ -69,6 +70,10 @@ class PutSurveyResponseRequest(TypedDict):
69
70
  item: List
70
71
 
71
72
 
73
+ class AutopopulateSurveyResponseRequest(TypedDict):
74
+ pass
75
+
76
+
72
77
  class PutSurveyResponseAttachmentLinkRequest(TypedDict):
73
78
  fileName: str
74
79
  contentType: str
@@ -187,6 +192,17 @@ class SurveyServiceClient(BaseClient):
187
192
  )
188
193
  return cast(AlphaResponse[Any], res)
189
194
 
195
+ async def autopopulate_survey_response(
196
+ self, project_id: str, response_id: str, body: AutopopulateSurveyResponseRequest
197
+ ):
198
+ """Autopopulate a survey response based on configured rules"""
199
+ res = await self.client.request(
200
+ path=f"/v1/survey/projects/{quote(project_id)}/responses/{quote(response_id)}/autopopulate",
201
+ method="PATCH",
202
+ body=cast(dict, body),
203
+ )
204
+ return cast(AlphaResponse[Any], res)
205
+
190
206
  async def put_survey_response_attachment_link(
191
207
  self,
192
208
  project_id: str,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "fountain-life-service-clients"
3
- version = "3.37.2"
3
+ version = "3.38.0"
4
4
  description = ""
5
5
  authors = ["Fountain Life <dev@fountainlife.com>"]
6
6
  license = "UNLICENSED"