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