fountain-life-service-clients 3.40.0__tar.gz → 3.42.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 (33) hide show
  1. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/PKG-INFO +1 -1
  2. fountain_life_service_clients-3.42.0/fountain_life_service_clients/genomic_ingestion_service.py +30 -0
  3. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/genomics_service.py +39 -0
  4. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/pyproject.toml +1 -1
  5. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/README.md +0 -0
  6. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/__init__.py +0 -0
  7. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/_base_client.py +0 -0
  8. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/account_service.py +0 -0
  9. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/account_service_policy_attributes.py +0 -0
  10. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/agents_api_service.py +0 -0
  11. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/ai_template_service.py +0 -0
  12. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/claimed_domains_service.py +0 -0
  13. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/cohorts_service.py +0 -0
  14. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/ehr_ingestion_wearables_api.py +0 -0
  15. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/ehr_service.py +0 -0
  16. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/email_service_email.py +0 -0
  17. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/email_service_sms.py +0 -0
  18. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/fhir_post_processor_service.py +0 -0
  19. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/fhir_search_service.py +0 -0
  20. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/file_service.py +0 -0
  21. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/ga4gh_service.py +0 -0
  22. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/genomics_report_service.py +0 -0
  23. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/invitation_service.py +0 -0
  24. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/medical_results_service_results.py +0 -0
  25. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/member_notification_service.py +0 -0
  26. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/member_operations_service_members.py +0 -0
  27. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/member_scheduling_service_scheduling_prompts.py +0 -0
  28. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/oauth_apps_service.py +0 -0
  29. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/patient_service.py +0 -0
  30. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/rules_service.py +0 -0
  31. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/scheduler_service.py +0 -0
  32. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.0}/fountain_life_service_clients/survey_service.py +0 -0
  33. {fountain_life_service_clients-3.40.0 → fountain_life_service_clients-3.42.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.40.0
3
+ Version: 3.42.0
4
4
  Summary:
5
5
  License: UNLICENSED
6
6
  Author: Fountain Life
@@ -0,0 +1,30 @@
1
+ # This file was generated automatically. Do not edit it directly.
2
+ from typing import TypedDict, Unpack, cast
3
+ from urllib.parse import quote
4
+
5
+ from fountain_life_service_clients._base_client import (
6
+ AlphaConfig,
7
+ AlphaResponse,
8
+ BaseClient,
9
+ )
10
+
11
+
12
+ class GetBroadInfoByGenomicsFileIdResponse(TypedDict):
13
+ orderId: str
14
+ sampleId: str
15
+
16
+
17
+ class GenomicIngestionServiceClient(BaseClient):
18
+ def __init__(self, **cfg: Unpack[AlphaConfig]):
19
+ kwargs = {
20
+ "target": "lambda://genomic-ingestion-service:deployed",
21
+ **(cfg or {}),
22
+ }
23
+ super().__init__(**kwargs)
24
+
25
+ async def get_broad_info_by_genomics_file_id(self, file_id: str):
26
+ """Provide any genomics file id related to a patients broad genomic ingestion and get info to the originating Broad order"""
27
+ res = await self.client.request(
28
+ path=f"/v1/genomic-ingestion/broad/order/{quote(file_id)}", method="GET"
29
+ )
30
+ return cast(AlphaResponse[GetBroadInfoByGenomicsFileIdResponse], res)
@@ -9,6 +9,7 @@ from typing import (
9
9
  Unpack,
10
10
  cast,
11
11
  )
12
+ from urllib.parse import quote
12
13
 
13
14
  from fountain_life_service_clients._base_client import (
14
15
  AlphaConfig,
@@ -145,6 +146,36 @@ class SearchVariantsResponse(TypedDict):
145
146
  invalid: NotRequired[Invalid]
146
147
 
147
148
 
149
+ class Set(TypedDict):
150
+ id: str
151
+ fileId: NotRequired[str]
152
+ sequenceId: NotRequired[str]
153
+ name: NotRequired[str]
154
+ setType: NotRequired[str]
155
+ status: NotRequired[str]
156
+ sequenceType: NotRequired[str]
157
+
158
+
159
+ class item(TypedDict):
160
+ id: str
161
+ datasetId: NotRequired[str]
162
+ name: NotRequired[str]
163
+ patientId: NotRequired[str]
164
+ reportFileId: NotRequired[str]
165
+ indexedDate: NotRequired[str]
166
+ testType: NotRequired[str]
167
+ referenceSetId: NotRequired[str]
168
+ sourceFileId: NotRequired[str]
169
+ ingestFileId: NotRequired[str]
170
+ status: NotRequired[str]
171
+ createdDate: NotRequired[str]
172
+ sets: List[Set]
173
+
174
+
175
+ class GetSubjectTestsResponse(TypedDict):
176
+ items: List[item]
177
+
178
+
148
179
  class GenomicsServiceClient(BaseClient):
149
180
  def __init__(self, **cfg: Unpack[AlphaConfig]):
150
181
  kwargs = {"target": "lambda://genomics-service:deployed", **(cfg or {})}
@@ -156,3 +187,11 @@ class GenomicsServiceClient(BaseClient):
156
187
  path="/v1/genomics/variants/_search", method="POST", body=cast(dict, body)
157
188
  )
158
189
  return cast(AlphaResponse[SearchVariantsResponse], res)
190
+
191
+ async def get_subject_tests(self, project_id: str, subject_id: str):
192
+ """Get subject tests"""
193
+ res = await self.client.request(
194
+ path=f"/v1/genomics/projects/{quote(project_id)}/subjects/{quote(subject_id)}/tests",
195
+ method="GET",
196
+ )
197
+ return cast(AlphaResponse[GetSubjectTestsResponse], res)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "fountain-life-service-clients"
3
- version = "3.40.0"
3
+ version = "3.42.0"
4
4
  description = ""
5
5
  authors = ["Fountain Life <dev@fountainlife.com>"]
6
6
  license = "UNLICENSED"