@healthcloudai/hc-sdk 0.9.0 → 0.9.1

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.
package/dist/index.cjs CHANGED
@@ -659,6 +659,26 @@ var PatientClient = class extends BaseServiceClient {
659
659
  pathParams: { id: fhirPatientId }
660
660
  });
661
661
  }
662
+ getAgentConfiguration() {
663
+ return this.send("GET", "/agentconfiguration", {});
664
+ }
665
+ getAgent() {
666
+ return this.send("GET", "/agent", {});
667
+ }
668
+ getCheckin() {
669
+ return this.send("GET", "/checkin", {});
670
+ }
671
+ getCurrentCareSession() {
672
+ return this.send("GET", "/care-sessions/current", {});
673
+ }
674
+ getPatientSidebar() {
675
+ return this.send("GET", "/patient/sidebar", {});
676
+ }
677
+ createCurrentScreeningSymptoms(request) {
678
+ return this.send("POST", "/screenings/current/symptoms", {
679
+ body: request
680
+ });
681
+ }
662
682
  uploadPhoto(fhirPatientId, request) {
663
683
  return this.send("POST", "/patients/{id}/photo", {
664
684
  pathParams: { id: fhirPatientId },
package/dist/index.d.cts CHANGED
@@ -12395,6 +12395,12 @@ declare class PatientClient extends BaseServiceClient {
12395
12395
  updateRace<TResponse = UpdatedResponse>(fhirPatientId: string, request: PatientRaceUpdateRequest): Promise<TResponse>;
12396
12396
  getProfile<TResponse = PatientResponse>(fhirPatientId: string): Promise<TResponse>;
12397
12397
  getDashboard<TResponse = PatientDashboardResponse>(fhirPatientId: string): Promise<TResponse>;
12398
+ getAgentConfiguration<TResponse = JsonValue>(): Promise<TResponse>;
12399
+ getAgent<TResponse = JsonValue>(): Promise<TResponse>;
12400
+ getCheckin<TResponse = JsonValue>(): Promise<TResponse>;
12401
+ getCurrentCareSession<TResponse = JsonValue>(): Promise<TResponse>;
12402
+ getPatientSidebar<TResponse = JsonValue>(): Promise<TResponse>;
12403
+ createCurrentScreeningSymptoms<TResponse = JsonValue>(request: object): Promise<TResponse>;
12398
12404
  uploadPhoto<TResponse = PhotoUploadResponse>(fhirPatientId: string, request: PhotoUploadRequest): Promise<TResponse>;
12399
12405
  /**
12400
12406
  * Get a patient's photo by binary_id, or the stored photo if binary_id is omitted.
package/dist/index.d.ts CHANGED
@@ -12395,6 +12395,12 @@ declare class PatientClient extends BaseServiceClient {
12395
12395
  updateRace<TResponse = UpdatedResponse>(fhirPatientId: string, request: PatientRaceUpdateRequest): Promise<TResponse>;
12396
12396
  getProfile<TResponse = PatientResponse>(fhirPatientId: string): Promise<TResponse>;
12397
12397
  getDashboard<TResponse = PatientDashboardResponse>(fhirPatientId: string): Promise<TResponse>;
12398
+ getAgentConfiguration<TResponse = JsonValue>(): Promise<TResponse>;
12399
+ getAgent<TResponse = JsonValue>(): Promise<TResponse>;
12400
+ getCheckin<TResponse = JsonValue>(): Promise<TResponse>;
12401
+ getCurrentCareSession<TResponse = JsonValue>(): Promise<TResponse>;
12402
+ getPatientSidebar<TResponse = JsonValue>(): Promise<TResponse>;
12403
+ createCurrentScreeningSymptoms<TResponse = JsonValue>(request: object): Promise<TResponse>;
12398
12404
  uploadPhoto<TResponse = PhotoUploadResponse>(fhirPatientId: string, request: PhotoUploadRequest): Promise<TResponse>;
12399
12405
  /**
12400
12406
  * Get a patient's photo by binary_id, or the stored photo if binary_id is omitted.
package/dist/index.js CHANGED
@@ -588,6 +588,26 @@ var PatientClient = class extends BaseServiceClient {
588
588
  pathParams: { id: fhirPatientId }
589
589
  });
590
590
  }
591
+ getAgentConfiguration() {
592
+ return this.send("GET", "/agentconfiguration", {});
593
+ }
594
+ getAgent() {
595
+ return this.send("GET", "/agent", {});
596
+ }
597
+ getCheckin() {
598
+ return this.send("GET", "/checkin", {});
599
+ }
600
+ getCurrentCareSession() {
601
+ return this.send("GET", "/care-sessions/current", {});
602
+ }
603
+ getPatientSidebar() {
604
+ return this.send("GET", "/patient/sidebar", {});
605
+ }
606
+ createCurrentScreeningSymptoms(request) {
607
+ return this.send("POST", "/screenings/current/symptoms", {
608
+ body: request
609
+ });
610
+ }
591
611
  uploadPhoto(fhirPatientId, request) {
592
612
  return this.send("POST", "/patients/{id}/photo", {
593
613
  pathParams: { id: fhirPatientId },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "All-in-one HealthCloud SDK with typed platform APIs and secure connector clients.",
5
5
  "author": "Healthcheck Systems Inc",
6
6
  "license": "MIT",