fountain-life-service-clients 3.38.0__py3-none-any.whl → 3.40.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/survey_service.py +13 -2
- {fountain_life_service_clients-3.38.0.dist-info → fountain_life_service_clients-3.40.0.dist-info}/METADATA +1 -1
- {fountain_life_service_clients-3.38.0.dist-info → fountain_life_service_clients-3.40.0.dist-info}/RECORD +4 -4
- {fountain_life_service_clients-3.38.0.dist-info → fountain_life_service_clients-3.40.0.dist-info}/WHEEL +0 -0
@@ -34,7 +34,7 @@ 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"]]
|
@@ -79,6 +79,11 @@ class PutSurveyResponseAttachmentLinkRequest(TypedDict):
|
|
79
79
|
contentType: str
|
80
80
|
|
81
81
|
|
82
|
+
class GetSurveyResponseAttachmentParams(TypedDict):
|
83
|
+
include: NotRequired[Literal["downloadUrl"]]
|
84
|
+
includeContentDisposition: NotRequired[bool]
|
85
|
+
|
86
|
+
|
82
87
|
class PostSurveyRequest(TypedDict):
|
83
88
|
resourceType: Literal["Questionnaire"]
|
84
89
|
title: str
|
@@ -219,12 +224,18 @@ class SurveyServiceClient(BaseClient):
|
|
219
224
|
return cast(AlphaResponse[Any], res)
|
220
225
|
|
221
226
|
async def get_survey_response_attachment(
|
222
|
-
self,
|
227
|
+
self,
|
228
|
+
project_id: str,
|
229
|
+
response_id: str,
|
230
|
+
link_id: str,
|
231
|
+
file_id: str,
|
232
|
+
params: GetSurveyResponseAttachmentParams,
|
223
233
|
):
|
224
234
|
"""Fetch a survey attachment"""
|
225
235
|
res = await self.client.request(
|
226
236
|
path=f"/v1/survey/projects/{quote(project_id)}/responses/{quote(response_id)}/attachments/{quote(link_id)}/{quote(file_id)}",
|
227
237
|
method="GET",
|
238
|
+
params=cast(dict, params),
|
228
239
|
)
|
229
240
|
return cast(AlphaResponse[Any], res)
|
230
241
|
|
@@ -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=RPpPBhXqmvYZ-T4n1BFX9TUSAfnnjfVcUo3k76a91PQ,14206
|
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.40.0.dist-info/METADATA,sha256=WertbNkjZNj4BvxauFze9QJDcB2-vGvRbE77vWFCfpY,1405
|
31
|
+
fountain_life_service_clients-3.40.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
32
|
+
fountain_life_service_clients-3.40.0.dist-info/RECORD,,
|
File without changes
|