@healthcloudai/hc-sdk 0.6.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. package/README.md +121 -159
  2. package/dist/index.cjs +1813 -1487
  3. package/dist/index.d.cts +8181 -1907
  4. package/dist/index.d.ts +8181 -1907
  5. package/dist/index.js +1809 -1485
  6. package/package.json +8 -5
package/dist/index.cjs CHANGED
@@ -26,6 +26,9 @@ __export(index_exports, {
26
26
  CalClient: () => CalClient,
27
27
  CarequalityClient: () => CarequalityClient,
28
28
  CmsClient: () => CmsClient,
29
+ ConnectorClient: () => ConnectorClient,
30
+ ConnectorFactory: () => ConnectorFactory,
31
+ ConnectorsNamespace: () => ConnectorsNamespace,
29
32
  ConnectureClient: () => ConnectureClient,
30
33
  ElevenLabsClient: () => ElevenLabsClient,
31
34
  FedExClient: () => FedExClient,
@@ -44,8 +47,8 @@ __export(index_exports, {
44
47
  OpenAIClient: () => OpenAIClient,
45
48
  OuraClient: () => OuraClient,
46
49
  PlaidClient: () => PlaidClient,
50
+ PublicConnectorFactory: () => PublicConnectorFactory,
47
51
  QuestClient: () => QuestClient,
48
- QuestHl7Client: () => QuestHl7Client,
49
52
  SDKError: () => SDKError,
50
53
  SalesforceClient: () => SalesforceClient,
51
54
  ScrapflyClient: () => ScrapflyClient,
@@ -56,7 +59,6 @@ __export(index_exports, {
56
59
  StripeClient: () => StripeClient,
57
60
  TwilioClient: () => TwilioClient,
58
61
  UberClient: () => UberClient,
59
- VendorsNamespace: () => VendorsNamespace,
60
62
  WhoopClient: () => WhoopClient,
61
63
  ZocdocClient: () => ZocdocClient,
62
64
  ZusClient: () => ZusClient,
@@ -80,7 +82,8 @@ var SERVICES = [
80
82
  "telehealth",
81
83
  "fieldagent",
82
84
  "mcp",
83
- "connectors"
85
+ "connectors",
86
+ "person"
84
87
  ];
85
88
  function isServiceName(value) {
86
89
  return SERVICES.includes(value);
@@ -292,9 +295,60 @@ var AppointmentsClient = class extends BaseServiceClient {
292
295
  constructor(http) {
293
296
  super(http, "appointments");
294
297
  }
298
+ // ─── Connectivity ────────────────────────────────────────────────────
295
299
  connect() {
296
300
  return this.connectService();
297
301
  }
302
+ // ─── Slots ───────────────────────────────────────────────────────────
303
+ /**
304
+ * List available time slots.
305
+ * GET /slots?provider_id=&specialty_code=&date_from=&date_to=
306
+ */
307
+ listSlots(query) {
308
+ return this.send("GET", "/slots", {
309
+ query
310
+ });
311
+ }
312
+ // ─── Appointments ────────────────────────────────────────────────────
313
+ /**
314
+ * Book an appointment for a specific slot.
315
+ * POST /appointments/book
316
+ */
317
+ book(request) {
318
+ return this.send("POST", "/appointments/book", {
319
+ body: request
320
+ });
321
+ }
322
+ /**
323
+ * Cancel an appointment.
324
+ * POST /appointments/{appointment_id}/cancel
325
+ */
326
+ cancel(appointmentId) {
327
+ return this.send("POST", "/appointments/{appointment_id}/cancel", {
328
+ pathParams: { appointment_id: appointmentId }
329
+ });
330
+ }
331
+ /**
332
+ * Reschedule an appointment to a new slot.
333
+ * POST /appointments/{appointment_id}/reschedule
334
+ */
335
+ reschedule(appointmentId, request) {
336
+ return this.send("POST", "/appointments/{appointment_id}/reschedule", {
337
+ pathParams: { appointment_id: appointmentId },
338
+ body: request
339
+ });
340
+ }
341
+ // ─── Patient Appointments ────────────────────────────────────────────
342
+ /**
343
+ * List all appointments for a patient.
344
+ * GET /patients/{patient_id}/appointments?status=
345
+ */
346
+ listPatientAppointments(patientId, query) {
347
+ return this.send("GET", "/patients/{patient_id}/appointments", {
348
+ pathParams: { patient_id: patientId },
349
+ query
350
+ });
351
+ }
298
352
  };
299
353
 
300
354
  // src/clients/AuthClient.ts
@@ -340,16 +394,57 @@ var DiagnosticsClient = class extends BaseServiceClient {
340
394
  connect() {
341
395
  return this.connectService();
342
396
  }
343
- createRapidTest(patientId, request) {
344
- return this.send("POST", "/patients/{patient_id}/diagnostics/rapid-tests", {
397
+ // ─── Diagnostics ─────────────────────────────────────────────────────
398
+ /**
399
+ * List all diagnostics/observations for a patient.
400
+ * GET /patients/{patient_id}/diagnostics
401
+ */
402
+ list(patientId) {
403
+ return this.send("GET", "/patients/{patient_id}/diagnostics", {
404
+ pathParams: { patient_id: patientId }
405
+ });
406
+ }
407
+ // ─── GS1 Lookup ──────────────────────────────────────────────────────
408
+ /**
409
+ * Look up test information by GS1 barcode.
410
+ * GET /patients/{patient_id}/diagnostics/lookup?gs1=...
411
+ */
412
+ lookupByGs1(patientId, query) {
413
+ return this.send("GET", "/patients/{patient_id}/diagnostics/lookup", {
414
+ pathParams: { patient_id: patientId },
415
+ query
416
+ });
417
+ }
418
+ // ─── Scan Upload URL ─────────────────────────────────────────────────
419
+ /**
420
+ * Get a presigned S3/Wasabi upload URL for a diagnostic scan.
421
+ * POST /patients/{patient_id}/diagnostics/scan-upload-url
422
+ */
423
+ getScanUploadUrl(patientId, request) {
424
+ return this.send("POST", "/patients/{patient_id}/diagnostics/scan-upload-url", {
345
425
  pathParams: { patient_id: patientId },
346
426
  body: request
347
427
  });
348
428
  }
349
- // No documented query params for this endpoint — see curl reference.
350
- list(patientId) {
351
- return this.send("GET", "/patients/{patient_id}/diagnostics", {
352
- pathParams: { patient_id: patientId }
429
+ // ─── Test Result ─────────────────────────────────────────────────────
430
+ /**
431
+ * Get a specific diagnostic test result by ID.
432
+ * GET /patients/{patient_id}/diagnostics/{test_id}
433
+ */
434
+ getTestResult(patientId, testId) {
435
+ return this.send("GET", "/patients/{patient_id}/diagnostics/{test_id}", {
436
+ pathParams: { patient_id: patientId, test_id: testId }
437
+ });
438
+ }
439
+ // ─── Rapid Test (legacy) ─────────────────────────────────────────────
440
+ /**
441
+ * Create/record a rapid test result.
442
+ * POST /patients/{patient_id}/diagnostics/rapid-tests
443
+ */
444
+ createRapidTest(patientId, request) {
445
+ return this.send("POST", "/patients/{patient_id}/diagnostics/rapid-tests", {
446
+ pathParams: { patient_id: patientId },
447
+ body: request
353
448
  });
354
449
  }
355
450
  };
@@ -704,6 +799,108 @@ var PatientClient = class extends BaseServiceClient {
704
799
  }
705
800
  };
706
801
 
802
+ // src/clients/PersonClient.ts
803
+ var PersonClient = class extends BaseServiceClient {
804
+ constructor(http) {
805
+ super(http, "person");
806
+ }
807
+ // ─── Connectivity ────────────────────────────────────────────────────
808
+ connect() {
809
+ return this.connectService();
810
+ }
811
+ // ─── Auth (public, no Bearer token) ──────────────────────────────────
812
+ /**
813
+ * Register a new person.
814
+ * POST /auth/register (public)
815
+ */
816
+ register(request) {
817
+ return this.send("POST", "/auth/register", {
818
+ body: request,
819
+ auth: false
820
+ });
821
+ }
822
+ /**
823
+ * Log in an existing person.
824
+ * POST /auth/login (public)
825
+ */
826
+ login(request) {
827
+ return this.send("POST", "/auth/login", {
828
+ body: request,
829
+ auth: false
830
+ });
831
+ }
832
+ /**
833
+ * Verify a person's email address with OTP.
834
+ * POST /auth/verify-email (public)
835
+ */
836
+ verifyEmail(request) {
837
+ return this.send("POST", "/auth/verify-email", {
838
+ body: request,
839
+ auth: false
840
+ });
841
+ }
842
+ /**
843
+ * Initiate password reset flow (sends code to email).
844
+ * POST /auth/reset-password (public)
845
+ */
846
+ resetPassword(request) {
847
+ return this.send("POST", "/auth/reset-password", {
848
+ body: request,
849
+ auth: false
850
+ });
851
+ }
852
+ // ─── Person CRUD (authenticated) ─────────────────────────────────────
853
+ /**
854
+ * Get a person by ID.
855
+ * GET /persons/{person_id}
856
+ */
857
+ get(personId) {
858
+ return this.send("GET", "/persons/{person_id}", {
859
+ pathParams: { person_id: personId }
860
+ });
861
+ }
862
+ /**
863
+ * Update a person's fields.
864
+ * PATCH /persons/{person_id}
865
+ */
866
+ update(personId, request) {
867
+ return this.send("PATCH", "/persons/{person_id}", {
868
+ pathParams: { person_id: personId },
869
+ body: request
870
+ });
871
+ }
872
+ // ─── Photo ───────────────────────────────────────────────────────────
873
+ /**
874
+ * Get a presigned upload URL for a person's photo.
875
+ * GET /persons/{person_id}/photo/upload-url
876
+ */
877
+ getPhotoUploadUrl(personId) {
878
+ return this.send("GET", "/persons/{person_id}/photo/upload-url", {
879
+ pathParams: { person_id: personId }
880
+ });
881
+ }
882
+ /**
883
+ * Upload a person's photo (base64).
884
+ * POST /persons/{person_id}/photo
885
+ */
886
+ uploadPhoto(personId, request) {
887
+ return this.send("POST", "/persons/{person_id}/photo", {
888
+ pathParams: { person_id: personId },
889
+ body: request
890
+ });
891
+ }
892
+ /**
893
+ * Get a person's photo by binary_id.
894
+ * GET /persons/{person_id}/photo?binary_id=...
895
+ */
896
+ getPhoto(personId, query) {
897
+ return this.send("GET", "/persons/{person_id}/photo", {
898
+ pathParams: { person_id: personId },
899
+ query
900
+ });
901
+ }
902
+ };
903
+
707
904
  // src/clients/ProviderClient.ts
708
905
  var ProviderClient = class extends BaseServiceClient {
709
906
  constructor(http) {
@@ -766,10 +963,159 @@ var VitalsClient = class extends BaseServiceClient {
766
963
  }
767
964
  };
768
965
 
769
- // src/clients/vendors/AthenaHealthClient.ts
770
- var AthenaHealthClient = class extends BaseServiceClient {
771
- constructor(http) {
966
+ // src/clients/connectors/ConnectorFactory.ts
967
+ function assertConfigObject(connectorName, config) {
968
+ if (typeof config !== "object" || config === null || Array.isArray(config)) {
969
+ throw new TypeError(`${connectorName}.createClient(...) requires a configuration object.`);
970
+ }
971
+ }
972
+ function validateRequestCredentials(connectorName, credentials) {
973
+ const missing = Object.entries(credentials).filter(([, value]) => value === void 0 || value === null || typeof value === "string" && value.trim() === "").map(([key]) => key).sort();
974
+ if (missing.length > 0) {
975
+ throw new Error(`Missing required connector configuration for ${connectorName}: ${missing.join(", ")}`);
976
+ }
977
+ }
978
+ var ConnectorFactory = class {
979
+ constructor(connectorName, http, Client, mapConfig) {
980
+ this.connectorName = connectorName;
981
+ this.http = http;
982
+ this.Client = Client;
983
+ this.mapConfig = mapConfig;
984
+ }
985
+ createClient(config) {
986
+ assertConfigObject(this.connectorName, config);
987
+ const credentials = this.mapConfig(config);
988
+ validateRequestCredentials(this.connectorName, credentials);
989
+ return new this.Client(this.http, credentials);
990
+ }
991
+ };
992
+ var PublicConnectorFactory = class {
993
+ constructor(http, Client) {
994
+ this.http = http;
995
+ this.Client = Client;
996
+ }
997
+ createClient() {
998
+ return new this.Client(this.http, {});
999
+ }
1000
+ };
1001
+
1002
+ // src/clients/connectors/ConnectorClient.ts
1003
+ var SENSITIVE_KEYS = /* @__PURE__ */ new Set([
1004
+ "api_key",
1005
+ "auth_token",
1006
+ "basic_token",
1007
+ "client_secret",
1008
+ "password",
1009
+ "private_key",
1010
+ "secret",
1011
+ "secret_key",
1012
+ "token"
1013
+ ]);
1014
+ function isPlainObject(value) {
1015
+ if (typeof value !== "object" || value === null || Array.isArray(value)) return false;
1016
+ const proto = Object.getPrototypeOf(value);
1017
+ return proto === Object.prototype || proto === null;
1018
+ }
1019
+ function snakeCaseKey(key) {
1020
+ 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();
1021
+ }
1022
+ function toSnakeCase(value) {
1023
+ if (Array.isArray(value)) return value.map(toSnakeCase);
1024
+ if (!isPlainObject(value)) return value;
1025
+ return Object.fromEntries(
1026
+ Object.entries(value).map(([key, child]) => [snakeCaseKey(key), toSnakeCase(child)])
1027
+ );
1028
+ }
1029
+ var ConnectorClient = class extends BaseServiceClient {
1030
+ constructor(http, credentials = {}) {
772
1031
  super(http, "connectors");
1032
+ this.connectorCredentials = Object.freeze({ ...credentials });
1033
+ }
1034
+ async send(method, path, options = {}) {
1035
+ const requestOptions = this.withCredentials(method, options);
1036
+ try {
1037
+ return toSnakeCase(await super.send(method, path, requestOptions));
1038
+ } catch (error) {
1039
+ if (!(error instanceof SDKError)) throw error;
1040
+ throw new SDKError({
1041
+ message: this.redactText(error.message),
1042
+ statusCode: error.statusCode,
1043
+ response: toSnakeCase(this.redactValue(error.response)),
1044
+ cause: error.cause
1045
+ });
1046
+ }
1047
+ }
1048
+ withCredentials(method, options) {
1049
+ if (method === "GET" || method === "DELETE") return options;
1050
+ const body = options.body;
1051
+ const merged = { ...this.connectorCredentials };
1052
+ if (body === void 0) {
1053
+ return { ...options, body: toSnakeCase(merged) };
1054
+ }
1055
+ if (!isPlainObject(body)) {
1056
+ return options;
1057
+ }
1058
+ for (const [key, value] of Object.entries(body)) {
1059
+ if (value === void 0 || value === null) continue;
1060
+ if (SENSITIVE_KEYS.has(key) && key in this.connectorCredentials) continue;
1061
+ merged[key] = value;
1062
+ }
1063
+ return { ...options, body: toSnakeCase(merged) };
1064
+ }
1065
+ sensitiveValues() {
1066
+ 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);
1067
+ }
1068
+ redactText(value) {
1069
+ let redacted = value;
1070
+ for (const secret of this.sensitiveValues()) {
1071
+ redacted = redacted.split(secret).join("[REDACTED]");
1072
+ }
1073
+ return redacted.replace(/(bearer\s+)[A-Za-z0-9._~+/=-]+/gi, "$1[REDACTED]");
1074
+ }
1075
+ redactValue(value, key) {
1076
+ if (key && SENSITIVE_KEYS.has(key)) return "[REDACTED]";
1077
+ if (Array.isArray(value)) return value.map((item) => this.redactValue(item));
1078
+ if (isPlainObject(value)) {
1079
+ return Object.fromEntries(
1080
+ Object.entries(value).map(([childKey, child]) => [childKey, this.redactValue(child, childKey)])
1081
+ );
1082
+ }
1083
+ if (typeof value === "string") return this.redactText(value);
1084
+ return value;
1085
+ }
1086
+ };
1087
+
1088
+ // src/clients/connectors/AnthropicClient.ts
1089
+ var AnthropicClient = class extends ConnectorClient {
1090
+ constructor(http, credentials) {
1091
+ super(http, credentials);
1092
+ }
1093
+ /** Send a message to an Anthropic Claude model. */
1094
+ message(body) {
1095
+ return this.send("POST", "/connectors/anthropic/message", { body });
1096
+ }
1097
+ };
1098
+
1099
+ // src/clients/connectors/AppleAuthClient.ts
1100
+ var AppleAuthClient = class extends ConnectorClient {
1101
+ constructor(http, credentials) {
1102
+ super(http, credentials);
1103
+ }
1104
+ exchangeCode(body) {
1105
+ return this.send("POST", "/connectors/apple-auth/exchange-code", { body });
1106
+ }
1107
+ decodeIdToken(body) {
1108
+ return this.send("POST", "/connectors/apple-auth/decode-id-token", { body });
1109
+ }
1110
+ generateClientSecret(body = {}) {
1111
+ return this.send("POST", "/connectors/apple-auth/generate-client-secret", { body });
1112
+ }
1113
+ };
1114
+
1115
+ // src/clients/connectors/AthenaHealthClient.ts
1116
+ var AthenaHealthClient = class extends ConnectorClient {
1117
+ constructor(http, credentials) {
1118
+ super(http, credentials);
773
1119
  }
774
1120
  a(op, body) {
775
1121
  return this.send("POST", `/connectors/athena-health/${op}`, { body });
@@ -1383,1790 +1729,1676 @@ var AthenaHealthClient = class extends BaseServiceClient {
1383
1729
  }
1384
1730
  };
1385
1731
 
1386
- // src/clients/vendors/StripeClient.ts
1387
- var StripeClient = class extends BaseServiceClient {
1388
- constructor(http) {
1389
- super(http, "connectors");
1732
+ // src/clients/connectors/CalClient.ts
1733
+ var CalClient = class extends ConnectorClient {
1734
+ constructor(http, credentials) {
1735
+ super(http, credentials);
1390
1736
  }
1391
- s(op, body) {
1392
- return this.send("POST", `/connectors/stripe/${op}`, { body });
1737
+ c(op, body = {}) {
1738
+ return this.send("POST", `/connectors/cal/${op}`, { body });
1393
1739
  }
1394
- /** Create a Stripe PaymentIntent. Returns the client_secret for client-side confirmation. */
1395
- createPaymentIntent(body) {
1396
- return this.s("create-payment-intent", body);
1740
+ getAllBookings(body = {}) {
1741
+ return this.c("get-all-bookings", body);
1397
1742
  }
1398
- /** Retrieve the status of an existing PaymentIntent. */
1399
- getPaymentIntentStatus(body) {
1400
- return this.s("get-payment-intent-status", body);
1743
+ /**
1744
+ * The connector route invokes CalConnector.create_booking(booking), so the
1745
+ * public booking payload must be wrapped for the gateway's named argument.
1746
+ */
1747
+ createBooking(body) {
1748
+ return this.c("create-booking", { booking: body });
1401
1749
  }
1402
- /** Create a Stripe Customer record. */
1403
- createCustomer(body) {
1404
- return this.s("create-customer", body);
1750
+ getEventTypes(body = {}) {
1751
+ return this.c("get-event-types", body);
1405
1752
  }
1406
- /** Create a Stripe Subscription for an existing customer and price. */
1407
- createSubscription(body) {
1408
- return this.s("create-subscription", body);
1753
+ getAvailableSlots(body) {
1754
+ return this.c("get-available-slots", body);
1409
1755
  }
1410
- /** Create a Stripe Checkout Session. */
1411
- createSession(body) {
1412
- return this.s("create-session", body);
1756
+ getScheduleForEventType(body) {
1757
+ return this.c("get-schedule-for-event-type", body);
1413
1758
  }
1414
- /** List active Stripe products. */
1415
- listProducts(body = {}) {
1416
- return this.s("list-products", body);
1759
+ getScheduleById(body) {
1760
+ return this.c("get-schedule-by-id", body);
1417
1761
  }
1418
- /** Create a new Stripe Price for an existing product. */
1419
- createCopayPrice(body) {
1420
- return this.s("create-copay-price", body);
1762
+ createSchedule(body) {
1763
+ return this.c("create-schedule", body);
1421
1764
  }
1422
- /** Verify that the configured Stripe credentials are valid. */
1423
- verifyConnection(body = {}) {
1424
- return this.s("verify-connection", body);
1765
+ assignScheduleToEventType(body) {
1766
+ return this.c("assign-schedule-to-event-type", body);
1425
1767
  }
1426
- /** Validate a card payment method without charging it. */
1427
- validateAndTokenizeCard(body) {
1428
- return this.s("validate-and-tokenize-card", body);
1768
+ updateSchedule(body) {
1769
+ return this.c("update-schedule", body);
1429
1770
  }
1430
- /** Create a direct charge against a source or customer. */
1431
- chargePaymentSession(body) {
1432
- return this.s("charge-payment-session", body);
1771
+ updateAvailabilityFromAthenaSlots(body) {
1772
+ return this.c("update-availability-from-athena-slots", body);
1773
+ }
1774
+ syncWithAthena(body = {}) {
1775
+ return this.c("sync-with-athena", body);
1433
1776
  }
1434
1777
  };
1435
1778
 
1436
- // src/clients/vendors/TwilioClient.ts
1437
- var TwilioClient = class extends BaseServiceClient {
1438
- constructor(http) {
1439
- super(http, "connectors");
1779
+ // src/clients/connectors/CarequalityClient.ts
1780
+ var CarequalityClient = class extends ConnectorClient {
1781
+ constructor(http, credentials) {
1782
+ super(http, credentials);
1440
1783
  }
1441
- /** Send an SMS message via Twilio. */
1442
- sendSms(body) {
1443
- return this.send("POST", "/connectors/twilio/send-sms", { body });
1784
+ discoverPatient(body) {
1785
+ return this.send("POST", "/connectors/carequality/discover-patient", { body });
1444
1786
  }
1445
- /** Retrieve a specific Twilio message by SID. */
1446
- getMessage(body) {
1447
- return this.send("POST", "/connectors/twilio/get-message", { body });
1787
+ queryDocuments(body) {
1788
+ return this.send("POST", "/connectors/carequality/query-documents", { body });
1448
1789
  }
1449
- /** List Twilio messages, optionally filtered by to/from/date. */
1450
- listMessages(body) {
1451
- return this.send("POST", "/connectors/twilio/list-messages", { body });
1790
+ retrieveDocuments(body) {
1791
+ return this.send("POST", "/connectors/carequality/retrieve-documents", { body });
1792
+ }
1793
+ importPatientDocuments(body) {
1794
+ return this.send("POST", "/connectors/carequality/import-patient-documents", { body });
1452
1795
  }
1453
1796
  };
1454
1797
 
1455
- // src/clients/vendors/StediClient.ts
1456
- var StediClient = class extends BaseServiceClient {
1457
- constructor(http) {
1458
- super(http, "connectors");
1798
+ // src/clients/connectors/CmsClient.ts
1799
+ var CmsClient = class extends ConnectorClient {
1800
+ constructor(http, credentials) {
1801
+ super(http, credentials);
1459
1802
  }
1460
- /** Check insurance eligibility via the Stedi 270/271 API. */
1461
- checkEligibility(body) {
1462
- return this.send("POST", "/connectors/stedi/check-eligibility", { body });
1803
+ searchHealthPlans(body) {
1804
+ return this.send("POST", "/connectors/cms/search-health-plans", { body });
1463
1805
  }
1464
- /** Submit an X12 837 medical claim. */
1465
- submitClaim(body) {
1466
- return this.send("POST", "/connectors/stedi/submit-claim", { body });
1806
+ getCountyFips(body) {
1807
+ return this.send("POST", "/connectors/cms/get-county-fips", { body });
1467
1808
  }
1468
- /** Verify a provider by NPI via NPPES (routed through Stedi). */
1469
- verifyProvider(body) {
1470
- return this.send("POST", "/connectors/stedi/verify-provider", { body });
1809
+ };
1810
+
1811
+ // src/clients/connectors/ConnectureClient.ts
1812
+ var ConnectureClient = class extends ConnectorClient {
1813
+ constructor(http, credentials) {
1814
+ super(http, credentials);
1471
1815
  }
1472
- checkClaimStatus(body = {}) {
1473
- return this.send("POST", "/connectors/stedi/check-claim-status", { body });
1816
+ getAccessToken(body = {}) {
1817
+ return this.send("POST", "/connectors/connecture/get-access-token", { body });
1474
1818
  }
1475
- checkCoordinationOfBenefits(body = {}) {
1476
- return this.send("POST", "/connectors/stedi/check-coordination-of-benefits", { body });
1819
+ createSession(body) {
1820
+ return this.send("POST", "/connectors/connecture/create-session", { body });
1477
1821
  }
1478
- discoverInsurance(body = {}) {
1479
- return this.send("POST", "/connectors/stedi/discover-insurance", { body });
1822
+ getSession(body) {
1823
+ return this.send("POST", "/connectors/connecture/get-session", { body });
1480
1824
  }
1481
- get835EraReport(body) {
1482
- return this.send("POST", "/connectors/stedi/get-835-era-report", { body });
1825
+ updateSession(body) {
1826
+ return this.send("POST", "/connectors/connecture/update-session", { body });
1483
1827
  }
1484
- getInsuranceDiscoveryResults(body) {
1485
- return this.send("POST", "/connectors/stedi/get-insurance-discovery-results", { body });
1828
+ checkEligibility(body) {
1829
+ return this.send("POST", "/connectors/connecture/check-eligibility", { body });
1486
1830
  }
1487
- submitInstitutionalClaim(body = {}) {
1488
- return this.send("POST", "/connectors/stedi/submit-institutional-claim", { body });
1831
+ planCount(body) {
1832
+ return this.send("POST", "/connectors/connecture/plan-count", { body });
1489
1833
  }
1490
- submitProfessionalClaim(body = {}) {
1491
- return this.send("POST", "/connectors/stedi/submit-professional-claim", { body });
1834
+ sessionPlans(body) {
1835
+ return this.send("POST", "/connectors/connecture/session-plans", { body });
1836
+ }
1837
+ sessionPlanById(body) {
1838
+ return this.send("POST", "/connectors/connecture/session-plan-by-id", { body });
1839
+ }
1840
+ enroll(body) {
1841
+ return this.send("POST", "/connectors/connecture/enroll", { body });
1842
+ }
1843
+ lookupPlans(body) {
1844
+ return this.send("POST", "/connectors/connecture/lookup-plans", { body });
1492
1845
  }
1493
1846
  };
1494
1847
 
1495
- // src/clients/vendors/SalesforceClient.ts
1496
- var SalesforceClient = class extends BaseServiceClient {
1497
- constructor(http) {
1498
- super(http, "connectors");
1848
+ // src/clients/connectors/ElevenLabsClient.ts
1849
+ var ElevenLabsClient = class extends ConnectorClient {
1850
+ constructor(http, credentials) {
1851
+ super(http, credentials);
1499
1852
  }
1500
- /** Execute a SOQL query and return matching records. */
1501
- query(body) {
1502
- return this.send("POST", "/connectors/salesforce/query", { body });
1853
+ /** Synthesize speech from text using ElevenLabs TTS. */
1854
+ synthesize(body) {
1855
+ return this.send("POST", "/connectors/elevenlabs/synthesize", { body });
1503
1856
  }
1504
- /** Create a new Salesforce record of the given sObject type. */
1505
- create(body) {
1506
- return this.send("POST", "/connectors/salesforce/create", { body });
1857
+ /** List available ElevenLabs voices. */
1858
+ listVoices(body) {
1859
+ return this.send("POST", "/connectors/elevenlabs/list-voices", { body });
1507
1860
  }
1508
- /** Retrieve a single Salesforce record by sObject type and record ID. */
1509
- get(body) {
1510
- return this.send("POST", "/connectors/salesforce/get", { body });
1861
+ createAgent(body = {}) {
1862
+ return this.send("POST", "/connectors/elevenlabs/create-agent", { body });
1511
1863
  }
1512
- buildCaseDescription(body) {
1513
- return this.send("POST", "/connectors/salesforce/build-case-description", { body });
1864
+ createTool(body) {
1865
+ return this.send("POST", "/connectors/elevenlabs/create-tool", { body });
1514
1866
  }
1515
- createAccount(body) {
1516
- return this.send("POST", "/connectors/salesforce/create-account", { body });
1867
+ deleteAgent(body) {
1868
+ return this.send("POST", "/connectors/elevenlabs/delete-agent", { body });
1517
1869
  }
1518
- createCallLog(body) {
1519
- return this.send("POST", "/connectors/salesforce/create-call-log", { body });
1870
+ deleteTool(body) {
1871
+ return this.send("POST", "/connectors/elevenlabs/delete-tool", { body });
1520
1872
  }
1521
- createCampaign(body) {
1522
- return this.send("POST", "/connectors/salesforce/create-campaign", { body });
1873
+ duplicateAgent(body) {
1874
+ return this.send("POST", "/connectors/elevenlabs/duplicate-agent", { body });
1523
1875
  }
1524
- createCase(body) {
1525
- return this.send("POST", "/connectors/salesforce/create-case", { body });
1876
+ getAgent(body) {
1877
+ return this.send("POST", "/connectors/elevenlabs/get-agent", { body });
1526
1878
  }
1527
- createContact(body) {
1528
- return this.send("POST", "/connectors/salesforce/create-contact", { body });
1879
+ getAllAgents(body = {}) {
1880
+ return this.send("POST", "/connectors/elevenlabs/get-all-agents", { body });
1529
1881
  }
1530
- createEvent(body) {
1531
- return this.send("POST", "/connectors/salesforce/create-event", { body });
1882
+ getAllConversations(body = {}) {
1883
+ return this.send("POST", "/connectors/elevenlabs/get-all-conversations", { body });
1532
1884
  }
1533
- createPatient(body) {
1534
- return this.send("POST", "/connectors/salesforce/create-patient", { body });
1885
+ getAllTools(body = {}) {
1886
+ return this.send("POST", "/connectors/elevenlabs/get-all-tools", { body });
1535
1887
  }
1536
- createSegment(body) {
1537
- return this.send("POST", "/connectors/salesforce/create-segment", { body });
1888
+ getConversation(body) {
1889
+ return this.send("POST", "/connectors/elevenlabs/get-conversation", { body });
1538
1890
  }
1539
- deleteAccount(body) {
1540
- return this.send("POST", "/connectors/salesforce/delete-account", { body });
1891
+ getTool(body) {
1892
+ return this.send("POST", "/connectors/elevenlabs/get-tool", { body });
1541
1893
  }
1542
- deleteCallLog(body) {
1543
- return this.send("POST", "/connectors/salesforce/delete-call-log", { body });
1894
+ getToolDependentAgents(body) {
1895
+ return this.send("POST", "/connectors/elevenlabs/get-tool-dependent-agents", { body });
1544
1896
  }
1545
- deleteCampaign(body) {
1546
- return this.send("POST", "/connectors/salesforce/delete-campaign", { body });
1897
+ getUser(body = {}) {
1898
+ return this.send("POST", "/connectors/elevenlabs/get-user", { body });
1547
1899
  }
1548
- deleteCase(body) {
1549
- return this.send("POST", "/connectors/salesforce/delete-case", { body });
1900
+ getVoice(body) {
1901
+ return this.send("POST", "/connectors/elevenlabs/get-voice", { body });
1550
1902
  }
1551
- deleteEvent(body) {
1552
- return this.send("POST", "/connectors/salesforce/delete-event", { body });
1903
+ updateAgent(body) {
1904
+ return this.send("POST", "/connectors/elevenlabs/update-agent", { body });
1553
1905
  }
1554
- deletePatient(body) {
1555
- return this.send("POST", "/connectors/salesforce/delete-patient", { body });
1906
+ updateTool(body) {
1907
+ return this.send("POST", "/connectors/elevenlabs/update-tool", { body });
1556
1908
  }
1557
- deleteSegment(body) {
1558
- return this.send("POST", "/connectors/salesforce/delete-segment", { body });
1909
+ };
1910
+
1911
+ // src/clients/connectors/FedExClient.ts
1912
+ var FedExClient = class extends ConnectorClient {
1913
+ constructor(http, credentials) {
1914
+ super(http, credentials);
1559
1915
  }
1560
- describe(body) {
1561
- return this.send("POST", "/connectors/salesforce/describe", { body });
1916
+ createShipment(body) {
1917
+ return this.send("POST", "/connectors/fedex/create-shipment", { body });
1562
1918
  }
1563
- getAccount(body) {
1564
- return this.send("POST", "/connectors/salesforce/get-account", { body });
1919
+ trackShipment(body) {
1920
+ return this.send("POST", "/connectors/fedex/track-shipment", { body });
1565
1921
  }
1566
- getAccountByTenant(body) {
1567
- return this.send("POST", "/connectors/salesforce/get-account-by-tenant", { body });
1922
+ };
1923
+
1924
+ // src/clients/connectors/GoogleAIClient.ts
1925
+ var GoogleAIClient = class extends ConnectorClient {
1926
+ constructor(http, credentials) {
1927
+ super(http, credentials);
1568
1928
  }
1569
- getAvailableSlots(body = {}) {
1570
- return this.send("POST", "/connectors/salesforce/get-available-slots", { body });
1929
+ /** Generate a response from a Gemini model. */
1930
+ generate(body) {
1931
+ return this.send("POST", "/connectors/google-ai/generate", { body });
1571
1932
  }
1572
- getCallLog(body) {
1573
- return this.send("POST", "/connectors/salesforce/get-call-log", { body });
1933
+ /** Generate text embeddings via Gemini. */
1934
+ embed(body) {
1935
+ return this.send("POST", "/connectors/google-ai/embed", { body });
1574
1936
  }
1575
- getCampaign(body) {
1576
- return this.send("POST", "/connectors/salesforce/get-campaign", { body });
1937
+ invokeA1cVisionCapture(body) {
1938
+ return this.send("POST", "/connectors/google-ai/invoke-a1c-vision-capture", { body });
1577
1939
  }
1578
- getCase(body) {
1579
- return this.send("POST", "/connectors/salesforce/get-case", { body });
1940
+ };
1941
+
1942
+ // src/clients/connectors/GooglePlacesClient.ts
1943
+ var GooglePlacesClient = class extends ConnectorClient {
1944
+ constructor(http, credentials) {
1945
+ super(http, credentials);
1580
1946
  }
1581
- getConfiguration(body = {}) {
1582
- return this.send("POST", "/connectors/salesforce/get-configuration", { body });
1947
+ /** Find places near a lat/lng coordinate within a radius. */
1948
+ nearbySearch(body) {
1949
+ return this.send("POST", "/connectors/google-places/nearby-search", { body });
1583
1950
  }
1584
- getContact(body = {}) {
1585
- return this.send("POST", "/connectors/salesforce/get-contact", { body });
1951
+ /** Retrieve detailed information about a place by place_id. */
1952
+ placeDetails(body) {
1953
+ return this.send("POST", "/connectors/google-places/place-details", { body });
1586
1954
  }
1587
- getEvent(body) {
1588
- return this.send("POST", "/connectors/salesforce/get-event", { body });
1955
+ /** Search for places by text query. */
1956
+ textSearch(body) {
1957
+ return this.send("POST", "/connectors/google-places/text-search", { body });
1589
1958
  }
1590
- getHealthcareOrgIdByTenant(body) {
1591
- return this.send("POST", "/connectors/salesforce/get-healthcare-org-id-by-tenant", { body });
1959
+ };
1960
+
1961
+ // src/clients/connectors/GrokClient.ts
1962
+ var GrokClient = class extends ConnectorClient {
1963
+ constructor(http, credentials) {
1964
+ super(http, credentials);
1592
1965
  }
1593
- getNotScheduledEvents(body = {}) {
1594
- return this.send("POST", "/connectors/salesforce/get-not-scheduled-events", { body });
1966
+ getUmlsCodes(body) {
1967
+ return this.send("POST", "/connectors/grok/get-umls-codes", { body });
1595
1968
  }
1596
- getPatient(body) {
1597
- return this.send("POST", "/connectors/salesforce/get-patient", { body });
1969
+ convertCcdaToFhir(body) {
1970
+ return this.send("POST", "/connectors/grok/convert-ccda-to-fhir", { body });
1598
1971
  }
1599
- getPatientByEmail(body) {
1600
- return this.send("POST", "/connectors/salesforce/get-patient-by-email", { body });
1972
+ convertFhirToCcda(body) {
1973
+ return this.send("POST", "/connectors/grok/convert-fhir-to-ccda", { body });
1601
1974
  }
1602
- getPatientByPhone(body) {
1603
- return this.send("POST", "/connectors/salesforce/get-patient-by-phone", { body });
1975
+ generalRequest(body) {
1976
+ return this.send("POST", "/connectors/grok/general-grok-request", { body });
1604
1977
  }
1605
- getSegment(body) {
1606
- return this.send("POST", "/connectors/salesforce/get-segment", { body });
1978
+ convertFhirToCcdaWithChunking(body) {
1979
+ return this.send("POST", "/connectors/grok/convert-fhir-to-ccda-with-chunking", { body });
1607
1980
  }
1608
- listAccounts(body = {}) {
1609
- return this.send("POST", "/connectors/salesforce/list-accounts", { body });
1981
+ createClinicalNotes(body) {
1982
+ return this.send("POST", "/connectors/grok/create-clinical-notes", { body });
1610
1983
  }
1611
- listCallLogs(body = {}) {
1612
- return this.send("POST", "/connectors/salesforce/list-call-logs", { body });
1984
+ chooseEncounterReasonsFromList(body) {
1985
+ return this.send("POST", "/connectors/grok/choose-encounter-reasons-from-list", { body });
1613
1986
  }
1614
- listCampaigns(body = {}) {
1615
- return this.send("POST", "/connectors/salesforce/list-campaigns", { body });
1987
+ chooseTemplatesFromList(body) {
1988
+ return this.send("POST", "/connectors/grok/choose-templates-from-list", { body });
1616
1989
  }
1617
- listCases(body = {}) {
1618
- return this.send("POST", "/connectors/salesforce/list-cases", { body });
1990
+ createHpiSummary(body) {
1991
+ return this.send("POST", "/connectors/grok/create-hpi-summary", { body });
1619
1992
  }
1620
- listEvents(body = {}) {
1621
- return this.send("POST", "/connectors/salesforce/list-events", { body });
1993
+ createScreeningSummary(body) {
1994
+ return this.send("POST", "/connectors/grok/create-screening-summary", { body });
1622
1995
  }
1623
- listPatients(body = {}) {
1624
- return this.send("POST", "/connectors/salesforce/list-patients", { body });
1996
+ chooseHealthServiceFromList(body) {
1997
+ return this.send("POST", "/connectors/grok/choose-health-service-from-list", { body });
1625
1998
  }
1626
- listSegments(body = {}) {
1627
- return this.send("POST", "/connectors/salesforce/list-segments", { body });
1999
+ createEhrSummary(body) {
2000
+ return this.send("POST", "/connectors/grok/create-ehr-summary", { body });
1628
2001
  }
1629
- scheduleEvent(body) {
1630
- return this.send("POST", "/connectors/salesforce/schedule-event", { body });
2002
+ };
2003
+
2004
+ // src/clients/connectors/HealthieClient.ts
2005
+ var HealthieClient = class extends ConnectorClient {
2006
+ constructor(http, credentials) {
2007
+ super(http, credentials);
1631
2008
  }
1632
- setAccountSenaiteId(body) {
1633
- return this.send("POST", "/connectors/salesforce/set-account-senaite-id", { body });
2009
+ h(path, body = {}) {
2010
+ return this.send("POST", `/connectors/healthie/${path}`, { body });
1634
2011
  }
1635
- update(body) {
1636
- return this.send("POST", "/connectors/salesforce/update", { body });
2012
+ // API keys
2013
+ createApiKey(body = {}) {
2014
+ return this.h("create-api-key", body);
1637
2015
  }
1638
- updateAccount(body) {
1639
- return this.send("POST", "/connectors/salesforce/update-account", { body });
2016
+ deleteApiKey(body) {
2017
+ return this.h("delete-api-key", body);
1640
2018
  }
1641
- updateAccountAssets(body) {
1642
- return this.send("POST", "/connectors/salesforce/update-account-assets", { body });
2019
+ getApiKeys(body = {}) {
2020
+ return this.h("get-api-keys", body);
1643
2021
  }
1644
- updateCallLog(body) {
1645
- return this.send("POST", "/connectors/salesforce/update-call-log", { body });
2022
+ getCurrentUserId(body = {}) {
2023
+ return this.h("get-current-user-id", body);
1646
2024
  }
1647
- updateCampaign(body) {
1648
- return this.send("POST", "/connectors/salesforce/update-campaign", { body });
2025
+ getCurrentUser(body = {}) {
2026
+ return this.h("get-current-user", body);
1649
2027
  }
1650
- updatePatient(body) {
1651
- return this.send("POST", "/connectors/salesforce/update-patient", { body });
1652
- }
1653
- updateSegment(body) {
1654
- return this.send("POST", "/connectors/salesforce/update-segment", { body });
1655
- }
1656
- };
1657
-
1658
- // src/clients/vendors/QuestClient.ts
1659
- var QuestClient = class extends BaseServiceClient {
1660
- constructor(http) {
1661
- super(http, "connectors");
1662
- }
1663
- /** Create a lab order with Quest Diagnostics. */
1664
- createOrder(body) {
1665
- return this.send("POST", "/connectors/quest/create-order", { body });
1666
- }
1667
- /** Retrieve lab results for an order or patient. */
1668
- getResults(body) {
1669
- return this.send("POST", "/connectors/quest/get-results", { body });
1670
- }
1671
- /** Browse the Quest test catalog. */
1672
- listTests(body) {
1673
- return this.send("POST", "/connectors/quest/list-tests", { body });
1674
- }
1675
- };
1676
-
1677
- // src/clients/vendors/QuestHl7Client.ts
1678
- var QuestHl7Client = class extends BaseServiceClient {
1679
- constructor(http) {
1680
- super(http, "connectors");
1681
- }
1682
- p(operation, body) {
1683
- return this.send("POST", `/connectors/quest/${operation}`, { body });
1684
- }
1685
- getAccessToken(body = {}) {
1686
- return this.p("get-access-token", body);
1687
- }
1688
- clearTokenCache(body = {}) {
1689
- return this.p("clear-token-cache", body);
1690
- }
1691
- submitOrder(body) {
1692
- return this.p("submit-order", body);
1693
- }
1694
- getOrderDocuments(body) {
1695
- return this.p("get-order-documents", body);
1696
- }
1697
- evaluateAbn(body) {
1698
- return this.p("evaluate-abn", body);
1699
- }
1700
- getRequisition(body) {
1701
- return this.p("get-requisition", body);
1702
- }
1703
- evaluateAoe(body) {
1704
- return this.p("evaluate-aoe", body);
1705
- }
1706
- submitFullOrder(body) {
1707
- return this.p("submit-full-order", body);
1708
- }
1709
- getHl7Results(body = {}) {
1710
- return this.p("get-hl7-results", body);
1711
- }
1712
- getPrintableResults(body = {}) {
1713
- return this.p("get-printable-results", body);
1714
- }
1715
- getObservationResults(body = {}) {
1716
- return this.p("get-observation-results", body);
1717
- }
1718
- acknowledgeHl7Results(body) {
1719
- return this.p("acknowledge-hl7-results", body);
1720
- }
1721
- acknowledgePrintableResults(body) {
1722
- return this.p("acknowledge-printable-results", body);
1723
- }
1724
- acknowledgeObservationResults(body) {
1725
- return this.p("acknowledge-observation-results", body);
1726
- }
1727
- buildResultsAck(body) {
1728
- return this.p("build-results-ack", body);
1729
- }
1730
- processPushedResult(body) {
1731
- return this.p("process-pushed-result", body);
1732
- }
1733
- requestCompendiums(body = {}) {
1734
- return this.p("request-compendiums", body);
1735
- }
1736
- requestCompendiumsOnDemand(body) {
1737
- return this.p("request-compendiums-on-demand", body);
1738
- }
1739
- retrieveCompendium(body) {
1740
- return this.p("retrieve-compendium", body);
1741
- }
1742
- retrieveAndExtractCompendium(body) {
1743
- return this.p("retrieve-and-extract-compendium", body);
1744
- }
1745
- acknowledgeCompendium(body) {
1746
- return this.p("acknowledge-compendium", body);
1747
- }
1748
- syncCompendiums(body = {}) {
1749
- return this.p("sync-compendiums", body);
1750
- }
1751
- };
1752
-
1753
- // src/clients/vendors/OpenAIClient.ts
1754
- var OpenAIClient = class extends BaseServiceClient {
1755
- constructor(http) {
1756
- super(http, "connectors");
1757
- }
1758
- /** Send a chat completion request to OpenAI. */
1759
- chat(body) {
1760
- return this.send("POST", "/connectors/openai/chat", { body });
1761
- }
1762
- /** Generate text embeddings via OpenAI. */
1763
- embed(body) {
1764
- return this.send("POST", "/connectors/openai/embed", { body });
1765
- }
1766
- buildResponseCreatePayload(body = {}) {
1767
- return this.send("POST", "/connectors/openai/build-response-create-payload", { body });
1768
- }
1769
- chatJson(body) {
1770
- return this.send("POST", "/connectors/openai/chat-json", { body });
2028
+ // Patients / Users
2029
+ createPatient(body) {
2030
+ return this.h("create-patient", body);
1771
2031
  }
1772
- createAssistant(body) {
1773
- return this.send("POST", "/connectors/openai/create-assistant", { body });
2032
+ updatePatient(body) {
2033
+ return this.h("update-patient", body);
1774
2034
  }
1775
- deleteAssistant(body) {
1776
- return this.send("POST", "/connectors/openai/delete-assistant", { body });
2035
+ searchPatients(body = {}) {
2036
+ return this.h("search-patients", body);
1777
2037
  }
1778
- getAssistant(body) {
1779
- return this.send("POST", "/connectors/openai/get-assistant", { body });
2038
+ getPatient(body) {
2039
+ return this.h("get-patient", body);
1780
2040
  }
1781
- moderate(body) {
1782
- return this.send("POST", "/connectors/openai/moderate", { body });
2041
+ getPatientJson(body) {
2042
+ return this.h("get-patient-json", body);
1783
2043
  }
1784
- updateAssistant(body) {
1785
- return this.send("POST", "/connectors/openai/update-assistant", { body });
2044
+ signUpPatient(body) {
2045
+ return this.h("sign-up-patient", body);
1786
2046
  }
1787
- };
1788
-
1789
- // src/clients/vendors/AnthropicClient.ts
1790
- var AnthropicClient = class extends BaseServiceClient {
1791
- constructor(http) {
1792
- super(http, "connectors");
2047
+ bulkUpdateClients(body) {
2048
+ return this.h("bulk-update-clients", body);
1793
2049
  }
1794
- /** Send a message to an Anthropic Claude model. */
1795
- message(body) {
1796
- return this.send("POST", "/connectors/anthropic/message", { body });
2050
+ updateUser(body) {
2051
+ return this.h("update-user", body);
1797
2052
  }
1798
- };
1799
-
1800
- // src/clients/vendors/GoogleAIClient.ts
1801
- var GoogleAIClient = class extends BaseServiceClient {
1802
- constructor(http) {
1803
- super(http, "connectors");
2053
+ listPatients(body = {}) {
2054
+ return this.h("list-patients", body);
1804
2055
  }
1805
- /** Generate a response from a Gemini model. */
1806
- generate(body) {
1807
- return this.send("POST", "/connectors/google-ai/generate", { body });
2056
+ // Locations
2057
+ createLocation(body) {
2058
+ return this.h("create-location", body);
1808
2059
  }
1809
- /** Generate text embeddings via Gemini. */
1810
- embed(body) {
1811
- return this.send("POST", "/connectors/google-ai/embed", { body });
2060
+ updateLocation(body) {
2061
+ return this.h("update-location", body);
1812
2062
  }
1813
- invokeA1cVisionCapture(body) {
1814
- return this.send("POST", "/connectors/google-ai/invoke-a1c-vision-capture", { body });
2063
+ // Appointment types
2064
+ getAppointmentType(body) {
2065
+ return this.h("get-appointment-type", body);
1815
2066
  }
1816
- };
1817
-
1818
- // src/clients/vendors/GooglePlacesClient.ts
1819
- var GooglePlacesClient = class extends BaseServiceClient {
1820
- constructor(http) {
1821
- super(http, "connectors");
2067
+ getAppointmentTypes(body = {}) {
2068
+ return this.h("get-appointment-types", body);
1822
2069
  }
1823
- /** Find places near a lat/lng coordinate within a radius. */
1824
- nearbySearch(body) {
1825
- return this.send("POST", "/connectors/google-places/nearby-search", { body });
2070
+ createAppointmentType(body) {
2071
+ return this.h("create-appointment-type", body);
1826
2072
  }
1827
- /** Retrieve detailed information about a place by place_id. */
1828
- placeDetails(body) {
1829
- return this.send("POST", "/connectors/google-places/place-details", { body });
2073
+ updateAppointmentType(body) {
2074
+ return this.h("update-appointment-type", body);
1830
2075
  }
1831
- /** Search for places by text query. */
1832
- textSearch(body) {
1833
- return this.send("POST", "/connectors/google-places/text-search", { body });
2076
+ deleteAppointmentType(body) {
2077
+ return this.h("delete-appointment-type", body);
1834
2078
  }
1835
- };
1836
-
1837
- // src/clients/vendors/SendGridClient.ts
1838
- var SendGridClient = class extends BaseServiceClient {
1839
- constructor(http) {
1840
- super(http, "connectors");
2079
+ getAppointmentSetting(body) {
2080
+ return this.h("get-appointment-setting", body);
1841
2081
  }
1842
- /** Send a transactional email via SendGrid. Supports static content and dynamic templates. */
1843
- sendEmail(body) {
1844
- return this.send("POST", "/connectors/sendgrid/send-email", { body });
2082
+ createAppointmentSetting(body) {
2083
+ return this.h("create-appointment-setting", body);
1845
2084
  }
1846
- /** List SendGrid email templates. */
1847
- listTemplates(body) {
1848
- return this.send("POST", "/connectors/sendgrid/list-templates", { body });
2085
+ updateAppointmentSetting(body) {
2086
+ return this.h("update-appointment-setting", body);
1849
2087
  }
1850
- };
1851
-
1852
- // src/clients/vendors/ElevenLabsClient.ts
1853
- var ElevenLabsClient = class extends BaseServiceClient {
1854
- constructor(http) {
1855
- super(http, "connectors");
2088
+ // Appointments
2089
+ getAppointment(body) {
2090
+ return this.h("get-appointment", body);
1856
2091
  }
1857
- /** Synthesize speech from text using ElevenLabs TTS. */
1858
- synthesize(body) {
1859
- return this.send("POST", "/connectors/elevenlabs/synthesize", { body });
2092
+ getAppointments(body = {}) {
2093
+ return this.h("get-appointments", body);
1860
2094
  }
1861
- /** List available ElevenLabs voices. */
1862
- listVoices(body) {
1863
- return this.send("POST", "/connectors/elevenlabs/list-voices", { body });
2095
+ createAppointment(body) {
2096
+ return this.h("create-appointment", body);
1864
2097
  }
1865
- createAgent(body = {}) {
1866
- return this.send("POST", "/connectors/elevenlabs/create-agent", { body });
2098
+ updateAppointment(body) {
2099
+ return this.h("update-appointment", body);
1867
2100
  }
1868
- createTool(body) {
1869
- return this.send("POST", "/connectors/elevenlabs/create-tool", { body });
2101
+ deleteAppointment(body) {
2102
+ return this.h("delete-appointment", body);
1870
2103
  }
1871
- deleteAgent(body) {
1872
- return this.send("POST", "/connectors/elevenlabs/delete-agent", { body });
2104
+ getAppointmentBookingWarnings(body) {
2105
+ return this.h("get-appointment-booking-warnings", body);
1873
2106
  }
1874
- deleteTool(body) {
1875
- return this.send("POST", "/connectors/elevenlabs/delete-tool", { body });
2107
+ // Availability
2108
+ getAvailabilities(body = {}) {
2109
+ return this.h("get-availabilities", body);
1876
2110
  }
1877
- duplicateAgent(body) {
1878
- return this.send("POST", "/connectors/elevenlabs/duplicate-agent", { body });
2111
+ getAvailability(body) {
2112
+ return this.h("get-availability", body);
1879
2113
  }
1880
- getAgent(body) {
1881
- return this.send("POST", "/connectors/elevenlabs/get-agent", { body });
2114
+ createAvailability(body) {
2115
+ return this.h("create-availability", body);
1882
2116
  }
1883
- getAllAgents(body = {}) {
1884
- return this.send("POST", "/connectors/elevenlabs/get-all-agents", { body });
2117
+ createAvailabilitiesBulk(body) {
2118
+ return this.h("create-availabilities-bulk", body);
1885
2119
  }
1886
- getAllConversations(body = {}) {
1887
- return this.send("POST", "/connectors/elevenlabs/get-all-conversations", { body });
2120
+ editAvailability(body) {
2121
+ return this.h("edit-availability", body);
1888
2122
  }
1889
- getAllTools(body = {}) {
1890
- return this.send("POST", "/connectors/elevenlabs/get-all-tools", { body });
2123
+ deleteAvailability(body) {
2124
+ return this.h("delete-availability", body);
1891
2125
  }
1892
- getConversation(body) {
1893
- return this.send("POST", "/connectors/elevenlabs/get-conversation", { body });
2126
+ getDaysAvailableForRange(body) {
2127
+ return this.h("get-days-available-for-range", body);
1894
2128
  }
1895
- getTool(body) {
1896
- return this.send("POST", "/connectors/elevenlabs/get-tool", { body });
2129
+ getAvailableSlotsForRange(body) {
2130
+ return this.h("get-available-slots-for-range", body);
1897
2131
  }
1898
- getToolDependentAgents(body) {
1899
- return this.send("POST", "/connectors/elevenlabs/get-tool-dependent-agents", { body });
2132
+ completeCheckout(body) {
2133
+ return this.h("complete-checkout", body);
1900
2134
  }
1901
- getUser(body = {}) {
1902
- return this.send("POST", "/connectors/elevenlabs/get-user", { body });
2135
+ findAndBookFirstAvailableSlot(body) {
2136
+ return this.h("find-and-book-first-available-slot", body);
1903
2137
  }
1904
- getVoice(body) {
1905
- return this.send("POST", "/connectors/elevenlabs/get-voice", { body });
2138
+ // Billing
2139
+ getBillingItems(body = {}) {
2140
+ return this.h("get-billing-items", body);
1906
2141
  }
1907
- updateAgent(body) {
1908
- return this.send("POST", "/connectors/elevenlabs/update-agent", { body });
2142
+ getBillingItem(body) {
2143
+ return this.h("get-billing-item", body);
1909
2144
  }
1910
- updateTool(body) {
1911
- return this.send("POST", "/connectors/elevenlabs/update-tool", { body });
2145
+ createBillingItem(body) {
2146
+ return this.h("create-billing-item", body);
1912
2147
  }
1913
- };
1914
-
1915
- // src/clients/vendors/NppesClient.ts
1916
- var NppesClient = class extends BaseServiceClient {
1917
- constructor(http) {
1918
- super(http, "connectors");
2148
+ updateBillingItem(body) {
2149
+ return this.h("update-billing-item", body);
1919
2150
  }
1920
- verifyProvider(body) {
1921
- return this.send("POST", "/connectors/nppes/verify-provider", { body });
2151
+ deleteBillingItem(body) {
2152
+ return this.h("delete-billing-item", body);
1922
2153
  }
1923
- getProvider(body) {
1924
- return this.send("POST", "/connectors/nppes/get-provider", { body });
2154
+ // Invoices
2155
+ getInvoices(body = {}) {
2156
+ return this.h("get-invoices", body);
1925
2157
  }
1926
- searchProviders(body) {
1927
- return this.send("POST", "/connectors/nppes/search-providers", { body });
2158
+ getInvoice(body) {
2159
+ return this.h("get-invoice", body);
1928
2160
  }
1929
- };
1930
-
1931
- // src/clients/vendors/CmsClient.ts
1932
- var CmsClient = class extends BaseServiceClient {
1933
- constructor(http) {
1934
- super(http, "connectors");
2161
+ createInvoice(body) {
2162
+ return this.h("create-invoice", body);
1935
2163
  }
1936
- searchHealthPlans(body) {
1937
- return this.send("POST", "/connectors/cms/search-health-plans", { body });
2164
+ updateInvoice(body) {
2165
+ return this.h("update-invoice", body);
1938
2166
  }
1939
- getCountyFips(body) {
1940
- return this.send("POST", "/connectors/cms/get-county-fips", { body });
2167
+ deleteInvoice(body) {
2168
+ return this.h("delete-invoice", body);
1941
2169
  }
1942
- };
1943
-
1944
- // src/clients/vendors/FedExClient.ts
1945
- var FedExClient = class extends BaseServiceClient {
1946
- constructor(http) {
1947
- super(http, "connectors");
2170
+ // Offerings
2171
+ getOffering(body) {
2172
+ return this.h("get-offering", body);
1948
2173
  }
1949
- createShipment(body) {
1950
- return this.send("POST", "/connectors/fedex/create-shipment", { body });
2174
+ getOfferings(body = {}) {
2175
+ return this.h("get-offerings", body);
1951
2176
  }
1952
- trackShipment(body) {
1953
- return this.send("POST", "/connectors/fedex/track-shipment", { body });
2177
+ createOffering(body) {
2178
+ return this.h("create-offering", body);
1954
2179
  }
1955
- };
1956
-
1957
- // src/clients/vendors/ConnectureClient.ts
1958
- var ConnectureClient = class extends BaseServiceClient {
1959
- constructor(http) {
1960
- super(http, "connectors");
2180
+ updateOffering(body) {
2181
+ return this.h("update-offering", body);
1961
2182
  }
1962
- getAccessToken(body = {}) {
1963
- return this.send("POST", "/connectors/connecture/get-access-token", { body });
2183
+ copyOffering(body) {
2184
+ return this.h("copy-offering", body);
1964
2185
  }
1965
- createSession(body) {
1966
- return this.send("POST", "/connectors/connecture/create-session", { body });
2186
+ deleteOffering(body) {
2187
+ return this.h("delete-offering", body);
1967
2188
  }
1968
- getSession(body) {
1969
- return this.send("POST", "/connectors/connecture/get-session", { body });
2189
+ // Insurance
2190
+ getInsurancePayments(body = {}) {
2191
+ return this.h("get-insurance-payments", body);
1970
2192
  }
1971
- updateSession(body) {
1972
- return this.send("POST", "/connectors/connecture/update-session", { body });
2193
+ createInsurancePayment(body) {
2194
+ return this.h("create-insurance-payment", body);
1973
2195
  }
1974
- checkEligibility(body) {
1975
- return this.send("POST", "/connectors/connecture/check-eligibility", { body });
2196
+ updateManualInsurancePayment(body) {
2197
+ return this.h("update-manual-insurance-payment", body);
1976
2198
  }
1977
- planCount(body) {
1978
- return this.send("POST", "/connectors/connecture/plan-count", { body });
2199
+ updateInsurancePaymentDepositStatus(body) {
2200
+ return this.h("update-insurance-payment-deposit-status", body);
1979
2201
  }
1980
- sessionPlans(body) {
1981
- return this.send("POST", "/connectors/connecture/session-plans", { body });
2202
+ deleteManualInsurancePayment(body) {
2203
+ return this.h("delete-manual-insurance-payment", body);
1982
2204
  }
1983
- sessionPlanById(body) {
1984
- return this.send("POST", "/connectors/connecture/session-plan-by-id", { body });
2205
+ storePaymentCard(body) {
2206
+ return this.h("store-payment-card", body);
1985
2207
  }
1986
- enroll(body) {
1987
- return this.send("POST", "/connectors/connecture/enroll", { body });
2208
+ getInsurancePlans(body = {}) {
2209
+ return this.h("get-insurance-plans", body);
1988
2210
  }
1989
- lookupPlans(body) {
1990
- return this.send("POST", "/connectors/connecture/lookup-plans", { body });
2211
+ acceptInsurancePlans(body) {
2212
+ return this.h("accept-insurance-plans", body);
1991
2213
  }
1992
- };
1993
-
1994
- // src/clients/vendors/SenaiteClient.ts
1995
- var SenaiteClient = class extends BaseServiceClient {
1996
- constructor(http) {
1997
- super(http, "connectors");
2214
+ removeAcceptedInsurancePlan(body) {
2215
+ return this.h("remove-accepted-insurance-plan", body);
1998
2216
  }
1999
- s(op, body = {}) {
2000
- return this.send("POST", `/connectors/senaite/${op}`, { body });
2217
+ updatePatientInsuranceBilling(body) {
2218
+ return this.h("update-patient-insurance-billing", body);
2001
2219
  }
2002
- login(body = {}) {
2003
- return this.s("login", body);
2220
+ // Super bills / CMS1500
2221
+ getSuperBills(body = {}) {
2222
+ return this.h("get-super-bills", body);
2004
2223
  }
2005
- logout(body = {}) {
2006
- return this.s("logout", body);
2224
+ getSuperBill(body) {
2225
+ return this.h("get-super-bill", body);
2007
2226
  }
2008
- getCurrentUser(body = {}) {
2009
- return this.s("get-current-user", body);
2227
+ createSuperBill(body) {
2228
+ return this.h("create-super-bill", body);
2010
2229
  }
2011
- getAllClients(body = {}) {
2012
- return this.s("get-all-clients", body);
2230
+ updateSuperBill(body) {
2231
+ return this.h("update-super-bill", body);
2013
2232
  }
2014
- getClientById(body) {
2015
- return this.s("get-client-by-id", body);
2233
+ deleteSuperBill(body) {
2234
+ return this.h("delete-super-bill", body);
2016
2235
  }
2017
- getClientByUid(body) {
2018
- return this.s("get-client-by-uid", body);
2236
+ getCms1500s(body = {}) {
2237
+ return this.h("get-cms1500s", body);
2019
2238
  }
2020
- createClient(body) {
2021
- return this.s("create-client", body);
2239
+ getCms1500(body) {
2240
+ return this.h("get-cms1500", body);
2022
2241
  }
2023
- updateClient(body) {
2024
- return this.s("update-client", body);
2242
+ createCms1500(body) {
2243
+ return this.h("create-cms1500", body);
2025
2244
  }
2026
- deactivateClient(body) {
2027
- return this.s("deactivate-client", body);
2245
+ updateCms1500(body) {
2246
+ return this.h("update-cms1500", body);
2028
2247
  }
2029
- getAllSamples(body = {}) {
2030
- return this.s("get-all-samples", body);
2248
+ deleteCms1500(body) {
2249
+ return this.h("delete-cms1500", body);
2031
2250
  }
2032
- getSamplesByClientId(body) {
2033
- return this.s("get-samples-by-client-id", body);
2251
+ // Forms
2252
+ getForm(body) {
2253
+ return this.h("get-form", body);
2034
2254
  }
2035
- getSampleById(body) {
2036
- return this.s("get-sample-by-id", body);
2255
+ getForms(body = {}) {
2256
+ return this.h("get-forms", body);
2037
2257
  }
2038
- getSampleByUid(body) {
2039
- return this.s("get-sample-by-uid", body);
2258
+ createForm(body) {
2259
+ return this.h("create-form", body);
2040
2260
  }
2041
- createSample(body) {
2042
- return this.s("create-sample", body);
2261
+ updateForm(body) {
2262
+ return this.h("update-form", body);
2043
2263
  }
2044
- updateSample(body) {
2045
- return this.s("update-sample", body);
2264
+ deleteForm(body) {
2265
+ return this.h("delete-form", body);
2046
2266
  }
2047
- cancelSample(body) {
2048
- return this.s("cancel-sample", body);
2267
+ copyForm(body) {
2268
+ return this.h("copy-form", body);
2049
2269
  }
2050
- createContact(body) {
2051
- return this.s("create-contact", body);
2270
+ shareForm(body) {
2271
+ return this.h("share-form", body);
2052
2272
  }
2053
- getContactsForClient(body) {
2054
- return this.s("get-contacts-for-client", body);
2273
+ createFormAnswerGroup(body) {
2274
+ return this.h("create-form-answer-group", body);
2055
2275
  }
2056
- getSampleTypes(body = {}) {
2057
- return this.s("get-sample-types", body);
2276
+ getFormAnswerGroups(body = {}) {
2277
+ return this.h("get-form-answer-groups", body);
2058
2278
  }
2059
- createSampleType(body) {
2060
- return this.s("create-sample-type", body);
2279
+ fillLabResultReviewForm(body) {
2280
+ return this.h("fill-lab-result-review-form", body);
2061
2281
  }
2062
- getAnalysisServices(body = {}) {
2063
- return this.s("get-analysis-services", body);
2282
+ // Onboarding
2283
+ getOnboardingFlows(body = {}) {
2284
+ return this.h("get-onboarding-flows", body);
2064
2285
  }
2065
- createAnalysisService(body) {
2066
- return this.s("create-analysis-service", body);
2286
+ getOnboardingFlow(body) {
2287
+ return this.h("get-onboarding-flow", body);
2067
2288
  }
2068
- createDepartment(body) {
2069
- return this.s("create-department", body);
2289
+ createOnboardingFlow(body) {
2290
+ return this.h("create-onboarding-flow", body);
2070
2291
  }
2071
- createAnalysisCategory(body) {
2072
- return this.s("create-analysis-category", body);
2292
+ updateOnboardingFlow(body) {
2293
+ return this.h("update-onboarding-flow", body);
2073
2294
  }
2074
- getCatalogs(body = {}) {
2075
- return this.s("get-catalogs", body);
2295
+ deleteOnboardingFlow(body) {
2296
+ return this.h("delete-onboarding-flow", body);
2076
2297
  }
2077
- search(body) {
2078
- return this.s("search", body);
2298
+ getOnboardingItem(body) {
2299
+ return this.h("get-onboarding-item", body);
2079
2300
  }
2080
- ensureClientForTenant(body) {
2081
- return this.s("ensure-senaite-client-for-tenant", body);
2301
+ createOnboardingItem(body) {
2302
+ return this.h("create-onboarding-item", body);
2082
2303
  }
2083
- };
2084
-
2085
- // src/clients/vendors/HealthieClient.ts
2086
- var HealthieClient = class extends BaseServiceClient {
2087
- constructor(http) {
2088
- super(http, "connectors");
2304
+ updateOnboardingItem(body) {
2305
+ return this.h("update-onboarding-item", body);
2089
2306
  }
2090
- h(path, body = {}) {
2091
- return this.send("POST", `/connectors/healthie/${path}`, { body });
2307
+ deleteOnboardingItem(body) {
2308
+ return this.h("delete-onboarding-item", body);
2092
2309
  }
2093
- // API keys
2094
- createApiKey(body = {}) {
2095
- return this.h("create-api-key", body);
2310
+ getAvailableItemTypes(body = {}) {
2311
+ return this.h("get-available-item-types", body);
2096
2312
  }
2097
- deleteApiKey(body) {
2098
- return this.h("delete-api-key", body);
2313
+ getUnassociatedCompletedOnboardingItems(body = {}) {
2314
+ return this.h("get-unassociated-completed-onboarding-items", body);
2099
2315
  }
2100
- getApiKeys(body = {}) {
2101
- return this.h("get-api-keys", body);
2316
+ createCompletedOnboardingItem(body) {
2317
+ return this.h("create-completed-onboarding-item", body);
2102
2318
  }
2103
- getCurrentUserId(body = {}) {
2104
- return this.h("get-current-user-id", body);
2319
+ getFormCompletionRequests(body = {}) {
2320
+ return this.h("get-form-completion-requests", body);
2105
2321
  }
2106
- getCurrentUser(body = {}) {
2107
- return this.h("get-current-user", body);
2322
+ createFormCompletionRequest(body) {
2323
+ return this.h("create-form-completion-request", body);
2108
2324
  }
2109
- // Patients / Users
2110
- createPatient(body) {
2111
- return this.h("create-patient", body);
2325
+ deleteFormCompletionRequest(body) {
2326
+ return this.h("delete-form-completion-request", body);
2112
2327
  }
2113
- updatePatient(body) {
2114
- return this.h("update-patient", body);
2328
+ createOpenLoopForm(body) {
2329
+ return this.h("create-open-loop-form", body);
2115
2330
  }
2116
- searchPatients(body = {}) {
2117
- return this.h("search-patients", body);
2331
+ // Documents
2332
+ getDocuments(body = {}) {
2333
+ return this.h("get-documents", body);
2118
2334
  }
2119
- getPatient(body) {
2120
- return this.h("get-patient", body);
2335
+ getPatientDocuments(body) {
2336
+ return this.h("get-patient-documents", body);
2121
2337
  }
2122
- getPatientJson(body) {
2123
- return this.h("get-patient-json", body);
2338
+ getDocument(body) {
2339
+ return this.h("get-document", body);
2124
2340
  }
2125
- signUpPatient(body) {
2126
- return this.h("sign-up-patient", body);
2341
+ updateDocument(body) {
2342
+ return this.h("update-document", body);
2127
2343
  }
2128
- bulkUpdateClients(body) {
2129
- return this.h("bulk-update-clients", body);
2344
+ deleteDocument(body) {
2345
+ return this.h("delete-document", body);
2130
2346
  }
2131
- updateUser(body) {
2132
- return this.h("update-user", body);
2347
+ // Notes
2348
+ getPatientNotes(body) {
2349
+ return this.h("get-patient-notes", body);
2133
2350
  }
2134
- listPatients(body = {}) {
2135
- return this.h("list-patients", body);
2351
+ createNote(body) {
2352
+ return this.h("create-note", body);
2136
2353
  }
2137
- // Locations
2138
- createLocation(body) {
2139
- return this.h("create-location", body);
2354
+ createPersonalizationQuestionnaire(body) {
2355
+ return this.h("create-personalization-questionnaire", body);
2140
2356
  }
2141
- updateLocation(body) {
2142
- return this.h("update-location", body);
2357
+ // Conversations
2358
+ getConversation(body) {
2359
+ return this.h("get-conversation", body);
2143
2360
  }
2144
- // Appointment types
2145
- getAppointmentType(body) {
2146
- return this.h("get-appointment-type", body);
2361
+ getConversationMemberships(body) {
2362
+ return this.h("get-conversation-memberships", body);
2147
2363
  }
2148
- getAppointmentTypes(body = {}) {
2149
- return this.h("get-appointment-types", body);
2364
+ createConversation(body) {
2365
+ return this.h("create-conversation", body);
2150
2366
  }
2151
- createAppointmentType(body) {
2152
- return this.h("create-appointment-type", body);
2367
+ updateConversation(body) {
2368
+ return this.h("update-conversation", body);
2153
2369
  }
2154
- updateAppointmentType(body) {
2155
- return this.h("update-appointment-type", body);
2370
+ closeConversation(body) {
2371
+ return this.h("close-conversation", body);
2156
2372
  }
2157
- deleteAppointmentType(body) {
2158
- return this.h("delete-appointment-type", body);
2373
+ sendChatMessage(body) {
2374
+ return this.h("send-chat-message", body);
2159
2375
  }
2160
- getAppointmentSetting(body) {
2161
- return this.h("get-appointment-setting", body);
2376
+ // Fax
2377
+ getSentFaxes(body = {}) {
2378
+ return this.h("get-sent-faxes", body);
2162
2379
  }
2163
- createAppointmentSetting(body) {
2164
- return this.h("create-appointment-setting", body);
2380
+ getSentFax(body) {
2381
+ return this.h("get-sent-fax", body);
2165
2382
  }
2166
- updateAppointmentSetting(body) {
2167
- return this.h("update-appointment-setting", body);
2383
+ sendFax(body) {
2384
+ return this.h("send-fax", body);
2168
2385
  }
2169
- // Appointments
2170
- getAppointment(body) {
2171
- return this.h("get-appointment", body);
2386
+ getReceivedFaxes(body = {}) {
2387
+ return this.h("get-received-faxes", body);
2172
2388
  }
2173
- getAppointments(body = {}) {
2174
- return this.h("get-appointments", body);
2389
+ getReceivedFax(body) {
2390
+ return this.h("get-received-fax", body);
2175
2391
  }
2176
- createAppointment(body) {
2177
- return this.h("create-appointment", body);
2392
+ // Entries / Metrics
2393
+ getEntries(body = {}) {
2394
+ return this.h("get-entries", body);
2178
2395
  }
2179
- updateAppointment(body) {
2180
- return this.h("update-appointment", body);
2396
+ getEntry(body) {
2397
+ return this.h("get-entry", body);
2181
2398
  }
2182
- deleteAppointment(body) {
2183
- return this.h("delete-appointment", body);
2399
+ createEntry(body) {
2400
+ return this.h("create-entry", body);
2184
2401
  }
2185
- getAppointmentBookingWarnings(body) {
2186
- return this.h("get-appointment-booking-warnings", body);
2402
+ updateEntry(body) {
2403
+ return this.h("update-entry", body);
2187
2404
  }
2188
- // Availability
2189
- getAvailabilities(body = {}) {
2190
- return this.h("get-availabilities", body);
2405
+ deleteEntry(body) {
2406
+ return this.h("delete-entry", body);
2191
2407
  }
2192
- getAvailability(body) {
2193
- return this.h("get-availability", body);
2408
+ createMetricEntry(body) {
2409
+ return this.h("create-metric-entry", body);
2194
2410
  }
2195
- createAvailability(body) {
2196
- return this.h("create-availability", body);
2411
+ getMetricEntries(body = {}) {
2412
+ return this.h("get-metric-entries", body);
2197
2413
  }
2198
- createAvailabilitiesBulk(body) {
2199
- return this.h("create-availabilities-bulk", body);
2414
+ // Goals
2415
+ getGoals(body = {}) {
2416
+ return this.h("get-goals", body);
2200
2417
  }
2201
- editAvailability(body) {
2202
- return this.h("edit-availability", body);
2418
+ getGoal(body) {
2419
+ return this.h("get-goal", body);
2203
2420
  }
2204
- deleteAvailability(body) {
2205
- return this.h("delete-availability", body);
2421
+ createGoal(body) {
2422
+ return this.h("create-goal", body);
2206
2423
  }
2207
- getDaysAvailableForRange(body) {
2208
- return this.h("get-days-available-for-range", body);
2424
+ updateGoal(body) {
2425
+ return this.h("update-goal", body);
2209
2426
  }
2210
- getAvailableSlotsForRange(body) {
2211
- return this.h("get-available-slots-for-range", body);
2427
+ deleteGoal(body) {
2428
+ return this.h("delete-goal", body);
2212
2429
  }
2213
- completeCheckout(body) {
2214
- return this.h("complete-checkout", body);
2430
+ getGoalHistories(body) {
2431
+ return this.h("get-goal-histories", body);
2215
2432
  }
2216
- findAndBookFirstAvailableSlot(body) {
2217
- return this.h("find-and-book-first-available-slot", body);
2433
+ // Tasks
2434
+ getTask(body) {
2435
+ return this.h("get-task", body);
2218
2436
  }
2219
- // Billing
2220
- getBillingItems(body = {}) {
2221
- return this.h("get-billing-items", body);
2437
+ getTasks(body = {}) {
2438
+ return this.h("get-tasks", body);
2222
2439
  }
2223
- getBillingItem(body) {
2224
- return this.h("get-billing-item", body);
2440
+ createTask(body) {
2441
+ return this.h("create-task", body);
2225
2442
  }
2226
- createBillingItem(body) {
2227
- return this.h("create-billing-item", body);
2443
+ updateTask(body) {
2444
+ return this.h("update-task", body);
2228
2445
  }
2229
- updateBillingItem(body) {
2230
- return this.h("update-billing-item", body);
2446
+ deleteTask(body) {
2447
+ return this.h("delete-task", body);
2231
2448
  }
2232
- deleteBillingItem(body) {
2233
- return this.h("delete-billing-item", body);
2449
+ markTasksAsSeen(body) {
2450
+ return this.h("mark-tasks-as-seen", body);
2234
2451
  }
2235
- // Invoices
2236
- getInvoices(body = {}) {
2237
- return this.h("get-invoices", body);
2452
+ // Care plans
2453
+ getCarePlans(body = {}) {
2454
+ return this.h("get-care-plans", body);
2238
2455
  }
2239
- getInvoice(body) {
2240
- return this.h("get-invoice", body);
2456
+ getCarePlan(body) {
2457
+ return this.h("get-care-plan", body);
2241
2458
  }
2242
- createInvoice(body) {
2243
- return this.h("create-invoice", body);
2459
+ createCarePlan(body) {
2460
+ return this.h("create-care-plan", body);
2244
2461
  }
2245
- updateInvoice(body) {
2246
- return this.h("update-invoice", body);
2462
+ updateCarePlan(body) {
2463
+ return this.h("update-care-plan", body);
2247
2464
  }
2248
- deleteInvoice(body) {
2249
- return this.h("delete-invoice", body);
2465
+ deleteCarePlan(body) {
2466
+ return this.h("delete-care-plan", body);
2250
2467
  }
2251
- // Offerings
2252
- getOffering(body) {
2253
- return this.h("get-offering", body);
2468
+ // Programs
2469
+ getPrograms(body = {}) {
2470
+ return this.h("get-programs", body);
2254
2471
  }
2255
- getOfferings(body = {}) {
2256
- return this.h("get-offerings", body);
2472
+ getProgram(body) {
2473
+ return this.h("get-program", body);
2257
2474
  }
2258
- createOffering(body) {
2259
- return this.h("create-offering", body);
2475
+ createProgram(body) {
2476
+ return this.h("create-program", body);
2260
2477
  }
2261
- updateOffering(body) {
2262
- return this.h("update-offering", body);
2478
+ updateProgram(body) {
2479
+ return this.h("update-program", body);
2263
2480
  }
2264
- copyOffering(body) {
2265
- return this.h("copy-offering", body);
2481
+ deleteProgram(body) {
2482
+ return this.h("delete-program", body);
2266
2483
  }
2267
- deleteOffering(body) {
2268
- return this.h("delete-offering", body);
2484
+ // Episodes of care
2485
+ getPatientEncounter(body) {
2486
+ return this.h("get-patient-encounter", body);
2269
2487
  }
2270
- // Insurance
2271
- getInsurancePayments(body = {}) {
2272
- return this.h("get-insurance-payments", body);
2488
+ getEpisodesOfCare(body = {}) {
2489
+ return this.h("get-episodes-of-care", body);
2273
2490
  }
2274
- createInsurancePayment(body) {
2275
- return this.h("create-insurance-payment", body);
2491
+ createEpisodeOfCare(body) {
2492
+ return this.h("create-episode-of-care", body);
2276
2493
  }
2277
- updateManualInsurancePayment(body) {
2278
- return this.h("update-manual-insurance-payment", body);
2494
+ updateEpisodeOfCare(body) {
2495
+ return this.h("update-episode-of-care", body);
2279
2496
  }
2280
- updateInsurancePaymentDepositStatus(body) {
2281
- return this.h("update-insurance-payment-deposit-status", body);
2497
+ deleteEpisodeOfCare(body) {
2498
+ return this.h("delete-episode-of-care", body);
2282
2499
  }
2283
- deleteManualInsurancePayment(body) {
2284
- return this.h("delete-manual-insurance-payment", body);
2500
+ linkEncountersToEpisode(body) {
2501
+ return this.h("link-encounters-to-episode", body);
2285
2502
  }
2286
- storePaymentCard(body) {
2287
- return this.h("store-payment-card", body);
2503
+ unlinkEncountersFromEpisode(body) {
2504
+ return this.h("unlink-encounters-from-episode", body);
2288
2505
  }
2289
- getInsurancePlans(body = {}) {
2290
- return this.h("get-insurance-plans", body);
2506
+ // CCDA
2507
+ parseCcdaDocument(body) {
2508
+ return this.h("parse-ccda-document", body);
2291
2509
  }
2292
- acceptInsurancePlans(body) {
2293
- return this.h("accept-insurance-plans", body);
2510
+ completeCcdaReconciliation(body) {
2511
+ return this.h("complete-ccda-reconciliation", body);
2294
2512
  }
2295
- removeAcceptedInsurancePlan(body) {
2296
- return this.h("remove-accepted-insurance-plan", body);
2513
+ // Diagnoses / Problems
2514
+ getPatientDiagnoses(body) {
2515
+ return this.h("get-patient-diagnoses", body);
2297
2516
  }
2298
- updatePatientInsuranceBilling(body) {
2299
- return this.h("update-patient-insurance-billing", body);
2517
+ addDiagnosis(body) {
2518
+ return this.h("add-diagnosis", body);
2300
2519
  }
2301
- // Super bills / CMS1500
2302
- getSuperBills(body = {}) {
2303
- return this.h("get-super-bills", body);
2520
+ updateDiagnosis(body) {
2521
+ return this.h("update-diagnosis", body);
2304
2522
  }
2305
- getSuperBill(body) {
2306
- return this.h("get-super-bill", body);
2523
+ removeDiagnosis(body) {
2524
+ return this.h("remove-diagnosis", body);
2307
2525
  }
2308
- createSuperBill(body) {
2309
- return this.h("create-super-bill", body);
2526
+ bulkUpdateDiagnoses(body) {
2527
+ return this.h("bulk-update-diagnoses", body);
2310
2528
  }
2311
- updateSuperBill(body) {
2312
- return this.h("update-super-bill", body);
2529
+ getPatientProblems(body) {
2530
+ return this.h("get-patient-problems", body);
2313
2531
  }
2314
- deleteSuperBill(body) {
2315
- return this.h("delete-super-bill", body);
2532
+ // Family history
2533
+ createFamilyHistory(body) {
2534
+ return this.h("create-family-history", body);
2316
2535
  }
2317
- getCms1500s(body = {}) {
2318
- return this.h("get-cms1500s", body);
2536
+ updateFamilyHistory(body) {
2537
+ return this.h("update-family-history", body);
2319
2538
  }
2320
- getCms1500(body) {
2321
- return this.h("get-cms1500", body);
2539
+ deleteFamilyHistory(body) {
2540
+ return this.h("delete-family-history", body);
2322
2541
  }
2323
- createCms1500(body) {
2324
- return this.h("create-cms1500", body);
2542
+ // Immunizations
2543
+ getPatientImmunizations(body) {
2544
+ return this.h("get-patient-immunizations", body);
2325
2545
  }
2326
- updateCms1500(body) {
2327
- return this.h("update-cms1500", body);
2546
+ createImmunization(body) {
2547
+ return this.h("create-immunization", body);
2328
2548
  }
2329
- deleteCms1500(body) {
2330
- return this.h("delete-cms1500", body);
2549
+ updateImmunization(body) {
2550
+ return this.h("update-immunization", body);
2331
2551
  }
2332
- // Forms
2333
- getForm(body) {
2334
- return this.h("get-form", body);
2552
+ // Medications
2553
+ getMedications(body) {
2554
+ return this.h("get-medications", body);
2335
2555
  }
2336
- getForms(body = {}) {
2337
- return this.h("get-forms", body);
2556
+ createMedication(body) {
2557
+ return this.h("create-medication", body);
2338
2558
  }
2339
- createForm(body) {
2340
- return this.h("create-form", body);
2559
+ updateMedication(body) {
2560
+ return this.h("update-medication", body);
2341
2561
  }
2342
- updateForm(body) {
2343
- return this.h("update-form", body);
2562
+ deleteMedication(body) {
2563
+ return this.h("delete-medication", body);
2344
2564
  }
2345
- deleteForm(body) {
2346
- return this.h("delete-form", body);
2565
+ // Lab orders
2566
+ getLabOrders(body = {}) {
2567
+ return this.h("get-lab-orders", body);
2347
2568
  }
2348
- copyForm(body) {
2349
- return this.h("copy-form", body);
2569
+ getLabOrder(body) {
2570
+ return this.h("get-lab-order", body);
2350
2571
  }
2351
- shareForm(body) {
2352
- return this.h("share-form", body);
2572
+ createLabOrder(body) {
2573
+ return this.h("create-lab-order", body);
2353
2574
  }
2354
- createFormAnswerGroup(body) {
2355
- return this.h("create-form-answer-group", body);
2575
+ createRupaOrder(body) {
2576
+ return this.h("create-rupa-order", body);
2356
2577
  }
2357
- getFormAnswerGroups(body = {}) {
2358
- return this.h("get-form-answer-groups", body);
2578
+ updateLabOrder(body) {
2579
+ return this.h("update-lab-order", body);
2359
2580
  }
2360
- fillLabResultReviewForm(body) {
2361
- return this.h("fill-lab-result-review-form", body);
2581
+ getLabResult(body) {
2582
+ return this.h("get-lab-result", body);
2362
2583
  }
2363
- // Onboarding
2364
- getOnboardingFlows(body = {}) {
2365
- return this.h("get-onboarding-flows", body);
2584
+ // Pharmacy
2585
+ getPharmacy(body) {
2586
+ return this.h("get-pharmacy", body);
2366
2587
  }
2367
- getOnboardingFlow(body) {
2368
- return this.h("get-onboarding-flow", body);
2588
+ searchPharmacies(body) {
2589
+ return this.h("search-pharmacies", body);
2369
2590
  }
2370
- createOnboardingFlow(body) {
2371
- return this.h("create-onboarding-flow", body);
2591
+ addPharmacy(body) {
2592
+ return this.h("add-pharmacy", body);
2372
2593
  }
2373
- updateOnboardingFlow(body) {
2374
- return this.h("update-onboarding-flow", body);
2594
+ getPatientDefaultPharmacy(body) {
2595
+ return this.h("get-patient-default-pharmacy", body);
2375
2596
  }
2376
- deleteOnboardingFlow(body) {
2377
- return this.h("delete-onboarding-flow", body);
2597
+ // Organization
2598
+ getOrganizationDetailed(body = {}) {
2599
+ return this.h("get-organization-detailed", body);
2378
2600
  }
2379
- getOnboardingItem(body) {
2380
- return this.h("get-onboarding-item", body);
2601
+ listOrganizationMembers(body = {}) {
2602
+ return this.h("list-organization-members", body);
2381
2603
  }
2382
- createOnboardingItem(body) {
2383
- return this.h("create-onboarding-item", body);
2604
+ createOrganizationMembership(body) {
2605
+ return this.h("create-organization-membership", body);
2384
2606
  }
2385
- updateOnboardingItem(body) {
2386
- return this.h("update-onboarding-item", body);
2607
+ updateOrganizationMembership(body) {
2608
+ return this.h("update-organization-membership", body);
2387
2609
  }
2388
- deleteOnboardingItem(body) {
2389
- return this.h("delete-onboarding-item", body);
2610
+ deleteOrganizationMembership(body) {
2611
+ return this.h("delete-organization-membership", body);
2390
2612
  }
2391
- getAvailableItemTypes(body = {}) {
2392
- return this.h("get-available-item-types", body);
2613
+ getOrganization(body = {}) {
2614
+ return this.h("get-organization", body);
2393
2615
  }
2394
- getUnassociatedCompletedOnboardingItems(body = {}) {
2395
- return this.h("get-unassociated-completed-onboarding-items", body);
2616
+ getDietitianId(body = {}) {
2617
+ return this.h("get-dietitian-id", body);
2396
2618
  }
2397
- createCompletedOnboardingItem(body) {
2398
- return this.h("create-completed-onboarding-item", body);
2619
+ getOrganizationMembers(body = {}) {
2620
+ return this.h("get-organization-members", body);
2399
2621
  }
2400
- getFormCompletionRequests(body = {}) {
2401
- return this.h("get-form-completion-requests", body);
2622
+ getProvider(body) {
2623
+ return this.h("get-provider", body);
2402
2624
  }
2403
- createFormCompletionRequest(body) {
2404
- return this.h("create-form-completion-request", body);
2625
+ // User groups
2626
+ getUserGroup(body) {
2627
+ return this.h("get-user-group", body);
2405
2628
  }
2406
- deleteFormCompletionRequest(body) {
2407
- return this.h("delete-form-completion-request", body);
2629
+ getUserGroups(body = {}) {
2630
+ return this.h("get-user-groups", body);
2408
2631
  }
2409
- createOpenLoopForm(body) {
2410
- return this.h("create-open-loop-form", body);
2632
+ createUserGroup(body) {
2633
+ return this.h("create-user-group", body);
2411
2634
  }
2412
- // Documents
2413
- getDocuments(body = {}) {
2414
- return this.h("get-documents", body);
2635
+ updateUserGroup(body) {
2636
+ return this.h("update-user-group", body);
2415
2637
  }
2416
- getPatientDocuments(body) {
2417
- return this.h("get-patient-documents", body);
2638
+ deleteUserGroup(body) {
2639
+ return this.h("delete-user-group", body);
2418
2640
  }
2419
- getDocument(body) {
2420
- return this.h("get-document", body);
2641
+ // Tags
2642
+ getTags(body = {}) {
2643
+ return this.h("get-tags", body);
2421
2644
  }
2422
- updateDocument(body) {
2423
- return this.h("update-document", body);
2645
+ createTag(body) {
2646
+ return this.h("create-tag", body);
2424
2647
  }
2425
- deleteDocument(body) {
2426
- return this.h("delete-document", body);
2648
+ updateTag(body) {
2649
+ return this.h("update-tag", body);
2427
2650
  }
2428
- // Notes
2429
- getPatientNotes(body) {
2430
- return this.h("get-patient-notes", body);
2651
+ deleteTag(body) {
2652
+ return this.h("delete-tag", body);
2431
2653
  }
2432
- createNote(body) {
2433
- return this.h("create-note", body);
2654
+ bulkApplyTags(body) {
2655
+ return this.h("bulk-apply-tags", body);
2434
2656
  }
2435
- createPersonalizationQuestionnaire(body) {
2436
- return this.h("create-personalization-questionnaire", body);
2657
+ removeAppliedTag(body) {
2658
+ return this.h("remove-applied-tag", body);
2437
2659
  }
2438
- // Conversations
2439
- getConversation(body) {
2440
- return this.h("get-conversation", body);
2660
+ };
2661
+
2662
+ // src/clients/connectors/ImpiloClient.ts
2663
+ var ImpiloClient = class extends ConnectorClient {
2664
+ constructor(http, credentials) {
2665
+ super(http, credentials);
2441
2666
  }
2442
- getConversationMemberships(body) {
2443
- return this.h("get-conversation-memberships", body);
2667
+ i(op, body = {}) {
2668
+ return this.send("POST", `/connectors/impilo/${op}`, { body });
2444
2669
  }
2445
- createConversation(body) {
2446
- return this.h("create-conversation", body);
2670
+ // Patients
2671
+ createPatient(body) {
2672
+ return this.i("create-patient", body);
2447
2673
  }
2448
- updateConversation(body) {
2449
- return this.h("update-conversation", body);
2674
+ getPatient(body) {
2675
+ return this.i("get-patient", body);
2450
2676
  }
2451
- closeConversation(body) {
2452
- return this.h("close-conversation", body);
2677
+ listPatients(body = {}) {
2678
+ return this.i("list-patients", body);
2453
2679
  }
2454
- sendChatMessage(body) {
2455
- return this.h("send-chat-message", body);
2680
+ updatePatient(body) {
2681
+ return this.i("update-patient", body);
2456
2682
  }
2457
- // Fax
2458
- getSentFaxes(body = {}) {
2459
- return this.h("get-sent-faxes", body);
2683
+ // Devices
2684
+ getDevice(body) {
2685
+ return this.i("get-device", body);
2460
2686
  }
2461
- getSentFax(body) {
2462
- return this.h("get-sent-fax", body);
2687
+ listDevices(body = {}) {
2688
+ return this.i("list-devices", body);
2463
2689
  }
2464
- sendFax(body) {
2465
- return this.h("send-fax", body);
2690
+ associateDevice(body) {
2691
+ return this.i("associate-device", body);
2692
+ }
2693
+ disassociateDevice(body) {
2694
+ return this.i("disassociate-device", body);
2466
2695
  }
2467
- getReceivedFaxes(body = {}) {
2468
- return this.h("get-received-faxes", body);
2696
+ enableReadings(body) {
2697
+ return this.i("enable-readings", body);
2469
2698
  }
2470
- getReceivedFax(body) {
2471
- return this.h("get-received-fax", body);
2699
+ disableReadings(body) {
2700
+ return this.i("disable-readings", body);
2472
2701
  }
2473
- // Entries / Metrics
2474
- getEntries(body = {}) {
2475
- return this.h("get-entries", body);
2702
+ validateDevice(body) {
2703
+ return this.i("validate-device", body);
2476
2704
  }
2477
- getEntry(body) {
2478
- return this.h("get-entry", body);
2705
+ // Kits
2706
+ getKit(body) {
2707
+ return this.i("get-kit", body);
2479
2708
  }
2480
- createEntry(body) {
2481
- return this.h("create-entry", body);
2709
+ listKits(body = {}) {
2710
+ return this.i("list-kits", body);
2482
2711
  }
2483
- updateEntry(body) {
2484
- return this.h("update-entry", body);
2712
+ linkKitToPatient(body) {
2713
+ return this.i("link-kit-to-patient", body);
2485
2714
  }
2486
- deleteEntry(body) {
2487
- return this.h("delete-entry", body);
2715
+ unlinkKitFromPatient(body) {
2716
+ return this.i("unlink-kit-from-patient", body);
2488
2717
  }
2489
- createMetricEntry(body) {
2490
- return this.h("create-metric-entry", body);
2718
+ // Orders
2719
+ createOrder(body) {
2720
+ return this.i("create-order", body);
2491
2721
  }
2492
- getMetricEntries(body = {}) {
2493
- return this.h("get-metric-entries", body);
2722
+ getOrder(body) {
2723
+ return this.i("get-order", body);
2494
2724
  }
2495
- // Goals
2496
- getGoals(body = {}) {
2497
- return this.h("get-goals", body);
2725
+ listOrders(body = {}) {
2726
+ return this.i("list-orders", body);
2498
2727
  }
2499
- getGoal(body) {
2500
- return this.h("get-goal", body);
2728
+ // Readings
2729
+ recordBloodPressureReading(body) {
2730
+ return this.i("record-blood-pressure-reading", body);
2501
2731
  }
2502
- createGoal(body) {
2503
- return this.h("create-goal", body);
2732
+ getBloodPressureReading(body) {
2733
+ return this.i("get-blood-pressure-reading", body);
2504
2734
  }
2505
- updateGoal(body) {
2506
- return this.h("update-goal", body);
2735
+ listBloodPressureReadings(body = {}) {
2736
+ return this.i("list-blood-pressure-readings", body);
2507
2737
  }
2508
- deleteGoal(body) {
2509
- return this.h("delete-goal", body);
2738
+ recordBloodGlucoseReading(body) {
2739
+ return this.i("record-blood-glucose-reading", body);
2510
2740
  }
2511
- getGoalHistories(body) {
2512
- return this.h("get-goal-histories", body);
2741
+ getBloodGlucoseReading(body) {
2742
+ return this.i("get-blood-glucose-reading", body);
2513
2743
  }
2514
- // Tasks
2515
- getTask(body) {
2516
- return this.h("get-task", body);
2744
+ listBloodGlucoseReadings(body = {}) {
2745
+ return this.i("list-blood-glucose-readings", body);
2517
2746
  }
2518
- getTasks(body = {}) {
2519
- return this.h("get-tasks", body);
2747
+ recordBloodOxygenReading(body) {
2748
+ return this.i("record-blood-oxygen-reading", body);
2520
2749
  }
2521
- createTask(body) {
2522
- return this.h("create-task", body);
2750
+ getBloodOxygenReading(body) {
2751
+ return this.i("get-blood-oxygen-reading", body);
2523
2752
  }
2524
- updateTask(body) {
2525
- return this.h("update-task", body);
2753
+ listBloodOxygenReadings(body = {}) {
2754
+ return this.i("list-blood-oxygen-readings", body);
2526
2755
  }
2527
- deleteTask(body) {
2528
- return this.h("delete-task", body);
2756
+ recordWeightReading(body) {
2757
+ return this.i("record-weight-reading", body);
2529
2758
  }
2530
- markTasksAsSeen(body) {
2531
- return this.h("mark-tasks-as-seen", body);
2759
+ getWeightReading(body) {
2760
+ return this.i("get-weight-reading", body);
2532
2761
  }
2533
- // Care plans
2534
- getCarePlans(body = {}) {
2535
- return this.h("get-care-plans", body);
2762
+ listWeightReadings(body = {}) {
2763
+ return this.i("list-weight-readings", body);
2536
2764
  }
2537
- getCarePlan(body) {
2538
- return this.h("get-care-plan", body);
2765
+ recordTemperatureReading(body) {
2766
+ return this.i("record-temperature-reading", body);
2539
2767
  }
2540
- createCarePlan(body) {
2541
- return this.h("create-care-plan", body);
2768
+ getTemperatureReading(body) {
2769
+ return this.i("get-temperature-reading", body);
2542
2770
  }
2543
- updateCarePlan(body) {
2544
- return this.h("update-care-plan", body);
2771
+ listTemperatureReadings(body = {}) {
2772
+ return this.i("list-temperature-readings", body);
2545
2773
  }
2546
- deleteCarePlan(body) {
2547
- return this.h("delete-care-plan", body);
2774
+ recordHeartRateReading(body) {
2775
+ return this.i("record-heart-rate-reading", body);
2548
2776
  }
2549
- // Programs
2550
- getPrograms(body = {}) {
2551
- return this.h("get-programs", body);
2777
+ getHeartRateReading(body) {
2778
+ return this.i("get-heart-rate-reading", body);
2552
2779
  }
2553
- getProgram(body) {
2554
- return this.h("get-program", body);
2780
+ listHeartRateReadings(body = {}) {
2781
+ return this.i("list-heart-rate-readings", body);
2555
2782
  }
2556
- createProgram(body) {
2557
- return this.h("create-program", body);
2783
+ listSpirometryReadings(body = {}) {
2784
+ return this.i("list-spirometry-readings", body);
2558
2785
  }
2559
- updateProgram(body) {
2560
- return this.h("update-program", body);
2786
+ // Clinical notes
2787
+ getClinicalNote(body) {
2788
+ return this.i("get-clinical-note", body);
2561
2789
  }
2562
- deleteProgram(body) {
2563
- return this.h("delete-program", body);
2790
+ listClinicalNotes(body = {}) {
2791
+ return this.i("list-clinical-notes", body);
2564
2792
  }
2565
- // Episodes of care
2566
- getPatientEncounter(body) {
2567
- return this.h("get-patient-encounter", body);
2793
+ // Inventory
2794
+ listSiteInventory(body = {}) {
2795
+ return this.i("list-site-inventory", body);
2568
2796
  }
2569
- getEpisodesOfCare(body = {}) {
2570
- return this.h("get-episodes-of-care", body);
2797
+ listKitInventory(body = {}) {
2798
+ return this.i("list-kit-inventory", body);
2571
2799
  }
2572
- createEpisodeOfCare(body) {
2573
- return this.h("create-episode-of-care", body);
2800
+ // Procurements
2801
+ createProcurement(body) {
2802
+ return this.i("create-procurement", body);
2574
2803
  }
2575
- updateEpisodeOfCare(body) {
2576
- return this.h("update-episode-of-care", body);
2804
+ listProcurements(body = {}) {
2805
+ return this.i("list-procurements", body);
2577
2806
  }
2578
- deleteEpisodeOfCare(body) {
2579
- return this.h("delete-episode-of-care", body);
2807
+ // Items
2808
+ createItem(body) {
2809
+ return this.i("create-item", body);
2580
2810
  }
2581
- linkEncountersToEpisode(body) {
2582
- return this.h("link-encounters-to-episode", body);
2811
+ getItem(body) {
2812
+ return this.i("get-item", body);
2583
2813
  }
2584
- unlinkEncountersFromEpisode(body) {
2585
- return this.h("unlink-encounters-from-episode", body);
2814
+ listItems(body = {}) {
2815
+ return this.i("list-items", body);
2586
2816
  }
2587
- // CCDA
2588
- parseCcdaDocument(body) {
2589
- return this.h("parse-ccda-document", body);
2817
+ // Alert configs
2818
+ getPatientAlertConfig(body) {
2819
+ return this.i("get-patient-alert-config", body);
2590
2820
  }
2591
- completeCcdaReconciliation(body) {
2592
- return this.h("complete-ccda-reconciliation", body);
2821
+ setPatientAlertConfig(body) {
2822
+ return this.i("set-patient-alert-config", body);
2593
2823
  }
2594
- // Diagnoses / Problems
2595
- getPatientDiagnoses(body) {
2596
- return this.h("get-patient-diagnoses", body);
2824
+ getSiteAlertConfig(body) {
2825
+ return this.i("get-site-alert-config", body);
2597
2826
  }
2598
- addDiagnosis(body) {
2599
- return this.h("add-diagnosis", body);
2827
+ setSiteAlertConfig(body) {
2828
+ return this.i("set-site-alert-config", body);
2600
2829
  }
2601
- updateDiagnosis(body) {
2602
- return this.h("update-diagnosis", body);
2830
+ getGlobalAlertConfig(body) {
2831
+ return this.i("get-global-alert-config", body);
2603
2832
  }
2604
- removeDiagnosis(body) {
2605
- return this.h("remove-diagnosis", body);
2833
+ setGlobalAlertConfig(body) {
2834
+ return this.i("set-global-alert-config", body);
2606
2835
  }
2607
- bulkUpdateDiagnoses(body) {
2608
- return this.h("bulk-update-diagnoses", body);
2836
+ // Webhooks
2837
+ registerWebhooks(body) {
2838
+ return this.i("register-webhooks", body);
2609
2839
  }
2610
- getPatientProblems(body) {
2611
- return this.h("get-patient-problems", body);
2840
+ fetchProcurementDocument(body) {
2841
+ return this.send("POST", "/connectors/impilo/fetch-procurement-document", { body });
2612
2842
  }
2613
- // Family history
2614
- createFamilyHistory(body) {
2615
- return this.h("create-family-history", body);
2843
+ getOrderSummary(body) {
2844
+ return this.send("POST", "/connectors/impilo/get-order-summary", { body });
2616
2845
  }
2617
- updateFamilyHistory(body) {
2618
- return this.h("update-family-history", body);
2846
+ };
2847
+
2848
+ // src/clients/connectors/JunctionClient.ts
2849
+ var JunctionClient = class extends ConnectorClient {
2850
+ constructor(http, credentials) {
2851
+ super(http, credentials);
2619
2852
  }
2620
- deleteFamilyHistory(body) {
2621
- return this.h("delete-family-history", body);
2853
+ orderTestkit(body) {
2854
+ return this.send("POST", "/connectors/junction/order-testkit", { body });
2622
2855
  }
2623
- // Immunizations
2624
- getPatientImmunizations(body) {
2625
- return this.h("get-patient-immunizations", body);
2856
+ registerTestkit(body) {
2857
+ return this.send("POST", "/connectors/junction/register-testkit", { body });
2626
2858
  }
2627
- createImmunization(body) {
2628
- return this.h("create-immunization", body);
2859
+ getTests(body = {}) {
2860
+ return this.send("POST", "/connectors/junction/get-tests", { body });
2629
2861
  }
2630
- updateImmunization(body) {
2631
- return this.h("update-immunization", body);
2862
+ getOrders(body = {}) {
2863
+ return this.send("POST", "/connectors/junction/get-orders", { body });
2632
2864
  }
2633
- // Medications
2634
- getMedications(body) {
2635
- return this.h("get-medications", body);
2865
+ };
2866
+
2867
+ // src/clients/connectors/NppesClient.ts
2868
+ var NppesClient = class extends ConnectorClient {
2869
+ constructor(http, credentials) {
2870
+ super(http, credentials);
2636
2871
  }
2637
- createMedication(body) {
2638
- return this.h("create-medication", body);
2872
+ verifyProvider(body) {
2873
+ return this.send("POST", "/connectors/nppes/verify-provider", { body });
2639
2874
  }
2640
- updateMedication(body) {
2641
- return this.h("update-medication", body);
2875
+ getProvider(body) {
2876
+ return this.send("POST", "/connectors/nppes/get-provider", { body });
2642
2877
  }
2643
- deleteMedication(body) {
2644
- return this.h("delete-medication", body);
2878
+ searchProviders(body) {
2879
+ return this.send("POST", "/connectors/nppes/search-providers", { body });
2645
2880
  }
2646
- // Lab orders
2647
- getLabOrders(body = {}) {
2648
- return this.h("get-lab-orders", body);
2881
+ };
2882
+
2883
+ // src/clients/connectors/OpenAIClient.ts
2884
+ var OpenAIClient = class extends ConnectorClient {
2885
+ constructor(http, credentials) {
2886
+ super(http, credentials);
2649
2887
  }
2650
- getLabOrder(body) {
2651
- return this.h("get-lab-order", body);
2888
+ /** Send a chat completion request to OpenAI. */
2889
+ chat(body) {
2890
+ return this.send("POST", "/connectors/openai/chat", { body });
2652
2891
  }
2653
- createLabOrder(body) {
2654
- return this.h("create-lab-order", body);
2892
+ /** Generate text embeddings via OpenAI. */
2893
+ embed(body) {
2894
+ return this.send("POST", "/connectors/openai/embed", { body });
2655
2895
  }
2656
- createRupaOrder(body) {
2657
- return this.h("create-rupa-order", body);
2896
+ buildResponseCreatePayload(body = {}) {
2897
+ return this.send("POST", "/connectors/openai/build-response-create-payload", { body });
2658
2898
  }
2659
- updateLabOrder(body) {
2660
- return this.h("update-lab-order", body);
2899
+ chatJson(body) {
2900
+ return this.send("POST", "/connectors/openai/chat-json", { body });
2661
2901
  }
2662
- getLabResult(body) {
2663
- return this.h("get-lab-result", body);
2902
+ createAssistant(body) {
2903
+ return this.send("POST", "/connectors/openai/create-assistant", { body });
2664
2904
  }
2665
- // Pharmacy
2666
- getPharmacy(body) {
2667
- return this.h("get-pharmacy", body);
2905
+ deleteAssistant(body) {
2906
+ return this.send("POST", "/connectors/openai/delete-assistant", { body });
2668
2907
  }
2669
- searchPharmacies(body) {
2670
- return this.h("search-pharmacies", body);
2908
+ getAssistant(body) {
2909
+ return this.send("POST", "/connectors/openai/get-assistant", { body });
2671
2910
  }
2672
- addPharmacy(body) {
2673
- return this.h("add-pharmacy", body);
2911
+ moderate(body) {
2912
+ return this.send("POST", "/connectors/openai/moderate", { body });
2674
2913
  }
2675
- getPatientDefaultPharmacy(body) {
2676
- return this.h("get-patient-default-pharmacy", body);
2914
+ updateAssistant(body) {
2915
+ return this.send("POST", "/connectors/openai/update-assistant", { body });
2677
2916
  }
2678
- // Organization
2679
- getOrganizationDetailed(body = {}) {
2680
- return this.h("get-organization-detailed", body);
2917
+ };
2918
+
2919
+ // src/clients/connectors/OuraClient.ts
2920
+ var OuraClient = class extends ConnectorClient {
2921
+ constructor(http, credentials) {
2922
+ super(http, credentials);
2681
2923
  }
2682
- listOrganizationMembers(body = {}) {
2683
- return this.h("list-organization-members", body);
2924
+ o(op, body = {}) {
2925
+ return this.send("POST", `/connectors/oura/${op}`, { body });
2684
2926
  }
2685
- createOrganizationMembership(body) {
2686
- return this.h("create-organization-membership", body);
2927
+ buildAuthorizationUrl(body = {}) {
2928
+ return this.o("build-authorization-url", body);
2687
2929
  }
2688
- updateOrganizationMembership(body) {
2689
- return this.h("update-organization-membership", body);
2930
+ exchangeAuthorizationCode(body) {
2931
+ return this.o("exchange-authorization-code", body);
2690
2932
  }
2691
- deleteOrganizationMembership(body) {
2692
- return this.h("delete-organization-membership", body);
2933
+ refreshAccessToken(body) {
2934
+ return this.o("refresh-access-token", body);
2693
2935
  }
2694
- getOrganization(body = {}) {
2695
- return this.h("get-organization", body);
2936
+ getPersonalInfo(body = {}) {
2937
+ return this.o("get-personal-info", body);
2696
2938
  }
2697
- getDietitianId(body = {}) {
2698
- return this.h("get-dietitian-id", body);
2939
+ getDailyActivities(body = {}) {
2940
+ return this.o("get-daily-activities", body);
2699
2941
  }
2700
- getOrganizationMembers(body = {}) {
2701
- return this.h("get-organization-members", body);
2942
+ getDailyActivity(body) {
2943
+ return this.o("get-daily-activity", body);
2702
2944
  }
2703
- getProvider(body) {
2704
- return this.h("get-provider", body);
2945
+ getDailySleeps(body = {}) {
2946
+ return this.o("get-daily-sleeps", body);
2705
2947
  }
2706
- // User groups
2707
- getUserGroup(body) {
2708
- return this.h("get-user-group", body);
2948
+ getDailySleep(body) {
2949
+ return this.o("get-daily-sleep", body);
2709
2950
  }
2710
- getUserGroups(body = {}) {
2711
- return this.h("get-user-groups", body);
2951
+ getSleeps(body = {}) {
2952
+ return this.o("get-sleeps", body);
2712
2953
  }
2713
- createUserGroup(body) {
2714
- return this.h("create-user-group", body);
2954
+ getSleep(body) {
2955
+ return this.o("get-sleep", body);
2715
2956
  }
2716
- updateUserGroup(body) {
2717
- return this.h("update-user-group", body);
2957
+ getAllSleeps(body = {}) {
2958
+ return this.o("get-all-sleeps", body);
2718
2959
  }
2719
- deleteUserGroup(body) {
2720
- return this.h("delete-user-group", body);
2960
+ getDailyReadiness(body = {}) {
2961
+ return this.o("get-daily-readiness", body);
2721
2962
  }
2722
- // Tags
2723
- getTags(body = {}) {
2724
- return this.h("get-tags", body);
2963
+ getDailyReadinessById(body) {
2964
+ return this.o("get-daily-readiness-by-id", body);
2725
2965
  }
2726
- createTag(body) {
2727
- return this.h("create-tag", body);
2966
+ getHeartRates(body = {}) {
2967
+ return this.o("get-heart-rates", body);
2728
2968
  }
2729
- updateTag(body) {
2730
- return this.h("update-tag", body);
2969
+ getWorkouts(body = {}) {
2970
+ return this.o("get-workouts", body);
2731
2971
  }
2732
- deleteTag(body) {
2733
- return this.h("delete-tag", body);
2972
+ getWorkout(body) {
2973
+ return this.o("get-workout", body);
2734
2974
  }
2735
- bulkApplyTags(body) {
2736
- return this.h("bulk-apply-tags", body);
2975
+ getDailySpo2(body = {}) {
2976
+ return this.o("get-daily-spo2", body);
2737
2977
  }
2738
- removeAppliedTag(body) {
2739
- return this.h("remove-applied-tag", body);
2978
+ getDailyStress(body = {}) {
2979
+ return this.o("get-daily-stress", body);
2740
2980
  }
2741
- };
2742
-
2743
- // src/clients/vendors/GrokClient.ts
2744
- var GrokClient = class extends BaseServiceClient {
2745
- constructor(http) {
2746
- super(http, "connectors");
2981
+ getDailyResilience(body = {}) {
2982
+ return this.o("get-daily-resilience", body);
2747
2983
  }
2748
- getUmlsCodes(body) {
2749
- return this.send("POST", "/connectors/grok/get-umls-codes", { body });
2984
+ getDailyCardiovascularAge(body = {}) {
2985
+ return this.o("get-daily-cardiovascular-age", body);
2750
2986
  }
2751
- convertCcdaToFhir(body) {
2752
- return this.send("POST", "/connectors/grok/convert-ccda-to-fhir", { body });
2987
+ getVo2Max(body = {}) {
2988
+ return this.o("get-vo2-max", body);
2753
2989
  }
2754
- convertFhirToCcda(body) {
2755
- return this.send("POST", "/connectors/grok/convert-fhir-to-ccda", { body });
2990
+ getRingConfigurations(body = {}) {
2991
+ return this.o("get-ring-configurations", body);
2756
2992
  }
2757
- generalRequest(body) {
2758
- return this.send("POST", "/connectors/grok/general-grok-request", { body });
2993
+ getSessions(body = {}) {
2994
+ return this.o("get-sessions", body);
2759
2995
  }
2760
- convertFhirToCcdaWithChunking(body) {
2761
- return this.send("POST", "/connectors/grok/convert-fhir-to-ccda-with-chunking", { body });
2996
+ getSleepTimes(body = {}) {
2997
+ return this.o("get-sleep-times", body);
2762
2998
  }
2763
- createClinicalNotes(body) {
2764
- return this.send("POST", "/connectors/grok/create-clinical-notes", { body });
2999
+ getTags(body = {}) {
3000
+ return this.o("get-tags", body);
2765
3001
  }
2766
- chooseEncounterReasonsFromList(body) {
2767
- return this.send("POST", "/connectors/grok/choose-encounter-reasons-from-list", { body });
3002
+ getEnhancedTags(body = {}) {
3003
+ return this.o("get-enhanced-tags", body);
2768
3004
  }
2769
- chooseTemplatesFromList(body) {
2770
- return this.send("POST", "/connectors/grok/choose-templates-from-list", { body });
3005
+ getRestModePeriods(body = {}) {
3006
+ return this.o("get-rest-mode-periods", body);
2771
3007
  }
2772
- createHpiSummary(body) {
2773
- return this.send("POST", "/connectors/grok/create-hpi-summary", { body });
3008
+ };
3009
+
3010
+ // src/clients/connectors/PlaidClient.ts
3011
+ var PlaidClient = class extends ConnectorClient {
3012
+ constructor(http, credentials) {
3013
+ super(http, credentials);
2774
3014
  }
2775
- createScreeningSummary(body) {
2776
- return this.send("POST", "/connectors/grok/create-screening-summary", { body });
3015
+ createIdentityVerification(body) {
3016
+ return this.send("POST", "/connectors/plaid/create-identity-verification", { body });
2777
3017
  }
2778
- chooseHealthServiceFromList(body) {
2779
- return this.send("POST", "/connectors/grok/choose-health-service-from-list", { body });
3018
+ getIdentityVerification(body) {
3019
+ return this.send("POST", "/connectors/plaid/get-identity-verification", { body });
2780
3020
  }
2781
- createEhrSummary(body) {
2782
- return this.send("POST", "/connectors/grok/create-ehr-summary", { body });
3021
+ listIdentityVerifications(body) {
3022
+ return this.send("POST", "/connectors/plaid/list-identity-verifications", { body });
2783
3023
  }
2784
3024
  };
2785
3025
 
2786
- // src/clients/vendors/CalClient.ts
2787
- var CalClient = class extends BaseServiceClient {
2788
- constructor(http) {
2789
- super(http, "connectors");
3026
+ // src/clients/connectors/QuestClient.ts
3027
+ var QuestClient = class extends ConnectorClient {
3028
+ constructor(http, credentials) {
3029
+ super(http, credentials);
2790
3030
  }
2791
- c(op, body = {}) {
2792
- return this.send("POST", `/connectors/cal/${op}`, { body });
3031
+ p(operation, body) {
3032
+ return this.send("POST", `/connectors/quest/${operation}`, { body });
2793
3033
  }
2794
- getAllBookings(body = {}) {
2795
- return this.c("get-all-bookings", body);
3034
+ // ── REST-style operations ──────────────────────────────────────────────────
3035
+ /** Create a lab order with Quest Diagnostics. */
3036
+ createOrder(body) {
3037
+ return this.send("POST", "/connectors/quest/create-order", { body });
2796
3038
  }
2797
- createBooking(body) {
2798
- return this.c("create-booking", body);
3039
+ /** Retrieve lab results for an order or patient. */
3040
+ getResults(body) {
3041
+ return this.send("POST", "/connectors/quest/get-results", { body });
2799
3042
  }
2800
- getEventTypes(body = {}) {
2801
- return this.c("get-event-types", body);
3043
+ /** Browse the Quest test catalog. */
3044
+ listTests(body) {
3045
+ return this.send("POST", "/connectors/quest/list-tests", { body });
2802
3046
  }
2803
- getAvailableSlots(body) {
2804
- return this.c("get-available-slots", body);
3047
+ // ── HL7 message-based operations ───────────────────────────────────────────
3048
+ getAccessToken(body = {}) {
3049
+ return this.p("get-access-token", body);
2805
3050
  }
2806
- getScheduleForEventType(body) {
2807
- return this.c("get-schedule-for-event-type", body);
3051
+ clearTokenCache(body = {}) {
3052
+ return this.p("clear-token-cache", body);
2808
3053
  }
2809
- getScheduleById(body) {
2810
- return this.c("get-schedule-by-id", body);
3054
+ submitOrder(body) {
3055
+ return this.p("submit-order", body);
2811
3056
  }
2812
- createSchedule(body) {
2813
- return this.c("create-schedule", body);
3057
+ getOrderDocuments(body) {
3058
+ return this.p("get-order-documents", body);
2814
3059
  }
2815
- assignScheduleToEventType(body) {
2816
- return this.c("assign-schedule-to-event-type", body);
3060
+ evaluateAbn(body) {
3061
+ return this.p("evaluate-abn", body);
2817
3062
  }
2818
- updateSchedule(body) {
2819
- return this.c("update-schedule", body);
3063
+ getRequisition(body) {
3064
+ return this.p("get-requisition", body);
2820
3065
  }
2821
- updateAvailabilityFromAthenaSlots(body) {
2822
- return this.c("update-availability-from-athena-slots", body);
3066
+ evaluateAoe(body) {
3067
+ return this.p("evaluate-aoe", body);
2823
3068
  }
2824
- syncWithAthena(body = {}) {
2825
- return this.c("sync-with-athena", body);
3069
+ submitFullOrder(body) {
3070
+ return this.p("submit-full-order", body);
2826
3071
  }
2827
- };
2828
-
2829
- // src/clients/vendors/CarequalityClient.ts
2830
- var CarequalityClient = class extends BaseServiceClient {
2831
- constructor(http) {
2832
- super(http, "connectors");
3072
+ getHl7Results(body = {}) {
3073
+ return this.p("get-hl7-results", body);
2833
3074
  }
2834
- discoverPatient(body) {
2835
- return this.send("POST", "/connectors/carequality/discover-patient", { body });
3075
+ getPrintableResults(body = {}) {
3076
+ return this.p("get-printable-results", body);
2836
3077
  }
2837
- queryDocuments(body) {
2838
- return this.send("POST", "/connectors/carequality/query-documents", { body });
3078
+ getObservationResults(body = {}) {
3079
+ return this.p("get-observation-results", body);
2839
3080
  }
2840
- retrieveDocuments(body) {
2841
- return this.send("POST", "/connectors/carequality/retrieve-documents", { body });
3081
+ acknowledgeHl7Results(body) {
3082
+ return this.p("acknowledge-hl7-results", body);
2842
3083
  }
2843
- importPatientDocuments(body) {
2844
- return this.send("POST", "/connectors/carequality/import-patient-documents", { body });
3084
+ acknowledgePrintableResults(body) {
3085
+ return this.p("acknowledge-printable-results", body);
2845
3086
  }
2846
- };
2847
-
2848
- // src/clients/vendors/OuraClient.ts
2849
- var OuraClient = class extends BaseServiceClient {
2850
- constructor(http) {
2851
- super(http, "connectors");
3087
+ acknowledgeObservationResults(body) {
3088
+ return this.p("acknowledge-observation-results", body);
2852
3089
  }
2853
- o(op, body = {}) {
2854
- return this.send("POST", `/connectors/oura/${op}`, { body });
3090
+ buildResultsAck(body) {
3091
+ return this.p("build-results-ack", body);
2855
3092
  }
2856
- buildAuthorizationUrl(body = {}) {
2857
- return this.o("build-authorization-url", body);
3093
+ processPushedResult(body) {
3094
+ return this.p("process-pushed-result", body);
2858
3095
  }
2859
- exchangeAuthorizationCode(body) {
2860
- return this.o("exchange-authorization-code", body);
3096
+ requestCompendiums(body = {}) {
3097
+ return this.p("request-compendiums", body);
2861
3098
  }
2862
- refreshAccessToken(body) {
2863
- return this.o("refresh-access-token", body);
3099
+ requestCompendiumsOnDemand(body) {
3100
+ return this.p("request-compendiums-on-demand", body);
2864
3101
  }
2865
- getPersonalInfo(body = {}) {
2866
- return this.o("get-personal-info", body);
3102
+ retrieveCompendium(body) {
3103
+ return this.p("retrieve-compendium", body);
2867
3104
  }
2868
- getDailyActivities(body = {}) {
2869
- return this.o("get-daily-activities", body);
3105
+ retrieveAndExtractCompendium(body) {
3106
+ return this.p("retrieve-and-extract-compendium", body);
2870
3107
  }
2871
- getDailyActivity(body) {
2872
- return this.o("get-daily-activity", body);
3108
+ acknowledgeCompendium(body) {
3109
+ return this.p("acknowledge-compendium", body);
2873
3110
  }
2874
- getDailySleeps(body = {}) {
2875
- return this.o("get-daily-sleeps", body);
3111
+ syncCompendiums(body = {}) {
3112
+ return this.p("sync-compendiums", body);
2876
3113
  }
2877
- getDailySleep(body) {
2878
- return this.o("get-daily-sleep", body);
3114
+ };
3115
+
3116
+ // src/clients/connectors/SalesforceClient.ts
3117
+ var SalesforceClient = class extends ConnectorClient {
3118
+ constructor(http, credentials) {
3119
+ super(http, credentials);
2879
3120
  }
2880
- getSleeps(body = {}) {
2881
- return this.o("get-sleeps", body);
3121
+ /** Execute a SOQL query and return matching records. */
3122
+ query(body) {
3123
+ return this.send("POST", "/connectors/salesforce/query", { body });
2882
3124
  }
2883
- getSleep(body) {
2884
- return this.o("get-sleep", body);
3125
+ /** Create a new Salesforce record of the given sObject type. */
3126
+ create(body) {
3127
+ return this.send("POST", "/connectors/salesforce/create", { body });
2885
3128
  }
2886
- getAllSleeps(body = {}) {
2887
- return this.o("get-all-sleeps", body);
3129
+ /** Retrieve a single Salesforce record by sObject type and record ID. */
3130
+ get(body) {
3131
+ return this.send("POST", "/connectors/salesforce/get", { body });
2888
3132
  }
2889
- getDailyReadiness(body = {}) {
2890
- return this.o("get-daily-readiness", body);
3133
+ buildCaseDescription(body) {
3134
+ return this.send("POST", "/connectors/salesforce/build-case-description", { body });
2891
3135
  }
2892
- getDailyReadinessById(body) {
2893
- return this.o("get-daily-readiness-by-id", body);
3136
+ createAccount(body) {
3137
+ return this.send("POST", "/connectors/salesforce/create-account", { body });
2894
3138
  }
2895
- getHeartRates(body = {}) {
2896
- return this.o("get-heart-rates", body);
3139
+ createCallLog(body) {
3140
+ return this.send("POST", "/connectors/salesforce/create-call-log", { body });
2897
3141
  }
2898
- getWorkouts(body = {}) {
2899
- return this.o("get-workouts", body);
3142
+ createCampaign(body) {
3143
+ return this.send("POST", "/connectors/salesforce/create-campaign", { body });
2900
3144
  }
2901
- getWorkout(body) {
2902
- return this.o("get-workout", body);
3145
+ createCase(body) {
3146
+ return this.send("POST", "/connectors/salesforce/create-case", { body });
2903
3147
  }
2904
- getDailySpo2(body = {}) {
2905
- return this.o("get-daily-spo2", body);
3148
+ createContact(body) {
3149
+ return this.send("POST", "/connectors/salesforce/create-contact", { body });
2906
3150
  }
2907
- getDailyStress(body = {}) {
2908
- return this.o("get-daily-stress", body);
3151
+ createEvent(body) {
3152
+ return this.send("POST", "/connectors/salesforce/create-event", { body });
2909
3153
  }
2910
- getDailyResilience(body = {}) {
2911
- return this.o("get-daily-resilience", body);
3154
+ createPatient(body) {
3155
+ return this.send("POST", "/connectors/salesforce/create-patient", { body });
2912
3156
  }
2913
- getDailyCardiovascularAge(body = {}) {
2914
- return this.o("get-daily-cardiovascular-age", body);
3157
+ createSegment(body) {
3158
+ return this.send("POST", "/connectors/salesforce/create-segment", { body });
2915
3159
  }
2916
- getVo2Max(body = {}) {
2917
- return this.o("get-vo2-max", body);
3160
+ deleteAccount(body) {
3161
+ return this.send("POST", "/connectors/salesforce/delete-account", { body });
2918
3162
  }
2919
- getRingConfigurations(body = {}) {
2920
- return this.o("get-ring-configurations", body);
3163
+ deleteCallLog(body) {
3164
+ return this.send("POST", "/connectors/salesforce/delete-call-log", { body });
2921
3165
  }
2922
- getSessions(body = {}) {
2923
- return this.o("get-sessions", body);
3166
+ deleteCampaign(body) {
3167
+ return this.send("POST", "/connectors/salesforce/delete-campaign", { body });
2924
3168
  }
2925
- getSleepTimes(body = {}) {
2926
- return this.o("get-sleep-times", body);
3169
+ deleteCase(body) {
3170
+ return this.send("POST", "/connectors/salesforce/delete-case", { body });
2927
3171
  }
2928
- getTags(body = {}) {
2929
- return this.o("get-tags", body);
3172
+ deleteEvent(body) {
3173
+ return this.send("POST", "/connectors/salesforce/delete-event", { body });
2930
3174
  }
2931
- getEnhancedTags(body = {}) {
2932
- return this.o("get-enhanced-tags", body);
3175
+ deletePatient(body) {
3176
+ return this.send("POST", "/connectors/salesforce/delete-patient", { body });
2933
3177
  }
2934
- getRestModePeriods(body = {}) {
2935
- return this.o("get-rest-mode-periods", body);
3178
+ deleteSegment(body) {
3179
+ return this.send("POST", "/connectors/salesforce/delete-segment", { body });
2936
3180
  }
2937
- };
2938
-
2939
- // src/clients/vendors/PlaidClient.ts
2940
- var PlaidClient = class extends BaseServiceClient {
2941
- constructor(http) {
2942
- super(http, "connectors");
3181
+ describe(body) {
3182
+ return this.send("POST", "/connectors/salesforce/describe", { body });
2943
3183
  }
2944
- createIdentityVerification(body) {
2945
- return this.send("POST", "/connectors/plaid/create-identity-verification", { body });
3184
+ getAccount(body) {
3185
+ return this.send("POST", "/connectors/salesforce/get-account", { body });
2946
3186
  }
2947
- getIdentityVerification(body) {
2948
- return this.send("POST", "/connectors/plaid/get-identity-verification", { body });
3187
+ getAccountByTenant(body) {
3188
+ return this.send("POST", "/connectors/salesforce/get-account-by-tenant", { body });
2949
3189
  }
2950
- listIdentityVerifications(body) {
2951
- return this.send("POST", "/connectors/plaid/list-identity-verifications", { body });
3190
+ getAvailableSlots(body = {}) {
3191
+ return this.send("POST", "/connectors/salesforce/get-available-slots", { body });
2952
3192
  }
2953
- };
2954
-
2955
- // src/clients/vendors/AppleAuthClient.ts
2956
- var AppleAuthClient = class extends BaseServiceClient {
2957
- constructor(http) {
2958
- super(http, "connectors");
3193
+ getCallLog(body) {
3194
+ return this.send("POST", "/connectors/salesforce/get-call-log", { body });
2959
3195
  }
2960
- exchangeCode(body) {
2961
- return this.send("POST", "/connectors/apple-auth/exchange-code", { body });
3196
+ getCampaign(body) {
3197
+ return this.send("POST", "/connectors/salesforce/get-campaign", { body });
2962
3198
  }
2963
- decodeIdToken(body) {
2964
- return this.send("POST", "/connectors/apple-auth/decode-id-token", { body });
3199
+ getCase(body) {
3200
+ return this.send("POST", "/connectors/salesforce/get-case", { body });
2965
3201
  }
2966
- generateClientSecret(body = {}) {
2967
- return this.send("POST", "/connectors/apple-auth/generate-client-secret", { body });
3202
+ getConfiguration(body = {}) {
3203
+ return this.send("POST", "/connectors/salesforce/get-configuration", { body });
2968
3204
  }
2969
- };
2970
-
2971
- // src/clients/vendors/ZocdocClient.ts
2972
- var ZocdocClient = class extends BaseServiceClient {
2973
- constructor(http) {
2974
- super(http, "connectors");
3205
+ getContact(body = {}) {
3206
+ return this.send("POST", "/connectors/salesforce/get-contact", { body });
2975
3207
  }
2976
- z(op, body = {}) {
2977
- return this.send("POST", `/connectors/zocdoc/${op}`, { body });
3208
+ getEvent(body) {
3209
+ return this.send("POST", "/connectors/salesforce/get-event", { body });
2978
3210
  }
2979
- getDirectoryNpis(body = {}) {
2980
- return this.z("get-directory-npis", body);
3211
+ getHealthcareOrgIdByTenant(body) {
3212
+ return this.send("POST", "/connectors/salesforce/get-healthcare-org-id-by-tenant", { body });
2981
3213
  }
2982
- getProvidersByNpis(body) {
2983
- return this.z("get-providers-by-npis", body);
3214
+ getNotScheduledEvents(body = {}) {
3215
+ return this.send("POST", "/connectors/salesforce/get-not-scheduled-events", { body });
2984
3216
  }
2985
- getProviderByNpi(body) {
2986
- return this.z("get-provider-by-npi", body);
3217
+ getPatient(body) {
3218
+ return this.send("POST", "/connectors/salesforce/get-patient", { body });
2987
3219
  }
2988
- searchProviderLocations(body) {
2989
- return this.z("search-provider-locations", body);
3220
+ getPatientByEmail(body) {
3221
+ return this.send("POST", "/connectors/salesforce/get-patient-by-email", { body });
2990
3222
  }
2991
- getProviderLocationById(body) {
2992
- return this.z("get-provider-location-by-id", body);
3223
+ getPatientByPhone(body) {
3224
+ return this.send("POST", "/connectors/salesforce/get-patient-by-phone", { body });
2993
3225
  }
2994
- getMultipleLocationsAvailability(body) {
2995
- return this.z("get-multiple-locations-availability", body);
3226
+ getSegment(body) {
3227
+ return this.send("POST", "/connectors/salesforce/get-segment", { body });
2996
3228
  }
2997
- createAppointment(body) {
2998
- return this.z("create-appointment", body);
3229
+ listAccounts(body = {}) {
3230
+ return this.send("POST", "/connectors/salesforce/list-accounts", { body });
2999
3231
  }
3000
- listAppointments(body = {}) {
3001
- return this.z("list-appointments", body);
3232
+ listCallLogs(body = {}) {
3233
+ return this.send("POST", "/connectors/salesforce/list-call-logs", { body });
3002
3234
  }
3003
- getAppointmentById(body) {
3004
- return this.z("get-appointment-by-id", body);
3235
+ listCampaigns(body = {}) {
3236
+ return this.send("POST", "/connectors/salesforce/list-campaigns", { body });
3005
3237
  }
3006
- confirmAppointment(body) {
3007
- return this.z("confirm-appointment", body);
3238
+ listCases(body = {}) {
3239
+ return this.send("POST", "/connectors/salesforce/list-cases", { body });
3008
3240
  }
3009
- rescheduleAppointment(body) {
3010
- return this.z("reschedule-appointment", body);
3241
+ listEvents(body = {}) {
3242
+ return this.send("POST", "/connectors/salesforce/list-events", { body });
3011
3243
  }
3012
- cancelAppointment(body) {
3013
- return this.z("cancel-appointment", body);
3244
+ listPatients(body = {}) {
3245
+ return this.send("POST", "/connectors/salesforce/list-patients", { body });
3014
3246
  }
3015
- getAppointmentParticipants(body) {
3016
- return this.z("get-appointment-participants", body);
3247
+ listSegments(body = {}) {
3248
+ return this.send("POST", "/connectors/salesforce/list-segments", { body });
3017
3249
  }
3018
- updateAppointmentStatus(body) {
3019
- return this.z("update-appointment-status", body);
3250
+ scheduleEvent(body) {
3251
+ return this.send("POST", "/connectors/salesforce/schedule-event", { body });
3020
3252
  }
3021
- bookAndConfirmAppointment(body) {
3022
- return this.z("book-and-confirm-appointment", body);
3253
+ setAccountSenaiteId(body) {
3254
+ return this.send("POST", "/connectors/salesforce/set-account-senaite-id", { body });
3023
3255
  }
3024
- getInsurancePlans(body = {}) {
3025
- return this.z("get-insurance-plans", body);
3256
+ update(body) {
3257
+ return this.send("POST", "/connectors/salesforce/update", { body });
3026
3258
  }
3027
- getInsurancePlanById(body) {
3028
- return this.z("get-insurance-plan-by-id", body);
3259
+ updateAccount(body) {
3260
+ return this.send("POST", "/connectors/salesforce/update-account", { body });
3029
3261
  }
3030
- getProviderLocationInsuranceMappings(body) {
3031
- return this.z("get-provider-location-insurance-mappings", body);
3262
+ updateAccountAssets(body) {
3263
+ return this.send("POST", "/connectors/salesforce/update-account-assets", { body });
3032
3264
  }
3033
- updateProviderLocationInsuranceMappings(body) {
3034
- return this.z("update-provider-location-insurance-mappings", body);
3265
+ updateCallLog(body) {
3266
+ return this.send("POST", "/connectors/salesforce/update-call-log", { body });
3035
3267
  }
3036
- getSchedulableEntities(body = {}) {
3037
- return this.z("get-schedulable-entities", body);
3268
+ updateCampaign(body) {
3269
+ return this.send("POST", "/connectors/salesforce/update-campaign", { body });
3038
3270
  }
3039
- searchFacilities(body = {}) {
3040
- return this.z("search-facilities", body);
3271
+ updatePatient(body) {
3272
+ return this.send("POST", "/connectors/salesforce/update-patient", { body });
3041
3273
  }
3042
- getFacilityById(body) {
3043
- return this.z("get-facility-by-id", body);
3274
+ updateSegment(body) {
3275
+ return this.send("POST", "/connectors/salesforce/update-segment", { body });
3044
3276
  }
3045
- getProviderCalendarTimeslots(body) {
3046
- return this.z("get-provider-calendar-timeslots", body);
3277
+ };
3278
+
3279
+ // src/clients/connectors/ScrapflyClient.ts
3280
+ var ScrapflyClient = class extends ConnectorClient {
3281
+ constructor(http, credentials) {
3282
+ super(http, credentials);
3047
3283
  }
3048
- setProviderCalendarTimeslots(body) {
3049
- return this.z("set-provider-calendar-timeslots", body);
3284
+ scrape(body) {
3285
+ return this.send("POST", "/connectors/scrapfly/scrape", { body });
3050
3286
  }
3051
- createAppointmentAttachment(body) {
3052
- return this.send("POST", "/connectors/zocdoc/create-appointment-attachment", { body });
3287
+ getDocumentLinks(body) {
3288
+ return this.send("POST", "/connectors/scrapfly/get-document-links", { body });
3053
3289
  }
3054
3290
  };
3055
-
3056
- // src/clients/vendors/WhoopClient.ts
3057
- var WhoopClient = class extends BaseServiceClient {
3058
- constructor(http) {
3059
- super(http, "connectors");
3291
+
3292
+ // src/clients/connectors/SenaiteClient.ts
3293
+ var SenaiteClient = class extends ConnectorClient {
3294
+ constructor(http, credentials) {
3295
+ super(http, credentials);
3060
3296
  }
3061
- w(op, body = {}) {
3062
- return this.send("POST", `/connectors/whoop/${op}`, { body });
3297
+ s(op, body = {}) {
3298
+ return this.send("POST", `/connectors/senaite/${op}`, { body });
3063
3299
  }
3064
- buildAuthorizationUrl(body = {}) {
3065
- return this.w("build-authorization-url", body);
3300
+ login(body = {}) {
3301
+ return this.s("login", body);
3066
3302
  }
3067
- exchangeAuthorizationCode(body) {
3068
- return this.w("exchange-authorization-code", body);
3303
+ logout(body = {}) {
3304
+ return this.s("logout", body);
3069
3305
  }
3070
- refreshAccessToken(body) {
3071
- return this.w("refresh-access-token", body);
3306
+ getCurrentUser(body = {}) {
3307
+ return this.s("get-current-user", body);
3072
3308
  }
3073
- getPartnerToken(body = {}) {
3074
- return this.w("get-partner-token", body);
3309
+ getAllClients(body = {}) {
3310
+ return this.s("get-all-clients", body);
3075
3311
  }
3076
- revokeUserOauthAccess(body = {}) {
3077
- return this.w("revoke-user-oauth-access", body);
3312
+ getClientById(body) {
3313
+ return this.s("get-client-by-id", body);
3078
3314
  }
3079
- getUserProfile(body = {}) {
3080
- return this.w("get-user-profile", body);
3315
+ getClientByUid(body) {
3316
+ return this.s("get-client-by-uid", body);
3081
3317
  }
3082
- getUserBodyMeasurement(body = {}) {
3083
- return this.w("get-user-body-measurement", body);
3318
+ createClient(body) {
3319
+ return this.s("create-client", body);
3084
3320
  }
3085
- getCycle(body) {
3086
- return this.w("get-cycle", body);
3321
+ updateClient(body) {
3322
+ return this.s("update-client", body);
3087
3323
  }
3088
- getCycles(body = {}) {
3089
- return this.w("get-cycles", body);
3324
+ deactivateClient(body) {
3325
+ return this.s("deactivate-client", body);
3090
3326
  }
3091
- getAllCycles(body = {}) {
3092
- return this.w("get-all-cycles", body);
3327
+ getAllSamples(body = {}) {
3328
+ return this.s("get-all-samples", body);
3093
3329
  }
3094
- getSleep(body) {
3095
- return this.w("get-sleep", body);
3330
+ getSamplesByClientId(body) {
3331
+ return this.s("get-samples-by-client-id", body);
3096
3332
  }
3097
- getSleepForCycle(body) {
3098
- return this.w("get-sleep-for-cycle", body);
3333
+ getSampleById(body) {
3334
+ return this.s("get-sample-by-id", body);
3099
3335
  }
3100
- getSleeps(body = {}) {
3101
- return this.w("get-sleeps", body);
3336
+ getSampleByUid(body) {
3337
+ return this.s("get-sample-by-uid", body);
3102
3338
  }
3103
- getAllSleeps(body = {}) {
3104
- return this.w("get-all-sleeps", body);
3339
+ createSample(body) {
3340
+ return this.s("create-sample", body);
3105
3341
  }
3106
- getRecoveryForCycle(body) {
3107
- return this.w("get-recovery-for-cycle", body);
3342
+ updateSample(body) {
3343
+ return this.s("update-sample", body);
3108
3344
  }
3109
- getRecoveries(body = {}) {
3110
- return this.w("get-recoveries", body);
3345
+ cancelSample(body) {
3346
+ return this.s("cancel-sample", body);
3111
3347
  }
3112
- getAllRecoveries(body = {}) {
3113
- return this.w("get-all-recoveries", body);
3348
+ createContact(body) {
3349
+ return this.s("create-contact", body);
3114
3350
  }
3115
- getWorkout(body) {
3116
- return this.w("get-workout", body);
3351
+ getContactsForClient(body) {
3352
+ return this.s("get-contacts-for-client", body);
3117
3353
  }
3118
- getWorkouts(body = {}) {
3119
- return this.w("get-workouts", body);
3354
+ getSampleTypes(body = {}) {
3355
+ return this.s("get-sample-types", body);
3120
3356
  }
3121
- getAllWorkouts(body = {}) {
3122
- return this.w("get-all-workouts", body);
3357
+ createSampleType(body) {
3358
+ return this.s("create-sample-type", body);
3123
3359
  }
3124
- getActivityMapping(body = {}) {
3125
- return this.w("get-activity-mapping", body);
3360
+ getAnalysisServices(body = {}) {
3361
+ return this.s("get-analysis-services", body);
3126
3362
  }
3127
- getLabRequisition(body = {}) {
3128
- return this.w("get-lab-requisition", body);
3363
+ createAnalysisService(body) {
3364
+ return this.s("create-analysis-service", body);
3129
3365
  }
3130
- getServiceRequest(body) {
3131
- return this.w("get-service-request", body);
3366
+ createDepartment(body) {
3367
+ return this.s("create-department", body);
3132
3368
  }
3133
- updateServiceRequestStatus(body) {
3134
- return this.w("update-service-request-status", body);
3369
+ createAnalysisCategory(body) {
3370
+ return this.s("create-analysis-category", body);
3135
3371
  }
3136
- uploadDiagnosticReportResults(body) {
3137
- return this.w("upload-diagnostic-report-results", body);
3372
+ getCatalogs(body = {}) {
3373
+ return this.s("get-catalogs", body);
3138
3374
  }
3139
- addTestData(body) {
3140
- return this.w("add-test-data", body);
3375
+ search(body) {
3376
+ return this.s("search", body);
3141
3377
  }
3142
- submitVitalsFromDevice(body) {
3143
- return this.w("submit-vitals-from-device", body);
3378
+ ensureClientForTenant(body) {
3379
+ return this.s("ensure-senaite-client-for-tenant", body);
3144
3380
  }
3145
3381
  };
3146
3382
 
3147
- // src/clients/vendors/JunctionClient.ts
3148
- var JunctionClient = class extends BaseServiceClient {
3149
- constructor(http) {
3150
- super(http, "connectors");
3151
- }
3152
- orderTestkit(body) {
3153
- return this.send("POST", "/connectors/junction/order-testkit", { body });
3154
- }
3155
- registerTestkit(body) {
3156
- return this.send("POST", "/connectors/junction/register-testkit", { body });
3383
+ // src/clients/connectors/SendGridClient.ts
3384
+ var SendGridClient = class extends ConnectorClient {
3385
+ constructor(http, credentials) {
3386
+ super(http, credentials);
3157
3387
  }
3158
- getTests(body = {}) {
3159
- return this.send("POST", "/connectors/junction/get-tests", { body });
3388
+ /** Send a transactional email via SendGrid. Supports static content and dynamic templates. */
3389
+ sendEmail(body) {
3390
+ return this.send("POST", "/connectors/sendgrid/send-email", { body });
3160
3391
  }
3161
- getOrders(body = {}) {
3162
- return this.send("POST", "/connectors/junction/get-orders", { body });
3392
+ /** List SendGrid email templates. */
3393
+ listTemplates(body) {
3394
+ return this.send("POST", "/connectors/sendgrid/list-templates", { body });
3163
3395
  }
3164
3396
  };
3165
3397
 
3166
- // src/clients/vendors/SteadyMDClient.ts
3167
- var SteadyMDClient = class extends BaseServiceClient {
3168
- constructor(http) {
3169
- super(http, "connectors");
3398
+ // src/clients/connectors/SteadyMDClient.ts
3399
+ var SteadyMDClient = class extends ConnectorClient {
3400
+ constructor(http, credentials) {
3401
+ super(http, credentials);
3170
3402
  }
3171
3403
  m(op, body = {}) {
3172
3404
  return this.send("POST", `/connectors/steadymd/${op}`, { body });
@@ -3302,243 +3534,329 @@ var SteadyMDClient = class extends BaseServiceClient {
3302
3534
  }
3303
3535
  };
3304
3536
 
3305
- // src/clients/vendors/ImpiloClient.ts
3306
- var ImpiloClient = class extends BaseServiceClient {
3307
- constructor(http) {
3308
- super(http, "connectors");
3537
+ // src/clients/connectors/StediClient.ts
3538
+ var StediClient = class extends ConnectorClient {
3539
+ constructor(http, credentials) {
3540
+ super(http, credentials);
3309
3541
  }
3310
- i(op, body = {}) {
3311
- return this.send("POST", `/connectors/impilo/${op}`, { body });
3542
+ /** Check insurance eligibility via the Stedi 270/271 API. */
3543
+ checkEligibility(body) {
3544
+ return this.send("POST", "/connectors/stedi/check-eligibility", { body });
3312
3545
  }
3313
- // Patients
3314
- createPatient(body) {
3315
- return this.i("create-patient", body);
3546
+ /** Submit an X12 837 medical claim. */
3547
+ submitClaim(body) {
3548
+ return this.send("POST", "/connectors/stedi/submit-claim", { body });
3316
3549
  }
3317
- getPatient(body) {
3318
- return this.i("get-patient", body);
3550
+ /** Verify a provider by NPI via NPPES (routed through Stedi). */
3551
+ verifyProvider(body) {
3552
+ return this.send("POST", "/connectors/stedi/verify-provider", { body });
3319
3553
  }
3320
- listPatients(body = {}) {
3321
- return this.i("list-patients", body);
3554
+ checkClaimStatus(body = {}) {
3555
+ return this.send("POST", "/connectors/stedi/check-claim-status", { body });
3322
3556
  }
3323
- updatePatient(body) {
3324
- return this.i("update-patient", body);
3557
+ checkCoordinationOfBenefits(body = {}) {
3558
+ return this.send("POST", "/connectors/stedi/check-coordination-of-benefits", { body });
3325
3559
  }
3326
- // Devices
3327
- getDevice(body) {
3328
- return this.i("get-device", body);
3560
+ discoverInsurance(body = {}) {
3561
+ return this.send("POST", "/connectors/stedi/discover-insurance", { body });
3329
3562
  }
3330
- listDevices(body = {}) {
3331
- return this.i("list-devices", body);
3563
+ get835EraReport(body) {
3564
+ return this.send("POST", "/connectors/stedi/get-835-era-report", { body });
3332
3565
  }
3333
- associateDevice(body) {
3334
- return this.i("associate-device", body);
3566
+ getInsuranceDiscoveryResults(body) {
3567
+ return this.send("POST", "/connectors/stedi/get-insurance-discovery-results", { body });
3335
3568
  }
3336
- disassociateDevice(body) {
3337
- return this.i("disassociate-device", body);
3569
+ submitInstitutionalClaim(body = {}) {
3570
+ return this.send("POST", "/connectors/stedi/submit-institutional-claim", { body });
3571
+ }
3572
+ submitProfessionalClaim(body = {}) {
3573
+ return this.send("POST", "/connectors/stedi/submit-professional-claim", { body });
3574
+ }
3575
+ };
3576
+
3577
+ // src/clients/connectors/StripeClient.ts
3578
+ var StripeClient = class extends ConnectorClient {
3579
+ constructor(http, credentials) {
3580
+ super(http, credentials);
3581
+ }
3582
+ s(op, body) {
3583
+ return this.send("POST", `/connectors/stripe/${op}`, { body });
3584
+ }
3585
+ /** Create a Stripe PaymentIntent. Returns the client_secret for client-side confirmation. */
3586
+ createPaymentIntent(body) {
3587
+ return this.s("create-payment-intent", body);
3588
+ }
3589
+ /** Retrieve the status of an existing PaymentIntent. */
3590
+ getPaymentIntentStatus(body) {
3591
+ return this.s("get-payment-intent-status", body);
3592
+ }
3593
+ /** Create a Stripe Customer record. */
3594
+ createCustomer(body) {
3595
+ return this.s("create-customer", body);
3596
+ }
3597
+ /** Create a Stripe Subscription for an existing customer and price. */
3598
+ createSubscription(body) {
3599
+ return this.s("create-subscription", body);
3600
+ }
3601
+ /** Create a Stripe Checkout Session. */
3602
+ createSession(body) {
3603
+ return this.s("create-session", body);
3604
+ }
3605
+ /** List active Stripe products. */
3606
+ listProducts(body = {}) {
3607
+ return this.s("list-products", body);
3608
+ }
3609
+ /** Create a new Stripe Price for an existing product. */
3610
+ createCopayPrice(body) {
3611
+ return this.s("create-copay-price", body);
3612
+ }
3613
+ /** Verify that the configured Stripe credentials are valid. */
3614
+ verifyConnection(body = {}) {
3615
+ return this.s("verify-connection", body);
3616
+ }
3617
+ /** Validate a card payment method without charging it. */
3618
+ validateAndTokenizeCard(body) {
3619
+ return this.s("validate-and-tokenize-card", body);
3620
+ }
3621
+ /** Create a direct charge against a source or customer. */
3622
+ chargePaymentSession(body) {
3623
+ return this.s("charge-payment-session", body);
3624
+ }
3625
+ };
3626
+
3627
+ // src/clients/connectors/TwilioClient.ts
3628
+ var TwilioClient = class extends ConnectorClient {
3629
+ constructor(http, credentials) {
3630
+ super(http, credentials);
3631
+ }
3632
+ /** Send an SMS message via Twilio. */
3633
+ sendSms(body) {
3634
+ return this.send("POST", "/connectors/twilio/send-sms", { body });
3635
+ }
3636
+ /** Retrieve a specific Twilio message by SID. */
3637
+ getMessage(body) {
3638
+ return this.send("POST", "/connectors/twilio/get-message", { body });
3639
+ }
3640
+ /** List Twilio messages, optionally filtered by to/from/date. */
3641
+ listMessages(body) {
3642
+ return this.send("POST", "/connectors/twilio/list-messages", { body });
3643
+ }
3644
+ };
3645
+
3646
+ // src/clients/connectors/UberClient.ts
3647
+ var UberClient = class extends ConnectorClient {
3648
+ constructor(http, credentials) {
3649
+ super(http, credentials);
3650
+ }
3651
+ p(operation, body) {
3652
+ return this.send("POST", `/connectors/uber/${operation}`, { body });
3653
+ }
3654
+ createDelivery(body) {
3655
+ return this.p("create-delivery", body);
3656
+ }
3657
+ createQuote(body) {
3658
+ return this.p("create-quote", body);
3659
+ }
3660
+ getDeliveries(body = {}) {
3661
+ return this.p("get-deliveries", body);
3662
+ }
3663
+ getUndeliveredOrders(body = {}) {
3664
+ return this.p("get-undelivered-orders", body);
3338
3665
  }
3339
- enableReadings(body) {
3340
- return this.i("enable-readings", body);
3666
+ getDelivery(body) {
3667
+ return this.p("get-delivery", body);
3341
3668
  }
3342
- disableReadings(body) {
3343
- return this.i("disable-readings", body);
3669
+ updateDelivery(body) {
3670
+ return this.p("update-delivery", body);
3344
3671
  }
3345
- validateDevice(body) {
3346
- return this.i("validate-device", body);
3672
+ cancelDelivery(body) {
3673
+ return this.p("cancel-delivery", body);
3347
3674
  }
3348
- // Kits
3349
- getKit(body) {
3350
- return this.i("get-kit", body);
3675
+ findStores(body) {
3676
+ return this.p("find-stores", body);
3351
3677
  }
3352
- listKits(body = {}) {
3353
- return this.i("list-kits", body);
3678
+ };
3679
+
3680
+ // src/clients/connectors/WhoopClient.ts
3681
+ var WhoopClient = class extends ConnectorClient {
3682
+ constructor(http, credentials) {
3683
+ super(http, credentials);
3354
3684
  }
3355
- linkKitToPatient(body) {
3356
- return this.i("link-kit-to-patient", body);
3685
+ w(op, body = {}) {
3686
+ return this.send("POST", `/connectors/whoop/${op}`, { body });
3357
3687
  }
3358
- unlinkKitFromPatient(body) {
3359
- return this.i("unlink-kit-from-patient", body);
3688
+ buildAuthorizationUrl(body = {}) {
3689
+ return this.w("build-authorization-url", body);
3360
3690
  }
3361
- // Orders
3362
- createOrder(body) {
3363
- return this.i("create-order", body);
3691
+ exchangeAuthorizationCode(body) {
3692
+ return this.w("exchange-authorization-code", body);
3364
3693
  }
3365
- getOrder(body) {
3366
- return this.i("get-order", body);
3694
+ refreshAccessToken(body) {
3695
+ return this.w("refresh-access-token", body);
3367
3696
  }
3368
- listOrders(body = {}) {
3369
- return this.i("list-orders", body);
3697
+ getPartnerToken(body = {}) {
3698
+ return this.w("get-partner-token", body);
3370
3699
  }
3371
- // Readings
3372
- recordBloodPressureReading(body) {
3373
- return this.i("record-blood-pressure-reading", body);
3700
+ revokeUserOauthAccess(body = {}) {
3701
+ return this.w("revoke-user-oauth-access", body);
3374
3702
  }
3375
- getBloodPressureReading(body) {
3376
- return this.i("get-blood-pressure-reading", body);
3703
+ getUserProfile(body = {}) {
3704
+ return this.w("get-user-profile", body);
3377
3705
  }
3378
- listBloodPressureReadings(body = {}) {
3379
- return this.i("list-blood-pressure-readings", body);
3706
+ getUserBodyMeasurement(body = {}) {
3707
+ return this.w("get-user-body-measurement", body);
3380
3708
  }
3381
- recordBloodGlucoseReading(body) {
3382
- return this.i("record-blood-glucose-reading", body);
3709
+ getCycle(body) {
3710
+ return this.w("get-cycle", body);
3383
3711
  }
3384
- getBloodGlucoseReading(body) {
3385
- return this.i("get-blood-glucose-reading", body);
3712
+ getCycles(body = {}) {
3713
+ return this.w("get-cycles", body);
3386
3714
  }
3387
- listBloodGlucoseReadings(body = {}) {
3388
- return this.i("list-blood-glucose-readings", body);
3715
+ getAllCycles(body = {}) {
3716
+ return this.w("get-all-cycles", body);
3389
3717
  }
3390
- recordBloodOxygenReading(body) {
3391
- return this.i("record-blood-oxygen-reading", body);
3718
+ getSleep(body) {
3719
+ return this.w("get-sleep", body);
3392
3720
  }
3393
- getBloodOxygenReading(body) {
3394
- return this.i("get-blood-oxygen-reading", body);
3721
+ getSleepForCycle(body) {
3722
+ return this.w("get-sleep-for-cycle", body);
3395
3723
  }
3396
- listBloodOxygenReadings(body = {}) {
3397
- return this.i("list-blood-oxygen-readings", body);
3724
+ getSleeps(body = {}) {
3725
+ return this.w("get-sleeps", body);
3398
3726
  }
3399
- recordWeightReading(body) {
3400
- return this.i("record-weight-reading", body);
3727
+ getAllSleeps(body = {}) {
3728
+ return this.w("get-all-sleeps", body);
3401
3729
  }
3402
- getWeightReading(body) {
3403
- return this.i("get-weight-reading", body);
3730
+ getRecoveryForCycle(body) {
3731
+ return this.w("get-recovery-for-cycle", body);
3404
3732
  }
3405
- listWeightReadings(body = {}) {
3406
- return this.i("list-weight-readings", body);
3733
+ getRecoveries(body = {}) {
3734
+ return this.w("get-recoveries", body);
3407
3735
  }
3408
- recordTemperatureReading(body) {
3409
- return this.i("record-temperature-reading", body);
3736
+ getAllRecoveries(body = {}) {
3737
+ return this.w("get-all-recoveries", body);
3410
3738
  }
3411
- getTemperatureReading(body) {
3412
- return this.i("get-temperature-reading", body);
3739
+ getWorkout(body) {
3740
+ return this.w("get-workout", body);
3413
3741
  }
3414
- listTemperatureReadings(body = {}) {
3415
- return this.i("list-temperature-readings", body);
3742
+ getWorkouts(body = {}) {
3743
+ return this.w("get-workouts", body);
3416
3744
  }
3417
- recordHeartRateReading(body) {
3418
- return this.i("record-heart-rate-reading", body);
3745
+ getAllWorkouts(body = {}) {
3746
+ return this.w("get-all-workouts", body);
3419
3747
  }
3420
- getHeartRateReading(body) {
3421
- return this.i("get-heart-rate-reading", body);
3748
+ getActivityMapping(body = {}) {
3749
+ return this.w("get-activity-mapping", body);
3422
3750
  }
3423
- listHeartRateReadings(body = {}) {
3424
- return this.i("list-heart-rate-readings", body);
3751
+ getLabRequisition(body = {}) {
3752
+ return this.w("get-lab-requisition", body);
3425
3753
  }
3426
- listSpirometryReadings(body = {}) {
3427
- return this.i("list-spirometry-readings", body);
3754
+ getServiceRequest(body) {
3755
+ return this.w("get-service-request", body);
3428
3756
  }
3429
- // Clinical notes
3430
- getClinicalNote(body) {
3431
- return this.i("get-clinical-note", body);
3757
+ updateServiceRequestStatus(body) {
3758
+ return this.w("update-service-request-status", body);
3432
3759
  }
3433
- listClinicalNotes(body = {}) {
3434
- return this.i("list-clinical-notes", body);
3760
+ uploadDiagnosticReportResults(body) {
3761
+ return this.w("upload-diagnostic-report-results", body);
3435
3762
  }
3436
- // Inventory
3437
- listSiteInventory(body = {}) {
3438
- return this.i("list-site-inventory", body);
3763
+ addTestData(body) {
3764
+ return this.w("add-test-data", body);
3439
3765
  }
3440
- listKitInventory(body = {}) {
3441
- return this.i("list-kit-inventory", body);
3766
+ submitVitalsFromDevice(body) {
3767
+ return this.w("submit-vitals-from-device", body);
3442
3768
  }
3443
- // Procurements
3444
- createProcurement(body) {
3445
- return this.i("create-procurement", body);
3769
+ };
3770
+
3771
+ // src/clients/connectors/ZocdocClient.ts
3772
+ var ZocdocClient = class extends ConnectorClient {
3773
+ constructor(http, credentials) {
3774
+ super(http, credentials);
3446
3775
  }
3447
- listProcurements(body = {}) {
3448
- return this.i("list-procurements", body);
3776
+ z(op, body = {}) {
3777
+ return this.send("POST", `/connectors/zocdoc/${op}`, { body });
3449
3778
  }
3450
- // Items
3451
- createItem(body) {
3452
- return this.i("create-item", body);
3779
+ getDirectoryNpis(body = {}) {
3780
+ return this.z("get-directory-npis", body);
3453
3781
  }
3454
- getItem(body) {
3455
- return this.i("get-item", body);
3782
+ getProvidersByNpis(body) {
3783
+ return this.z("get-providers-by-npis", body);
3456
3784
  }
3457
- listItems(body = {}) {
3458
- return this.i("list-items", body);
3785
+ getProviderByNpi(body) {
3786
+ return this.z("get-provider-by-npi", body);
3459
3787
  }
3460
- // Alert configs
3461
- getPatientAlertConfig(body = {}) {
3462
- return this.i("get-patient-alert-config", body);
3788
+ searchProviderLocations(body) {
3789
+ return this.z("search-provider-locations", body);
3463
3790
  }
3464
- setPatientAlertConfig(body) {
3465
- return this.i("set-patient-alert-config", body);
3791
+ getProviderLocationById(body) {
3792
+ return this.z("get-provider-location-by-id", body);
3466
3793
  }
3467
- getSiteAlertConfig(body = {}) {
3468
- return this.i("get-site-alert-config", body);
3794
+ getMultipleLocationsAvailability(body) {
3795
+ return this.z("get-multiple-locations-availability", body);
3469
3796
  }
3470
- setSiteAlertConfig(body) {
3471
- return this.i("set-site-alert-config", body);
3797
+ createAppointment(body) {
3798
+ return this.z("create-appointment", body);
3472
3799
  }
3473
- getGlobalAlertConfig(body = {}) {
3474
- return this.i("get-global-alert-config", body);
3800
+ listAppointments(body = {}) {
3801
+ return this.z("list-appointments", body);
3475
3802
  }
3476
- setGlobalAlertConfig(body) {
3477
- return this.i("set-global-alert-config", body);
3803
+ getAppointmentById(body) {
3804
+ return this.z("get-appointment-by-id", body);
3478
3805
  }
3479
- // Webhooks
3480
- registerWebhooks(body) {
3481
- return this.i("register-webhooks", body);
3806
+ confirmAppointment(body) {
3807
+ return this.z("confirm-appointment", body);
3482
3808
  }
3483
- fetchProcurementDocument(body) {
3484
- return this.send("POST", "/connectors/impilo/fetch-procurement-document", { body });
3809
+ rescheduleAppointment(body) {
3810
+ return this.z("reschedule-appointment", body);
3485
3811
  }
3486
- getOrderSummary(body) {
3487
- return this.send("POST", "/connectors/impilo/get-order-summary", { body });
3812
+ cancelAppointment(body) {
3813
+ return this.z("cancel-appointment", body);
3488
3814
  }
3489
- };
3490
-
3491
- // src/clients/vendors/ScrapflyClient.ts
3492
- var ScrapflyClient = class extends BaseServiceClient {
3493
- constructor(http) {
3494
- super(http, "connectors");
3815
+ getAppointmentParticipants(body) {
3816
+ return this.z("get-appointment-participants", body);
3495
3817
  }
3496
- scrape(body) {
3497
- return this.send("POST", "/connectors/scrapfly/scrape", { body });
3818
+ updateAppointmentStatus(body) {
3819
+ return this.z("update-appointment-status", body);
3498
3820
  }
3499
- getDocumentLinks(body) {
3500
- return this.send("POST", "/connectors/scrapfly/get-document-links", { body });
3821
+ bookAndConfirmAppointment(body) {
3822
+ return this.z("book-and-confirm-appointment", body);
3501
3823
  }
3502
- };
3503
-
3504
- // src/clients/vendors/UberClient.ts
3505
- var UberClient = class extends BaseServiceClient {
3506
- constructor(http) {
3507
- super(http, "connectors");
3824
+ getInsurancePlans(body = {}) {
3825
+ return this.z("get-insurance-plans", body);
3508
3826
  }
3509
- p(operation, body) {
3510
- return this.send("POST", `/connectors/uber/${operation}`, { body });
3827
+ getInsurancePlanById(body) {
3828
+ return this.z("get-insurance-plan-by-id", body);
3511
3829
  }
3512
- createDelivery(body) {
3513
- return this.p("create-delivery", body);
3830
+ getProviderLocationInsuranceMappings(body) {
3831
+ return this.z("get-provider-location-insurance-mappings", body);
3514
3832
  }
3515
- createQuote(body) {
3516
- return this.p("create-quote", body);
3833
+ updateProviderLocationInsuranceMappings(body) {
3834
+ return this.z("update-provider-location-insurance-mappings", body);
3517
3835
  }
3518
- getDeliveries(body = {}) {
3519
- return this.p("get-deliveries", body);
3836
+ getSchedulableEntities(body = {}) {
3837
+ return this.z("get-schedulable-entities", body);
3520
3838
  }
3521
- getUndeliveredOrders(body = {}) {
3522
- return this.p("get-undelivered-orders", body);
3839
+ searchFacilities(body = {}) {
3840
+ return this.z("search-facilities", body);
3523
3841
  }
3524
- getDelivery(body) {
3525
- return this.p("get-delivery", body);
3842
+ getFacilityById(body) {
3843
+ return this.z("get-facility-by-id", body);
3526
3844
  }
3527
- updateDelivery(body) {
3528
- return this.p("update-delivery", body);
3845
+ getProviderCalendarTimeslots(body) {
3846
+ return this.z("get-provider-calendar-timeslots", body);
3529
3847
  }
3530
- cancelDelivery(body) {
3531
- return this.p("cancel-delivery", body);
3848
+ setProviderCalendarTimeslots(body) {
3849
+ return this.z("set-provider-calendar-timeslots", body);
3532
3850
  }
3533
- findStores(body) {
3534
- return this.p("find-stores", body);
3851
+ createAppointmentAttachment(body) {
3852
+ return this.send("POST", "/connectors/zocdoc/create-appointment-attachment", { body });
3535
3853
  }
3536
3854
  };
3537
3855
 
3538
- // src/clients/vendors/ZusClient.ts
3539
- var ZusClient = class extends BaseServiceClient {
3540
- constructor(http) {
3541
- super(http, "connectors");
3856
+ // src/clients/connectors/ZusClient.ts
3857
+ var ZusClient = class extends ConnectorClient {
3858
+ constructor(http, credentials) {
3859
+ super(http, credentials);
3542
3860
  }
3543
3861
  p(operation, body) {
3544
3862
  return this.send("POST", `/connectors/zus/${operation}`, { body });
@@ -3569,42 +3887,47 @@ var ZusClient = class extends BaseServiceClient {
3569
3887
  }
3570
3888
  };
3571
3889
 
3572
- // src/clients/vendors/VendorsNamespace.ts
3573
- var VendorsNamespace = class {
3890
+ // src/clients/connectors/ConnectorsNamespace.ts
3891
+ function mode(value) {
3892
+ return value != null ? value : "sandbox";
3893
+ }
3894
+ var ConnectorsNamespace = class {
3574
3895
  constructor(http) {
3575
- this.athena = new AthenaHealthClient(http);
3576
- this.stripe = new StripeClient(http);
3577
- this.twilio = new TwilioClient(http);
3578
- this.stedi = new StediClient(http);
3579
- this.salesforce = new SalesforceClient(http);
3580
- this.quest = new QuestClient(http);
3581
- this.questHl7 = new QuestHl7Client(http);
3582
- this.openai = new OpenAIClient(http);
3583
- this.anthropic = new AnthropicClient(http);
3584
- this.googleAI = new GoogleAIClient(http);
3585
- this.googlePlaces = new GooglePlacesClient(http);
3586
- this.sendgrid = new SendGridClient(http);
3587
- this.elevenlabs = new ElevenLabsClient(http);
3588
- this.nppes = new NppesClient(http);
3589
- this.cms = new CmsClient(http);
3590
- this.fedex = new FedExClient(http);
3591
- this.connecture = new ConnectureClient(http);
3592
- this.senaite = new SenaiteClient(http);
3593
- this.healthie = new HealthieClient(http);
3594
- this.grok = new GrokClient(http);
3595
- this.cal = new CalClient(http);
3596
- this.carequality = new CarequalityClient(http);
3597
- this.oura = new OuraClient(http);
3598
- this.plaid = new PlaidClient(http);
3599
- this.appleAuth = new AppleAuthClient(http);
3600
- this.zocdoc = new ZocdocClient(http);
3601
- this.whoop = new WhoopClient(http);
3602
- this.junction = new JunctionClient(http);
3603
- this.steadymd = new SteadyMDClient(http);
3604
- this.impilo = new ImpiloClient(http);
3605
- this.scrapfly = new ScrapflyClient(http);
3606
- this.uber = new UberClient(http);
3607
- this.zus = new ZusClient(http);
3896
+ this.anthropic = new ConnectorFactory("anthropic", http, AnthropicClient, (c) => ({ api_key: c.api_key, mode: mode(c.mode) }));
3897
+ 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 }));
3898
+ 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) }));
3899
+ this.cal = new ConnectorFactory("cal", http, CalClient, (c) => ({ api_key: c.api_key }));
3900
+ this.carequality = new ConnectorFactory("carequality", http, CarequalityClient, (c) => ({ api_key: c.api_key, initiator_url: c.initiator_url }));
3901
+ this.cms = new ConnectorFactory("cms", http, CmsClient, (c) => ({ api_key: c.api_key }));
3902
+ this.connecture = new ConnectorFactory("connecture", http, ConnectureClient, (c) => ({ basic_token: c.basic_token, client_key: c.client_key, client_secret: c.client_secret }));
3903
+ this.elevenlabs = new ConnectorFactory("elevenlabs", http, ElevenLabsClient, (c) => ({ api_key: c.api_key }));
3904
+ 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) }));
3905
+ this.googleAI = new ConnectorFactory("googleAI", http, GoogleAIClient, (c) => ({ api_key: c.api_key }));
3906
+ this.googlePlaces = new ConnectorFactory("googlePlaces", http, GooglePlacesClient, (c) => ({ api_key: c.api_key, mode: mode(c.mode) }));
3907
+ this.grok = new ConnectorFactory("grok", http, GrokClient, (c) => ({ api_key: c.api_key }));
3908
+ 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 } : {} }));
3909
+ this.impilo = new ConnectorFactory("impilo", http, ImpiloClient, (c) => ({ api_key: c.api_key }));
3910
+ this.junction = new ConnectorFactory("junction", http, JunctionClient, (c) => ({ api_key: c.api_key }));
3911
+ this.nppes = new PublicConnectorFactory(http, NppesClient);
3912
+ this.openai = new ConnectorFactory("openai", http, OpenAIClient, (c) => ({ api_key: c.api_key }));
3913
+ this.oura = new ConnectorFactory("oura", http, OuraClient, (c) => ({ client_id: c.client_id, client_secret: c.client_secret, mode: mode(c.mode) }));
3914
+ 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) }));
3915
+ this.quest = new ConnectorFactory("quest", http, QuestClient, (c) => ({ client_id: c.client_id, client_secret: c.client_secret, mode: mode(c.mode) }));
3916
+ 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) }));
3917
+ this.scrapfly = new ConnectorFactory("scrapfly", http, ScrapflyClient, (c) => ({ api_key: c.api_key }));
3918
+ this.senaite = new ConnectorFactory("senaite", http, SenaiteClient, (c) => ({ base_url: c.base_url, username: c.username, password: c.password }));
3919
+ this.sendgrid = new ConnectorFactory("sendgrid", http, SendGridClient, (c) => ({ api_key: c.api_key, mode: mode(c.mode) }));
3920
+ this.steadymd = new ConnectorFactory("steadymd", http, SteadyMDClient, (c) => {
3921
+ var _a;
3922
+ return { api_key: (_a = c.api_key) != null ? _a : c.token, mode: mode(c.mode), ...c.api_url ? { api_url: c.api_url } : {} };
3923
+ });
3924
+ this.stedi = new ConnectorFactory("stedi", http, StediClient, (c) => ({ api_key: c.api_key }));
3925
+ this.stripe = new ConnectorFactory("stripe", http, StripeClient, (c) => ({ secret_key: c.api_key }));
3926
+ 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) }));
3927
+ 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) }));
3928
+ this.whoop = new ConnectorFactory("whoop", http, WhoopClient, (c) => ({ client_id: c.client_id, client_secret: c.client_secret, mode: mode(c.mode) }));
3929
+ this.zocdoc = new ConnectorFactory("zocdoc", http, ZocdocClient, (c) => ({ api_key: c.api_key }));
3930
+ this.zus = new ConnectorFactory("zus", http, ZusClient, (c) => ({ client_id: c.client_id, client_secret: c.client_secret, mode: mode(c.mode) }));
3608
3931
  }
3609
3932
  };
3610
3933
 
@@ -3624,6 +3947,7 @@ var HCSDK = class {
3624
3947
  () => this.state.tenantId
3625
3948
  );
3626
3949
  this.patient = new PatientClient(this.http);
3950
+ this.person = new PersonClient(this.http);
3627
3951
  this.vitals = new VitalsClient(this.http);
3628
3952
  this.diagnostics = new DiagnosticsClient(this.http);
3629
3953
  this.provider = new ProviderClient(this.http);
@@ -3638,7 +3962,7 @@ var HCSDK = class {
3638
3962
  () => this.state.tenantId
3639
3963
  );
3640
3964
  this.mcp = new MCPClient(this.http);
3641
- this.vendors = new VendorsNamespace(this.http);
3965
+ this.connectors = new ConnectorsNamespace(this.http);
3642
3966
  }
3643
3967
  setAccessToken(token) {
3644
3968
  this.state.accessToken = token;
@@ -3740,6 +4064,9 @@ var HCSDK_SWAGGER_OPERATION_COUNTS = {
3740
4064
  CalClient,
3741
4065
  CarequalityClient,
3742
4066
  CmsClient,
4067
+ ConnectorClient,
4068
+ ConnectorFactory,
4069
+ ConnectorsNamespace,
3743
4070
  ConnectureClient,
3744
4071
  ElevenLabsClient,
3745
4072
  FedExClient,
@@ -3758,8 +4085,8 @@ var HCSDK_SWAGGER_OPERATION_COUNTS = {
3758
4085
  OpenAIClient,
3759
4086
  OuraClient,
3760
4087
  PlaidClient,
4088
+ PublicConnectorFactory,
3761
4089
  QuestClient,
3762
- QuestHl7Client,
3763
4090
  SDKError,
3764
4091
  SalesforceClient,
3765
4092
  ScrapflyClient,
@@ -3770,7 +4097,6 @@ var HCSDK_SWAGGER_OPERATION_COUNTS = {
3770
4097
  StripeClient,
3771
4098
  TwilioClient,
3772
4099
  UberClient,
3773
- VendorsNamespace,
3774
4100
  WhoopClient,
3775
4101
  ZocdocClient,
3776
4102
  ZusClient,