fountain-life-service-clients 3.37.2__py3-none-any.whl → 3.38.0__py3-none-any.whl
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.
- fountain_life_service_clients/agents_api_service.py +5 -1
- fountain_life_service_clients/genomics_report_service.py +3 -1
- fountain_life_service_clients/survey_service.py +16 -0
- {fountain_life_service_clients-3.37.2.dist-info → fountain_life_service_clients-3.38.0.dist-info}/METADATA +1 -1
- {fountain_life_service_clients-3.37.2.dist-info → fountain_life_service_clients-3.38.0.dist-info}/RECORD +6 -6
- {fountain_life_service_clients-3.37.2.dist-info → fountain_life_service_clients-3.38.0.dist-info}/WHEEL +0 -0
@@ -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",
|
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[
|
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,
|
@@ -2,7 +2,7 @@ fountain_life_service_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
2
2
|
fountain_life_service_clients/_base_client.py,sha256=19AeJmz3H0d4tRdJ-fBcIXhw78hPniyGDfclfr4LC9g,781
|
3
3
|
fountain_life_service_clients/account_service.py,sha256=LI1w20YRz19JpC-8CEdoCpix4zKWSVl6iJ15k0Xc5Vo,3665
|
4
4
|
fountain_life_service_clients/account_service_policy_attributes.py,sha256=yq8JyDtFVhP5QzYvnAyIZGBhRK9Ds8SrMcG6EazPjxs,1523
|
5
|
-
fountain_life_service_clients/agents_api_service.py,sha256=
|
5
|
+
fountain_life_service_clients/agents_api_service.py,sha256=_yRyuyzK0TmHIjJG-541AAzlrDeEmpCsItt-XnCTLA4,6940
|
6
6
|
fountain_life_service_clients/ai_template_service.py,sha256=-yIi1B6C7klUu-r2OxuSamVVi8L_-YQ6M_FAaemfmmM,10667
|
7
7
|
fountain_life_service_clients/claimed_domains_service.py,sha256=qW-7jCdDcB7qz6u5sv9_TESwYPbjWYwSGNnqfcrvyeM,1659
|
8
8
|
fountain_life_service_clients/cohorts_service.py,sha256=B0atrAnVGFG2TWMMORyNlJK0ffKUfI084mISFXZjAtI,4633
|
@@ -14,7 +14,7 @@ fountain_life_service_clients/fhir_post_processor_service.py,sha256=4IsyyRoCIzSN
|
|
14
14
|
fountain_life_service_clients/fhir_search_service.py,sha256=O_y8YrOjvKj_Tfs5Pj4MM4X6RvV1E2s762lRH5U8ji8,6014
|
15
15
|
fountain_life_service_clients/file_service.py,sha256=CY36fpvCAi17npAKAWkFDDaNhwbvTC5hx-sGZmPfyBM,4046
|
16
16
|
fountain_life_service_clients/ga4gh_service.py,sha256=SSFdYM_oW2ZATUOaZT_xjp3jlEJt7rR_ai2US6HolgI,989
|
17
|
-
fountain_life_service_clients/genomics_report_service.py,sha256=
|
17
|
+
fountain_life_service_clients/genomics_report_service.py,sha256=d2w16pZ3ZaakX0pYkidWT7buY-RB_GRzLf0R6lbIvw0,993
|
18
18
|
fountain_life_service_clients/genomics_service.py,sha256=Xx5rhgzjEJfdNA_g0Je4xDo26NKZQiIuNC88cUI-v-s,4225
|
19
19
|
fountain_life_service_clients/invitation_service.py,sha256=tKWgb-bGIwT4x3MWSLiVChQRaZURj43S6Uyrg3Lt7HA,2596
|
20
20
|
fountain_life_service_clients/medical_results_service_results.py,sha256=L0clTifU4LWWKgBsIzEfelmkaICxG1_q8sHyrdA5es4,4876
|
@@ -25,8 +25,8 @@ fountain_life_service_clients/oauth_apps_service.py,sha256=7TvU83CUFE9GTR9zVDRNw
|
|
25
25
|
fountain_life_service_clients/patient_service.py,sha256=gApsPYlCzzklf2ha4TgNBRo2FffECL3-nc8_C7RppIs,4862
|
26
26
|
fountain_life_service_clients/rules_service.py,sha256=VxPYboYQmw--6Kn78RKu6_9as1KgpL_1rz9eyDXUWCo,6912
|
27
27
|
fountain_life_service_clients/scheduler_service.py,sha256=IkwRns_QHh6fx1IZWEXZ35DeRiW7OHaROM5wjWubZm4,4440
|
28
|
-
fountain_life_service_clients/survey_service.py,sha256=
|
28
|
+
fountain_life_service_clients/survey_service.py,sha256=ihFRp7fgY7GHUPt4HSqW2yEGP4zqfc2rLDZD9BWxm1w,13918
|
29
29
|
fountain_life_service_clients/user_service.py,sha256=rM9xcF-VzdLp9aDOhg1UbecX2VPPMxH9PlgpNpGdC18,4253
|
30
|
-
fountain_life_service_clients-3.
|
31
|
-
fountain_life_service_clients-3.
|
32
|
-
fountain_life_service_clients-3.
|
30
|
+
fountain_life_service_clients-3.38.0.dist-info/METADATA,sha256=qyy-rTz0GhVgECa2tB-16S84JG34AOMo3pB6jt8Q8LM,1405
|
31
|
+
fountain_life_service_clients-3.38.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
32
|
+
fountain_life_service_clients-3.38.0.dist-info/RECORD,,
|
File without changes
|