@healthcloudai/hc-sdk 0.1.2

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.
@@ -0,0 +1,1085 @@
1
+ type Environment = "dev" | "uat" | "prod";
2
+ type ServiceName = "patient" | "vitals" | "diagnostics" | "provider" | "ehr" | "appointments" | "rppg" | "session" | "telehealth";
3
+ interface HCSDKConfig {
4
+ environment: Environment;
5
+ tenantId?: string;
6
+ accessToken?: string;
7
+ }
8
+ interface SDKRuntimeState {
9
+ environment: Environment;
10
+ tenantId?: string;
11
+ accessToken?: string;
12
+ }
13
+ declare function isServiceName(value: string): value is ServiceName;
14
+ declare function resolveBaseUrl(environment: Environment, service: ServiceName): string;
15
+ declare function assertEnvironment(environment: Environment): void;
16
+
17
+ type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
18
+ type QueryParamPrimitive = string | number | boolean | null | undefined;
19
+ type QueryParamValue = QueryParamPrimitive | QueryParamPrimitive[];
20
+ type QueryParams = Record<string, QueryParamValue>;
21
+ interface HttpRequestOptions {
22
+ pathParams?: Record<string, string | number>;
23
+ query?: QueryParams;
24
+ body?: unknown;
25
+ headers?: Record<string, string>;
26
+ auth?: boolean;
27
+ }
28
+ interface PublicRequestOptions extends HttpRequestOptions {
29
+ service?: ServiceName;
30
+ }
31
+
32
+ declare class HttpClient {
33
+ private readonly state;
34
+ constructor(state: SDKRuntimeState);
35
+ request<TResponse>(service: ServiceName, method: HttpMethod, path: string, options?: HttpRequestOptions): Promise<TResponse>;
36
+ private buildHeaders;
37
+ private buildUrl;
38
+ private resolvePath;
39
+ private appendQuery;
40
+ private serializeBody;
41
+ private parseResponse;
42
+ private resolveErrorMessage;
43
+ private readMessage;
44
+ private hasHeader;
45
+ }
46
+
47
+ declare abstract class BaseServiceClient {
48
+ private readonly http;
49
+ private readonly service;
50
+ constructor(http: HttpClient, service: ServiceName);
51
+ /**
52
+ * Low-level escape hatch — allows consumers to call any path on this service
53
+ * without waiting for a typed SDK method to be added.
54
+ */
55
+ request<TResponse = unknown>(method: HttpMethod, path: string, options?: HttpRequestOptions): Promise<TResponse>;
56
+ protected connectService<TResponse = unknown>(): Promise<TResponse>;
57
+ protected send<TResponse>(method: HttpMethod, path: string, options?: HttpRequestOptions): Promise<TResponse>;
58
+ }
59
+
60
+ /**
61
+ * AppointmentsClient — service group for the HC Appointments API.
62
+ *
63
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
64
+ * https://dev-api-appointments.health.cloud/swagger.json returns a valid
65
+ * OpenAPI 3 document with GET /connect. No domain typed methods can be
66
+ * generated until the spec publishes domain endpoints.
67
+ *
68
+ * Use the low-level escape hatch for early integration:
69
+ * await sdk.appointments.request("GET", "/appointments");
70
+ */
71
+ declare class AppointmentsClient extends BaseServiceClient {
72
+ constructor(http: HttpClient);
73
+ connect<TResponse = unknown>(): Promise<TResponse>;
74
+ }
75
+
76
+ type JsonPrimitive = string | number | boolean | null;
77
+ type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
78
+ interface JsonObject {
79
+ [key: string]: JsonValue;
80
+ }
81
+ type UnknownRecord = Record<string, unknown>;
82
+ type SDKResponse<T = unknown> = T;
83
+
84
+ interface ClassifyOption extends UnknownRecord {
85
+ code?: string;
86
+ label?: string;
87
+ examples?: string[];
88
+ }
89
+ interface ClassifyRequest extends UnknownRecord {
90
+ text?: string;
91
+ options?: ClassifyOption[];
92
+ }
93
+ interface ClassifyResponse extends UnknownRecord {
94
+ Action?: string;
95
+ }
96
+ interface OcrRequest extends UnknownRecord {
97
+ image?: string;
98
+ }
99
+ interface OcrFields extends UnknownRecord {
100
+ name?: string;
101
+ documentType?: string;
102
+ documentNumber?: string;
103
+ dateOfBirth?: string;
104
+ sex?: "M" | "F" | "X" | "";
105
+ nationality?: string;
106
+ }
107
+ interface OcrResponse extends UnknownRecord {
108
+ type?: "ocr_result" | "ocr_error";
109
+ ok?: boolean;
110
+ fields?: OcrFields;
111
+ error?: string;
112
+ }
113
+ interface ChatRequest extends UnknownRecord {
114
+ message?: string;
115
+ }
116
+ interface ChatCitation extends UnknownRecord {
117
+ id?: string;
118
+ title?: string;
119
+ collection?: string;
120
+ }
121
+ interface ChatSuggestedAction extends UnknownRecord {
122
+ id?: string;
123
+ label?: string;
124
+ }
125
+ interface ChatResponse extends UnknownRecord {
126
+ answer?: string;
127
+ citations?: ChatCitation[];
128
+ suggestedActions?: ChatSuggestedAction[];
129
+ disclaimer?: string;
130
+ error?: "message is required" | "assistant_not_configured" | "assistant_call_failed" | string;
131
+ }
132
+ type KnowledgeCollection = "screening" | "ppe" | "sample_collection" | "field_ops";
133
+ interface ListKnowledgeQuery extends QueryParams {
134
+ collection?: KnowledgeCollection;
135
+ }
136
+ interface KnowledgeCollectionSummary extends UnknownRecord {
137
+ id?: string;
138
+ name?: string;
139
+ }
140
+ interface KnowledgeEntrySummary extends UnknownRecord {
141
+ id?: string;
142
+ collection?: string;
143
+ title?: string;
144
+ tags?: string[];
145
+ }
146
+ interface ListKnowledgeResponse extends UnknownRecord {
147
+ collections?: KnowledgeCollectionSummary[];
148
+ entries?: KnowledgeEntrySummary[];
149
+ total?: number;
150
+ }
151
+ interface SearchKnowledgeQuery extends QueryParams {
152
+ q?: string;
153
+ collection?: KnowledgeCollection;
154
+ limit?: number;
155
+ }
156
+ interface KnowledgeSearchResult extends UnknownRecord {
157
+ id?: string;
158
+ collection?: string;
159
+ title?: string;
160
+ body?: string;
161
+ tags?: string[];
162
+ }
163
+ interface SearchKnowledgeResponse extends UnknownRecord {
164
+ query?: string;
165
+ results?: KnowledgeSearchResult[];
166
+ total?: number;
167
+ }
168
+ interface AssistantAction extends UnknownRecord {
169
+ id?: string;
170
+ label?: string;
171
+ }
172
+ interface ListAssistantActionsResponse extends UnknownRecord {
173
+ actions?: AssistantAction[];
174
+ total?: number;
175
+ }
176
+
177
+ interface RegisterPatientRequest extends UnknownRecord {
178
+ email?: string;
179
+ password?: string;
180
+ tenant_id?: string;
181
+ first_name?: string;
182
+ last_name?: string;
183
+ date_of_birth?: string;
184
+ sex_at_birth?: "male" | "female" | "unknown";
185
+ }
186
+ interface LoginRequest extends UnknownRecord {
187
+ email?: string;
188
+ password?: string;
189
+ tenant_id?: string;
190
+ }
191
+ interface VerifyEmailRequest extends UnknownRecord {
192
+ user_id?: string;
193
+ tenant_id?: string;
194
+ otp?: string;
195
+ }
196
+ interface AuthResponse extends UnknownRecord {
197
+ cognito_sub?: string;
198
+ fhir_patient_id?: string;
199
+ email_otp_sent?: boolean;
200
+ email_verified?: boolean;
201
+ token?: string;
202
+ access_token?: string;
203
+ accessToken?: string;
204
+ id_token?: string;
205
+ expires_in?: number;
206
+ }
207
+
208
+ type PresenceState = "online" | "away" | "offline" | "in_call" | "do_not_disturb";
209
+ interface PresenceRecord extends UnknownRecord {
210
+ id?: string;
211
+ contactId?: string;
212
+ presence?: PresenceState;
213
+ lastActiveAt?: string;
214
+ }
215
+ interface UpsertPresenceRequest extends UnknownRecord {
216
+ contactId?: string;
217
+ presence?: PresenceState;
218
+ lastActiveAt?: string;
219
+ }
220
+ interface ListPresenceResponse extends UnknownRecord {
221
+ presence?: PresenceRecord[];
222
+ total?: number;
223
+ }
224
+ type GroupKind = "team" | "case" | "broadcast";
225
+ interface GroupRecord extends UnknownRecord {
226
+ id?: string;
227
+ name?: string;
228
+ groupKind?: GroupKind;
229
+ description?: string;
230
+ memberIds?: string[];
231
+ createdBy?: string;
232
+ callEnabled?: boolean;
233
+ createdAt?: string;
234
+ updatedAt?: string;
235
+ }
236
+ interface UpsertGroupRequest extends UnknownRecord {
237
+ id?: string;
238
+ name?: string;
239
+ groupKind?: GroupKind;
240
+ description?: string;
241
+ memberIds?: string[];
242
+ createdBy?: string;
243
+ callEnabled?: boolean;
244
+ }
245
+ interface ListGroupsResponse extends UnknownRecord {
246
+ groups?: GroupRecord[];
247
+ total?: number;
248
+ }
249
+ type ConversationKind = "direct" | "group";
250
+ interface ConversationRecord extends UnknownRecord {
251
+ id?: string;
252
+ kind?: ConversationKind;
253
+ participantIds?: string[];
254
+ groupId?: string;
255
+ title?: string;
256
+ lastMessagePreview?: string;
257
+ unreadCount?: number;
258
+ createdAt?: string;
259
+ updatedAt?: string;
260
+ }
261
+ interface UpsertConversationRequest extends UnknownRecord {
262
+ id?: string;
263
+ kind?: ConversationKind;
264
+ participantIds?: string[];
265
+ groupId?: string;
266
+ title?: string;
267
+ lastMessagePreview?: string;
268
+ unreadCount?: number;
269
+ }
270
+ interface ListConversationsResponse extends UnknownRecord {
271
+ conversations?: ConversationRecord[];
272
+ total?: number;
273
+ }
274
+ type MessageKind = "text" | "system" | "voice_note" | "lab";
275
+ interface MessageRecord extends UnknownRecord {
276
+ id?: string;
277
+ conversationId?: string;
278
+ senderId?: string;
279
+ kind?: MessageKind;
280
+ body?: string;
281
+ status?: "sent";
282
+ createdAt?: string;
283
+ }
284
+ interface UpsertMessageRequest extends UnknownRecord {
285
+ id?: string;
286
+ conversationId?: string;
287
+ senderId?: string;
288
+ kind?: MessageKind;
289
+ body?: string;
290
+ status?: string;
291
+ }
292
+ interface ListMessagesQuery extends QueryParams {
293
+ conversationId?: string;
294
+ }
295
+ interface ListMessagesResponse extends UnknownRecord {
296
+ messages?: MessageRecord[];
297
+ total?: number;
298
+ }
299
+ type InviteChannel = "sms" | "email" | "link";
300
+ type InviteStatus = "draft" | "queued" | "sent" | "accepted" | "expired";
301
+ interface InviteRecord extends UnknownRecord {
302
+ id?: string;
303
+ name?: string;
304
+ destination?: string;
305
+ channel?: InviteChannel;
306
+ role?: string;
307
+ status?: InviteStatus;
308
+ inviteCode?: string;
309
+ createdAt?: string;
310
+ }
311
+ interface UpsertInviteRequest extends UnknownRecord {
312
+ id?: string;
313
+ name?: string;
314
+ destination?: string;
315
+ channel?: InviteChannel;
316
+ role?: string;
317
+ status?: InviteStatus;
318
+ }
319
+ interface ListInvitesResponse extends UnknownRecord {
320
+ invites?: InviteRecord[];
321
+ total?: number;
322
+ }
323
+ interface CommunicationsStateResponse extends UnknownRecord {
324
+ presence?: PresenceRecord[];
325
+ groups?: GroupRecord[];
326
+ conversations?: ConversationRecord[];
327
+ messages?: MessageRecord[];
328
+ invites?: InviteRecord[];
329
+ }
330
+ interface RtcTokenRequest extends UnknownRecord {
331
+ channelName?: string;
332
+ uid?: string;
333
+ role?: "publisher" | "subscriber";
334
+ }
335
+ interface RtcTokenResponse extends UnknownRecord {
336
+ appId?: string;
337
+ channelName?: string;
338
+ uid?: string;
339
+ rtcToken?: string;
340
+ role?: string;
341
+ ttlSeconds?: number;
342
+ expiresAt?: string;
343
+ error?: string;
344
+ configured?: boolean;
345
+ }
346
+
347
+ interface DiagnosticsResponse extends UnknownRecord {
348
+ }
349
+ interface RapidTestRequest extends UnknownRecord {
350
+ type?: string;
351
+ result?: string;
352
+ lot_number?: string;
353
+ administered_date?: string;
354
+ }
355
+ interface DiagnosticsListQuery extends QueryParams {
356
+ from?: string;
357
+ to?: string;
358
+ }
359
+
360
+ /**
361
+ * Machine-readable operation registry.
362
+ *
363
+ * Swagger source-of-truth verification date: 2026-06-17
364
+ * - Patient: 46 ops across 51 paths (dev-api-patient.health.cloud)
365
+ * - Vitals: 3 ops across 2 paths (dev-api-vitals.health.cloud)
366
+ * - Diagnostics: 3 ops across 3 paths (dev-api-diagnostics.health.cloud)
367
+ * - Provider: 1 op across 1 path (dev-api-provider.health.cloud)
368
+ * - EHR: 1 op across 1 path (dev-api-ehr.health.cloud)
369
+ * - Appointments: 1 op across 1 path (dev-api-appointments.health.cloud)
370
+ * - rPPG: 1 op across 1 path (dev-api-rppg.health.cloud)
371
+ * - Session: 1 op across 1 path (dev-api-session.health.cloud)
372
+ * - Telehealth: 1 op across 1 path (dev-api-telehealth.health.cloud)
373
+ */
374
+ declare const HCSDK_OPERATION_SUMMARY: readonly [{
375
+ readonly service: "patient";
376
+ readonly method: "GET";
377
+ readonly path: "/connect";
378
+ readonly sdkMethod: "patient.connect";
379
+ readonly summary: "Lambda warm-up / connectivity check";
380
+ }, {
381
+ readonly service: "auth";
382
+ readonly method: "POST";
383
+ readonly path: "/auth/register";
384
+ readonly sdkMethod: "auth.register";
385
+ readonly summary: "Register patient";
386
+ }, {
387
+ readonly service: "auth";
388
+ readonly method: "POST";
389
+ readonly path: "/auth/login";
390
+ readonly sdkMethod: "auth.login";
391
+ readonly summary: "Login";
392
+ }, {
393
+ readonly service: "auth";
394
+ readonly method: "POST";
395
+ readonly path: "/auth/verify-email";
396
+ readonly sdkMethod: "auth.verifyEmail";
397
+ readonly summary: "Verify email OTP";
398
+ }, {
399
+ readonly service: "patient";
400
+ readonly method: "POST";
401
+ readonly path: "/patients/{id}/phone";
402
+ readonly sdkMethod: "patient.updatePhone";
403
+ readonly summary: "Update phone + send SMS OTP";
404
+ }, {
405
+ readonly service: "patient";
406
+ readonly method: "POST";
407
+ readonly path: "/patients/{id}/verify-sms";
408
+ readonly sdkMethod: "patient.verifySms";
409
+ readonly summary: "Verify SMS OTP";
410
+ }, {
411
+ readonly service: "patient";
412
+ readonly method: "PUT";
413
+ readonly path: "/patients/{id}/address";
414
+ readonly sdkMethod: "patient.updateAddress";
415
+ readonly summary: "Update address";
416
+ }, {
417
+ readonly service: "patient";
418
+ readonly method: "PUT";
419
+ readonly path: "/patients/{id}/race";
420
+ readonly sdkMethod: "patient.updateRace";
421
+ readonly summary: "Update race";
422
+ }, {
423
+ readonly service: "patient";
424
+ readonly method: "GET";
425
+ readonly path: "/patients/{id}";
426
+ readonly sdkMethod: "patient.getProfile";
427
+ readonly summary: "Get patient";
428
+ }, {
429
+ readonly service: "patient";
430
+ readonly method: "POST";
431
+ readonly path: "/patients/{id}/photo";
432
+ readonly sdkMethod: "patient.uploadPhoto";
433
+ readonly summary: "Upload photo";
434
+ }, {
435
+ readonly service: "patient";
436
+ readonly method: "GET";
437
+ readonly path: "/patients/{id}/photo";
438
+ readonly sdkMethod: "patient.getPhoto";
439
+ readonly summary: "Get photo";
440
+ }, {
441
+ readonly service: "patient";
442
+ readonly method: "GET";
443
+ readonly path: "/patients/{id}/photo/upload-url";
444
+ readonly sdkMethod: "patient.getPhotoUploadUrl";
445
+ readonly summary: "Get presigned upload URL";
446
+ }, {
447
+ readonly service: "patient";
448
+ readonly method: "POST";
449
+ readonly path: "/patients/{id}/face-match";
450
+ readonly sdkMethod: "patient.compareFaceMatch";
451
+ readonly summary: "Compare selfie to stored photo (Rekognition)";
452
+ }, {
453
+ readonly service: "patient";
454
+ readonly method: "POST";
455
+ readonly path: "/patients/{id}/identity-document";
456
+ readonly sdkMethod: "patient.scanIdentityDocument";
457
+ readonly summary: "OCR identity document (Textract AnalyzeID)";
458
+ }, {
459
+ readonly service: "patient";
460
+ readonly method: "PUT";
461
+ readonly path: "/patients/{id}/demographics";
462
+ readonly sdkMethod: "patient.updateDemographics";
463
+ readonly summary: "Update demographics (DOB, nationality, etc.)";
464
+ }, {
465
+ readonly service: "patient";
466
+ readonly method: "POST";
467
+ readonly path: "/patients/{id}/insurance";
468
+ readonly sdkMethod: "patient.createInsurance";
469
+ readonly summary: "Create insurance coverage";
470
+ }, {
471
+ readonly service: "patient";
472
+ readonly method: "POST";
473
+ readonly path: "/patients/{id}/medications";
474
+ readonly sdkMethod: "patient.createMedication";
475
+ readonly summary: "Create medication order";
476
+ }, {
477
+ readonly service: "patient";
478
+ readonly method: "GET";
479
+ readonly path: "/patients/{id}/medications";
480
+ readonly sdkMethod: "patient.listMedications";
481
+ readonly summary: "List medications";
482
+ }, {
483
+ readonly service: "patient";
484
+ readonly method: "GET";
485
+ readonly path: "/patients/{id}/medications/{med_id}";
486
+ readonly sdkMethod: "patient.getMedication";
487
+ readonly summary: "Get medication";
488
+ }, {
489
+ readonly service: "patient";
490
+ readonly method: "PUT";
491
+ readonly path: "/patients/{id}/medications/{med_id}";
492
+ readonly sdkMethod: "patient.updateMedicationStatus";
493
+ readonly summary: "Update medication status";
494
+ }, {
495
+ readonly service: "patient";
496
+ readonly method: "GET";
497
+ readonly path: "/locations/nearest";
498
+ readonly sdkMethod: "patient.listNearestLocations";
499
+ readonly summary: "Nearest clinics/providers";
500
+ }, {
501
+ readonly service: "patient";
502
+ readonly method: "POST";
503
+ readonly path: "/encounters";
504
+ readonly sdkMethod: "patient.createEncounter";
505
+ readonly summary: "Create encounter";
506
+ }, {
507
+ readonly service: "patient";
508
+ readonly method: "GET";
509
+ readonly path: "/encounters";
510
+ readonly sdkMethod: "patient.listEncounters";
511
+ readonly summary: "List encounters";
512
+ }, {
513
+ readonly service: "patient";
514
+ readonly method: "GET";
515
+ readonly path: "/encounters/{id}";
516
+ readonly sdkMethod: "patient.getEncounter";
517
+ readonly summary: "Get encounter";
518
+ }, {
519
+ readonly service: "patient";
520
+ readonly method: "POST";
521
+ readonly path: "/questionnaires";
522
+ readonly sdkMethod: "patient.createQuestionnaire";
523
+ readonly summary: "Create questionnaire";
524
+ }, {
525
+ readonly service: "patient";
526
+ readonly method: "POST";
527
+ readonly path: "/questionnaires/{id}/responses";
528
+ readonly sdkMethod: "patient.createQuestionnaireResponse";
529
+ readonly summary: "Create questionnaire response";
530
+ }, {
531
+ readonly service: "patient";
532
+ readonly method: "POST";
533
+ readonly path: "/insurance/eligibility";
534
+ readonly sdkMethod: "patient.checkInsuranceEligibility";
535
+ readonly summary: "Check insurance eligibility";
536
+ }, {
537
+ readonly service: "patient";
538
+ readonly method: "POST";
539
+ readonly path: "/assistant/classify";
540
+ readonly sdkMethod: "patient.classifyVoiceCommand";
541
+ readonly summary: "Voice command classification (public)";
542
+ }, {
543
+ readonly service: "patient";
544
+ readonly method: "POST";
545
+ readonly path: "/assistant/ocr";
546
+ readonly sdkMethod: "patient.ocrIdentityDocument";
547
+ readonly summary: "ID document OCR via vision LLM (public)";
548
+ }, {
549
+ readonly service: "patient";
550
+ readonly method: "POST";
551
+ readonly path: "/assistant/chat";
552
+ readonly sdkMethod: "patient.askAssistant";
553
+ readonly summary: "Grounded RAG field-guide chat (public)";
554
+ }, {
555
+ readonly service: "patient";
556
+ readonly method: "GET";
557
+ readonly path: "/assistant/knowledge";
558
+ readonly sdkMethod: "patient.listKnowledge";
559
+ readonly summary: "List knowledge base collections/entries";
560
+ }, {
561
+ readonly service: "patient";
562
+ readonly method: "GET";
563
+ readonly path: "/assistant/knowledge/search";
564
+ readonly sdkMethod: "patient.searchKnowledge";
565
+ readonly summary: "Lexical search over knowledge base";
566
+ }, {
567
+ readonly service: "patient";
568
+ readonly method: "GET";
569
+ readonly path: "/assistant/actions";
570
+ readonly sdkMethod: "patient.listAssistantActions";
571
+ readonly summary: "List suggested-action catalog";
572
+ }, {
573
+ readonly service: "patient";
574
+ readonly method: "POST";
575
+ readonly path: "/vision/face-compare";
576
+ readonly sdkMethod: "patient.compareFacesByUrl";
577
+ readonly summary: "URL-based face comparison (Rekognition)";
578
+ }, {
579
+ readonly service: "patient";
580
+ readonly method: "GET";
581
+ readonly path: "/communications/state";
582
+ readonly sdkMethod: "patient.getCommunicationsState";
583
+ readonly summary: "CareConnect initial state snapshot";
584
+ }, {
585
+ readonly service: "patient";
586
+ readonly method: "GET";
587
+ readonly path: "/communications/presence";
588
+ readonly sdkMethod: "patient.listPresence";
589
+ readonly summary: "List presence records";
590
+ }, {
591
+ readonly service: "patient";
592
+ readonly method: "POST";
593
+ readonly path: "/communications/presence";
594
+ readonly sdkMethod: "patient.upsertPresence";
595
+ readonly summary: "Upsert presence record";
596
+ }, {
597
+ readonly service: "patient";
598
+ readonly method: "GET";
599
+ readonly path: "/communications/groups";
600
+ readonly sdkMethod: "patient.listGroups";
601
+ readonly summary: "List groups";
602
+ }, {
603
+ readonly service: "patient";
604
+ readonly method: "POST";
605
+ readonly path: "/communications/groups";
606
+ readonly sdkMethod: "patient.upsertGroup";
607
+ readonly summary: "Upsert group";
608
+ }, {
609
+ readonly service: "patient";
610
+ readonly method: "GET";
611
+ readonly path: "/communications/conversations";
612
+ readonly sdkMethod: "patient.listConversations";
613
+ readonly summary: "List conversations";
614
+ }, {
615
+ readonly service: "patient";
616
+ readonly method: "POST";
617
+ readonly path: "/communications/conversations";
618
+ readonly sdkMethod: "patient.upsertConversation";
619
+ readonly summary: "Upsert conversation";
620
+ }, {
621
+ readonly service: "patient";
622
+ readonly method: "GET";
623
+ readonly path: "/communications/messages";
624
+ readonly sdkMethod: "patient.listMessages";
625
+ readonly summary: "List messages";
626
+ }, {
627
+ readonly service: "patient";
628
+ readonly method: "POST";
629
+ readonly path: "/communications/messages";
630
+ readonly sdkMethod: "patient.upsertMessage";
631
+ readonly summary: "Upsert message";
632
+ }, {
633
+ readonly service: "patient";
634
+ readonly method: "GET";
635
+ readonly path: "/communications/invites";
636
+ readonly sdkMethod: "patient.listInvites";
637
+ readonly summary: "List invites";
638
+ }, {
639
+ readonly service: "patient";
640
+ readonly method: "POST";
641
+ readonly path: "/communications/invites";
642
+ readonly sdkMethod: "patient.upsertInvite";
643
+ readonly summary: "Upsert invite";
644
+ }, {
645
+ readonly service: "patient";
646
+ readonly method: "POST";
647
+ readonly path: "/communications/rtc-token";
648
+ readonly sdkMethod: "patient.mintRtcToken";
649
+ readonly summary: "Mint Agora RTC token (public)";
650
+ }, {
651
+ readonly service: "vitals";
652
+ readonly method: "GET";
653
+ readonly path: "/connect";
654
+ readonly sdkMethod: "vitals.connect";
655
+ readonly summary: "Lambda warm-up / connectivity check";
656
+ }, {
657
+ readonly service: "vitals";
658
+ readonly method: "POST";
659
+ readonly path: "/patients/{patient_id}/vitals";
660
+ readonly sdkMethod: "vitals.record";
661
+ readonly summary: "Record patient vitals";
662
+ }, {
663
+ readonly service: "vitals";
664
+ readonly method: "GET";
665
+ readonly path: "/patients/{patient_id}/vitals";
666
+ readonly sdkMethod: "vitals.list";
667
+ readonly summary: "List patient vitals";
668
+ }, {
669
+ readonly service: "diagnostics";
670
+ readonly method: "GET";
671
+ readonly path: "/connect";
672
+ readonly sdkMethod: "diagnostics.connect";
673
+ readonly summary: "Lambda warm-up / connectivity check";
674
+ }, {
675
+ readonly service: "diagnostics";
676
+ readonly method: "POST";
677
+ readonly path: "/patients/{patient_id}/diagnostics/rapid-tests";
678
+ readonly sdkMethod: "diagnostics.createRapidTest";
679
+ readonly summary: "Create rapid test result (confirmed against live swagger; health_cloud_api.md documents this incorrectly as /rapid-test)";
680
+ }, {
681
+ readonly service: "diagnostics";
682
+ readonly method: "GET";
683
+ readonly path: "/patients/{patient_id}/diagnostics";
684
+ readonly sdkMethod: "diagnostics.list";
685
+ readonly summary: "List diagnostics";
686
+ }, {
687
+ readonly service: "provider";
688
+ readonly method: "GET";
689
+ readonly path: "/connect";
690
+ readonly sdkMethod: "provider.connect";
691
+ readonly summary: "Lambda warm-up / connectivity check";
692
+ }, {
693
+ readonly service: "ehr";
694
+ readonly method: "GET";
695
+ readonly path: "/connect";
696
+ readonly sdkMethod: "ehr.connect";
697
+ readonly summary: "Lambda warm-up / connectivity check";
698
+ }, {
699
+ readonly service: "appointments";
700
+ readonly method: "GET";
701
+ readonly path: "/connect";
702
+ readonly sdkMethod: "appointments.connect";
703
+ readonly summary: "Lambda warm-up / connectivity check";
704
+ }, {
705
+ readonly service: "rppg";
706
+ readonly method: "GET";
707
+ readonly path: "/connect";
708
+ readonly sdkMethod: "rppg.connect";
709
+ readonly summary: "Lambda warm-up / connectivity check";
710
+ }, {
711
+ readonly service: "session";
712
+ readonly method: "GET";
713
+ readonly path: "/connect";
714
+ readonly sdkMethod: "session.connect";
715
+ readonly summary: "Lambda warm-up / connectivity check";
716
+ }, {
717
+ readonly service: "telehealth";
718
+ readonly method: "GET";
719
+ readonly path: "/connect";
720
+ readonly sdkMethod: "telehealth.connect";
721
+ readonly summary: "Lambda warm-up / connectivity check";
722
+ }];
723
+ declare const HCSDK_TOTAL_OPERATION_COUNT: 58;
724
+ declare const HCSDK_SWAGGER_PATH_COUNTS: {
725
+ readonly patient: 51;
726
+ readonly vitals: 2;
727
+ readonly diagnostics: 3;
728
+ readonly provider: 1;
729
+ readonly ehr: 1;
730
+ readonly appointments: 1;
731
+ readonly rppg: 1;
732
+ readonly session: 1;
733
+ readonly telehealth: 1;
734
+ };
735
+ declare const HCSDK_SWAGGER_OPERATION_COUNTS: {
736
+ readonly patient: 46;
737
+ readonly vitals: 3;
738
+ readonly diagnostics: 3;
739
+ readonly provider: 1;
740
+ readonly ehr: 1;
741
+ readonly appointments: 1;
742
+ readonly rppg: 1;
743
+ readonly session: 1;
744
+ readonly telehealth: 1;
745
+ };
746
+
747
+ interface PatientResponse extends UnknownRecord {
748
+ }
749
+ interface PatientPhoneUpdateRequest extends UnknownRecord {
750
+ phone?: string;
751
+ }
752
+ interface PatientSmsVerificationRequest extends UnknownRecord {
753
+ otp?: string;
754
+ }
755
+ interface PatientAddressUpdateRequest extends UnknownRecord {
756
+ street?: string;
757
+ city?: string;
758
+ state?: string;
759
+ zip?: string;
760
+ }
761
+ interface PatientRaceUpdateRequest extends UnknownRecord {
762
+ races?: string[];
763
+ }
764
+ type PhotoUploadRequest = UnknownRecord | FormData | Blob | ArrayBuffer;
765
+ interface GetPhotoQuery extends QueryParams {
766
+ binary_id?: string;
767
+ }
768
+ interface FaceMatchRequest extends UnknownRecord {
769
+ selfie_data?: string;
770
+ reference_binary_id?: string;
771
+ similarity_threshold?: number;
772
+ }
773
+ interface IdentityDocumentRequest extends UnknownRecord {
774
+ document_data?: string;
775
+ verify_against_demographics?: boolean;
776
+ }
777
+ interface CommunicationPreference extends UnknownRecord {
778
+ language?: string;
779
+ preferred?: boolean;
780
+ }
781
+ interface DemographicsUpdateRequest extends UnknownRecord {
782
+ date_of_birth?: string;
783
+ sex_at_birth?: "male" | "female" | "intersex" | "unknown";
784
+ gender_identity?: "man" | "woman" | "non_binary" | "transgender_man" | "transgender_woman" | "genderqueer" | "other" | "choose_not_to_disclose" | "unknown";
785
+ ethnicity?: "hispanic_or_latino" | "not_hispanic_or_latino" | "unknown" | "declined_to_specify";
786
+ marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | "domestic_partner";
787
+ nationality?: string;
788
+ preferred_language?: string;
789
+ communications?: CommunicationPreference[];
790
+ }
791
+ interface CreateInsuranceRequest extends UnknownRecord {
792
+ priority?: "primary" | "secondary" | "tertiary";
793
+ payer_name?: string;
794
+ member_id?: string;
795
+ relationship?: string;
796
+ }
797
+ interface MedicationDosage extends UnknownRecord {
798
+ value?: number;
799
+ unit?: string;
800
+ frequency?: "once" | "once_daily" | "twice_daily" | "three_times_daily" | "four_times_daily" | "every_4_hours" | "every_6_hours" | "every_8_hours" | "every_12_hours" | "every_48_hours" | "weekly" | "biweekly" | "monthly" | "as_needed" | "other";
801
+ instructions?: string;
802
+ }
803
+ interface CreateMedicationRequest extends UnknownRecord {
804
+ name?: string;
805
+ rxnorm_code?: string;
806
+ route?: "oral" | "intravenous" | "intramuscular" | "subcutaneous" | "topical" | "inhaled" | "sublingual" | "intranasal" | "ophthalmic" | "otic" | "rectal" | "transdermal" | "other";
807
+ dosage?: MedicationDosage;
808
+ status?: "active" | "on-hold" | "completed" | "stopped" | "entered-in-error";
809
+ intent?: string;
810
+ indication?: string;
811
+ prescriber_name?: string;
812
+ refills_authorized?: number;
813
+ start_date?: string;
814
+ end_date?: string;
815
+ notes?: string;
816
+ }
817
+ interface MedicationStatusUpdateRequest extends UnknownRecord {
818
+ status?: "active" | "on-hold" | "completed" | "stopped" | "entered-in-error";
819
+ discontinued_reason?: string;
820
+ notes?: string;
821
+ }
822
+ interface NearestLocationsQuery extends QueryParams {
823
+ lat?: number;
824
+ lon?: number;
825
+ radius_km?: number;
826
+ type?: string;
827
+ }
828
+ interface CreateEncounterRequest extends UnknownRecord {
829
+ patient_id?: string;
830
+ reason?: string;
831
+ encounter_type?: string;
832
+ }
833
+ interface ListEncountersQuery extends QueryParams {
834
+ patient_id?: string;
835
+ }
836
+ interface QuestionnaireItem extends UnknownRecord {
837
+ link_id?: string;
838
+ text?: string;
839
+ type?: string;
840
+ }
841
+ interface CreateQuestionnaireRequest extends UnknownRecord {
842
+ name?: string;
843
+ title?: string;
844
+ items?: QuestionnaireItem[];
845
+ }
846
+ interface QuestionnaireResponseAnswer extends UnknownRecord {
847
+ value_integer?: number;
848
+ value_string?: string;
849
+ value_boolean?: boolean;
850
+ }
851
+ interface QuestionnaireResponseItem extends UnknownRecord {
852
+ link_id?: string;
853
+ answers?: QuestionnaireResponseAnswer[];
854
+ }
855
+ interface CreateQuestionnaireResponseRequest extends UnknownRecord {
856
+ patient_id?: string;
857
+ items?: QuestionnaireResponseItem[];
858
+ }
859
+ interface InsuranceEligibilityRequest extends UnknownRecord {
860
+ payer_id?: string;
861
+ member_id?: string;
862
+ first_name?: string;
863
+ last_name?: string;
864
+ date_of_birth?: string;
865
+ }
866
+
867
+ interface FaceCompareRequest extends UnknownRecord {
868
+ imageUrl1?: string;
869
+ imageUrl2?: string;
870
+ similarityThreshold?: number;
871
+ }
872
+ interface FaceCompareResponse extends UnknownRecord {
873
+ samePerson?: boolean;
874
+ confidence?: number;
875
+ similarityThreshold?: number;
876
+ faceDetectedInImage1?: boolean;
877
+ faceDetectedInImage2?: boolean;
878
+ }
879
+
880
+ interface VitalsResponse extends UnknownRecord {
881
+ }
882
+ interface VitalsRecordRequest extends UnknownRecord {
883
+ heart_rate?: number;
884
+ temperature?: number;
885
+ systolic?: number;
886
+ diastolic?: number;
887
+ oxygen_saturation?: number;
888
+ weight_kg?: number;
889
+ height_cm?: number;
890
+ encounter_id?: string;
891
+ }
892
+ interface ListVitalsQuery extends QueryParams {
893
+ from?: string;
894
+ to?: string;
895
+ }
896
+
897
+ type AccessTokenWriter = (token: string) => void;
898
+ type TenantIdReader = () => string | undefined;
899
+ declare class AuthClient extends BaseServiceClient {
900
+ private readonly setAccessToken;
901
+ private readonly getTenantId;
902
+ constructor(http: HttpClient, setAccessToken: AccessTokenWriter, getTenantId: TenantIdReader);
903
+ register<TResponse = AuthResponse>(request: RegisterPatientRequest): Promise<TResponse>;
904
+ login<TResponse = AuthResponse>(request: LoginRequest): Promise<TResponse>;
905
+ verifyEmail<TResponse = AuthResponse>(request: VerifyEmailRequest): Promise<TResponse>;
906
+ private withTenantId;
907
+ private extractAccessToken;
908
+ }
909
+
910
+ declare class DiagnosticsClient extends BaseServiceClient {
911
+ constructor(http: HttpClient);
912
+ connect<TResponse = unknown>(): Promise<TResponse>;
913
+ createRapidTest<TResponse = DiagnosticsResponse>(patientId: string, request: RapidTestRequest): Promise<TResponse>;
914
+ list<TResponse = DiagnosticsResponse>(patientId: string, query?: DiagnosticsListQuery): Promise<TResponse>;
915
+ }
916
+
917
+ /**
918
+ * EhrClient — service group for the HC EHR API.
919
+ *
920
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
921
+ * https://dev-api-ehr.health.cloud/swagger.json returns a valid OpenAPI 3
922
+ * document with GET /connect. No domain typed methods can be generated until
923
+ * the spec publishes domain endpoints.
924
+ *
925
+ * Use the low-level escape hatch for early integration:
926
+ * await sdk.ehr.request("GET", "/records");
927
+ */
928
+ declare class EhrClient extends BaseServiceClient {
929
+ constructor(http: HttpClient);
930
+ connect<TResponse = unknown>(): Promise<TResponse>;
931
+ }
932
+
933
+ declare class PatientClient extends BaseServiceClient {
934
+ constructor(http: HttpClient);
935
+ connect<TResponse = unknown>(): Promise<TResponse>;
936
+ updatePhone<TResponse = PatientResponse>(patientId: string, request: PatientPhoneUpdateRequest): Promise<TResponse>;
937
+ verifySms<TResponse = PatientResponse>(patientId: string, request: PatientSmsVerificationRequest): Promise<TResponse>;
938
+ updateAddress<TResponse = PatientResponse>(patientId: string, request: PatientAddressUpdateRequest): Promise<TResponse>;
939
+ updateRace<TResponse = PatientResponse>(patientId: string, request: PatientRaceUpdateRequest): Promise<TResponse>;
940
+ getProfile<TResponse = PatientResponse>(patientId: string): Promise<TResponse>;
941
+ uploadPhoto<TResponse = PatientResponse>(patientId: string, request: PhotoUploadRequest): Promise<TResponse>;
942
+ getPhoto<TResponse = PatientResponse>(patientId: string, query?: GetPhotoQuery): Promise<TResponse>;
943
+ getPhotoUploadUrl<TResponse = PatientResponse>(patientId: string): Promise<TResponse>;
944
+ compareFaceMatch<TResponse = PatientResponse>(patientId: string, request: FaceMatchRequest): Promise<TResponse>;
945
+ scanIdentityDocument<TResponse = PatientResponse>(patientId: string, request: IdentityDocumentRequest): Promise<TResponse>;
946
+ updateDemographics<TResponse = PatientResponse>(patientId: string, request: DemographicsUpdateRequest): Promise<TResponse>;
947
+ createInsurance<TResponse = PatientResponse>(patientId: string, request: CreateInsuranceRequest): Promise<TResponse>;
948
+ createMedication<TResponse = PatientResponse>(patientId: string, request: CreateMedicationRequest): Promise<TResponse>;
949
+ listMedications<TResponse = PatientResponse>(patientId: string): Promise<TResponse>;
950
+ getMedication<TResponse = PatientResponse>(patientId: string, medicationId: string): Promise<TResponse>;
951
+ updateMedicationStatus<TResponse = PatientResponse>(patientId: string, medicationId: string, request: MedicationStatusUpdateRequest): Promise<TResponse>;
952
+ listNearestLocations<TResponse = PatientResponse>(query?: NearestLocationsQuery): Promise<TResponse>;
953
+ createEncounter<TResponse = PatientResponse>(request: CreateEncounterRequest): Promise<TResponse>;
954
+ listEncounters<TResponse = PatientResponse>(query?: ListEncountersQuery): Promise<TResponse>;
955
+ getEncounter<TResponse = PatientResponse>(encounterId: string): Promise<TResponse>;
956
+ createQuestionnaire<TResponse = PatientResponse>(request: CreateQuestionnaireRequest): Promise<TResponse>;
957
+ createQuestionnaireResponse<TResponse = PatientResponse>(questionnaireId: string, request: CreateQuestionnaireResponseRequest): Promise<TResponse>;
958
+ checkInsuranceEligibility<TResponse = PatientResponse>(request: InsuranceEligibilityRequest): Promise<TResponse>;
959
+ classifyVoiceCommand<TResponse = ClassifyResponse>(request: ClassifyRequest): Promise<TResponse>;
960
+ ocrIdentityDocument<TResponse = OcrResponse>(request: OcrRequest): Promise<TResponse>;
961
+ askAssistant<TResponse = ChatResponse>(request: ChatRequest): Promise<TResponse>;
962
+ listKnowledge<TResponse = ListKnowledgeResponse>(query?: ListKnowledgeQuery): Promise<TResponse>;
963
+ searchKnowledge<TResponse = SearchKnowledgeResponse>(query?: SearchKnowledgeQuery): Promise<TResponse>;
964
+ listAssistantActions<TResponse = ListAssistantActionsResponse>(): Promise<TResponse>;
965
+ compareFacesByUrl<TResponse = FaceCompareResponse>(request: FaceCompareRequest): Promise<TResponse>;
966
+ getCommunicationsState<TResponse = CommunicationsStateResponse>(): Promise<TResponse>;
967
+ listPresence<TResponse = ListPresenceResponse>(): Promise<TResponse>;
968
+ upsertPresence<TResponse = PresenceRecord>(request: UpsertPresenceRequest): Promise<TResponse>;
969
+ listGroups<TResponse = ListGroupsResponse>(): Promise<TResponse>;
970
+ upsertGroup<TResponse = GroupRecord>(request: UpsertGroupRequest): Promise<TResponse>;
971
+ listConversations<TResponse = ListConversationsResponse>(): Promise<TResponse>;
972
+ upsertConversation<TResponse = ConversationRecord>(request: UpsertConversationRequest): Promise<TResponse>;
973
+ listMessages<TResponse = ListMessagesResponse>(query?: ListMessagesQuery): Promise<TResponse>;
974
+ upsertMessage<TResponse = MessageRecord>(request: UpsertMessageRequest): Promise<TResponse>;
975
+ listInvites<TResponse = ListInvitesResponse>(): Promise<TResponse>;
976
+ upsertInvite<TResponse = InviteRecord>(request: UpsertInviteRequest): Promise<TResponse>;
977
+ mintRtcToken<TResponse = RtcTokenResponse>(request: RtcTokenRequest): Promise<TResponse>;
978
+ }
979
+
980
+ /**
981
+ * ProviderClient — service group for the HC Provider API.
982
+ *
983
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
984
+ * https://dev-api-provider.health.cloud/swagger.json returns a valid document
985
+ * with GET /connect. The provider lookup currently exposed by Swagger is the
986
+ * Patient API route wrapped by sdk.patient.listNearestLocations().
987
+ *
988
+ * This class is retained so that:
989
+ * 1. sdk.provider exists for forward compatibility when endpoints are published.
990
+ * 2. Callers can use sdk.provider.request("GET", "/some-path") as a low-level
991
+ * escape hatch once the service adds paths.
992
+ *
993
+ * Domain typed methods will be added once the swagger publishes domain paths.
994
+ */
995
+ declare class ProviderClient extends BaseServiceClient {
996
+ constructor(http: HttpClient);
997
+ connect<TResponse = unknown>(): Promise<TResponse>;
998
+ }
999
+
1000
+ /**
1001
+ * RppgClient — service group for the HC rPPG API.
1002
+ *
1003
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
1004
+ * https://dev-api-rppg.health.cloud/swagger.json returns a valid OpenAPI 3
1005
+ * document with GET /connect. No domain typed methods can be generated until
1006
+ * the spec publishes domain endpoints.
1007
+ *
1008
+ * Use the low-level escape hatch for early integration:
1009
+ * await sdk.rppg.request("POST", "/sessions");
1010
+ */
1011
+ declare class RppgClient extends BaseServiceClient {
1012
+ constructor(http: HttpClient);
1013
+ connect<TResponse = unknown>(): Promise<TResponse>;
1014
+ }
1015
+
1016
+ /**
1017
+ * SessionClient — service group for the HC Session API.
1018
+ *
1019
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
1020
+ * https://dev-api-session.health.cloud/swagger.json returns a valid OpenAPI 3
1021
+ * document with GET /connect. No domain typed methods can be generated until
1022
+ * the spec publishes domain endpoints.
1023
+ *
1024
+ * Use the low-level escape hatch for early integration:
1025
+ * await sdk.session.request("POST", "/sessions");
1026
+ */
1027
+ declare class SessionClient extends BaseServiceClient {
1028
+ constructor(http: HttpClient);
1029
+ connect<TResponse = unknown>(): Promise<TResponse>;
1030
+ }
1031
+
1032
+ /**
1033
+ * TelehealthClient — service group for the HC Telehealth API.
1034
+ *
1035
+ * SWAGGER STATUS (fetched 2026-06-17): The live swagger at
1036
+ * https://dev-api-telehealth.health.cloud/swagger.json returns a valid
1037
+ * OpenAPI 3 document with GET /connect. No domain typed methods can be
1038
+ * generated until the spec publishes domain endpoints.
1039
+ *
1040
+ * Use the low-level escape hatch for early integration:
1041
+ * await sdk.telehealth.request("POST", "/consultations");
1042
+ */
1043
+ declare class TelehealthClient extends BaseServiceClient {
1044
+ constructor(http: HttpClient);
1045
+ connect<TResponse = unknown>(): Promise<TResponse>;
1046
+ }
1047
+
1048
+ declare class VitalsClient extends BaseServiceClient {
1049
+ constructor(http: HttpClient);
1050
+ connect<TResponse = unknown>(): Promise<TResponse>;
1051
+ record<TResponse = VitalsResponse>(patientId: string, request: VitalsRecordRequest): Promise<TResponse>;
1052
+ list<TResponse = VitalsResponse>(patientId: string, query?: ListVitalsQuery): Promise<TResponse>;
1053
+ }
1054
+
1055
+ declare class HCSDK {
1056
+ private readonly state;
1057
+ private readonly http;
1058
+ readonly auth: AuthClient;
1059
+ readonly patient: PatientClient;
1060
+ readonly vitals: VitalsClient;
1061
+ readonly diagnostics: DiagnosticsClient;
1062
+ readonly provider: ProviderClient;
1063
+ readonly ehr: EhrClient;
1064
+ readonly appointments: AppointmentsClient;
1065
+ readonly rppg: RppgClient;
1066
+ readonly session: SessionClient;
1067
+ readonly telehealth: TelehealthClient;
1068
+ constructor(config: HCSDKConfig);
1069
+ setAccessToken(token: string): void;
1070
+ getAccessToken(): string | undefined;
1071
+ }
1072
+
1073
+ interface SDKErrorOptions {
1074
+ message: string;
1075
+ statusCode: number;
1076
+ response?: unknown;
1077
+ cause?: unknown;
1078
+ }
1079
+ declare class SDKError extends Error {
1080
+ readonly statusCode: number;
1081
+ readonly response?: unknown;
1082
+ constructor(options: SDKErrorOptions);
1083
+ }
1084
+
1085
+ export { type AssistantAction, type AuthResponse, type ChatCitation, type ChatRequest, type ChatResponse, type ChatSuggestedAction, type ClassifyOption, type ClassifyRequest, type ClassifyResponse, type CommunicationPreference, type CommunicationsStateResponse, type ConversationKind, type ConversationRecord, type CreateEncounterRequest, type CreateInsuranceRequest, type CreateMedicationRequest, type CreateQuestionnaireRequest, type CreateQuestionnaireResponseRequest, type DemographicsUpdateRequest, type DiagnosticsListQuery, type DiagnosticsResponse, type Environment, type FaceCompareRequest, type FaceCompareResponse, type FaceMatchRequest, type GetPhotoQuery, type GroupKind, type GroupRecord, HCSDK, type HCSDKConfig, HCSDK_OPERATION_SUMMARY, HCSDK_SWAGGER_OPERATION_COUNTS, HCSDK_SWAGGER_PATH_COUNTS, HCSDK_TOTAL_OPERATION_COUNT, type HttpMethod, type HttpRequestOptions, type IdentityDocumentRequest, type InsuranceEligibilityRequest, type InviteChannel, type InviteRecord, type InviteStatus, type JsonObject, type JsonPrimitive, type JsonValue, type KnowledgeCollection, type KnowledgeCollectionSummary, type KnowledgeEntrySummary, type KnowledgeSearchResult, type ListAssistantActionsResponse, type ListConversationsResponse, type ListEncountersQuery, type ListGroupsResponse, type ListInvitesResponse, type ListKnowledgeQuery, type ListKnowledgeResponse, type ListMessagesQuery, type ListMessagesResponse, type ListPresenceResponse, type ListVitalsQuery, type LoginRequest, type MedicationDosage, type MedicationStatusUpdateRequest, type MessageKind, type MessageRecord, type NearestLocationsQuery, type OcrFields, type OcrRequest, type OcrResponse, type PatientAddressUpdateRequest, type PatientPhoneUpdateRequest, type PatientRaceUpdateRequest, type PatientResponse, type PatientSmsVerificationRequest, type PhotoUploadRequest, type PresenceRecord, type PresenceState, type PublicRequestOptions, type QueryParamPrimitive, type QueryParamValue, type QueryParams, type QuestionnaireItem, type QuestionnaireResponseAnswer, type QuestionnaireResponseItem, type RapidTestRequest, type RegisterPatientRequest, type RtcTokenRequest, type RtcTokenResponse, SDKError, type SDKResponse, type SDKRuntimeState, type SearchKnowledgeQuery, type SearchKnowledgeResponse, type ServiceName, type UnknownRecord, type UpsertConversationRequest, type UpsertGroupRequest, type UpsertInviteRequest, type UpsertMessageRequest, type UpsertPresenceRequest, type VerifyEmailRequest, type VitalsRecordRequest, type VitalsResponse, assertEnvironment, isServiceName, resolveBaseUrl };