fountain-life-service-clients 3.35.1__tar.gz → 3.35.3__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.
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/PKG-INFO +1 -1
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/agents_api_service.py +35 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/pyproject.toml +1 -1
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/README.md +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/__init__.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/_base_client.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/account_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/account_service_policy_attributes.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/ai_template_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/claimed_domains_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/cohorts_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/ehr_ingestion_wearables_api.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/ehr_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/email_service_email.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/email_service_sms.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/fhir_post_processor_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/fhir_search_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/file_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/ga4gh_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/genomics_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/invitation_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/medical_results_service_results.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/member_notification_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/member_operations_service_members.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/member_scheduling_service_scheduling_prompts.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/oauth_apps_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/patient_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/rules_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/scheduler_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/survey_service.py +0 -0
- {fountain_life_service_clients-3.35.1 → fountain_life_service_clients-3.35.3}/fountain_life_service_clients/user_service.py +0 -0
@@ -18,6 +18,7 @@ class InvokeBasicAgentResponse(TypedDict):
|
|
18
18
|
|
19
19
|
|
20
20
|
class InvokeHealthSummaryAgentRequest(TypedDict):
|
21
|
+
version: Literal["v1", "v2"]
|
21
22
|
subject_id: str
|
22
23
|
project_id: str
|
23
24
|
mutate: NotRequired[bool]
|
@@ -89,6 +90,24 @@ class InvokeActionPlanNudgeResponse(TypedDict):
|
|
89
90
|
nudge: Dict[str, Any]
|
90
91
|
|
91
92
|
|
93
|
+
class InvokeActionPlanRequest(TypedDict):
|
94
|
+
subject_id: str
|
95
|
+
project_id: str
|
96
|
+
|
97
|
+
|
98
|
+
class InvokeActionPlanResponse(TypedDict):
|
99
|
+
task_id: str
|
100
|
+
|
101
|
+
|
102
|
+
class InvokeTemplateRequest(TypedDict):
|
103
|
+
subject_id: str
|
104
|
+
project_id: str
|
105
|
+
|
106
|
+
|
107
|
+
class InvokeTemplateResponse(TypedDict):
|
108
|
+
task_id: str
|
109
|
+
|
110
|
+
|
92
111
|
class GetAgentTokenResponse(TypedDict):
|
93
112
|
AccessKeyId: str
|
94
113
|
SecretAccessKey: str
|
@@ -180,6 +199,22 @@ class AgentsApiServiceClient(BaseClient):
|
|
180
199
|
)
|
181
200
|
return cast(AlphaResponse[InvokeActionPlanNudgeResponse], res)
|
182
201
|
|
202
|
+
async def invoke_action_plan(self, body: InvokeActionPlanRequest):
|
203
|
+
"""Invoke the action plan agent"""
|
204
|
+
res = await self.client.request(
|
205
|
+
path="/v1/agents-v2/action-plan/invoke",
|
206
|
+
method="POST",
|
207
|
+
body=cast(dict, body),
|
208
|
+
)
|
209
|
+
return cast(AlphaResponse[InvokeActionPlanResponse], res)
|
210
|
+
|
211
|
+
async def invoke_template(self, body: InvokeTemplateRequest):
|
212
|
+
"""Invoke the template agent"""
|
213
|
+
res = await self.client.request(
|
214
|
+
path="/v1/agents-v2/template/invoke", method="POST", body=cast(dict, body)
|
215
|
+
)
|
216
|
+
return cast(AlphaResponse[InvokeTemplateResponse], res)
|
217
|
+
|
183
218
|
async def get_agent_token(self):
|
184
219
|
"""Get an agent token for the current user"""
|
185
220
|
res = await self.client.request(path="/v1/agents-v2/token", method="GET")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|