fountain-life-service-clients 3.37.3__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.
@@ -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
  Metadata-Version: 2.4
2
2
  Name: fountain-life-service-clients
3
- Version: 3.37.3
3
+ Version: 3.38.0
4
4
  Summary:
5
5
  License: UNLICENSED
6
6
  Author: Fountain Life
@@ -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=F5J7flSpVvJFmE6vmIEYP5O0s-ZyzBhFYlV7Dr4603w,970
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=hxOl3gBDxEdjrsKcMCoPl9RxumQzRT-e4zTbEAA0Iq4,13343
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.37.3.dist-info/METADATA,sha256=FaAn1ymLRGcpqVftxs_qvxhe8XUpKInggK_QXyjIABE,1405
31
- fountain_life_service_clients-3.37.3.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
32
- fountain_life_service_clients-3.37.3.dist-info/RECORD,,
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,,