fountain-life-service-clients 3.37.3__py3-none-any.whl → 3.39.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/genomics_report_service.py +3 -1
- fountain_life_service_clients/survey_service.py +17 -1
- {fountain_life_service_clients-3.37.3.dist-info → fountain_life_service_clients-3.39.0.dist-info}/METADATA +1 -1
- {fountain_life_service_clients-3.37.3.dist-info → fountain_life_service_clients-3.39.0.dist-info}/RECORD +5 -5
- {fountain_life_service_clients-3.37.3.dist-info → fountain_life_service_clients-3.39.0.dist-info}/WHEEL +0 -0
@@ -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):
|
@@ -34,10 +34,11 @@ class subject(TypedDict):
|
|
34
34
|
|
35
35
|
|
36
36
|
class PostSurveyResponsesRequest(TypedDict):
|
37
|
-
invite: Invite
|
37
|
+
invite: NotRequired[Invite]
|
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,
|
@@ -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=NQpk3FvNrk3TyQAOyVbGf5wXd0leUaGfs4IzOF_9tXM,13931
|
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.39.0.dist-info/METADATA,sha256=RTl2-55d5WPQn-iReyN3kO-lX1qF9tBxxRLJ8j5-ufw,1405
|
31
|
+
fountain_life_service_clients-3.39.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
32
|
+
fountain_life_service_clients-3.39.0.dist-info/RECORD,,
|
File without changes
|