@healthcloudai/hc-sdk 0.4.0 → 0.6.0

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
@@ -20,12 +20,46 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ AnthropicClient: () => AnthropicClient,
24
+ AppleAuthClient: () => AppleAuthClient,
25
+ AthenaHealthClient: () => AthenaHealthClient,
26
+ CalClient: () => CalClient,
27
+ CarequalityClient: () => CarequalityClient,
28
+ CmsClient: () => CmsClient,
29
+ ConnectureClient: () => ConnectureClient,
30
+ ElevenLabsClient: () => ElevenLabsClient,
31
+ FedExClient: () => FedExClient,
32
+ GoogleAIClient: () => GoogleAIClient,
33
+ GooglePlacesClient: () => GooglePlacesClient,
34
+ GrokClient: () => GrokClient,
23
35
  HCSDK: () => HCSDK,
24
36
  HCSDK_OPERATION_SUMMARY: () => HCSDK_OPERATION_SUMMARY,
25
37
  HCSDK_SWAGGER_OPERATION_COUNTS: () => HCSDK_SWAGGER_OPERATION_COUNTS,
26
38
  HCSDK_SWAGGER_PATH_COUNTS: () => HCSDK_SWAGGER_PATH_COUNTS,
27
39
  HCSDK_TOTAL_OPERATION_COUNT: () => HCSDK_TOTAL_OPERATION_COUNT,
40
+ HealthieClient: () => HealthieClient,
41
+ ImpiloClient: () => ImpiloClient,
42
+ JunctionClient: () => JunctionClient,
43
+ NppesClient: () => NppesClient,
44
+ OpenAIClient: () => OpenAIClient,
45
+ OuraClient: () => OuraClient,
46
+ PlaidClient: () => PlaidClient,
47
+ QuestClient: () => QuestClient,
48
+ QuestHl7Client: () => QuestHl7Client,
28
49
  SDKError: () => SDKError,
50
+ SalesforceClient: () => SalesforceClient,
51
+ ScrapflyClient: () => ScrapflyClient,
52
+ SenaiteClient: () => SenaiteClient,
53
+ SendGridClient: () => SendGridClient,
54
+ SteadyMDClient: () => SteadyMDClient,
55
+ StediClient: () => StediClient,
56
+ StripeClient: () => StripeClient,
57
+ TwilioClient: () => TwilioClient,
58
+ UberClient: () => UberClient,
59
+ VendorsNamespace: () => VendorsNamespace,
60
+ WhoopClient: () => WhoopClient,
61
+ ZocdocClient: () => ZocdocClient,
62
+ ZusClient: () => ZusClient,
29
63
  assertEnvironment: () => assertEnvironment,
30
64
  isServiceName: () => isServiceName,
31
65
  resolveBaseUrl: () => resolveBaseUrl,
@@ -45,7 +79,8 @@ var SERVICES = [
45
79
  "session",
46
80
  "telehealth",
47
81
  "fieldagent",
48
- "mcp"
82
+ "mcp",
83
+ "connectors"
49
84
  ];
50
85
  function isServiceName(value) {
51
86
  return SERVICES.includes(value);
@@ -118,9 +153,6 @@ var HttpClient = class {
118
153
  Accept: "application/json",
119
154
  ...(_a = options.headers) != null ? _a : {}
120
155
  };
121
- if (this.state.tenantId) {
122
- headers["X-Tenant-ID"] = this.state.tenantId;
123
- }
124
156
  if (options.auth !== false) {
125
157
  if (!this.state.accessToken) {
126
158
  throw new SDKError({
@@ -734,6 +766,2848 @@ var VitalsClient = class extends BaseServiceClient {
734
766
  }
735
767
  };
736
768
 
769
+ // src/clients/vendors/AthenaHealthClient.ts
770
+ var AthenaHealthClient = class extends BaseServiceClient {
771
+ constructor(http) {
772
+ super(http, "connectors");
773
+ }
774
+ a(op, body) {
775
+ return this.send("POST", `/connectors/athena-health/${op}`, { body });
776
+ }
777
+ // ── Patients ──────────────────────────────────────────────────────────────
778
+ /** Search Athena patients by demographics. */
779
+ searchPatients(body) {
780
+ return this.a("search-patients", body);
781
+ }
782
+ /** Get a single Athena patient by ID. */
783
+ getPatient(body) {
784
+ return this.a("get-patient", body);
785
+ }
786
+ // ── Appointments ──────────────────────────────────────────────────────────
787
+ /** List appointments, optionally filtered by patient/department/date range. */
788
+ listAppointments(body = {}) {
789
+ return this.a("list-appointments", body);
790
+ }
791
+ /** List encounters for a specific patient. */
792
+ listEncountersForPatient(body) {
793
+ return this.a("list-encounters-for-patient", body);
794
+ }
795
+ /** Retrieve open appointment slots matching filters. */
796
+ retrieveAvailableAppointmentSlots(body = {}) {
797
+ return this.a("retrieve-available-appointment-slots", body);
798
+ }
799
+ /** Book a patient into an existing open appointment slot. */
800
+ bookAppointment(body) {
801
+ return this.a("book-appointment", body);
802
+ }
803
+ /** Get details for a specific booked appointment. */
804
+ getAppointmentDetails(body) {
805
+ return this.a("get-appointment-details", body);
806
+ }
807
+ /** Get all booked appointments, optionally filtered. */
808
+ getBookedAppointments(body = {}) {
809
+ return this.a("get-booked-appointments", body);
810
+ }
811
+ /** List patient appointment reasons (all, new, or existing patient variants). */
812
+ listPatientAppointmentReasons(body = {}) {
813
+ return this.a("list-patient-appointment-reasons", body);
814
+ }
815
+ /** List new-patient appointment reasons. */
816
+ listNewPatientAppointmentReasons(body = {}) {
817
+ return this.a("list-new-patient-appointment-reasons", body);
818
+ }
819
+ /** List existing-patient appointment reasons. */
820
+ listExistingPatientAppointmentReasons(body = {}) {
821
+ return this.a("list-existing-patient-appointment-reasons", body);
822
+ }
823
+ /** List available appointment confirmation statuses. */
824
+ listAppointmentConfirmationStatuses(body = {}) {
825
+ return this.a("list-appointment-confirmation-statuses", body);
826
+ }
827
+ /** List available appointment types. */
828
+ listAppointmentTypes(body = {}) {
829
+ return this.a("list-appointment-types", body);
830
+ }
831
+ // ── Providers & Departments ───────────────────────────────────────────────
832
+ /** List providers, optionally filtered by department. */
833
+ listProviders(body = {}) {
834
+ return this.a("list-providers", body);
835
+ }
836
+ /** Get a single provider by ID. */
837
+ getProvider(body) {
838
+ return this.a("get-provider", body);
839
+ }
840
+ /** Get a single department by ID. */
841
+ getDepartment(body) {
842
+ return this.a("get-department", body);
843
+ }
844
+ /** List all departments. */
845
+ listDepartments(body = {}) {
846
+ return this.a("list-departments", body);
847
+ }
848
+ /** Get practice-level configuration and info. */
849
+ getPracticeInfo(body = {}) {
850
+ return this.a("get-practice-info", body);
851
+ }
852
+ // ── Appointment Slot Subscriptions ───────────────────────────────────────
853
+ /** Get existing appointment slot subscription configuration. */
854
+ getAppointmentSlotSubscription(body = {}) {
855
+ return this.a("get-appointment-slot-subscription", body);
856
+ }
857
+ /** Subscribe to appointment slot notifications for a provider/department. */
858
+ subscribeAppointmentSlots(body) {
859
+ return this.a("subscribe-appointment-slots", body);
860
+ }
861
+ // ── Questionnaire Screeners ───────────────────────────────────────────────
862
+ /** List available questionnaire screeners. */
863
+ getQuestionnaireScreeners(body = {}) {
864
+ return this.a("get-questionnaire-screeners", body);
865
+ }
866
+ /** Submit a standalone questionnaire screener response. */
867
+ submitQuestionnaireScreener(body) {
868
+ return this.a("submit-questionnaire-screener", body);
869
+ }
870
+ /** Get questionnaire screeners associated with an encounter. */
871
+ getQuestionnaireScreenersEncounter(body) {
872
+ return this.a("get-questionnaire-screeners-encounter", body);
873
+ }
874
+ /** Submit a screener questionnaire response within an encounter. */
875
+ submitScreenerQuestionnaireEncounter(body) {
876
+ return this.a("submit-screener-questionnaire-encounter", body);
877
+ }
878
+ // ── Encounter Documents ───────────────────────────────────────────────────
879
+ /** Attach a document to an encounter. */
880
+ createEncounterDocument(body) {
881
+ return this.a("create-encounter-document", body);
882
+ }
883
+ // ── Check-in ─────────────────────────────────────────────────────────────
884
+ /** Check a patient in for their appointment. */
885
+ checkInPatient(body) {
886
+ return this.a("check-in-patient", body);
887
+ }
888
+ // ── Insurance Packages ────────────────────────────────────────────────────
889
+ /** Add an insurance package for a patient. */
890
+ createInsurancePackage(body) {
891
+ return this.a("create-insurance-package", body);
892
+ }
893
+ /** Remove an insurance package from a patient. */
894
+ deleteInsurancePackage(body) {
895
+ return this.a("delete-insurance-package", body);
896
+ }
897
+ /** Get insurance packages on file for a patient. */
898
+ getInsurancePackages(body = {}) {
899
+ return this.a("get-insurance-packages", body);
900
+ }
901
+ /** Get the most-used insurance packages (useful for autocomplete). */
902
+ getTopInsurancePackages(body = {}) {
903
+ return this.a("get-top-insurance-packages", body);
904
+ }
905
+ // ── Eligibility & Benefit Details ─────────────────────────────────────────
906
+ /** Retrieve existing eligibility and benefit details for a patient. */
907
+ getEligibilityBenefitDetails(body) {
908
+ return this.a("get-eligibility-benefit-details", body);
909
+ }
910
+ /** Trigger an eligibility check and store benefit details for a patient. */
911
+ createEligibilityBenefitDetails(body) {
912
+ return this.a("create-eligibility-benefit-details", body);
913
+ }
914
+ // ── Insurance Cards ───────────────────────────────────────────────────────
915
+ /** Upload front/back insurance card images for a patient. */
916
+ uploadInsuranceCard(body) {
917
+ return this.a("upload-insurance-card", body);
918
+ }
919
+ /** Retrieve stored insurance card images for a patient. */
920
+ getInsuranceCard(body) {
921
+ return this.a("get-insurance-card", body);
922
+ }
923
+ /** Replace stored insurance card images for a patient. */
924
+ updateInsuranceCard(body) {
925
+ return this.a("update-insurance-card", body);
926
+ }
927
+ /** Delete stored insurance card images for a patient. */
928
+ deleteInsuranceCard(body) {
929
+ return this.a("delete-insurance-card", body);
930
+ }
931
+ addEncounterReason(body) {
932
+ return this.send("POST", "/connectors/athena-health/add-encounter-reason", { body });
933
+ }
934
+ addLabResultDocument(body) {
935
+ return this.send("POST", "/connectors/athena-health/add-lab-result-document", { body });
936
+ }
937
+ addPreferredPharmacy(body) {
938
+ return this.send("POST", "/connectors/athena-health/add-preferred-pharmacy", { body });
939
+ }
940
+ answerHealthQuestion(body) {
941
+ return this.send("POST", "/connectors/athena-health/answer-health-question", { body });
942
+ }
943
+ cancelAppointment(body) {
944
+ return this.send("POST", "/connectors/athena-health/cancel-appointment", { body });
945
+ }
946
+ createAllergy(body) {
947
+ return this.send("POST", "/connectors/athena-health/create-allergy", { body });
948
+ }
949
+ createAppointment(body) {
950
+ return this.send("POST", "/connectors/athena-health/create-appointment", { body });
951
+ }
952
+ createAppointmentNote(body) {
953
+ return this.send("POST", "/connectors/athena-health/create-appointment-note", { body });
954
+ }
955
+ createConsent(body) {
956
+ return this.send("POST", "/connectors/athena-health/create-consent", { body });
957
+ }
958
+ createEncounterDiagnosis(body) {
959
+ return this.send("POST", "/connectors/athena-health/create-encounter-diagnosis", { body });
960
+ }
961
+ createFamilyHistory(body) {
962
+ return this.send("POST", "/connectors/athena-health/create-family-history", { body });
963
+ }
964
+ createImmunization(body) {
965
+ return this.send("POST", "/connectors/athena-health/create-immunization", { body });
966
+ }
967
+ createInsurance(body) {
968
+ return this.send("POST", "/connectors/athena-health/create-insurance", { body });
969
+ }
970
+ createLabOrder(body) {
971
+ return this.send("POST", "/connectors/athena-health/create-lab-order", { body });
972
+ }
973
+ createMedication(body) {
974
+ return this.send("POST", "/connectors/athena-health/create-medication", { body });
975
+ }
976
+ createOpenAppointmentSlot(body) {
977
+ return this.send("POST", "/connectors/athena-health/create-open-appointment-slot", { body });
978
+ }
979
+ createPatient(body) {
980
+ return this.send("POST", "/connectors/athena-health/create-patient", { body });
981
+ }
982
+ createProblem(body) {
983
+ return this.send("POST", "/connectors/athena-health/create-problem", { body });
984
+ }
985
+ createProcedure(body) {
986
+ return this.send("POST", "/connectors/athena-health/create-procedure", { body });
987
+ }
988
+ createSocialHistory(body) {
989
+ return this.send("POST", "/connectors/athena-health/create-social-history", { body });
990
+ }
991
+ createTelehealthDeeplink(body) {
992
+ return this.send("POST", "/connectors/athena-health/create-telehealth-deeplink", { body });
993
+ }
994
+ createVital(body) {
995
+ return this.send("POST", "/connectors/athena-health/create-vital", { body });
996
+ }
997
+ deleteEncounterDiagnosis(body) {
998
+ return this.send("POST", "/connectors/athena-health/delete-encounter-diagnosis", { body });
999
+ }
1000
+ deleteEncounterDocument(body) {
1001
+ return this.send("POST", "/connectors/athena-health/delete-encounter-document", { body });
1002
+ }
1003
+ deleteImagingResultDocument(body) {
1004
+ return this.send("POST", "/connectors/athena-health/delete-imaging-result-document", { body });
1005
+ }
1006
+ deleteMedication(body) {
1007
+ return this.send("POST", "/connectors/athena-health/delete-medication", { body });
1008
+ }
1009
+ deletePreferredPharmacy(body) {
1010
+ return this.send("POST", "/connectors/athena-health/delete-preferred-pharmacy", { body });
1011
+ }
1012
+ deleteVaccine(body) {
1013
+ return this.send("POST", "/connectors/athena-health/delete-vaccine", { body });
1014
+ }
1015
+ enhancedBestMatchPatients(body) {
1016
+ return this.send("POST", "/connectors/athena-health/enhanced-best-match-patients", { body });
1017
+ }
1018
+ enhancedBestMatchPatientsByEmail(body) {
1019
+ return this.send("POST", "/connectors/athena-health/enhanced-best-match-patients-by-email", { body });
1020
+ }
1021
+ exportCertifiedCcda(body) {
1022
+ return this.send("POST", "/connectors/athena-health/export-certified-ccda", { body });
1023
+ }
1024
+ getAppointmentEncounterSummary(body) {
1025
+ return this.send("POST", "/connectors/athena-health/get-appointment-encounter-summary", { body });
1026
+ }
1027
+ getAssessPlanCarePlan(body) {
1028
+ return this.send("POST", "/connectors/athena-health/get-assess-plan-care-plan", { body });
1029
+ }
1030
+ getAvailableMessageTypes(body = {}) {
1031
+ return this.send("POST", "/connectors/athena-health/get-available-message-types", { body });
1032
+ }
1033
+ getCareTeam(body) {
1034
+ return this.send("POST", "/connectors/athena-health/get-care-team", { body });
1035
+ }
1036
+ getCareTeamCarePlan(body) {
1037
+ return this.send("POST", "/connectors/athena-health/get-care-team-care-plan", { body });
1038
+ }
1039
+ getClaim(body) {
1040
+ return this.send("POST", "/connectors/athena-health/get-claim", { body });
1041
+ }
1042
+ getClinicalDocumentXml(body) {
1043
+ return this.send("POST", "/connectors/athena-health/get-clinical-document-xml", { body });
1044
+ }
1045
+ getClinicalProvider(body) {
1046
+ return this.send("POST", "/connectors/athena-health/get-clinical-provider", { body });
1047
+ }
1048
+ getDefaultPharmacy(body) {
1049
+ return this.send("POST", "/connectors/athena-health/get-default-pharmacy", { body });
1050
+ }
1051
+ getDriversLicense(body) {
1052
+ return this.send("POST", "/connectors/athena-health/get-drivers-license", { body });
1053
+ }
1054
+ getEncounter(body) {
1055
+ return this.send("POST", "/connectors/athena-health/get-encounter", { body });
1056
+ }
1057
+ getEncounterAssessment(body) {
1058
+ return this.send("POST", "/connectors/athena-health/get-encounter-assessment", { body });
1059
+ }
1060
+ getEncounterHpi(body) {
1061
+ return this.send("POST", "/connectors/athena-health/get-encounter-hpi", { body });
1062
+ }
1063
+ getEncounterSummary(body) {
1064
+ return this.send("POST", "/connectors/athena-health/get-encounter-summary", { body });
1065
+ }
1066
+ getFhirResource(body) {
1067
+ return this.send("POST", "/connectors/athena-health/get-fhir-resource", { body });
1068
+ }
1069
+ getFhirResourceBinary(body) {
1070
+ return this.send("POST", "/connectors/athena-health/get-fhir-resource-binary", { body });
1071
+ }
1072
+ getGenderIdentityFields(body = {}) {
1073
+ return this.send("POST", "/connectors/athena-health/get-gender-identity-fields", { body });
1074
+ }
1075
+ getGpal(body) {
1076
+ return this.send("POST", "/connectors/athena-health/get-gpal", { body });
1077
+ }
1078
+ getGynHistory(body) {
1079
+ return this.send("POST", "/connectors/athena-health/get-gyn-history", { body });
1080
+ }
1081
+ getGynHistoryQuestionConfiguration(body = {}) {
1082
+ return this.send("POST", "/connectors/athena-health/get-gyn-history-question-configuration", { body });
1083
+ }
1084
+ getHpiTemplates(body) {
1085
+ return this.send("POST", "/connectors/athena-health/get-hpi-templates", { body });
1086
+ }
1087
+ getImagingResultDocument(body) {
1088
+ return this.send("POST", "/connectors/athena-health/get-imaging-result-document", { body });
1089
+ }
1090
+ getImagingResultOriginalDocument(body) {
1091
+ return this.send("POST", "/connectors/athena-health/get-imaging-result-original-document", { body });
1092
+ }
1093
+ getLabResult(body) {
1094
+ return this.send("POST", "/connectors/athena-health/get-lab-result", { body });
1095
+ }
1096
+ getLabResultOriginalDocument(body) {
1097
+ return this.send("POST", "/connectors/athena-health/get-lab-result-original-document", { body });
1098
+ }
1099
+ getMedicationChangeEvents(body = {}) {
1100
+ return this.send("POST", "/connectors/athena-health/get-medication-change-events", { body });
1101
+ }
1102
+ getMedicationChangeSubscription(body = {}) {
1103
+ return this.send("POST", "/connectors/athena-health/get-medication-change-subscription", { body });
1104
+ }
1105
+ getPatientCcda(body) {
1106
+ return this.send("POST", "/connectors/athena-health/get-patient-ccda", { body });
1107
+ }
1108
+ getPatientChangeEvents(body = {}) {
1109
+ return this.send("POST", "/connectors/athena-health/get-patient-change-events", { body });
1110
+ }
1111
+ getPatientChangeSubscription(body = {}) {
1112
+ return this.send("POST", "/connectors/athena-health/get-patient-change-subscription", { body });
1113
+ }
1114
+ getPatientPhoto(body) {
1115
+ return this.send("POST", "/connectors/athena-health/get-patient-photo", { body });
1116
+ }
1117
+ getPatientSearchTypes(body = {}) {
1118
+ return this.send("POST", "/connectors/athena-health/get-patient-search-types", { body });
1119
+ }
1120
+ getPerinatalHistory(body) {
1121
+ return this.send("POST", "/connectors/athena-health/get-perinatal-history", { body });
1122
+ }
1123
+ getPortalAccess(body) {
1124
+ return this.send("POST", "/connectors/athena-health/get-portal-access", { body });
1125
+ }
1126
+ getPreferredPharmacy(body) {
1127
+ return this.send("POST", "/connectors/athena-health/get-preferred-pharmacy", { body });
1128
+ }
1129
+ getPrescriptionCardImage(body) {
1130
+ return this.send("POST", "/connectors/athena-health/get-prescription-card-image", { body });
1131
+ }
1132
+ getProblemChangeEvents(body = {}) {
1133
+ return this.send("POST", "/connectors/athena-health/get-problem-change-events", { body });
1134
+ }
1135
+ getProblemChangeSubscription(body = {}) {
1136
+ return this.send("POST", "/connectors/athena-health/get-problem-change-subscription", { body });
1137
+ }
1138
+ getRecipientClasses(body = {}) {
1139
+ return this.send("POST", "/connectors/athena-health/get-recipient-classes", { body });
1140
+ }
1141
+ getReviewOfSystems(body) {
1142
+ return this.send("POST", "/connectors/athena-health/get-review-of-systems", { body });
1143
+ }
1144
+ getSoapNotes(body) {
1145
+ return this.send("POST", "/connectors/athena-health/get-soap-notes", { body });
1146
+ }
1147
+ getSocialHistoryTemplates(body) {
1148
+ return this.send("POST", "/connectors/athena-health/get-social-history-templates", { body });
1149
+ }
1150
+ getVitalsConfiguration(body = {}) {
1151
+ return this.send("POST", "/connectors/athena-health/get-vitals-configuration", { body });
1152
+ }
1153
+ listAdministeredQuestionnaireScreeners(body) {
1154
+ return this.send("POST", "/connectors/athena-health/list-administered-questionnaire-screeners", { body });
1155
+ }
1156
+ listAllergies(body) {
1157
+ return this.send("POST", "/connectors/athena-health/list-allergies", { body });
1158
+ }
1159
+ listAllergyReactions(body = {}) {
1160
+ return this.send("POST", "/connectors/athena-health/list-allergy-reactions", { body });
1161
+ }
1162
+ listCancerCases(body) {
1163
+ return this.send("POST", "/connectors/athena-health/list-cancer-cases", { body });
1164
+ }
1165
+ listCarePlans(body) {
1166
+ return this.send("POST", "/connectors/athena-health/list-care-plans", { body });
1167
+ }
1168
+ listChangedPatients(body = {}) {
1169
+ return this.send("POST", "/connectors/athena-health/list-changed-patients", { body });
1170
+ }
1171
+ listClosedClaims(body) {
1172
+ return this.send("POST", "/connectors/athena-health/list-closed-claims", { body });
1173
+ }
1174
+ listConfiguredEncounterReasons(body = {}) {
1175
+ return this.send("POST", "/connectors/athena-health/list-configured-encounter-reasons", { body });
1176
+ }
1177
+ listConsents(body) {
1178
+ return this.send("POST", "/connectors/athena-health/list-consents", { body });
1179
+ }
1180
+ listDocuments(body) {
1181
+ return this.send("POST", "/connectors/athena-health/list-documents", { body });
1182
+ }
1183
+ listEncounterDiagnoses(body) {
1184
+ return this.send("POST", "/connectors/athena-health/list-encounter-diagnoses", { body });
1185
+ }
1186
+ listEncounterDocuments(body) {
1187
+ return this.send("POST", "/connectors/athena-health/list-encounter-documents", { body });
1188
+ }
1189
+ listEncounterOrders(body) {
1190
+ return this.send("POST", "/connectors/athena-health/list-encounter-orders", { body });
1191
+ }
1192
+ listEncounterReasons(body) {
1193
+ return this.send("POST", "/connectors/athena-health/list-encounter-reasons", { body });
1194
+ }
1195
+ listEthnicities(body = {}) {
1196
+ return this.send("POST", "/connectors/athena-health/list-ethnicities", { body });
1197
+ }
1198
+ listFamilyHistory(body) {
1199
+ return this.send("POST", "/connectors/athena-health/list-family-history", { body });
1200
+ }
1201
+ listHealthHistory(body) {
1202
+ return this.send("POST", "/connectors/athena-health/list-health-history", { body });
1203
+ }
1204
+ listImagingResultDocuments(body) {
1205
+ return this.send("POST", "/connectors/athena-health/list-imaging-result-documents", { body });
1206
+ }
1207
+ listImmunizations(body) {
1208
+ return this.send("POST", "/connectors/athena-health/list-immunizations", { body });
1209
+ }
1210
+ listImmunizationsFhir(body) {
1211
+ return this.send("POST", "/connectors/athena-health/list-immunizations-fhir", { body });
1212
+ }
1213
+ listInboxMessages(body) {
1214
+ return this.send("POST", "/connectors/athena-health/list-inbox-messages", { body });
1215
+ }
1216
+ listInsurance(body) {
1217
+ return this.send("POST", "/connectors/athena-health/list-insurance", { body });
1218
+ }
1219
+ listLabAnalytes(body) {
1220
+ return this.send("POST", "/connectors/athena-health/list-lab-analytes", { body });
1221
+ }
1222
+ listLabResultDocuments(body) {
1223
+ return this.send("POST", "/connectors/athena-health/list-lab-result-documents", { body });
1224
+ }
1225
+ listLabResults(body) {
1226
+ return this.send("POST", "/connectors/athena-health/list-lab-results", { body });
1227
+ }
1228
+ listMedicalHistoryQuestions(body = {}) {
1229
+ return this.send("POST", "/connectors/athena-health/list-medical-history-questions", { body });
1230
+ }
1231
+ listMedicationChanges(body = {}) {
1232
+ return this.send("POST", "/connectors/athena-health/list-medication-changes", { body });
1233
+ }
1234
+ listMedications(body) {
1235
+ return this.send("POST", "/connectors/athena-health/list-medications", { body });
1236
+ }
1237
+ listOpenClaims(body) {
1238
+ return this.send("POST", "/connectors/athena-health/list-open-claims", { body });
1239
+ }
1240
+ listOpenClaimsDetailed(body) {
1241
+ return this.send("POST", "/connectors/athena-health/list-open-claims-detailed", { body });
1242
+ }
1243
+ listPatientAppointments(body) {
1244
+ return this.send("POST", "/connectors/athena-health/list-patient-appointments", { body });
1245
+ }
1246
+ listPatients(body = {}) {
1247
+ return this.send("POST", "/connectors/athena-health/list-patients", { body });
1248
+ }
1249
+ listPatientsByCustomField(body) {
1250
+ return this.send("POST", "/connectors/athena-health/list-patients-by-custom-field", { body });
1251
+ }
1252
+ listPatientsByDepartment(body = {}) {
1253
+ return this.send("POST", "/connectors/athena-health/list-patients-by-department", { body });
1254
+ }
1255
+ listPatientsByLastUpdatedRange(body) {
1256
+ return this.send("POST", "/connectors/athena-health/list-patients-by-last-updated-range", { body });
1257
+ }
1258
+ listPhysicalTherapyEpisodes(body) {
1259
+ return this.send("POST", "/connectors/athena-health/list-physical-therapy-episodes", { body });
1260
+ }
1261
+ listPrescriptions(body) {
1262
+ return this.send("POST", "/connectors/athena-health/list-prescriptions", { body });
1263
+ }
1264
+ listProblemChanges(body = {}) {
1265
+ return this.send("POST", "/connectors/athena-health/list-problem-changes", { body });
1266
+ }
1267
+ listProblems(body) {
1268
+ return this.send("POST", "/connectors/athena-health/list-problems", { body });
1269
+ }
1270
+ listProcedures(body) {
1271
+ return this.send("POST", "/connectors/athena-health/list-procedures", { body });
1272
+ }
1273
+ listQuestionnaireScreeners(body = {}) {
1274
+ return this.send("POST", "/connectors/athena-health/list-questionnaire-screeners", { body });
1275
+ }
1276
+ listRaces(body = {}) {
1277
+ return this.send("POST", "/connectors/athena-health/list-races", { body });
1278
+ }
1279
+ listReferrals(body) {
1280
+ return this.send("POST", "/connectors/athena-health/list-referrals", { body });
1281
+ }
1282
+ listSentMessages(body) {
1283
+ return this.send("POST", "/connectors/athena-health/list-sent-messages", { body });
1284
+ }
1285
+ listSocialHistory(body) {
1286
+ return this.send("POST", "/connectors/athena-health/list-social-history", { body });
1287
+ }
1288
+ listSocialHistoryQuestions(body = {}) {
1289
+ return this.send("POST", "/connectors/athena-health/list-social-history-questions", { body });
1290
+ }
1291
+ listSurgicalHistory(body) {
1292
+ return this.send("POST", "/connectors/athena-health/list-surgical-history", { body });
1293
+ }
1294
+ listVitals(body) {
1295
+ return this.send("POST", "/connectors/athena-health/list-vitals", { body });
1296
+ }
1297
+ listVitalsCcda(body) {
1298
+ return this.send("POST", "/connectors/athena-health/list-vitals-ccda", { body });
1299
+ }
1300
+ searchAllergens(body) {
1301
+ return this.send("POST", "/connectors/athena-health/search-allergens", { body });
1302
+ }
1303
+ searchClinicalProviders(body = {}) {
1304
+ return this.send("POST", "/connectors/athena-health/search-clinical-providers", { body });
1305
+ }
1306
+ searchMedications(body) {
1307
+ return this.send("POST", "/connectors/athena-health/search-medications", { body });
1308
+ }
1309
+ sendSecureMessage(body) {
1310
+ return this.send("POST", "/connectors/athena-health/send-secure-message", { body });
1311
+ }
1312
+ setDefaultPharmacy(body) {
1313
+ return this.send("POST", "/connectors/athena-health/set-default-pharmacy", { body });
1314
+ }
1315
+ setEncounterReasonNote(body) {
1316
+ return this.send("POST", "/connectors/athena-health/set-encounter-reason-note", { body });
1317
+ }
1318
+ submitOrder(body) {
1319
+ return this.send("POST", "/connectors/athena-health/submit-order", { body });
1320
+ }
1321
+ subscribeMedicationChanges(body) {
1322
+ return this.send("POST", "/connectors/athena-health/subscribe-medication-changes", { body });
1323
+ }
1324
+ unsubscribeMedicationChanges(body = {}) {
1325
+ return this.send("POST", "/connectors/athena-health/unsubscribe-medication-changes", { body });
1326
+ }
1327
+ updateAllergies(body) {
1328
+ return this.send("POST", "/connectors/athena-health/update-allergies", { body });
1329
+ }
1330
+ updateAppointmentCustomField(body) {
1331
+ return this.send("POST", "/connectors/athena-health/update-appointment-custom-field", { body });
1332
+ }
1333
+ updateDriversLicense(body) {
1334
+ return this.send("POST", "/connectors/athena-health/update-drivers-license", { body });
1335
+ }
1336
+ updateEncounterAssessment(body) {
1337
+ return this.send("POST", "/connectors/athena-health/update-encounter-assessment", { body });
1338
+ }
1339
+ updateEncounterDiagnosis(body) {
1340
+ return this.send("POST", "/connectors/athena-health/update-encounter-diagnosis", { body });
1341
+ }
1342
+ updateEncounterHpi(body) {
1343
+ return this.send("POST", "/connectors/athena-health/update-encounter-hpi", { body });
1344
+ }
1345
+ updateMedication(body) {
1346
+ return this.send("POST", "/connectors/athena-health/update-medication", { body });
1347
+ }
1348
+ updateMedicationsSection(body) {
1349
+ return this.send("POST", "/connectors/athena-health/update-medications-section", { body });
1350
+ }
1351
+ updatePatient(body) {
1352
+ return this.send("POST", "/connectors/athena-health/update-patient", { body });
1353
+ }
1354
+ updatePatientCcda(body) {
1355
+ return this.send("POST", "/connectors/athena-health/update-patient-ccda", { body });
1356
+ }
1357
+ updateProblemsSection(body) {
1358
+ return this.send("POST", "/connectors/athena-health/update-problems-section", { body });
1359
+ }
1360
+ updateReviewOfSystems(body) {
1361
+ return this.send("POST", "/connectors/athena-health/update-review-of-systems", { body });
1362
+ }
1363
+ updateSoapNote(body) {
1364
+ return this.send("POST", "/connectors/athena-health/update-soap-note", { body });
1365
+ }
1366
+ updateVaccine(body) {
1367
+ return this.send("POST", "/connectors/athena-health/update-vaccine", { body });
1368
+ }
1369
+ updateVital(body) {
1370
+ return this.send("POST", "/connectors/athena-health/update-vital", { body });
1371
+ }
1372
+ uploadDocument(body) {
1373
+ return this.send("POST", "/connectors/athena-health/upload-document", { body });
1374
+ }
1375
+ uploadImagingResultDocument(body) {
1376
+ return this.send("POST", "/connectors/athena-health/upload-imaging-result-document", { body });
1377
+ }
1378
+ uploadPatientPhoto(body) {
1379
+ return this.send("POST", "/connectors/athena-health/upload-patient-photo", { body });
1380
+ }
1381
+ uploadPrescriptionCardImage(body) {
1382
+ return this.send("POST", "/connectors/athena-health/upload-prescription-card-image", { body });
1383
+ }
1384
+ };
1385
+
1386
+ // src/clients/vendors/StripeClient.ts
1387
+ var StripeClient = class extends BaseServiceClient {
1388
+ constructor(http) {
1389
+ super(http, "connectors");
1390
+ }
1391
+ s(op, body) {
1392
+ return this.send("POST", `/connectors/stripe/${op}`, { body });
1393
+ }
1394
+ /** Create a Stripe PaymentIntent. Returns the client_secret for client-side confirmation. */
1395
+ createPaymentIntent(body) {
1396
+ return this.s("create-payment-intent", body);
1397
+ }
1398
+ /** Retrieve the status of an existing PaymentIntent. */
1399
+ getPaymentIntentStatus(body) {
1400
+ return this.s("get-payment-intent-status", body);
1401
+ }
1402
+ /** Create a Stripe Customer record. */
1403
+ createCustomer(body) {
1404
+ return this.s("create-customer", body);
1405
+ }
1406
+ /** Create a Stripe Subscription for an existing customer and price. */
1407
+ createSubscription(body) {
1408
+ return this.s("create-subscription", body);
1409
+ }
1410
+ /** Create a Stripe Checkout Session. */
1411
+ createSession(body) {
1412
+ return this.s("create-session", body);
1413
+ }
1414
+ /** List active Stripe products. */
1415
+ listProducts(body = {}) {
1416
+ return this.s("list-products", body);
1417
+ }
1418
+ /** Create a new Stripe Price for an existing product. */
1419
+ createCopayPrice(body) {
1420
+ return this.s("create-copay-price", body);
1421
+ }
1422
+ /** Verify that the configured Stripe credentials are valid. */
1423
+ verifyConnection(body = {}) {
1424
+ return this.s("verify-connection", body);
1425
+ }
1426
+ /** Validate a card payment method without charging it. */
1427
+ validateAndTokenizeCard(body) {
1428
+ return this.s("validate-and-tokenize-card", body);
1429
+ }
1430
+ /** Create a direct charge against a source or customer. */
1431
+ chargePaymentSession(body) {
1432
+ return this.s("charge-payment-session", body);
1433
+ }
1434
+ };
1435
+
1436
+ // src/clients/vendors/TwilioClient.ts
1437
+ var TwilioClient = class extends BaseServiceClient {
1438
+ constructor(http) {
1439
+ super(http, "connectors");
1440
+ }
1441
+ /** Send an SMS message via Twilio. */
1442
+ sendSms(body) {
1443
+ return this.send("POST", "/connectors/twilio/send-sms", { body });
1444
+ }
1445
+ /** Retrieve a specific Twilio message by SID. */
1446
+ getMessage(body) {
1447
+ return this.send("POST", "/connectors/twilio/get-message", { body });
1448
+ }
1449
+ /** List Twilio messages, optionally filtered by to/from/date. */
1450
+ listMessages(body) {
1451
+ return this.send("POST", "/connectors/twilio/list-messages", { body });
1452
+ }
1453
+ };
1454
+
1455
+ // src/clients/vendors/StediClient.ts
1456
+ var StediClient = class extends BaseServiceClient {
1457
+ constructor(http) {
1458
+ super(http, "connectors");
1459
+ }
1460
+ /** Check insurance eligibility via the Stedi 270/271 API. */
1461
+ checkEligibility(body) {
1462
+ return this.send("POST", "/connectors/stedi/check-eligibility", { body });
1463
+ }
1464
+ /** Submit an X12 837 medical claim. */
1465
+ submitClaim(body) {
1466
+ return this.send("POST", "/connectors/stedi/submit-claim", { body });
1467
+ }
1468
+ /** Verify a provider by NPI via NPPES (routed through Stedi). */
1469
+ verifyProvider(body) {
1470
+ return this.send("POST", "/connectors/stedi/verify-provider", { body });
1471
+ }
1472
+ checkClaimStatus(body = {}) {
1473
+ return this.send("POST", "/connectors/stedi/check-claim-status", { body });
1474
+ }
1475
+ checkCoordinationOfBenefits(body = {}) {
1476
+ return this.send("POST", "/connectors/stedi/check-coordination-of-benefits", { body });
1477
+ }
1478
+ discoverInsurance(body = {}) {
1479
+ return this.send("POST", "/connectors/stedi/discover-insurance", { body });
1480
+ }
1481
+ get835EraReport(body) {
1482
+ return this.send("POST", "/connectors/stedi/get-835-era-report", { body });
1483
+ }
1484
+ getInsuranceDiscoveryResults(body) {
1485
+ return this.send("POST", "/connectors/stedi/get-insurance-discovery-results", { body });
1486
+ }
1487
+ submitInstitutionalClaim(body = {}) {
1488
+ return this.send("POST", "/connectors/stedi/submit-institutional-claim", { body });
1489
+ }
1490
+ submitProfessionalClaim(body = {}) {
1491
+ return this.send("POST", "/connectors/stedi/submit-professional-claim", { body });
1492
+ }
1493
+ };
1494
+
1495
+ // src/clients/vendors/SalesforceClient.ts
1496
+ var SalesforceClient = class extends BaseServiceClient {
1497
+ constructor(http) {
1498
+ super(http, "connectors");
1499
+ }
1500
+ /** Execute a SOQL query and return matching records. */
1501
+ query(body) {
1502
+ return this.send("POST", "/connectors/salesforce/query", { body });
1503
+ }
1504
+ /** Create a new Salesforce record of the given sObject type. */
1505
+ create(body) {
1506
+ return this.send("POST", "/connectors/salesforce/create", { body });
1507
+ }
1508
+ /** Retrieve a single Salesforce record by sObject type and record ID. */
1509
+ get(body) {
1510
+ return this.send("POST", "/connectors/salesforce/get", { body });
1511
+ }
1512
+ buildCaseDescription(body) {
1513
+ return this.send("POST", "/connectors/salesforce/build-case-description", { body });
1514
+ }
1515
+ createAccount(body) {
1516
+ return this.send("POST", "/connectors/salesforce/create-account", { body });
1517
+ }
1518
+ createCallLog(body) {
1519
+ return this.send("POST", "/connectors/salesforce/create-call-log", { body });
1520
+ }
1521
+ createCampaign(body) {
1522
+ return this.send("POST", "/connectors/salesforce/create-campaign", { body });
1523
+ }
1524
+ createCase(body) {
1525
+ return this.send("POST", "/connectors/salesforce/create-case", { body });
1526
+ }
1527
+ createContact(body) {
1528
+ return this.send("POST", "/connectors/salesforce/create-contact", { body });
1529
+ }
1530
+ createEvent(body) {
1531
+ return this.send("POST", "/connectors/salesforce/create-event", { body });
1532
+ }
1533
+ createPatient(body) {
1534
+ return this.send("POST", "/connectors/salesforce/create-patient", { body });
1535
+ }
1536
+ createSegment(body) {
1537
+ return this.send("POST", "/connectors/salesforce/create-segment", { body });
1538
+ }
1539
+ deleteAccount(body) {
1540
+ return this.send("POST", "/connectors/salesforce/delete-account", { body });
1541
+ }
1542
+ deleteCallLog(body) {
1543
+ return this.send("POST", "/connectors/salesforce/delete-call-log", { body });
1544
+ }
1545
+ deleteCampaign(body) {
1546
+ return this.send("POST", "/connectors/salesforce/delete-campaign", { body });
1547
+ }
1548
+ deleteCase(body) {
1549
+ return this.send("POST", "/connectors/salesforce/delete-case", { body });
1550
+ }
1551
+ deleteEvent(body) {
1552
+ return this.send("POST", "/connectors/salesforce/delete-event", { body });
1553
+ }
1554
+ deletePatient(body) {
1555
+ return this.send("POST", "/connectors/salesforce/delete-patient", { body });
1556
+ }
1557
+ deleteSegment(body) {
1558
+ return this.send("POST", "/connectors/salesforce/delete-segment", { body });
1559
+ }
1560
+ describe(body) {
1561
+ return this.send("POST", "/connectors/salesforce/describe", { body });
1562
+ }
1563
+ getAccount(body) {
1564
+ return this.send("POST", "/connectors/salesforce/get-account", { body });
1565
+ }
1566
+ getAccountByTenant(body) {
1567
+ return this.send("POST", "/connectors/salesforce/get-account-by-tenant", { body });
1568
+ }
1569
+ getAvailableSlots(body = {}) {
1570
+ return this.send("POST", "/connectors/salesforce/get-available-slots", { body });
1571
+ }
1572
+ getCallLog(body) {
1573
+ return this.send("POST", "/connectors/salesforce/get-call-log", { body });
1574
+ }
1575
+ getCampaign(body) {
1576
+ return this.send("POST", "/connectors/salesforce/get-campaign", { body });
1577
+ }
1578
+ getCase(body) {
1579
+ return this.send("POST", "/connectors/salesforce/get-case", { body });
1580
+ }
1581
+ getConfiguration(body = {}) {
1582
+ return this.send("POST", "/connectors/salesforce/get-configuration", { body });
1583
+ }
1584
+ getContact(body = {}) {
1585
+ return this.send("POST", "/connectors/salesforce/get-contact", { body });
1586
+ }
1587
+ getEvent(body) {
1588
+ return this.send("POST", "/connectors/salesforce/get-event", { body });
1589
+ }
1590
+ getHealthcareOrgIdByTenant(body) {
1591
+ return this.send("POST", "/connectors/salesforce/get-healthcare-org-id-by-tenant", { body });
1592
+ }
1593
+ getNotScheduledEvents(body = {}) {
1594
+ return this.send("POST", "/connectors/salesforce/get-not-scheduled-events", { body });
1595
+ }
1596
+ getPatient(body) {
1597
+ return this.send("POST", "/connectors/salesforce/get-patient", { body });
1598
+ }
1599
+ getPatientByEmail(body) {
1600
+ return this.send("POST", "/connectors/salesforce/get-patient-by-email", { body });
1601
+ }
1602
+ getPatientByPhone(body) {
1603
+ return this.send("POST", "/connectors/salesforce/get-patient-by-phone", { body });
1604
+ }
1605
+ getSegment(body) {
1606
+ return this.send("POST", "/connectors/salesforce/get-segment", { body });
1607
+ }
1608
+ listAccounts(body = {}) {
1609
+ return this.send("POST", "/connectors/salesforce/list-accounts", { body });
1610
+ }
1611
+ listCallLogs(body = {}) {
1612
+ return this.send("POST", "/connectors/salesforce/list-call-logs", { body });
1613
+ }
1614
+ listCampaigns(body = {}) {
1615
+ return this.send("POST", "/connectors/salesforce/list-campaigns", { body });
1616
+ }
1617
+ listCases(body = {}) {
1618
+ return this.send("POST", "/connectors/salesforce/list-cases", { body });
1619
+ }
1620
+ listEvents(body = {}) {
1621
+ return this.send("POST", "/connectors/salesforce/list-events", { body });
1622
+ }
1623
+ listPatients(body = {}) {
1624
+ return this.send("POST", "/connectors/salesforce/list-patients", { body });
1625
+ }
1626
+ listSegments(body = {}) {
1627
+ return this.send("POST", "/connectors/salesforce/list-segments", { body });
1628
+ }
1629
+ scheduleEvent(body) {
1630
+ return this.send("POST", "/connectors/salesforce/schedule-event", { body });
1631
+ }
1632
+ setAccountSenaiteId(body) {
1633
+ return this.send("POST", "/connectors/salesforce/set-account-senaite-id", { body });
1634
+ }
1635
+ update(body) {
1636
+ return this.send("POST", "/connectors/salesforce/update", { body });
1637
+ }
1638
+ updateAccount(body) {
1639
+ return this.send("POST", "/connectors/salesforce/update-account", { body });
1640
+ }
1641
+ updateAccountAssets(body) {
1642
+ return this.send("POST", "/connectors/salesforce/update-account-assets", { body });
1643
+ }
1644
+ updateCallLog(body) {
1645
+ return this.send("POST", "/connectors/salesforce/update-call-log", { body });
1646
+ }
1647
+ updateCampaign(body) {
1648
+ return this.send("POST", "/connectors/salesforce/update-campaign", { body });
1649
+ }
1650
+ updatePatient(body) {
1651
+ return this.send("POST", "/connectors/salesforce/update-patient", { body });
1652
+ }
1653
+ updateSegment(body) {
1654
+ return this.send("POST", "/connectors/salesforce/update-segment", { body });
1655
+ }
1656
+ };
1657
+
1658
+ // src/clients/vendors/QuestClient.ts
1659
+ var QuestClient = class extends BaseServiceClient {
1660
+ constructor(http) {
1661
+ super(http, "connectors");
1662
+ }
1663
+ /** Create a lab order with Quest Diagnostics. */
1664
+ createOrder(body) {
1665
+ return this.send("POST", "/connectors/quest/create-order", { body });
1666
+ }
1667
+ /** Retrieve lab results for an order or patient. */
1668
+ getResults(body) {
1669
+ return this.send("POST", "/connectors/quest/get-results", { body });
1670
+ }
1671
+ /** Browse the Quest test catalog. */
1672
+ listTests(body) {
1673
+ return this.send("POST", "/connectors/quest/list-tests", { body });
1674
+ }
1675
+ };
1676
+
1677
+ // src/clients/vendors/QuestHl7Client.ts
1678
+ var QuestHl7Client = class extends BaseServiceClient {
1679
+ constructor(http) {
1680
+ super(http, "connectors");
1681
+ }
1682
+ p(operation, body) {
1683
+ return this.send("POST", `/connectors/quest/${operation}`, { body });
1684
+ }
1685
+ getAccessToken(body = {}) {
1686
+ return this.p("get-access-token", body);
1687
+ }
1688
+ clearTokenCache(body = {}) {
1689
+ return this.p("clear-token-cache", body);
1690
+ }
1691
+ submitOrder(body) {
1692
+ return this.p("submit-order", body);
1693
+ }
1694
+ getOrderDocuments(body) {
1695
+ return this.p("get-order-documents", body);
1696
+ }
1697
+ evaluateAbn(body) {
1698
+ return this.p("evaluate-abn", body);
1699
+ }
1700
+ getRequisition(body) {
1701
+ return this.p("get-requisition", body);
1702
+ }
1703
+ evaluateAoe(body) {
1704
+ return this.p("evaluate-aoe", body);
1705
+ }
1706
+ submitFullOrder(body) {
1707
+ return this.p("submit-full-order", body);
1708
+ }
1709
+ getHl7Results(body = {}) {
1710
+ return this.p("get-hl7-results", body);
1711
+ }
1712
+ getPrintableResults(body = {}) {
1713
+ return this.p("get-printable-results", body);
1714
+ }
1715
+ getObservationResults(body = {}) {
1716
+ return this.p("get-observation-results", body);
1717
+ }
1718
+ acknowledgeHl7Results(body) {
1719
+ return this.p("acknowledge-hl7-results", body);
1720
+ }
1721
+ acknowledgePrintableResults(body) {
1722
+ return this.p("acknowledge-printable-results", body);
1723
+ }
1724
+ acknowledgeObservationResults(body) {
1725
+ return this.p("acknowledge-observation-results", body);
1726
+ }
1727
+ buildResultsAck(body) {
1728
+ return this.p("build-results-ack", body);
1729
+ }
1730
+ processPushedResult(body) {
1731
+ return this.p("process-pushed-result", body);
1732
+ }
1733
+ requestCompendiums(body = {}) {
1734
+ return this.p("request-compendiums", body);
1735
+ }
1736
+ requestCompendiumsOnDemand(body) {
1737
+ return this.p("request-compendiums-on-demand", body);
1738
+ }
1739
+ retrieveCompendium(body) {
1740
+ return this.p("retrieve-compendium", body);
1741
+ }
1742
+ retrieveAndExtractCompendium(body) {
1743
+ return this.p("retrieve-and-extract-compendium", body);
1744
+ }
1745
+ acknowledgeCompendium(body) {
1746
+ return this.p("acknowledge-compendium", body);
1747
+ }
1748
+ syncCompendiums(body = {}) {
1749
+ return this.p("sync-compendiums", body);
1750
+ }
1751
+ };
1752
+
1753
+ // src/clients/vendors/OpenAIClient.ts
1754
+ var OpenAIClient = class extends BaseServiceClient {
1755
+ constructor(http) {
1756
+ super(http, "connectors");
1757
+ }
1758
+ /** Send a chat completion request to OpenAI. */
1759
+ chat(body) {
1760
+ return this.send("POST", "/connectors/openai/chat", { body });
1761
+ }
1762
+ /** Generate text embeddings via OpenAI. */
1763
+ embed(body) {
1764
+ return this.send("POST", "/connectors/openai/embed", { body });
1765
+ }
1766
+ buildResponseCreatePayload(body = {}) {
1767
+ return this.send("POST", "/connectors/openai/build-response-create-payload", { body });
1768
+ }
1769
+ chatJson(body) {
1770
+ return this.send("POST", "/connectors/openai/chat-json", { body });
1771
+ }
1772
+ createAssistant(body) {
1773
+ return this.send("POST", "/connectors/openai/create-assistant", { body });
1774
+ }
1775
+ deleteAssistant(body) {
1776
+ return this.send("POST", "/connectors/openai/delete-assistant", { body });
1777
+ }
1778
+ getAssistant(body) {
1779
+ return this.send("POST", "/connectors/openai/get-assistant", { body });
1780
+ }
1781
+ moderate(body) {
1782
+ return this.send("POST", "/connectors/openai/moderate", { body });
1783
+ }
1784
+ updateAssistant(body) {
1785
+ return this.send("POST", "/connectors/openai/update-assistant", { body });
1786
+ }
1787
+ };
1788
+
1789
+ // src/clients/vendors/AnthropicClient.ts
1790
+ var AnthropicClient = class extends BaseServiceClient {
1791
+ constructor(http) {
1792
+ super(http, "connectors");
1793
+ }
1794
+ /** Send a message to an Anthropic Claude model. */
1795
+ message(body) {
1796
+ return this.send("POST", "/connectors/anthropic/message", { body });
1797
+ }
1798
+ };
1799
+
1800
+ // src/clients/vendors/GoogleAIClient.ts
1801
+ var GoogleAIClient = class extends BaseServiceClient {
1802
+ constructor(http) {
1803
+ super(http, "connectors");
1804
+ }
1805
+ /** Generate a response from a Gemini model. */
1806
+ generate(body) {
1807
+ return this.send("POST", "/connectors/google-ai/generate", { body });
1808
+ }
1809
+ /** Generate text embeddings via Gemini. */
1810
+ embed(body) {
1811
+ return this.send("POST", "/connectors/google-ai/embed", { body });
1812
+ }
1813
+ invokeA1cVisionCapture(body) {
1814
+ return this.send("POST", "/connectors/google-ai/invoke-a1c-vision-capture", { body });
1815
+ }
1816
+ };
1817
+
1818
+ // src/clients/vendors/GooglePlacesClient.ts
1819
+ var GooglePlacesClient = class extends BaseServiceClient {
1820
+ constructor(http) {
1821
+ super(http, "connectors");
1822
+ }
1823
+ /** Find places near a lat/lng coordinate within a radius. */
1824
+ nearbySearch(body) {
1825
+ return this.send("POST", "/connectors/google-places/nearby-search", { body });
1826
+ }
1827
+ /** Retrieve detailed information about a place by place_id. */
1828
+ placeDetails(body) {
1829
+ return this.send("POST", "/connectors/google-places/place-details", { body });
1830
+ }
1831
+ /** Search for places by text query. */
1832
+ textSearch(body) {
1833
+ return this.send("POST", "/connectors/google-places/text-search", { body });
1834
+ }
1835
+ };
1836
+
1837
+ // src/clients/vendors/SendGridClient.ts
1838
+ var SendGridClient = class extends BaseServiceClient {
1839
+ constructor(http) {
1840
+ super(http, "connectors");
1841
+ }
1842
+ /** Send a transactional email via SendGrid. Supports static content and dynamic templates. */
1843
+ sendEmail(body) {
1844
+ return this.send("POST", "/connectors/sendgrid/send-email", { body });
1845
+ }
1846
+ /** List SendGrid email templates. */
1847
+ listTemplates(body) {
1848
+ return this.send("POST", "/connectors/sendgrid/list-templates", { body });
1849
+ }
1850
+ };
1851
+
1852
+ // src/clients/vendors/ElevenLabsClient.ts
1853
+ var ElevenLabsClient = class extends BaseServiceClient {
1854
+ constructor(http) {
1855
+ super(http, "connectors");
1856
+ }
1857
+ /** Synthesize speech from text using ElevenLabs TTS. */
1858
+ synthesize(body) {
1859
+ return this.send("POST", "/connectors/elevenlabs/synthesize", { body });
1860
+ }
1861
+ /** List available ElevenLabs voices. */
1862
+ listVoices(body) {
1863
+ return this.send("POST", "/connectors/elevenlabs/list-voices", { body });
1864
+ }
1865
+ createAgent(body = {}) {
1866
+ return this.send("POST", "/connectors/elevenlabs/create-agent", { body });
1867
+ }
1868
+ createTool(body) {
1869
+ return this.send("POST", "/connectors/elevenlabs/create-tool", { body });
1870
+ }
1871
+ deleteAgent(body) {
1872
+ return this.send("POST", "/connectors/elevenlabs/delete-agent", { body });
1873
+ }
1874
+ deleteTool(body) {
1875
+ return this.send("POST", "/connectors/elevenlabs/delete-tool", { body });
1876
+ }
1877
+ duplicateAgent(body) {
1878
+ return this.send("POST", "/connectors/elevenlabs/duplicate-agent", { body });
1879
+ }
1880
+ getAgent(body) {
1881
+ return this.send("POST", "/connectors/elevenlabs/get-agent", { body });
1882
+ }
1883
+ getAllAgents(body = {}) {
1884
+ return this.send("POST", "/connectors/elevenlabs/get-all-agents", { body });
1885
+ }
1886
+ getAllConversations(body = {}) {
1887
+ return this.send("POST", "/connectors/elevenlabs/get-all-conversations", { body });
1888
+ }
1889
+ getAllTools(body = {}) {
1890
+ return this.send("POST", "/connectors/elevenlabs/get-all-tools", { body });
1891
+ }
1892
+ getConversation(body) {
1893
+ return this.send("POST", "/connectors/elevenlabs/get-conversation", { body });
1894
+ }
1895
+ getTool(body) {
1896
+ return this.send("POST", "/connectors/elevenlabs/get-tool", { body });
1897
+ }
1898
+ getToolDependentAgents(body) {
1899
+ return this.send("POST", "/connectors/elevenlabs/get-tool-dependent-agents", { body });
1900
+ }
1901
+ getUser(body = {}) {
1902
+ return this.send("POST", "/connectors/elevenlabs/get-user", { body });
1903
+ }
1904
+ getVoice(body) {
1905
+ return this.send("POST", "/connectors/elevenlabs/get-voice", { body });
1906
+ }
1907
+ updateAgent(body) {
1908
+ return this.send("POST", "/connectors/elevenlabs/update-agent", { body });
1909
+ }
1910
+ updateTool(body) {
1911
+ return this.send("POST", "/connectors/elevenlabs/update-tool", { body });
1912
+ }
1913
+ };
1914
+
1915
+ // src/clients/vendors/NppesClient.ts
1916
+ var NppesClient = class extends BaseServiceClient {
1917
+ constructor(http) {
1918
+ super(http, "connectors");
1919
+ }
1920
+ verifyProvider(body) {
1921
+ return this.send("POST", "/connectors/nppes/verify-provider", { body });
1922
+ }
1923
+ getProvider(body) {
1924
+ return this.send("POST", "/connectors/nppes/get-provider", { body });
1925
+ }
1926
+ searchProviders(body) {
1927
+ return this.send("POST", "/connectors/nppes/search-providers", { body });
1928
+ }
1929
+ };
1930
+
1931
+ // src/clients/vendors/CmsClient.ts
1932
+ var CmsClient = class extends BaseServiceClient {
1933
+ constructor(http) {
1934
+ super(http, "connectors");
1935
+ }
1936
+ searchHealthPlans(body) {
1937
+ return this.send("POST", "/connectors/cms/search-health-plans", { body });
1938
+ }
1939
+ getCountyFips(body) {
1940
+ return this.send("POST", "/connectors/cms/get-county-fips", { body });
1941
+ }
1942
+ };
1943
+
1944
+ // src/clients/vendors/FedExClient.ts
1945
+ var FedExClient = class extends BaseServiceClient {
1946
+ constructor(http) {
1947
+ super(http, "connectors");
1948
+ }
1949
+ createShipment(body) {
1950
+ return this.send("POST", "/connectors/fedex/create-shipment", { body });
1951
+ }
1952
+ trackShipment(body) {
1953
+ return this.send("POST", "/connectors/fedex/track-shipment", { body });
1954
+ }
1955
+ };
1956
+
1957
+ // src/clients/vendors/ConnectureClient.ts
1958
+ var ConnectureClient = class extends BaseServiceClient {
1959
+ constructor(http) {
1960
+ super(http, "connectors");
1961
+ }
1962
+ getAccessToken(body = {}) {
1963
+ return this.send("POST", "/connectors/connecture/get-access-token", { body });
1964
+ }
1965
+ createSession(body) {
1966
+ return this.send("POST", "/connectors/connecture/create-session", { body });
1967
+ }
1968
+ getSession(body) {
1969
+ return this.send("POST", "/connectors/connecture/get-session", { body });
1970
+ }
1971
+ updateSession(body) {
1972
+ return this.send("POST", "/connectors/connecture/update-session", { body });
1973
+ }
1974
+ checkEligibility(body) {
1975
+ return this.send("POST", "/connectors/connecture/check-eligibility", { body });
1976
+ }
1977
+ planCount(body) {
1978
+ return this.send("POST", "/connectors/connecture/plan-count", { body });
1979
+ }
1980
+ sessionPlans(body) {
1981
+ return this.send("POST", "/connectors/connecture/session-plans", { body });
1982
+ }
1983
+ sessionPlanById(body) {
1984
+ return this.send("POST", "/connectors/connecture/session-plan-by-id", { body });
1985
+ }
1986
+ enroll(body) {
1987
+ return this.send("POST", "/connectors/connecture/enroll", { body });
1988
+ }
1989
+ lookupPlans(body) {
1990
+ return this.send("POST", "/connectors/connecture/lookup-plans", { body });
1991
+ }
1992
+ };
1993
+
1994
+ // src/clients/vendors/SenaiteClient.ts
1995
+ var SenaiteClient = class extends BaseServiceClient {
1996
+ constructor(http) {
1997
+ super(http, "connectors");
1998
+ }
1999
+ s(op, body = {}) {
2000
+ return this.send("POST", `/connectors/senaite/${op}`, { body });
2001
+ }
2002
+ login(body = {}) {
2003
+ return this.s("login", body);
2004
+ }
2005
+ logout(body = {}) {
2006
+ return this.s("logout", body);
2007
+ }
2008
+ getCurrentUser(body = {}) {
2009
+ return this.s("get-current-user", body);
2010
+ }
2011
+ getAllClients(body = {}) {
2012
+ return this.s("get-all-clients", body);
2013
+ }
2014
+ getClientById(body) {
2015
+ return this.s("get-client-by-id", body);
2016
+ }
2017
+ getClientByUid(body) {
2018
+ return this.s("get-client-by-uid", body);
2019
+ }
2020
+ createClient(body) {
2021
+ return this.s("create-client", body);
2022
+ }
2023
+ updateClient(body) {
2024
+ return this.s("update-client", body);
2025
+ }
2026
+ deactivateClient(body) {
2027
+ return this.s("deactivate-client", body);
2028
+ }
2029
+ getAllSamples(body = {}) {
2030
+ return this.s("get-all-samples", body);
2031
+ }
2032
+ getSamplesByClientId(body) {
2033
+ return this.s("get-samples-by-client-id", body);
2034
+ }
2035
+ getSampleById(body) {
2036
+ return this.s("get-sample-by-id", body);
2037
+ }
2038
+ getSampleByUid(body) {
2039
+ return this.s("get-sample-by-uid", body);
2040
+ }
2041
+ createSample(body) {
2042
+ return this.s("create-sample", body);
2043
+ }
2044
+ updateSample(body) {
2045
+ return this.s("update-sample", body);
2046
+ }
2047
+ cancelSample(body) {
2048
+ return this.s("cancel-sample", body);
2049
+ }
2050
+ createContact(body) {
2051
+ return this.s("create-contact", body);
2052
+ }
2053
+ getContactsForClient(body) {
2054
+ return this.s("get-contacts-for-client", body);
2055
+ }
2056
+ getSampleTypes(body = {}) {
2057
+ return this.s("get-sample-types", body);
2058
+ }
2059
+ createSampleType(body) {
2060
+ return this.s("create-sample-type", body);
2061
+ }
2062
+ getAnalysisServices(body = {}) {
2063
+ return this.s("get-analysis-services", body);
2064
+ }
2065
+ createAnalysisService(body) {
2066
+ return this.s("create-analysis-service", body);
2067
+ }
2068
+ createDepartment(body) {
2069
+ return this.s("create-department", body);
2070
+ }
2071
+ createAnalysisCategory(body) {
2072
+ return this.s("create-analysis-category", body);
2073
+ }
2074
+ getCatalogs(body = {}) {
2075
+ return this.s("get-catalogs", body);
2076
+ }
2077
+ search(body) {
2078
+ return this.s("search", body);
2079
+ }
2080
+ ensureClientForTenant(body) {
2081
+ return this.s("ensure-senaite-client-for-tenant", body);
2082
+ }
2083
+ };
2084
+
2085
+ // src/clients/vendors/HealthieClient.ts
2086
+ var HealthieClient = class extends BaseServiceClient {
2087
+ constructor(http) {
2088
+ super(http, "connectors");
2089
+ }
2090
+ h(path, body = {}) {
2091
+ return this.send("POST", `/connectors/healthie/${path}`, { body });
2092
+ }
2093
+ // API keys
2094
+ createApiKey(body = {}) {
2095
+ return this.h("create-api-key", body);
2096
+ }
2097
+ deleteApiKey(body) {
2098
+ return this.h("delete-api-key", body);
2099
+ }
2100
+ getApiKeys(body = {}) {
2101
+ return this.h("get-api-keys", body);
2102
+ }
2103
+ getCurrentUserId(body = {}) {
2104
+ return this.h("get-current-user-id", body);
2105
+ }
2106
+ getCurrentUser(body = {}) {
2107
+ return this.h("get-current-user", body);
2108
+ }
2109
+ // Patients / Users
2110
+ createPatient(body) {
2111
+ return this.h("create-patient", body);
2112
+ }
2113
+ updatePatient(body) {
2114
+ return this.h("update-patient", body);
2115
+ }
2116
+ searchPatients(body = {}) {
2117
+ return this.h("search-patients", body);
2118
+ }
2119
+ getPatient(body) {
2120
+ return this.h("get-patient", body);
2121
+ }
2122
+ getPatientJson(body) {
2123
+ return this.h("get-patient-json", body);
2124
+ }
2125
+ signUpPatient(body) {
2126
+ return this.h("sign-up-patient", body);
2127
+ }
2128
+ bulkUpdateClients(body) {
2129
+ return this.h("bulk-update-clients", body);
2130
+ }
2131
+ updateUser(body) {
2132
+ return this.h("update-user", body);
2133
+ }
2134
+ listPatients(body = {}) {
2135
+ return this.h("list-patients", body);
2136
+ }
2137
+ // Locations
2138
+ createLocation(body) {
2139
+ return this.h("create-location", body);
2140
+ }
2141
+ updateLocation(body) {
2142
+ return this.h("update-location", body);
2143
+ }
2144
+ // Appointment types
2145
+ getAppointmentType(body) {
2146
+ return this.h("get-appointment-type", body);
2147
+ }
2148
+ getAppointmentTypes(body = {}) {
2149
+ return this.h("get-appointment-types", body);
2150
+ }
2151
+ createAppointmentType(body) {
2152
+ return this.h("create-appointment-type", body);
2153
+ }
2154
+ updateAppointmentType(body) {
2155
+ return this.h("update-appointment-type", body);
2156
+ }
2157
+ deleteAppointmentType(body) {
2158
+ return this.h("delete-appointment-type", body);
2159
+ }
2160
+ getAppointmentSetting(body) {
2161
+ return this.h("get-appointment-setting", body);
2162
+ }
2163
+ createAppointmentSetting(body) {
2164
+ return this.h("create-appointment-setting", body);
2165
+ }
2166
+ updateAppointmentSetting(body) {
2167
+ return this.h("update-appointment-setting", body);
2168
+ }
2169
+ // Appointments
2170
+ getAppointment(body) {
2171
+ return this.h("get-appointment", body);
2172
+ }
2173
+ getAppointments(body = {}) {
2174
+ return this.h("get-appointments", body);
2175
+ }
2176
+ createAppointment(body) {
2177
+ return this.h("create-appointment", body);
2178
+ }
2179
+ updateAppointment(body) {
2180
+ return this.h("update-appointment", body);
2181
+ }
2182
+ deleteAppointment(body) {
2183
+ return this.h("delete-appointment", body);
2184
+ }
2185
+ getAppointmentBookingWarnings(body) {
2186
+ return this.h("get-appointment-booking-warnings", body);
2187
+ }
2188
+ // Availability
2189
+ getAvailabilities(body = {}) {
2190
+ return this.h("get-availabilities", body);
2191
+ }
2192
+ getAvailability(body) {
2193
+ return this.h("get-availability", body);
2194
+ }
2195
+ createAvailability(body) {
2196
+ return this.h("create-availability", body);
2197
+ }
2198
+ createAvailabilitiesBulk(body) {
2199
+ return this.h("create-availabilities-bulk", body);
2200
+ }
2201
+ editAvailability(body) {
2202
+ return this.h("edit-availability", body);
2203
+ }
2204
+ deleteAvailability(body) {
2205
+ return this.h("delete-availability", body);
2206
+ }
2207
+ getDaysAvailableForRange(body) {
2208
+ return this.h("get-days-available-for-range", body);
2209
+ }
2210
+ getAvailableSlotsForRange(body) {
2211
+ return this.h("get-available-slots-for-range", body);
2212
+ }
2213
+ completeCheckout(body) {
2214
+ return this.h("complete-checkout", body);
2215
+ }
2216
+ findAndBookFirstAvailableSlot(body) {
2217
+ return this.h("find-and-book-first-available-slot", body);
2218
+ }
2219
+ // Billing
2220
+ getBillingItems(body = {}) {
2221
+ return this.h("get-billing-items", body);
2222
+ }
2223
+ getBillingItem(body) {
2224
+ return this.h("get-billing-item", body);
2225
+ }
2226
+ createBillingItem(body) {
2227
+ return this.h("create-billing-item", body);
2228
+ }
2229
+ updateBillingItem(body) {
2230
+ return this.h("update-billing-item", body);
2231
+ }
2232
+ deleteBillingItem(body) {
2233
+ return this.h("delete-billing-item", body);
2234
+ }
2235
+ // Invoices
2236
+ getInvoices(body = {}) {
2237
+ return this.h("get-invoices", body);
2238
+ }
2239
+ getInvoice(body) {
2240
+ return this.h("get-invoice", body);
2241
+ }
2242
+ createInvoice(body) {
2243
+ return this.h("create-invoice", body);
2244
+ }
2245
+ updateInvoice(body) {
2246
+ return this.h("update-invoice", body);
2247
+ }
2248
+ deleteInvoice(body) {
2249
+ return this.h("delete-invoice", body);
2250
+ }
2251
+ // Offerings
2252
+ getOffering(body) {
2253
+ return this.h("get-offering", body);
2254
+ }
2255
+ getOfferings(body = {}) {
2256
+ return this.h("get-offerings", body);
2257
+ }
2258
+ createOffering(body) {
2259
+ return this.h("create-offering", body);
2260
+ }
2261
+ updateOffering(body) {
2262
+ return this.h("update-offering", body);
2263
+ }
2264
+ copyOffering(body) {
2265
+ return this.h("copy-offering", body);
2266
+ }
2267
+ deleteOffering(body) {
2268
+ return this.h("delete-offering", body);
2269
+ }
2270
+ // Insurance
2271
+ getInsurancePayments(body = {}) {
2272
+ return this.h("get-insurance-payments", body);
2273
+ }
2274
+ createInsurancePayment(body) {
2275
+ return this.h("create-insurance-payment", body);
2276
+ }
2277
+ updateManualInsurancePayment(body) {
2278
+ return this.h("update-manual-insurance-payment", body);
2279
+ }
2280
+ updateInsurancePaymentDepositStatus(body) {
2281
+ return this.h("update-insurance-payment-deposit-status", body);
2282
+ }
2283
+ deleteManualInsurancePayment(body) {
2284
+ return this.h("delete-manual-insurance-payment", body);
2285
+ }
2286
+ storePaymentCard(body) {
2287
+ return this.h("store-payment-card", body);
2288
+ }
2289
+ getInsurancePlans(body = {}) {
2290
+ return this.h("get-insurance-plans", body);
2291
+ }
2292
+ acceptInsurancePlans(body) {
2293
+ return this.h("accept-insurance-plans", body);
2294
+ }
2295
+ removeAcceptedInsurancePlan(body) {
2296
+ return this.h("remove-accepted-insurance-plan", body);
2297
+ }
2298
+ updatePatientInsuranceBilling(body) {
2299
+ return this.h("update-patient-insurance-billing", body);
2300
+ }
2301
+ // Super bills / CMS1500
2302
+ getSuperBills(body = {}) {
2303
+ return this.h("get-super-bills", body);
2304
+ }
2305
+ getSuperBill(body) {
2306
+ return this.h("get-super-bill", body);
2307
+ }
2308
+ createSuperBill(body) {
2309
+ return this.h("create-super-bill", body);
2310
+ }
2311
+ updateSuperBill(body) {
2312
+ return this.h("update-super-bill", body);
2313
+ }
2314
+ deleteSuperBill(body) {
2315
+ return this.h("delete-super-bill", body);
2316
+ }
2317
+ getCms1500s(body = {}) {
2318
+ return this.h("get-cms1500s", body);
2319
+ }
2320
+ getCms1500(body) {
2321
+ return this.h("get-cms1500", body);
2322
+ }
2323
+ createCms1500(body) {
2324
+ return this.h("create-cms1500", body);
2325
+ }
2326
+ updateCms1500(body) {
2327
+ return this.h("update-cms1500", body);
2328
+ }
2329
+ deleteCms1500(body) {
2330
+ return this.h("delete-cms1500", body);
2331
+ }
2332
+ // Forms
2333
+ getForm(body) {
2334
+ return this.h("get-form", body);
2335
+ }
2336
+ getForms(body = {}) {
2337
+ return this.h("get-forms", body);
2338
+ }
2339
+ createForm(body) {
2340
+ return this.h("create-form", body);
2341
+ }
2342
+ updateForm(body) {
2343
+ return this.h("update-form", body);
2344
+ }
2345
+ deleteForm(body) {
2346
+ return this.h("delete-form", body);
2347
+ }
2348
+ copyForm(body) {
2349
+ return this.h("copy-form", body);
2350
+ }
2351
+ shareForm(body) {
2352
+ return this.h("share-form", body);
2353
+ }
2354
+ createFormAnswerGroup(body) {
2355
+ return this.h("create-form-answer-group", body);
2356
+ }
2357
+ getFormAnswerGroups(body = {}) {
2358
+ return this.h("get-form-answer-groups", body);
2359
+ }
2360
+ fillLabResultReviewForm(body) {
2361
+ return this.h("fill-lab-result-review-form", body);
2362
+ }
2363
+ // Onboarding
2364
+ getOnboardingFlows(body = {}) {
2365
+ return this.h("get-onboarding-flows", body);
2366
+ }
2367
+ getOnboardingFlow(body) {
2368
+ return this.h("get-onboarding-flow", body);
2369
+ }
2370
+ createOnboardingFlow(body) {
2371
+ return this.h("create-onboarding-flow", body);
2372
+ }
2373
+ updateOnboardingFlow(body) {
2374
+ return this.h("update-onboarding-flow", body);
2375
+ }
2376
+ deleteOnboardingFlow(body) {
2377
+ return this.h("delete-onboarding-flow", body);
2378
+ }
2379
+ getOnboardingItem(body) {
2380
+ return this.h("get-onboarding-item", body);
2381
+ }
2382
+ createOnboardingItem(body) {
2383
+ return this.h("create-onboarding-item", body);
2384
+ }
2385
+ updateOnboardingItem(body) {
2386
+ return this.h("update-onboarding-item", body);
2387
+ }
2388
+ deleteOnboardingItem(body) {
2389
+ return this.h("delete-onboarding-item", body);
2390
+ }
2391
+ getAvailableItemTypes(body = {}) {
2392
+ return this.h("get-available-item-types", body);
2393
+ }
2394
+ getUnassociatedCompletedOnboardingItems(body = {}) {
2395
+ return this.h("get-unassociated-completed-onboarding-items", body);
2396
+ }
2397
+ createCompletedOnboardingItem(body) {
2398
+ return this.h("create-completed-onboarding-item", body);
2399
+ }
2400
+ getFormCompletionRequests(body = {}) {
2401
+ return this.h("get-form-completion-requests", body);
2402
+ }
2403
+ createFormCompletionRequest(body) {
2404
+ return this.h("create-form-completion-request", body);
2405
+ }
2406
+ deleteFormCompletionRequest(body) {
2407
+ return this.h("delete-form-completion-request", body);
2408
+ }
2409
+ createOpenLoopForm(body) {
2410
+ return this.h("create-open-loop-form", body);
2411
+ }
2412
+ // Documents
2413
+ getDocuments(body = {}) {
2414
+ return this.h("get-documents", body);
2415
+ }
2416
+ getPatientDocuments(body) {
2417
+ return this.h("get-patient-documents", body);
2418
+ }
2419
+ getDocument(body) {
2420
+ return this.h("get-document", body);
2421
+ }
2422
+ updateDocument(body) {
2423
+ return this.h("update-document", body);
2424
+ }
2425
+ deleteDocument(body) {
2426
+ return this.h("delete-document", body);
2427
+ }
2428
+ // Notes
2429
+ getPatientNotes(body) {
2430
+ return this.h("get-patient-notes", body);
2431
+ }
2432
+ createNote(body) {
2433
+ return this.h("create-note", body);
2434
+ }
2435
+ createPersonalizationQuestionnaire(body) {
2436
+ return this.h("create-personalization-questionnaire", body);
2437
+ }
2438
+ // Conversations
2439
+ getConversation(body) {
2440
+ return this.h("get-conversation", body);
2441
+ }
2442
+ getConversationMemberships(body) {
2443
+ return this.h("get-conversation-memberships", body);
2444
+ }
2445
+ createConversation(body) {
2446
+ return this.h("create-conversation", body);
2447
+ }
2448
+ updateConversation(body) {
2449
+ return this.h("update-conversation", body);
2450
+ }
2451
+ closeConversation(body) {
2452
+ return this.h("close-conversation", body);
2453
+ }
2454
+ sendChatMessage(body) {
2455
+ return this.h("send-chat-message", body);
2456
+ }
2457
+ // Fax
2458
+ getSentFaxes(body = {}) {
2459
+ return this.h("get-sent-faxes", body);
2460
+ }
2461
+ getSentFax(body) {
2462
+ return this.h("get-sent-fax", body);
2463
+ }
2464
+ sendFax(body) {
2465
+ return this.h("send-fax", body);
2466
+ }
2467
+ getReceivedFaxes(body = {}) {
2468
+ return this.h("get-received-faxes", body);
2469
+ }
2470
+ getReceivedFax(body) {
2471
+ return this.h("get-received-fax", body);
2472
+ }
2473
+ // Entries / Metrics
2474
+ getEntries(body = {}) {
2475
+ return this.h("get-entries", body);
2476
+ }
2477
+ getEntry(body) {
2478
+ return this.h("get-entry", body);
2479
+ }
2480
+ createEntry(body) {
2481
+ return this.h("create-entry", body);
2482
+ }
2483
+ updateEntry(body) {
2484
+ return this.h("update-entry", body);
2485
+ }
2486
+ deleteEntry(body) {
2487
+ return this.h("delete-entry", body);
2488
+ }
2489
+ createMetricEntry(body) {
2490
+ return this.h("create-metric-entry", body);
2491
+ }
2492
+ getMetricEntries(body = {}) {
2493
+ return this.h("get-metric-entries", body);
2494
+ }
2495
+ // Goals
2496
+ getGoals(body = {}) {
2497
+ return this.h("get-goals", body);
2498
+ }
2499
+ getGoal(body) {
2500
+ return this.h("get-goal", body);
2501
+ }
2502
+ createGoal(body) {
2503
+ return this.h("create-goal", body);
2504
+ }
2505
+ updateGoal(body) {
2506
+ return this.h("update-goal", body);
2507
+ }
2508
+ deleteGoal(body) {
2509
+ return this.h("delete-goal", body);
2510
+ }
2511
+ getGoalHistories(body) {
2512
+ return this.h("get-goal-histories", body);
2513
+ }
2514
+ // Tasks
2515
+ getTask(body) {
2516
+ return this.h("get-task", body);
2517
+ }
2518
+ getTasks(body = {}) {
2519
+ return this.h("get-tasks", body);
2520
+ }
2521
+ createTask(body) {
2522
+ return this.h("create-task", body);
2523
+ }
2524
+ updateTask(body) {
2525
+ return this.h("update-task", body);
2526
+ }
2527
+ deleteTask(body) {
2528
+ return this.h("delete-task", body);
2529
+ }
2530
+ markTasksAsSeen(body) {
2531
+ return this.h("mark-tasks-as-seen", body);
2532
+ }
2533
+ // Care plans
2534
+ getCarePlans(body = {}) {
2535
+ return this.h("get-care-plans", body);
2536
+ }
2537
+ getCarePlan(body) {
2538
+ return this.h("get-care-plan", body);
2539
+ }
2540
+ createCarePlan(body) {
2541
+ return this.h("create-care-plan", body);
2542
+ }
2543
+ updateCarePlan(body) {
2544
+ return this.h("update-care-plan", body);
2545
+ }
2546
+ deleteCarePlan(body) {
2547
+ return this.h("delete-care-plan", body);
2548
+ }
2549
+ // Programs
2550
+ getPrograms(body = {}) {
2551
+ return this.h("get-programs", body);
2552
+ }
2553
+ getProgram(body) {
2554
+ return this.h("get-program", body);
2555
+ }
2556
+ createProgram(body) {
2557
+ return this.h("create-program", body);
2558
+ }
2559
+ updateProgram(body) {
2560
+ return this.h("update-program", body);
2561
+ }
2562
+ deleteProgram(body) {
2563
+ return this.h("delete-program", body);
2564
+ }
2565
+ // Episodes of care
2566
+ getPatientEncounter(body) {
2567
+ return this.h("get-patient-encounter", body);
2568
+ }
2569
+ getEpisodesOfCare(body = {}) {
2570
+ return this.h("get-episodes-of-care", body);
2571
+ }
2572
+ createEpisodeOfCare(body) {
2573
+ return this.h("create-episode-of-care", body);
2574
+ }
2575
+ updateEpisodeOfCare(body) {
2576
+ return this.h("update-episode-of-care", body);
2577
+ }
2578
+ deleteEpisodeOfCare(body) {
2579
+ return this.h("delete-episode-of-care", body);
2580
+ }
2581
+ linkEncountersToEpisode(body) {
2582
+ return this.h("link-encounters-to-episode", body);
2583
+ }
2584
+ unlinkEncountersFromEpisode(body) {
2585
+ return this.h("unlink-encounters-from-episode", body);
2586
+ }
2587
+ // CCDA
2588
+ parseCcdaDocument(body) {
2589
+ return this.h("parse-ccda-document", body);
2590
+ }
2591
+ completeCcdaReconciliation(body) {
2592
+ return this.h("complete-ccda-reconciliation", body);
2593
+ }
2594
+ // Diagnoses / Problems
2595
+ getPatientDiagnoses(body) {
2596
+ return this.h("get-patient-diagnoses", body);
2597
+ }
2598
+ addDiagnosis(body) {
2599
+ return this.h("add-diagnosis", body);
2600
+ }
2601
+ updateDiagnosis(body) {
2602
+ return this.h("update-diagnosis", body);
2603
+ }
2604
+ removeDiagnosis(body) {
2605
+ return this.h("remove-diagnosis", body);
2606
+ }
2607
+ bulkUpdateDiagnoses(body) {
2608
+ return this.h("bulk-update-diagnoses", body);
2609
+ }
2610
+ getPatientProblems(body) {
2611
+ return this.h("get-patient-problems", body);
2612
+ }
2613
+ // Family history
2614
+ createFamilyHistory(body) {
2615
+ return this.h("create-family-history", body);
2616
+ }
2617
+ updateFamilyHistory(body) {
2618
+ return this.h("update-family-history", body);
2619
+ }
2620
+ deleteFamilyHistory(body) {
2621
+ return this.h("delete-family-history", body);
2622
+ }
2623
+ // Immunizations
2624
+ getPatientImmunizations(body) {
2625
+ return this.h("get-patient-immunizations", body);
2626
+ }
2627
+ createImmunization(body) {
2628
+ return this.h("create-immunization", body);
2629
+ }
2630
+ updateImmunization(body) {
2631
+ return this.h("update-immunization", body);
2632
+ }
2633
+ // Medications
2634
+ getMedications(body) {
2635
+ return this.h("get-medications", body);
2636
+ }
2637
+ createMedication(body) {
2638
+ return this.h("create-medication", body);
2639
+ }
2640
+ updateMedication(body) {
2641
+ return this.h("update-medication", body);
2642
+ }
2643
+ deleteMedication(body) {
2644
+ return this.h("delete-medication", body);
2645
+ }
2646
+ // Lab orders
2647
+ getLabOrders(body = {}) {
2648
+ return this.h("get-lab-orders", body);
2649
+ }
2650
+ getLabOrder(body) {
2651
+ return this.h("get-lab-order", body);
2652
+ }
2653
+ createLabOrder(body) {
2654
+ return this.h("create-lab-order", body);
2655
+ }
2656
+ createRupaOrder(body) {
2657
+ return this.h("create-rupa-order", body);
2658
+ }
2659
+ updateLabOrder(body) {
2660
+ return this.h("update-lab-order", body);
2661
+ }
2662
+ getLabResult(body) {
2663
+ return this.h("get-lab-result", body);
2664
+ }
2665
+ // Pharmacy
2666
+ getPharmacy(body) {
2667
+ return this.h("get-pharmacy", body);
2668
+ }
2669
+ searchPharmacies(body) {
2670
+ return this.h("search-pharmacies", body);
2671
+ }
2672
+ addPharmacy(body) {
2673
+ return this.h("add-pharmacy", body);
2674
+ }
2675
+ getPatientDefaultPharmacy(body) {
2676
+ return this.h("get-patient-default-pharmacy", body);
2677
+ }
2678
+ // Organization
2679
+ getOrganizationDetailed(body = {}) {
2680
+ return this.h("get-organization-detailed", body);
2681
+ }
2682
+ listOrganizationMembers(body = {}) {
2683
+ return this.h("list-organization-members", body);
2684
+ }
2685
+ createOrganizationMembership(body) {
2686
+ return this.h("create-organization-membership", body);
2687
+ }
2688
+ updateOrganizationMembership(body) {
2689
+ return this.h("update-organization-membership", body);
2690
+ }
2691
+ deleteOrganizationMembership(body) {
2692
+ return this.h("delete-organization-membership", body);
2693
+ }
2694
+ getOrganization(body = {}) {
2695
+ return this.h("get-organization", body);
2696
+ }
2697
+ getDietitianId(body = {}) {
2698
+ return this.h("get-dietitian-id", body);
2699
+ }
2700
+ getOrganizationMembers(body = {}) {
2701
+ return this.h("get-organization-members", body);
2702
+ }
2703
+ getProvider(body) {
2704
+ return this.h("get-provider", body);
2705
+ }
2706
+ // User groups
2707
+ getUserGroup(body) {
2708
+ return this.h("get-user-group", body);
2709
+ }
2710
+ getUserGroups(body = {}) {
2711
+ return this.h("get-user-groups", body);
2712
+ }
2713
+ createUserGroup(body) {
2714
+ return this.h("create-user-group", body);
2715
+ }
2716
+ updateUserGroup(body) {
2717
+ return this.h("update-user-group", body);
2718
+ }
2719
+ deleteUserGroup(body) {
2720
+ return this.h("delete-user-group", body);
2721
+ }
2722
+ // Tags
2723
+ getTags(body = {}) {
2724
+ return this.h("get-tags", body);
2725
+ }
2726
+ createTag(body) {
2727
+ return this.h("create-tag", body);
2728
+ }
2729
+ updateTag(body) {
2730
+ return this.h("update-tag", body);
2731
+ }
2732
+ deleteTag(body) {
2733
+ return this.h("delete-tag", body);
2734
+ }
2735
+ bulkApplyTags(body) {
2736
+ return this.h("bulk-apply-tags", body);
2737
+ }
2738
+ removeAppliedTag(body) {
2739
+ return this.h("remove-applied-tag", body);
2740
+ }
2741
+ };
2742
+
2743
+ // src/clients/vendors/GrokClient.ts
2744
+ var GrokClient = class extends BaseServiceClient {
2745
+ constructor(http) {
2746
+ super(http, "connectors");
2747
+ }
2748
+ getUmlsCodes(body) {
2749
+ return this.send("POST", "/connectors/grok/get-umls-codes", { body });
2750
+ }
2751
+ convertCcdaToFhir(body) {
2752
+ return this.send("POST", "/connectors/grok/convert-ccda-to-fhir", { body });
2753
+ }
2754
+ convertFhirToCcda(body) {
2755
+ return this.send("POST", "/connectors/grok/convert-fhir-to-ccda", { body });
2756
+ }
2757
+ generalRequest(body) {
2758
+ return this.send("POST", "/connectors/grok/general-grok-request", { body });
2759
+ }
2760
+ convertFhirToCcdaWithChunking(body) {
2761
+ return this.send("POST", "/connectors/grok/convert-fhir-to-ccda-with-chunking", { body });
2762
+ }
2763
+ createClinicalNotes(body) {
2764
+ return this.send("POST", "/connectors/grok/create-clinical-notes", { body });
2765
+ }
2766
+ chooseEncounterReasonsFromList(body) {
2767
+ return this.send("POST", "/connectors/grok/choose-encounter-reasons-from-list", { body });
2768
+ }
2769
+ chooseTemplatesFromList(body) {
2770
+ return this.send("POST", "/connectors/grok/choose-templates-from-list", { body });
2771
+ }
2772
+ createHpiSummary(body) {
2773
+ return this.send("POST", "/connectors/grok/create-hpi-summary", { body });
2774
+ }
2775
+ createScreeningSummary(body) {
2776
+ return this.send("POST", "/connectors/grok/create-screening-summary", { body });
2777
+ }
2778
+ chooseHealthServiceFromList(body) {
2779
+ return this.send("POST", "/connectors/grok/choose-health-service-from-list", { body });
2780
+ }
2781
+ createEhrSummary(body) {
2782
+ return this.send("POST", "/connectors/grok/create-ehr-summary", { body });
2783
+ }
2784
+ };
2785
+
2786
+ // src/clients/vendors/CalClient.ts
2787
+ var CalClient = class extends BaseServiceClient {
2788
+ constructor(http) {
2789
+ super(http, "connectors");
2790
+ }
2791
+ c(op, body = {}) {
2792
+ return this.send("POST", `/connectors/cal/${op}`, { body });
2793
+ }
2794
+ getAllBookings(body = {}) {
2795
+ return this.c("get-all-bookings", body);
2796
+ }
2797
+ createBooking(body) {
2798
+ return this.c("create-booking", body);
2799
+ }
2800
+ getEventTypes(body = {}) {
2801
+ return this.c("get-event-types", body);
2802
+ }
2803
+ getAvailableSlots(body) {
2804
+ return this.c("get-available-slots", body);
2805
+ }
2806
+ getScheduleForEventType(body) {
2807
+ return this.c("get-schedule-for-event-type", body);
2808
+ }
2809
+ getScheduleById(body) {
2810
+ return this.c("get-schedule-by-id", body);
2811
+ }
2812
+ createSchedule(body) {
2813
+ return this.c("create-schedule", body);
2814
+ }
2815
+ assignScheduleToEventType(body) {
2816
+ return this.c("assign-schedule-to-event-type", body);
2817
+ }
2818
+ updateSchedule(body) {
2819
+ return this.c("update-schedule", body);
2820
+ }
2821
+ updateAvailabilityFromAthenaSlots(body) {
2822
+ return this.c("update-availability-from-athena-slots", body);
2823
+ }
2824
+ syncWithAthena(body = {}) {
2825
+ return this.c("sync-with-athena", body);
2826
+ }
2827
+ };
2828
+
2829
+ // src/clients/vendors/CarequalityClient.ts
2830
+ var CarequalityClient = class extends BaseServiceClient {
2831
+ constructor(http) {
2832
+ super(http, "connectors");
2833
+ }
2834
+ discoverPatient(body) {
2835
+ return this.send("POST", "/connectors/carequality/discover-patient", { body });
2836
+ }
2837
+ queryDocuments(body) {
2838
+ return this.send("POST", "/connectors/carequality/query-documents", { body });
2839
+ }
2840
+ retrieveDocuments(body) {
2841
+ return this.send("POST", "/connectors/carequality/retrieve-documents", { body });
2842
+ }
2843
+ importPatientDocuments(body) {
2844
+ return this.send("POST", "/connectors/carequality/import-patient-documents", { body });
2845
+ }
2846
+ };
2847
+
2848
+ // src/clients/vendors/OuraClient.ts
2849
+ var OuraClient = class extends BaseServiceClient {
2850
+ constructor(http) {
2851
+ super(http, "connectors");
2852
+ }
2853
+ o(op, body = {}) {
2854
+ return this.send("POST", `/connectors/oura/${op}`, { body });
2855
+ }
2856
+ buildAuthorizationUrl(body = {}) {
2857
+ return this.o("build-authorization-url", body);
2858
+ }
2859
+ exchangeAuthorizationCode(body) {
2860
+ return this.o("exchange-authorization-code", body);
2861
+ }
2862
+ refreshAccessToken(body) {
2863
+ return this.o("refresh-access-token", body);
2864
+ }
2865
+ getPersonalInfo(body = {}) {
2866
+ return this.o("get-personal-info", body);
2867
+ }
2868
+ getDailyActivities(body = {}) {
2869
+ return this.o("get-daily-activities", body);
2870
+ }
2871
+ getDailyActivity(body) {
2872
+ return this.o("get-daily-activity", body);
2873
+ }
2874
+ getDailySleeps(body = {}) {
2875
+ return this.o("get-daily-sleeps", body);
2876
+ }
2877
+ getDailySleep(body) {
2878
+ return this.o("get-daily-sleep", body);
2879
+ }
2880
+ getSleeps(body = {}) {
2881
+ return this.o("get-sleeps", body);
2882
+ }
2883
+ getSleep(body) {
2884
+ return this.o("get-sleep", body);
2885
+ }
2886
+ getAllSleeps(body = {}) {
2887
+ return this.o("get-all-sleeps", body);
2888
+ }
2889
+ getDailyReadiness(body = {}) {
2890
+ return this.o("get-daily-readiness", body);
2891
+ }
2892
+ getDailyReadinessById(body) {
2893
+ return this.o("get-daily-readiness-by-id", body);
2894
+ }
2895
+ getHeartRates(body = {}) {
2896
+ return this.o("get-heart-rates", body);
2897
+ }
2898
+ getWorkouts(body = {}) {
2899
+ return this.o("get-workouts", body);
2900
+ }
2901
+ getWorkout(body) {
2902
+ return this.o("get-workout", body);
2903
+ }
2904
+ getDailySpo2(body = {}) {
2905
+ return this.o("get-daily-spo2", body);
2906
+ }
2907
+ getDailyStress(body = {}) {
2908
+ return this.o("get-daily-stress", body);
2909
+ }
2910
+ getDailyResilience(body = {}) {
2911
+ return this.o("get-daily-resilience", body);
2912
+ }
2913
+ getDailyCardiovascularAge(body = {}) {
2914
+ return this.o("get-daily-cardiovascular-age", body);
2915
+ }
2916
+ getVo2Max(body = {}) {
2917
+ return this.o("get-vo2-max", body);
2918
+ }
2919
+ getRingConfigurations(body = {}) {
2920
+ return this.o("get-ring-configurations", body);
2921
+ }
2922
+ getSessions(body = {}) {
2923
+ return this.o("get-sessions", body);
2924
+ }
2925
+ getSleepTimes(body = {}) {
2926
+ return this.o("get-sleep-times", body);
2927
+ }
2928
+ getTags(body = {}) {
2929
+ return this.o("get-tags", body);
2930
+ }
2931
+ getEnhancedTags(body = {}) {
2932
+ return this.o("get-enhanced-tags", body);
2933
+ }
2934
+ getRestModePeriods(body = {}) {
2935
+ return this.o("get-rest-mode-periods", body);
2936
+ }
2937
+ };
2938
+
2939
+ // src/clients/vendors/PlaidClient.ts
2940
+ var PlaidClient = class extends BaseServiceClient {
2941
+ constructor(http) {
2942
+ super(http, "connectors");
2943
+ }
2944
+ createIdentityVerification(body) {
2945
+ return this.send("POST", "/connectors/plaid/create-identity-verification", { body });
2946
+ }
2947
+ getIdentityVerification(body) {
2948
+ return this.send("POST", "/connectors/plaid/get-identity-verification", { body });
2949
+ }
2950
+ listIdentityVerifications(body) {
2951
+ return this.send("POST", "/connectors/plaid/list-identity-verifications", { body });
2952
+ }
2953
+ };
2954
+
2955
+ // src/clients/vendors/AppleAuthClient.ts
2956
+ var AppleAuthClient = class extends BaseServiceClient {
2957
+ constructor(http) {
2958
+ super(http, "connectors");
2959
+ }
2960
+ exchangeCode(body) {
2961
+ return this.send("POST", "/connectors/apple-auth/exchange-code", { body });
2962
+ }
2963
+ decodeIdToken(body) {
2964
+ return this.send("POST", "/connectors/apple-auth/decode-id-token", { body });
2965
+ }
2966
+ generateClientSecret(body = {}) {
2967
+ return this.send("POST", "/connectors/apple-auth/generate-client-secret", { body });
2968
+ }
2969
+ };
2970
+
2971
+ // src/clients/vendors/ZocdocClient.ts
2972
+ var ZocdocClient = class extends BaseServiceClient {
2973
+ constructor(http) {
2974
+ super(http, "connectors");
2975
+ }
2976
+ z(op, body = {}) {
2977
+ return this.send("POST", `/connectors/zocdoc/${op}`, { body });
2978
+ }
2979
+ getDirectoryNpis(body = {}) {
2980
+ return this.z("get-directory-npis", body);
2981
+ }
2982
+ getProvidersByNpis(body) {
2983
+ return this.z("get-providers-by-npis", body);
2984
+ }
2985
+ getProviderByNpi(body) {
2986
+ return this.z("get-provider-by-npi", body);
2987
+ }
2988
+ searchProviderLocations(body) {
2989
+ return this.z("search-provider-locations", body);
2990
+ }
2991
+ getProviderLocationById(body) {
2992
+ return this.z("get-provider-location-by-id", body);
2993
+ }
2994
+ getMultipleLocationsAvailability(body) {
2995
+ return this.z("get-multiple-locations-availability", body);
2996
+ }
2997
+ createAppointment(body) {
2998
+ return this.z("create-appointment", body);
2999
+ }
3000
+ listAppointments(body = {}) {
3001
+ return this.z("list-appointments", body);
3002
+ }
3003
+ getAppointmentById(body) {
3004
+ return this.z("get-appointment-by-id", body);
3005
+ }
3006
+ confirmAppointment(body) {
3007
+ return this.z("confirm-appointment", body);
3008
+ }
3009
+ rescheduleAppointment(body) {
3010
+ return this.z("reschedule-appointment", body);
3011
+ }
3012
+ cancelAppointment(body) {
3013
+ return this.z("cancel-appointment", body);
3014
+ }
3015
+ getAppointmentParticipants(body) {
3016
+ return this.z("get-appointment-participants", body);
3017
+ }
3018
+ updateAppointmentStatus(body) {
3019
+ return this.z("update-appointment-status", body);
3020
+ }
3021
+ bookAndConfirmAppointment(body) {
3022
+ return this.z("book-and-confirm-appointment", body);
3023
+ }
3024
+ getInsurancePlans(body = {}) {
3025
+ return this.z("get-insurance-plans", body);
3026
+ }
3027
+ getInsurancePlanById(body) {
3028
+ return this.z("get-insurance-plan-by-id", body);
3029
+ }
3030
+ getProviderLocationInsuranceMappings(body) {
3031
+ return this.z("get-provider-location-insurance-mappings", body);
3032
+ }
3033
+ updateProviderLocationInsuranceMappings(body) {
3034
+ return this.z("update-provider-location-insurance-mappings", body);
3035
+ }
3036
+ getSchedulableEntities(body = {}) {
3037
+ return this.z("get-schedulable-entities", body);
3038
+ }
3039
+ searchFacilities(body = {}) {
3040
+ return this.z("search-facilities", body);
3041
+ }
3042
+ getFacilityById(body) {
3043
+ return this.z("get-facility-by-id", body);
3044
+ }
3045
+ getProviderCalendarTimeslots(body) {
3046
+ return this.z("get-provider-calendar-timeslots", body);
3047
+ }
3048
+ setProviderCalendarTimeslots(body) {
3049
+ return this.z("set-provider-calendar-timeslots", body);
3050
+ }
3051
+ createAppointmentAttachment(body) {
3052
+ return this.send("POST", "/connectors/zocdoc/create-appointment-attachment", { body });
3053
+ }
3054
+ };
3055
+
3056
+ // src/clients/vendors/WhoopClient.ts
3057
+ var WhoopClient = class extends BaseServiceClient {
3058
+ constructor(http) {
3059
+ super(http, "connectors");
3060
+ }
3061
+ w(op, body = {}) {
3062
+ return this.send("POST", `/connectors/whoop/${op}`, { body });
3063
+ }
3064
+ buildAuthorizationUrl(body = {}) {
3065
+ return this.w("build-authorization-url", body);
3066
+ }
3067
+ exchangeAuthorizationCode(body) {
3068
+ return this.w("exchange-authorization-code", body);
3069
+ }
3070
+ refreshAccessToken(body) {
3071
+ return this.w("refresh-access-token", body);
3072
+ }
3073
+ getPartnerToken(body = {}) {
3074
+ return this.w("get-partner-token", body);
3075
+ }
3076
+ revokeUserOauthAccess(body = {}) {
3077
+ return this.w("revoke-user-oauth-access", body);
3078
+ }
3079
+ getUserProfile(body = {}) {
3080
+ return this.w("get-user-profile", body);
3081
+ }
3082
+ getUserBodyMeasurement(body = {}) {
3083
+ return this.w("get-user-body-measurement", body);
3084
+ }
3085
+ getCycle(body) {
3086
+ return this.w("get-cycle", body);
3087
+ }
3088
+ getCycles(body = {}) {
3089
+ return this.w("get-cycles", body);
3090
+ }
3091
+ getAllCycles(body = {}) {
3092
+ return this.w("get-all-cycles", body);
3093
+ }
3094
+ getSleep(body) {
3095
+ return this.w("get-sleep", body);
3096
+ }
3097
+ getSleepForCycle(body) {
3098
+ return this.w("get-sleep-for-cycle", body);
3099
+ }
3100
+ getSleeps(body = {}) {
3101
+ return this.w("get-sleeps", body);
3102
+ }
3103
+ getAllSleeps(body = {}) {
3104
+ return this.w("get-all-sleeps", body);
3105
+ }
3106
+ getRecoveryForCycle(body) {
3107
+ return this.w("get-recovery-for-cycle", body);
3108
+ }
3109
+ getRecoveries(body = {}) {
3110
+ return this.w("get-recoveries", body);
3111
+ }
3112
+ getAllRecoveries(body = {}) {
3113
+ return this.w("get-all-recoveries", body);
3114
+ }
3115
+ getWorkout(body) {
3116
+ return this.w("get-workout", body);
3117
+ }
3118
+ getWorkouts(body = {}) {
3119
+ return this.w("get-workouts", body);
3120
+ }
3121
+ getAllWorkouts(body = {}) {
3122
+ return this.w("get-all-workouts", body);
3123
+ }
3124
+ getActivityMapping(body = {}) {
3125
+ return this.w("get-activity-mapping", body);
3126
+ }
3127
+ getLabRequisition(body = {}) {
3128
+ return this.w("get-lab-requisition", body);
3129
+ }
3130
+ getServiceRequest(body) {
3131
+ return this.w("get-service-request", body);
3132
+ }
3133
+ updateServiceRequestStatus(body) {
3134
+ return this.w("update-service-request-status", body);
3135
+ }
3136
+ uploadDiagnosticReportResults(body) {
3137
+ return this.w("upload-diagnostic-report-results", body);
3138
+ }
3139
+ addTestData(body) {
3140
+ return this.w("add-test-data", body);
3141
+ }
3142
+ submitVitalsFromDevice(body) {
3143
+ return this.w("submit-vitals-from-device", body);
3144
+ }
3145
+ };
3146
+
3147
+ // src/clients/vendors/JunctionClient.ts
3148
+ var JunctionClient = class extends BaseServiceClient {
3149
+ constructor(http) {
3150
+ super(http, "connectors");
3151
+ }
3152
+ orderTestkit(body) {
3153
+ return this.send("POST", "/connectors/junction/order-testkit", { body });
3154
+ }
3155
+ registerTestkit(body) {
3156
+ return this.send("POST", "/connectors/junction/register-testkit", { body });
3157
+ }
3158
+ getTests(body = {}) {
3159
+ return this.send("POST", "/connectors/junction/get-tests", { body });
3160
+ }
3161
+ getOrders(body = {}) {
3162
+ return this.send("POST", "/connectors/junction/get-orders", { body });
3163
+ }
3164
+ };
3165
+
3166
+ // src/clients/vendors/SteadyMDClient.ts
3167
+ var SteadyMDClient = class extends BaseServiceClient {
3168
+ constructor(http) {
3169
+ super(http, "connectors");
3170
+ }
3171
+ m(op, body = {}) {
3172
+ return this.send("POST", `/connectors/steadymd/${op}`, { body });
3173
+ }
3174
+ createPatient(body) {
3175
+ return this.m("create-patient", body);
3176
+ }
3177
+ getPatient(body) {
3178
+ return this.m("get-patient", body);
3179
+ }
3180
+ createEpisode(body) {
3181
+ return this.m("create-episode", body);
3182
+ }
3183
+ getEpisode(body) {
3184
+ return this.m("get-episode", body);
3185
+ }
3186
+ updateEpisode(body) {
3187
+ return this.m("update-episode", body);
3188
+ }
3189
+ getEpisodeSignedDocuments(body) {
3190
+ return this.m("get-episode-signed-documents", body);
3191
+ }
3192
+ createEpisodeLabRequisition(body) {
3193
+ return this.m("create-episode-lab-requisition", body);
3194
+ }
3195
+ getEpisodeLabRequisition(body) {
3196
+ return this.m("get-episode-lab-requisition", body);
3197
+ }
3198
+ listConsults(body = {}) {
3199
+ return this.m("list-consults", body);
3200
+ }
3201
+ createConsult(body) {
3202
+ return this.m("create-consult", body);
3203
+ }
3204
+ getConsult(body) {
3205
+ return this.m("get-consult", body);
3206
+ }
3207
+ sendConsultMessage(body) {
3208
+ return this.m("send-consult-message", body);
3209
+ }
3210
+ getConsultPatientUi(body) {
3211
+ return this.m("get-consult-patient-ui", body);
3212
+ }
3213
+ scheduleConsultAppointment(body) {
3214
+ return this.m("schedule-consult-appointment", body);
3215
+ }
3216
+ getConsultAvailability(body) {
3217
+ return this.m("get-consult-availability", body);
3218
+ }
3219
+ updateConsultStatus(body) {
3220
+ return this.m("update-consult-status", body);
3221
+ }
3222
+ createConsultIssue(body) {
3223
+ return this.m("create-consult-issue", body);
3224
+ }
3225
+ listPrograms(body = {}) {
3226
+ return this.m("list-programs", body);
3227
+ }
3228
+ getProgram(body) {
3229
+ return this.m("get-program", body);
3230
+ }
3231
+ getProgramAppointments(body) {
3232
+ return this.m("get-program-appointments", body);
3233
+ }
3234
+ listProgramClinicians(body) {
3235
+ return this.m("list-program-clinicians", body);
3236
+ }
3237
+ getProgramConsultOptions(body) {
3238
+ return this.m("get-program-consult-options", body);
3239
+ }
3240
+ getProgramLabs(body) {
3241
+ return this.m("get-program-labs", body);
3242
+ }
3243
+ listIntakes(body = {}) {
3244
+ return this.m("list-intakes", body);
3245
+ }
3246
+ createIntake(body) {
3247
+ return this.m("create-intake", body);
3248
+ }
3249
+ getIntake(body) {
3250
+ return this.m("get-intake", body);
3251
+ }
3252
+ updateIntake(body) {
3253
+ return this.m("update-intake", body);
3254
+ }
3255
+ addAllergyIntolerance(body) {
3256
+ return this.m("add-allergy-intolerance", body);
3257
+ }
3258
+ listLabOrders(body = {}) {
3259
+ return this.m("list-lab-orders", body);
3260
+ }
3261
+ createLabOrder(body) {
3262
+ return this.m("create-lab-order", body);
3263
+ }
3264
+ getLabOrder(body) {
3265
+ return this.m("get-lab-order", body);
3266
+ }
3267
+ getLabOrderPdf(body) {
3268
+ return this.m("get-lab-order-pdf", body);
3269
+ }
3270
+ listLabOrderResults(body) {
3271
+ return this.m("list-lab-order-results", body);
3272
+ }
3273
+ createLabOrderResult(body) {
3274
+ return this.m("create-lab-order-result", body);
3275
+ }
3276
+ getLabOrderResult(body) {
3277
+ return this.m("get-lab-order-result", body);
3278
+ }
3279
+ getLabResultPdf(body) {
3280
+ return this.m("get-lab-result-pdf", body);
3281
+ }
3282
+ listMessages(body = {}) {
3283
+ return this.m("list-messages", body);
3284
+ }
3285
+ createMessage(body) {
3286
+ return this.m("create-message", body);
3287
+ }
3288
+ getMessage(body) {
3289
+ return this.m("get-message", body);
3290
+ }
3291
+ claimIdentityVerification(body) {
3292
+ return this.m("claim-identity-verification", body);
3293
+ }
3294
+ listPharmacies(body = {}) {
3295
+ return this.m("list-pharmacies", body);
3296
+ }
3297
+ getClinician(body) {
3298
+ return this.m("get-clinician", body);
3299
+ }
3300
+ patchEpisode(body) {
3301
+ return this.send("POST", "/connectors/steadymd/patch-episode", { body });
3302
+ }
3303
+ };
3304
+
3305
+ // src/clients/vendors/ImpiloClient.ts
3306
+ var ImpiloClient = class extends BaseServiceClient {
3307
+ constructor(http) {
3308
+ super(http, "connectors");
3309
+ }
3310
+ i(op, body = {}) {
3311
+ return this.send("POST", `/connectors/impilo/${op}`, { body });
3312
+ }
3313
+ // Patients
3314
+ createPatient(body) {
3315
+ return this.i("create-patient", body);
3316
+ }
3317
+ getPatient(body) {
3318
+ return this.i("get-patient", body);
3319
+ }
3320
+ listPatients(body = {}) {
3321
+ return this.i("list-patients", body);
3322
+ }
3323
+ updatePatient(body) {
3324
+ return this.i("update-patient", body);
3325
+ }
3326
+ // Devices
3327
+ getDevice(body) {
3328
+ return this.i("get-device", body);
3329
+ }
3330
+ listDevices(body = {}) {
3331
+ return this.i("list-devices", body);
3332
+ }
3333
+ associateDevice(body) {
3334
+ return this.i("associate-device", body);
3335
+ }
3336
+ disassociateDevice(body) {
3337
+ return this.i("disassociate-device", body);
3338
+ }
3339
+ enableReadings(body) {
3340
+ return this.i("enable-readings", body);
3341
+ }
3342
+ disableReadings(body) {
3343
+ return this.i("disable-readings", body);
3344
+ }
3345
+ validateDevice(body) {
3346
+ return this.i("validate-device", body);
3347
+ }
3348
+ // Kits
3349
+ getKit(body) {
3350
+ return this.i("get-kit", body);
3351
+ }
3352
+ listKits(body = {}) {
3353
+ return this.i("list-kits", body);
3354
+ }
3355
+ linkKitToPatient(body) {
3356
+ return this.i("link-kit-to-patient", body);
3357
+ }
3358
+ unlinkKitFromPatient(body) {
3359
+ return this.i("unlink-kit-from-patient", body);
3360
+ }
3361
+ // Orders
3362
+ createOrder(body) {
3363
+ return this.i("create-order", body);
3364
+ }
3365
+ getOrder(body) {
3366
+ return this.i("get-order", body);
3367
+ }
3368
+ listOrders(body = {}) {
3369
+ return this.i("list-orders", body);
3370
+ }
3371
+ // Readings
3372
+ recordBloodPressureReading(body) {
3373
+ return this.i("record-blood-pressure-reading", body);
3374
+ }
3375
+ getBloodPressureReading(body) {
3376
+ return this.i("get-blood-pressure-reading", body);
3377
+ }
3378
+ listBloodPressureReadings(body = {}) {
3379
+ return this.i("list-blood-pressure-readings", body);
3380
+ }
3381
+ recordBloodGlucoseReading(body) {
3382
+ return this.i("record-blood-glucose-reading", body);
3383
+ }
3384
+ getBloodGlucoseReading(body) {
3385
+ return this.i("get-blood-glucose-reading", body);
3386
+ }
3387
+ listBloodGlucoseReadings(body = {}) {
3388
+ return this.i("list-blood-glucose-readings", body);
3389
+ }
3390
+ recordBloodOxygenReading(body) {
3391
+ return this.i("record-blood-oxygen-reading", body);
3392
+ }
3393
+ getBloodOxygenReading(body) {
3394
+ return this.i("get-blood-oxygen-reading", body);
3395
+ }
3396
+ listBloodOxygenReadings(body = {}) {
3397
+ return this.i("list-blood-oxygen-readings", body);
3398
+ }
3399
+ recordWeightReading(body) {
3400
+ return this.i("record-weight-reading", body);
3401
+ }
3402
+ getWeightReading(body) {
3403
+ return this.i("get-weight-reading", body);
3404
+ }
3405
+ listWeightReadings(body = {}) {
3406
+ return this.i("list-weight-readings", body);
3407
+ }
3408
+ recordTemperatureReading(body) {
3409
+ return this.i("record-temperature-reading", body);
3410
+ }
3411
+ getTemperatureReading(body) {
3412
+ return this.i("get-temperature-reading", body);
3413
+ }
3414
+ listTemperatureReadings(body = {}) {
3415
+ return this.i("list-temperature-readings", body);
3416
+ }
3417
+ recordHeartRateReading(body) {
3418
+ return this.i("record-heart-rate-reading", body);
3419
+ }
3420
+ getHeartRateReading(body) {
3421
+ return this.i("get-heart-rate-reading", body);
3422
+ }
3423
+ listHeartRateReadings(body = {}) {
3424
+ return this.i("list-heart-rate-readings", body);
3425
+ }
3426
+ listSpirometryReadings(body = {}) {
3427
+ return this.i("list-spirometry-readings", body);
3428
+ }
3429
+ // Clinical notes
3430
+ getClinicalNote(body) {
3431
+ return this.i("get-clinical-note", body);
3432
+ }
3433
+ listClinicalNotes(body = {}) {
3434
+ return this.i("list-clinical-notes", body);
3435
+ }
3436
+ // Inventory
3437
+ listSiteInventory(body = {}) {
3438
+ return this.i("list-site-inventory", body);
3439
+ }
3440
+ listKitInventory(body = {}) {
3441
+ return this.i("list-kit-inventory", body);
3442
+ }
3443
+ // Procurements
3444
+ createProcurement(body) {
3445
+ return this.i("create-procurement", body);
3446
+ }
3447
+ listProcurements(body = {}) {
3448
+ return this.i("list-procurements", body);
3449
+ }
3450
+ // Items
3451
+ createItem(body) {
3452
+ return this.i("create-item", body);
3453
+ }
3454
+ getItem(body) {
3455
+ return this.i("get-item", body);
3456
+ }
3457
+ listItems(body = {}) {
3458
+ return this.i("list-items", body);
3459
+ }
3460
+ // Alert configs
3461
+ getPatientAlertConfig(body = {}) {
3462
+ return this.i("get-patient-alert-config", body);
3463
+ }
3464
+ setPatientAlertConfig(body) {
3465
+ return this.i("set-patient-alert-config", body);
3466
+ }
3467
+ getSiteAlertConfig(body = {}) {
3468
+ return this.i("get-site-alert-config", body);
3469
+ }
3470
+ setSiteAlertConfig(body) {
3471
+ return this.i("set-site-alert-config", body);
3472
+ }
3473
+ getGlobalAlertConfig(body = {}) {
3474
+ return this.i("get-global-alert-config", body);
3475
+ }
3476
+ setGlobalAlertConfig(body) {
3477
+ return this.i("set-global-alert-config", body);
3478
+ }
3479
+ // Webhooks
3480
+ registerWebhooks(body) {
3481
+ return this.i("register-webhooks", body);
3482
+ }
3483
+ fetchProcurementDocument(body) {
3484
+ return this.send("POST", "/connectors/impilo/fetch-procurement-document", { body });
3485
+ }
3486
+ getOrderSummary(body) {
3487
+ return this.send("POST", "/connectors/impilo/get-order-summary", { body });
3488
+ }
3489
+ };
3490
+
3491
+ // src/clients/vendors/ScrapflyClient.ts
3492
+ var ScrapflyClient = class extends BaseServiceClient {
3493
+ constructor(http) {
3494
+ super(http, "connectors");
3495
+ }
3496
+ scrape(body) {
3497
+ return this.send("POST", "/connectors/scrapfly/scrape", { body });
3498
+ }
3499
+ getDocumentLinks(body) {
3500
+ return this.send("POST", "/connectors/scrapfly/get-document-links", { body });
3501
+ }
3502
+ };
3503
+
3504
+ // src/clients/vendors/UberClient.ts
3505
+ var UberClient = class extends BaseServiceClient {
3506
+ constructor(http) {
3507
+ super(http, "connectors");
3508
+ }
3509
+ p(operation, body) {
3510
+ return this.send("POST", `/connectors/uber/${operation}`, { body });
3511
+ }
3512
+ createDelivery(body) {
3513
+ return this.p("create-delivery", body);
3514
+ }
3515
+ createQuote(body) {
3516
+ return this.p("create-quote", body);
3517
+ }
3518
+ getDeliveries(body = {}) {
3519
+ return this.p("get-deliveries", body);
3520
+ }
3521
+ getUndeliveredOrders(body = {}) {
3522
+ return this.p("get-undelivered-orders", body);
3523
+ }
3524
+ getDelivery(body) {
3525
+ return this.p("get-delivery", body);
3526
+ }
3527
+ updateDelivery(body) {
3528
+ return this.p("update-delivery", body);
3529
+ }
3530
+ cancelDelivery(body) {
3531
+ return this.p("cancel-delivery", body);
3532
+ }
3533
+ findStores(body) {
3534
+ return this.p("find-stores", body);
3535
+ }
3536
+ };
3537
+
3538
+ // src/clients/vendors/ZusClient.ts
3539
+ var ZusClient = class extends BaseServiceClient {
3540
+ constructor(http) {
3541
+ super(http, "connectors");
3542
+ }
3543
+ p(operation, body) {
3544
+ return this.send("POST", `/connectors/zus/${operation}`, { body });
3545
+ }
3546
+ buildAthenaIdentifierSystem(body) {
3547
+ return this.p("build-athena-identifier-system", body);
3548
+ }
3549
+ getGeneralAccessAndRefreshTokens(body = {}) {
3550
+ return this.p("get-general-access-and-refresh-tokens", body);
3551
+ }
3552
+ getAccessAndRefreshTokens(body = {}) {
3553
+ return this.p("get-access-and-refresh-tokens", body);
3554
+ }
3555
+ patientExists(body) {
3556
+ return this.p("patient-exists", body);
3557
+ }
3558
+ searchPatientByAthenaId(body) {
3559
+ return this.p("search-patient-by-athena-id", body);
3560
+ }
3561
+ searchPatient(body) {
3562
+ return this.p("search-patient", body);
3563
+ }
3564
+ createPatient(body) {
3565
+ return this.p("create-patient", body);
3566
+ }
3567
+ uploadCcd(body) {
3568
+ return this.p("upload-ccd", body);
3569
+ }
3570
+ };
3571
+
3572
+ // src/clients/vendors/VendorsNamespace.ts
3573
+ var VendorsNamespace = class {
3574
+ constructor(http) {
3575
+ this.athena = new AthenaHealthClient(http);
3576
+ this.stripe = new StripeClient(http);
3577
+ this.twilio = new TwilioClient(http);
3578
+ this.stedi = new StediClient(http);
3579
+ this.salesforce = new SalesforceClient(http);
3580
+ this.quest = new QuestClient(http);
3581
+ this.questHl7 = new QuestHl7Client(http);
3582
+ this.openai = new OpenAIClient(http);
3583
+ this.anthropic = new AnthropicClient(http);
3584
+ this.googleAI = new GoogleAIClient(http);
3585
+ this.googlePlaces = new GooglePlacesClient(http);
3586
+ this.sendgrid = new SendGridClient(http);
3587
+ this.elevenlabs = new ElevenLabsClient(http);
3588
+ this.nppes = new NppesClient(http);
3589
+ this.cms = new CmsClient(http);
3590
+ this.fedex = new FedExClient(http);
3591
+ this.connecture = new ConnectureClient(http);
3592
+ this.senaite = new SenaiteClient(http);
3593
+ this.healthie = new HealthieClient(http);
3594
+ this.grok = new GrokClient(http);
3595
+ this.cal = new CalClient(http);
3596
+ this.carequality = new CarequalityClient(http);
3597
+ this.oura = new OuraClient(http);
3598
+ this.plaid = new PlaidClient(http);
3599
+ this.appleAuth = new AppleAuthClient(http);
3600
+ this.zocdoc = new ZocdocClient(http);
3601
+ this.whoop = new WhoopClient(http);
3602
+ this.junction = new JunctionClient(http);
3603
+ this.steadymd = new SteadyMDClient(http);
3604
+ this.impilo = new ImpiloClient(http);
3605
+ this.scrapfly = new ScrapflyClient(http);
3606
+ this.uber = new UberClient(http);
3607
+ this.zus = new ZusClient(http);
3608
+ }
3609
+ };
3610
+
737
3611
  // src/HCSDK.ts
738
3612
  var HCSDK = class {
739
3613
  constructor(config) {
@@ -764,6 +3638,7 @@ var HCSDK = class {
764
3638
  () => this.state.tenantId
765
3639
  );
766
3640
  this.mcp = new MCPClient(this.http);
3641
+ this.vendors = new VendorsNamespace(this.http);
767
3642
  }
768
3643
  setAccessToken(token) {
769
3644
  this.state.accessToken = token;
@@ -859,12 +3734,46 @@ var HCSDK_SWAGGER_OPERATION_COUNTS = {
859
3734
  };
860
3735
  // Annotate the CommonJS export names for ESM import in node:
861
3736
  0 && (module.exports = {
3737
+ AnthropicClient,
3738
+ AppleAuthClient,
3739
+ AthenaHealthClient,
3740
+ CalClient,
3741
+ CarequalityClient,
3742
+ CmsClient,
3743
+ ConnectureClient,
3744
+ ElevenLabsClient,
3745
+ FedExClient,
3746
+ GoogleAIClient,
3747
+ GooglePlacesClient,
3748
+ GrokClient,
862
3749
  HCSDK,
863
3750
  HCSDK_OPERATION_SUMMARY,
864
3751
  HCSDK_SWAGGER_OPERATION_COUNTS,
865
3752
  HCSDK_SWAGGER_PATH_COUNTS,
866
3753
  HCSDK_TOTAL_OPERATION_COUNT,
3754
+ HealthieClient,
3755
+ ImpiloClient,
3756
+ JunctionClient,
3757
+ NppesClient,
3758
+ OpenAIClient,
3759
+ OuraClient,
3760
+ PlaidClient,
3761
+ QuestClient,
3762
+ QuestHl7Client,
867
3763
  SDKError,
3764
+ SalesforceClient,
3765
+ ScrapflyClient,
3766
+ SenaiteClient,
3767
+ SendGridClient,
3768
+ SteadyMDClient,
3769
+ StediClient,
3770
+ StripeClient,
3771
+ TwilioClient,
3772
+ UberClient,
3773
+ VendorsNamespace,
3774
+ WhoopClient,
3775
+ ZocdocClient,
3776
+ ZusClient,
868
3777
  assertEnvironment,
869
3778
  isServiceName,
870
3779
  resolveBaseUrl,