@ovok/core 0.4.30 → 0.4.32

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 (123) hide show
  1. package/dist/client/ai-fhir/methods/AIFhirResources.d.ts +2 -1
  2. package/dist/client/ai-fhir/methods/AIFhirResources.js +2 -2
  3. package/dist/client/auth/methods/appleLogin.d.ts +2 -1
  4. package/dist/client/auth/methods/appleLogin.js +2 -2
  5. package/dist/client/auth/methods/changePassword.d.ts +2 -1
  6. package/dist/client/auth/methods/changePassword.js +2 -2
  7. package/dist/client/auth/methods/getSessions.d.ts +2 -1
  8. package/dist/client/auth/methods/getSessions.js +2 -2
  9. package/dist/client/auth/methods/googleLogin.d.ts +2 -1
  10. package/dist/client/auth/methods/googleLogin.js +2 -2
  11. package/dist/client/auth/methods/index.d.ts +1 -0
  12. package/dist/client/auth/methods/index.js +1 -0
  13. package/dist/client/auth/methods/login.d.ts +6 -2
  14. package/dist/client/auth/methods/login.js +60 -44
  15. package/dist/client/auth/methods/logout.d.ts +2 -1
  16. package/dist/client/auth/methods/logout.js +2 -2
  17. package/dist/client/auth/methods/refetchProfile.d.ts +2 -1
  18. package/dist/client/auth/methods/refetchProfile.js +3 -4
  19. package/dist/client/auth/methods/register.d.ts +2 -1
  20. package/dist/client/auth/methods/register.js +2 -2
  21. package/dist/client/auth/methods/registerPractitioner.d.ts +2 -1
  22. package/dist/client/auth/methods/registerPractitioner.js +2 -2
  23. package/dist/client/auth/methods/reloadSession.d.ts +7 -0
  24. package/dist/client/auth/methods/reloadSession.js +23 -0
  25. package/dist/client/auth/methods/requestDeleteUser.d.ts +2 -1
  26. package/dist/client/auth/methods/requestDeleteUser.js +5 -5
  27. package/dist/client/auth/methods/resetPassword.d.ts +2 -1
  28. package/dist/client/auth/methods/resetPassword.js +2 -2
  29. package/dist/client/auth/methods/revokeSessions.d.ts +2 -1
  30. package/dist/client/auth/methods/revokeSessions.js +2 -2
  31. package/dist/client/auth/methods/setPasswordFromReset.d.ts +2 -1
  32. package/dist/client/auth/methods/setPasswordFromReset.js +2 -2
  33. package/dist/client/auth/types/LoginBody.d.ts +10 -20
  34. package/dist/client/auth/types/LoginError.d.ts +15 -0
  35. package/dist/client/auth/types/LoginError.js +15 -0
  36. package/dist/client/bot/methods/executeBot.d.ts +2 -1
  37. package/dist/client/bot/methods/executeBot.js +2 -2
  38. package/dist/client/change-history/methods.d.ts +2 -1
  39. package/dist/client/change-history/methods.js +2 -2
  40. package/dist/client/chat/ai/methods/createAiSession.d.ts +2 -1
  41. package/dist/client/chat/ai/methods/createAiSession.js +2 -2
  42. package/dist/client/cms/methods.d.ts +6 -5
  43. package/dist/client/cms/methods.js +10 -10
  44. package/dist/client/consent/methods.d.ts +5 -4
  45. package/dist/client/consent/methods.js +8 -8
  46. package/dist/client/email/methods.d.ts +2 -1
  47. package/dist/client/email/methods.js +2 -2
  48. package/dist/client/errors/ovok-error-utils.d.ts +7 -0
  49. package/dist/client/errors/ovok-error-utils.js +49 -5
  50. package/dist/client/errors/ovok-error.d.ts +4 -0
  51. package/dist/client/errors/ovok-error.js +17 -4
  52. package/dist/client/errors/rate-limit-error.js +5 -3
  53. package/dist/client/experience/methods.d.ts +32 -31
  54. package/dist/client/experience/methods.js +62 -62
  55. package/dist/client/invites/methods.d.ts +6 -5
  56. package/dist/client/invites/methods.js +11 -11
  57. package/dist/client/notifications/methods.d.ts +6 -5
  58. package/dist/client/notifications/methods.js +10 -10
  59. package/dist/client/notifications/types.d.ts +92 -11
  60. package/dist/client/observation/methods/getLatestObservationsByCodes.d.ts +2 -1
  61. package/dist/client/observation/methods/getLatestObservationsByCodes.js +4 -4
  62. package/dist/client/offline/offline-measurement-queue.d.ts +4 -3
  63. package/dist/client/offline/offline-measurement-queue.js +6 -6
  64. package/dist/client/ovok-client.d.ts +28 -11
  65. package/dist/client/ovok-client.js +353 -31
  66. package/dist/client/patient/methods.d.ts +24 -23
  67. package/dist/client/patient/methods.js +49 -49
  68. package/dist/client/patient-sharing/methods.d.ts +7 -6
  69. package/dist/client/patient-sharing/methods.js +12 -12
  70. package/dist/client/platform/methods.d.ts +24 -23
  71. package/dist/client/platform/methods.js +46 -46
  72. package/dist/client/questionnaire-response/methods/createQuestionnaireResponseWithObservations.d.ts +2 -1
  73. package/dist/client/questionnaire-response/methods/createQuestionnaireResponseWithObservations.js +2 -2
  74. package/dist/client/questionnaire-response/methods/extractQuestionnaireObservations.d.ts +2 -1
  75. package/dist/client/questionnaire-response/methods/extractQuestionnaireObservations.js +2 -2
  76. package/dist/client/questionnaire-response/methods/populateQuestionnaire.d.ts +2 -1
  77. package/dist/client/questionnaire-response/methods/populateQuestionnaire.js +2 -2
  78. package/dist/client/questionnaire-response/methods/submitQuestionnaireResponse.d.ts +2 -1
  79. package/dist/client/questionnaire-response/methods/submitQuestionnaireResponse.js +2 -2
  80. package/dist/client/signals/methods.d.ts +22 -21
  81. package/dist/client/signals/methods.js +42 -42
  82. package/dist/client/slim/methods.d.ts +93 -57
  83. package/dist/client/slim/methods.js +295 -108
  84. package/dist/client/slim/paging.d.ts +18 -0
  85. package/dist/client/slim/paging.js +57 -0
  86. package/dist/client/slim/types.d.ts +370 -3
  87. package/dist/conformance/api-requirements.js +22 -0
  88. package/dist/conformance/capability-requirements.js +1 -1
  89. package/dist/hooks/account-hooks.js +7 -7
  90. package/dist/hooks/api-hooks.d.ts +5 -2
  91. package/dist/hooks/api-hooks.js +39 -16
  92. package/dist/hooks/cms-hooks.js +3 -3
  93. package/dist/hooks/email-hooks.js +1 -1
  94. package/dist/hooks/experience-hooks.js +5 -5
  95. package/dist/hooks/index.d.ts +2 -0
  96. package/dist/hooks/index.js +5 -3
  97. package/dist/hooks/notification-ack-hooks.d.ts +2 -1
  98. package/dist/hooks/notification-hooks.d.ts +4 -2
  99. package/dist/hooks/notification-hooks.js +11 -23
  100. package/dist/hooks/notification-invalidation.d.ts +3 -2
  101. package/dist/hooks/notification-invalidation.js +10 -1
  102. package/dist/hooks/notification-note-hooks.js +3 -3
  103. package/dist/hooks/observation-hooks.d.ts +5 -1
  104. package/dist/hooks/observation-hooks.js +6 -6
  105. package/dist/hooks/patient-hooks.js +18 -18
  106. package/dist/hooks/patient-sharing-hooks.js +2 -2
  107. package/dist/hooks/platform-hooks.js +3 -3
  108. package/dist/hooks/poll-hooks.d.ts +14 -0
  109. package/dist/hooks/poll-hooks.js +127 -0
  110. package/dist/hooks/signals-alert-hooks.d.ts +5 -20
  111. package/dist/hooks/signals-alert-hooks.js +38 -34
  112. package/dist/hooks/signals-alert-item-hooks.d.ts +19 -0
  113. package/dist/hooks/signals-alert-item-hooks.js +62 -0
  114. package/dist/hooks/signals-hooks.js +2 -2
  115. package/dist/index.d.ts +4 -0
  116. package/dist/index.js +4 -1
  117. package/dist/utils/auth/exchange-code.d.ts +2 -0
  118. package/dist/utils/auth/exchange-code.js +2 -2
  119. package/dist/utils/auth/handle-tenant-code.d.ts +1 -1
  120. package/dist/utils/auth/handle-tenant-code.js +13 -4
  121. package/dist/utils/auth/start-login.d.ts +3 -1
  122. package/dist/utils/auth/start-login.js +3 -3
  123. package/package.json +1 -1
@@ -34,94 +34,94 @@ const query = (params) => {
34
34
  const encoded = values.toString();
35
35
  return encoded === "" ? "" : `?${encoded}`;
36
36
  };
37
- async function getCurrentPatientProfile() {
38
- return this.get("/auth/me");
37
+ async function getCurrentPatientProfile(requestOptions) {
38
+ return this.get("/auth/me", ...(requestOptions === undefined ? [] : [requestOptions]));
39
39
  }
40
- async function getPatientLatestObservations(params = {}) {
40
+ async function getPatientLatestObservations(params = {}, requestOptions) {
41
41
  const code = Array.isArray(params.code) ? params.code.join(",") : params.code;
42
42
  return this.get(`/fhir/Observation/$lastn${query({
43
43
  patient: params.patient,
44
44
  max: params.max,
45
45
  code,
46
- })}`, { cache: "no-cache" });
46
+ })}`, { ...{ cache: "no-cache" }, ...requestOptions });
47
47
  }
48
- async function getPatientDeviceTelemetry(deviceId) {
49
- return this.get(`/fhir/Device/${segment(deviceId)}/telemetry`);
48
+ async function getPatientDeviceTelemetry(deviceId, requestOptions) {
49
+ return this.get(`/fhir/Device/${segment(deviceId)}/telemetry`, ...(requestOptions === undefined ? [] : [requestOptions]));
50
50
  }
51
- async function getPatientDeviceTelemetryHistory(deviceId, params = {}) {
52
- return this.get(`/fhir/Device/${segment(deviceId)}/telemetry/history${query(params)}`);
51
+ async function getPatientDeviceTelemetryHistory(deviceId, params = {}, requestOptions) {
52
+ return this.get(`/fhir/Device/${segment(deviceId)}/telemetry/history${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
53
53
  }
54
- async function listPatientAppointments(params = {}) {
55
- return this.searchResources("Appointment", params);
54
+ async function listPatientAppointments(params = {}, requestOptions) {
55
+ return this.searchResources("Appointment", params, ...(requestOptions === undefined ? [] : [requestOptions]));
56
56
  }
57
- async function getPatientAppointment(appointmentId) {
58
- return this.readResource("Appointment", appointmentId);
57
+ async function getPatientAppointment(appointmentId, requestOptions) {
58
+ return this.readResource("Appointment", appointmentId, ...(requestOptions === undefined ? [] : [requestOptions]));
59
59
  }
60
- async function createPatientAppointment(appointment) {
61
- return this.createResource(appointment);
60
+ async function createPatientAppointment(appointment, requestOptions) {
61
+ return this.createResource(appointment, ...(requestOptions === undefined ? [] : [requestOptions]));
62
62
  }
63
- async function updatePatientAppointment(appointment) {
64
- return this.updateResource(appointment);
63
+ async function updatePatientAppointment(appointment, requestOptions) {
64
+ return this.updateResource(appointment, ...(requestOptions === undefined ? [] : [requestOptions]));
65
65
  }
66
- async function listPatientSchedules(params = {}) {
67
- return this.searchResources("Schedule", params);
66
+ async function listPatientSchedules(params = {}, requestOptions) {
67
+ return this.searchResources("Schedule", params, ...(requestOptions === undefined ? [] : [requestOptions]));
68
68
  }
69
- async function listPatientSlots(params = {}) {
70
- return this.searchResources("Slot", params);
69
+ async function listPatientSlots(params = {}, requestOptions) {
70
+ return this.searchResources("Slot", params, ...(requestOptions === undefined ? [] : [requestOptions]));
71
71
  }
72
- async function listPatientMeasurementHistory(params = {}) {
73
- return (await this.searchResources("Observation", params));
72
+ async function listPatientMeasurementHistory(params = {}, requestOptions) {
73
+ return (await this.searchResources("Observation", params, ...(requestOptions === undefined ? [] : [requestOptions])));
74
74
  }
75
- async function getPatientMeasurement(measurementId) {
76
- return this.readResource("Observation", measurementId);
75
+ async function getPatientMeasurement(measurementId, requestOptions) {
76
+ return this.readResource("Observation", measurementId, ...(requestOptions === undefined ? [] : [requestOptions]));
77
77
  }
78
- async function listPatientCarePlans(params = {}) {
79
- return (await this.searchResources("CarePlan", params));
78
+ async function listPatientCarePlans(params = {}, requestOptions) {
79
+ return (await this.searchResources("CarePlan", params, ...(requestOptions === undefined ? [] : [requestOptions])));
80
80
  }
81
- async function getPatientCarePlan(carePlanId) {
82
- return this.readResource("CarePlan", carePlanId);
81
+ async function getPatientCarePlan(carePlanId, requestOptions) {
82
+ return this.readResource("CarePlan", carePlanId, ...(requestOptions === undefined ? [] : [requestOptions]));
83
83
  }
84
- async function listPatientQuestionnaires(params = {}) {
85
- return (await this.searchResources("Questionnaire", params));
84
+ async function listPatientQuestionnaires(params = {}, requestOptions) {
85
+ return (await this.searchResources("Questionnaire", params, ...(requestOptions === undefined ? [] : [requestOptions])));
86
86
  }
87
- async function getPatientQuestionnaire(questionnaireId) {
88
- return this.readResource("Questionnaire", questionnaireId);
87
+ async function getPatientQuestionnaire(questionnaireId, requestOptions) {
88
+ return this.readResource("Questionnaire", questionnaireId, ...(requestOptions === undefined ? [] : [requestOptions]));
89
89
  }
90
- async function listPatientQuestionnaireResponses(params = {}) {
91
- return (await this.searchResources("QuestionnaireResponse", params));
90
+ async function listPatientQuestionnaireResponses(params = {}, requestOptions) {
91
+ return (await this.searchResources("QuestionnaireResponse", params, ...(requestOptions === undefined ? [] : [requestOptions])));
92
92
  }
93
- async function getPatientQuestionnaireResponse(questionnaireResponseId) {
94
- return this.readResource("QuestionnaireResponse", questionnaireResponseId);
93
+ async function getPatientQuestionnaireResponse(questionnaireResponseId, requestOptions) {
94
+ return this.readResource("QuestionnaireResponse", questionnaireResponseId, ...(requestOptions === undefined ? [] : [requestOptions]));
95
95
  }
96
- async function listPatientDevices(params = {}) {
97
- return (await this.searchResources("Device", params));
96
+ async function listPatientDevices(params = {}, requestOptions) {
97
+ return (await this.searchResources("Device", params, ...(requestOptions === undefined ? [] : [requestOptions])));
98
98
  }
99
- async function getPatientDevice(deviceId) {
100
- return this.readResource("Device", deviceId);
99
+ async function getPatientDevice(deviceId, requestOptions) {
100
+ return this.readResource("Device", deviceId, ...(requestOptions === undefined ? [] : [requestOptions]));
101
101
  }
102
- async function listPatientNotifications(params = {}) {
103
- return (await this.searchResources("CommunicationRequest", params));
102
+ async function listPatientNotifications(params = {}, requestOptions) {
103
+ return (await this.searchResources("CommunicationRequest", params, ...(requestOptions === undefined ? [] : [requestOptions])));
104
104
  }
105
- async function getPatientNotification(notificationId) {
106
- return this.readResource("CommunicationRequest", notificationId);
105
+ async function getPatientNotification(notificationId, requestOptions) {
106
+ return this.readResource("CommunicationRequest", notificationId, ...(requestOptions === undefined ? [] : [requestOptions]));
107
107
  }
108
- async function getPatientDashboard(params = {}) {
108
+ async function getPatientDashboard(params = {}, requestOptions) {
109
109
  var _a, _b, _c, _d, _e, _f;
110
- const profile = await this.getCurrentPatientProfile();
110
+ const profile = await this.getCurrentPatientProfile(requestOptions);
111
111
  const patient = `Patient/${profile.profile.id}`;
112
112
  const latestObservations = await this.getPatientLatestObservations({
113
113
  ...params.latestObservations,
114
114
  patient: (_b = (_a = params.latestObservations) === null || _a === void 0 ? void 0 : _a.patient) !== null && _b !== void 0 ? _b : patient,
115
- });
115
+ }, ...(requestOptions === undefined ? [] : [requestOptions]));
116
116
  const [measurementHistory, carePlans] = await Promise.all([
117
117
  this.listPatientMeasurementHistory({
118
118
  ...params.measurementHistory,
119
119
  patient: (_d = (_c = params.measurementHistory) === null || _c === void 0 ? void 0 : _c.patient) !== null && _d !== void 0 ? _d : patient,
120
- }),
120
+ }, ...(requestOptions === undefined ? [] : [requestOptions])),
121
121
  this.listPatientCarePlans({
122
122
  ...params.carePlans,
123
123
  patient: (_f = (_e = params.carePlans) === null || _e === void 0 ? void 0 : _e.patient) !== null && _f !== void 0 ? _f : patient,
124
- }),
124
+ }, ...(requestOptions === undefined ? [] : [requestOptions])),
125
125
  ]);
126
126
  return { carePlans, latestObservations, measurementHistory, profile };
127
127
  }
@@ -1,8 +1,9 @@
1
+ import type { MedplumRequestOptions } from "@medplum/core";
1
2
  import { OvokClient } from "../ovok-client";
2
3
  import { CreatePatientSharingInvite, PatientSharingInvite, PatientSharingSettings, PatientSharingShare, PatientSharingShares, RedeemPatientSharingInvite, PatientSharingSettingsUpdate } from "./types";
3
- export declare function createPatientSharingInvite(this: OvokClient, body: CreatePatientSharingInvite): Promise<PatientSharingInvite>;
4
- export declare function redeemPatientSharingInvite(this: OvokClient, body: RedeemPatientSharingInvite): Promise<PatientSharingShare>;
5
- export declare function listPatientSharing(this: OvokClient): Promise<PatientSharingShares>;
6
- export declare function revokePatientSharing(this: OvokClient, consentId: string): Promise<void>;
7
- export declare function getPatientSharingSettings(this: OvokClient): Promise<PatientSharingSettings>;
8
- export declare function updatePatientSharingSettings(this: OvokClient, settings: PatientSharingSettingsUpdate): Promise<PatientSharingSettings>;
4
+ export declare function createPatientSharingInvite(this: OvokClient, body: CreatePatientSharingInvite, requestOptions?: MedplumRequestOptions): Promise<PatientSharingInvite>;
5
+ export declare function redeemPatientSharingInvite(this: OvokClient, body: RedeemPatientSharingInvite, requestOptions?: MedplumRequestOptions): Promise<PatientSharingShare>;
6
+ export declare function listPatientSharing(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<PatientSharingShares>;
7
+ export declare function revokePatientSharing(this: OvokClient, consentId: string, requestOptions?: MedplumRequestOptions): Promise<void>;
8
+ export declare function getPatientSharingSettings(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<PatientSharingSettings>;
9
+ export declare function updatePatientSharingSettings(this: OvokClient, settings: PatientSharingSettingsUpdate, requestOptions?: MedplumRequestOptions): Promise<PatientSharingSettings>;
@@ -7,14 +7,14 @@ exports.revokePatientSharing = revokePatientSharing;
7
7
  exports.getPatientSharingSettings = getPatientSharingSettings;
8
8
  exports.updatePatientSharingSettings = updatePatientSharingSettings;
9
9
  const segment = (value) => encodeURIComponent(value);
10
- function createPatientSharingInvite(body) {
11
- return this.post("/v1/patient-sharing/invites", body);
10
+ function createPatientSharingInvite(body, requestOptions) {
11
+ return this.post("/v1/patient-sharing/invites", body, undefined, requestOptions);
12
12
  }
13
- function redeemPatientSharingInvite(body) {
14
- return this.post("/v1/patient-sharing/invites/redeem", body);
13
+ function redeemPatientSharingInvite(body, requestOptions) {
14
+ return this.post("/v1/patient-sharing/invites/redeem", body, undefined, requestOptions);
15
15
  }
16
- function listPatientSharing() {
17
- return this.get("/v1/patient-sharing/shares").then((shares) => {
16
+ function listPatientSharing(requestOptions) {
17
+ return this.get("/v1/patient-sharing/shares", ...(requestOptions === undefined ? [] : [requestOptions])).then((shares) => {
18
18
  var _a;
19
19
  return ({
20
20
  ...shares,
@@ -22,12 +22,12 @@ function listPatientSharing() {
22
22
  });
23
23
  });
24
24
  }
25
- async function revokePatientSharing(consentId) {
26
- await this.delete(`/v1/patient-sharing/shares/${segment(consentId)}`);
25
+ async function revokePatientSharing(consentId, requestOptions) {
26
+ await this.delete(`/v1/patient-sharing/shares/${segment(consentId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
27
27
  }
28
- function getPatientSharingSettings() {
29
- return this.get("/v1/patient-sharing/settings");
28
+ function getPatientSharingSettings(requestOptions) {
29
+ return this.get("/v1/patient-sharing/settings", ...(requestOptions === undefined ? [] : [requestOptions]));
30
30
  }
31
- function updatePatientSharingSettings(settings) {
32
- return this.put("/v1/patient-sharing/settings", settings);
31
+ function updatePatientSharingSettings(settings, requestOptions) {
32
+ return this.put("/v1/patient-sharing/settings", settings, undefined, requestOptions);
33
33
  }
@@ -1,13 +1,14 @@
1
+ import type { MedplumRequestOptions } from "@medplum/core";
1
2
  import { OvokClient } from "../ovok-client";
2
3
  import { OvokAccount, OvokAdministeredProject, OvokCreateProject, OvokCreatedProject, OvokI18nDocument, OvokI18nValue, OvokInviteProjectMember, OvokLocalization, OvokLocalizationQuery, OvokLocalizationUpdate, OvokLocales, OvokPage, OvokPatientObservations, OvokProjectFeature, OvokProjectFeatures, OvokProjectMember, OvokProjectMemberResponse, OvokProjectSettings, OvokProjectSettingKey, OvokProjectTextSettingKey, OvokRemoveProjectMemberResponse, OvokUpdateProjectMember } from "./types";
3
- export declare function getAccounts(this: OvokClient): Promise<OvokAccount[]>;
4
+ export declare function getAccounts(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<OvokAccount[]>;
4
5
  export declare function listAdministeredProjects(this: OvokClient, params?: {
5
6
  page?: number;
6
7
  count?: number;
7
- }): Promise<OvokPage<OvokAdministeredProject>>;
8
- export declare function createProject(this: OvokClient, body: OvokCreateProject): Promise<OvokCreatedProject>;
9
- export declare function bootstrapProject(this: OvokClient, body: OvokCreateProject): Promise<OvokCreatedProject>;
10
- export declare function getProjectTenantCode(this: OvokClient): Promise<{
8
+ }, requestOptions?: MedplumRequestOptions): Promise<OvokPage<OvokAdministeredProject>>;
9
+ export declare function createProject(this: OvokClient, body: OvokCreateProject, requestOptions?: MedplumRequestOptions): Promise<OvokCreatedProject>;
10
+ export declare function bootstrapProject(this: OvokClient, body: OvokCreateProject, requestOptions?: MedplumRequestOptions): Promise<OvokCreatedProject>;
11
+ export declare function getProjectTenantCode(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<{
11
12
  tenantCode: string;
12
13
  }>;
13
14
  export declare function listProjectMembers(this: OvokClient, params?: {
@@ -16,27 +17,27 @@ export declare function listProjectMembers(this: OvokClient, params?: {
16
17
  userId?: string;
17
18
  page?: number;
18
19
  count?: number;
19
- }): Promise<OvokPage<OvokProjectMember>>;
20
- export declare function inviteProjectMember(this: OvokClient, body: OvokInviteProjectMember): Promise<OvokProjectMemberResponse>;
21
- export declare function updateProjectMember(this: OvokClient, membershipId: string, body: OvokUpdateProjectMember): Promise<OvokProjectMemberResponse>;
22
- export declare function removeProjectMember(this: OvokClient, membershipId: string): Promise<OvokRemoveProjectMemberResponse>;
23
- export declare function getProjectFeatures(this: OvokClient): Promise<OvokProjectFeatures>;
24
- export declare function updateProjectFeatures(this: OvokClient, features: OvokProjectFeature[]): Promise<OvokProjectFeatures>;
25
- export declare function getProjectSettings(this: OvokClient): Promise<OvokProjectSettings>;
26
- export declare function updateProjectSetting(this: OvokClient, key: OvokProjectSettingKey, enabled: boolean): Promise<OvokProjectSettings>;
27
- export declare function updateProjectTextSetting(this: OvokClient, key: OvokProjectTextSettingKey, value: string | null): Promise<OvokProjectSettings>;
28
- export declare function getLocales(this: OvokClient): Promise<OvokLocales>;
29
- export declare function updateLocales(this: OvokClient, locales: OvokLocales): Promise<OvokLocales>;
30
- export declare function listLocalizations(this: OvokClient, language: string, params?: OvokLocalizationQuery): Promise<{
20
+ }, requestOptions?: MedplumRequestOptions): Promise<OvokPage<OvokProjectMember>>;
21
+ export declare function inviteProjectMember(this: OvokClient, body: OvokInviteProjectMember, requestOptions?: MedplumRequestOptions): Promise<OvokProjectMemberResponse>;
22
+ export declare function updateProjectMember(this: OvokClient, membershipId: string, body: OvokUpdateProjectMember, requestOptions?: MedplumRequestOptions): Promise<OvokProjectMemberResponse>;
23
+ export declare function removeProjectMember(this: OvokClient, membershipId: string, requestOptions?: MedplumRequestOptions): Promise<OvokRemoveProjectMemberResponse>;
24
+ export declare function getProjectFeatures(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<OvokProjectFeatures>;
25
+ export declare function updateProjectFeatures(this: OvokClient, features: OvokProjectFeature[], requestOptions?: MedplumRequestOptions): Promise<OvokProjectFeatures>;
26
+ export declare function getProjectSettings(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<OvokProjectSettings>;
27
+ export declare function updateProjectSetting(this: OvokClient, key: OvokProjectSettingKey, enabled: boolean, requestOptions?: MedplumRequestOptions): Promise<OvokProjectSettings>;
28
+ export declare function updateProjectTextSetting(this: OvokClient, key: OvokProjectTextSettingKey, value: string | null, requestOptions?: MedplumRequestOptions): Promise<OvokProjectSettings>;
29
+ export declare function getLocales(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<OvokLocales>;
30
+ export declare function updateLocales(this: OvokClient, locales: OvokLocales, requestOptions?: MedplumRequestOptions): Promise<OvokLocales>;
31
+ export declare function listLocalizations(this: OvokClient, language: string, params?: OvokLocalizationQuery, requestOptions?: MedplumRequestOptions): Promise<{
31
32
  total: number;
32
33
  resources: OvokLocalization[];
33
34
  }>;
34
- export declare function getLocalization(this: OvokClient, language: string, key: string): Promise<OvokLocalization>;
35
- export declare function updateLocalization(this: OvokClient, language: string, key: string, body: OvokLocalizationUpdate): Promise<OvokLocalization>;
36
- export declare function deleteLocalization(this: OvokClient, language: string, key: string): Promise<void>;
37
- export declare function getI18nextDocument(this: OvokClient, language: string): Promise<OvokI18nDocument>;
38
- export declare function updateI18nextDocument(this: OvokClient, language: string, document: Record<string, OvokI18nValue>): Promise<void>;
35
+ export declare function getLocalization(this: OvokClient, language: string, key: string, requestOptions?: MedplumRequestOptions): Promise<OvokLocalization>;
36
+ export declare function updateLocalization(this: OvokClient, language: string, key: string, body: OvokLocalizationUpdate, requestOptions?: MedplumRequestOptions): Promise<OvokLocalization>;
37
+ export declare function deleteLocalization(this: OvokClient, language: string, key: string, requestOptions?: MedplumRequestOptions): Promise<void>;
38
+ export declare function getI18nextDocument(this: OvokClient, language: string, requestOptions?: MedplumRequestOptions): Promise<OvokI18nDocument>;
39
+ export declare function updateI18nextDocument(this: OvokClient, language: string, document: Record<string, OvokI18nValue>, requestOptions?: MedplumRequestOptions): Promise<void>;
39
40
  export declare function getPatientLastObservations(this: OvokClient, patientId: string, params: {
40
41
  code: string;
41
42
  max?: number;
42
- }): Promise<OvokPatientObservations>;
43
+ }, requestOptions?: MedplumRequestOptions): Promise<OvokPatientObservations>;
@@ -34,73 +34,73 @@ const query = (params) => {
34
34
  return encoded === "" ? "" : `?${encoded}`;
35
35
  };
36
36
  const segment = (value) => encodeURIComponent(value);
37
- async function getAccounts() {
38
- return this.get("/accounts");
37
+ async function getAccounts(requestOptions) {
38
+ return this.get("/accounts", ...(requestOptions === undefined ? [] : [requestOptions]));
39
39
  }
40
- async function listAdministeredProjects(params = {}) {
41
- return this.get(`/v1/projects${query(params)}`);
40
+ async function listAdministeredProjects(params = {}, requestOptions) {
41
+ return this.get(`/v1/projects${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
42
42
  }
43
- async function createProject(body) {
44
- return this.post("/v1/projects", body);
43
+ async function createProject(body, requestOptions) {
44
+ return this.post("/v1/projects", body, undefined, requestOptions);
45
45
  }
46
- async function bootstrapProject(body) {
47
- return this.post("/v1/projects/bootstrap", body);
46
+ async function bootstrapProject(body, requestOptions) {
47
+ return this.post("/v1/projects/bootstrap", body, undefined, requestOptions);
48
48
  }
49
- async function getProjectTenantCode() {
50
- return this.get("/v1/projects/me/tenant-code");
49
+ async function getProjectTenantCode(requestOptions) {
50
+ return this.get("/v1/projects/me/tenant-code", ...(requestOptions === undefined ? [] : [requestOptions]));
51
51
  }
52
- async function listProjectMembers(params = {}) {
53
- return this.get(`/v1/projects/me/members${query(params)}`);
52
+ async function listProjectMembers(params = {}, requestOptions) {
53
+ return this.get(`/v1/projects/me/members${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
54
54
  }
55
- async function inviteProjectMember(body) {
56
- return this.post("/v1/projects/me/members", body);
55
+ async function inviteProjectMember(body, requestOptions) {
56
+ return this.post("/v1/projects/me/members", body, undefined, requestOptions);
57
57
  }
58
- async function updateProjectMember(membershipId, body) {
59
- return (await this.patch(`/v1/projects/me/members/${segment(membershipId)}`, body));
58
+ async function updateProjectMember(membershipId, body, requestOptions) {
59
+ return (await this.patch(`/v1/projects/me/members/${segment(membershipId)}`, body, ...(requestOptions === undefined ? [] : [requestOptions])));
60
60
  }
61
- async function removeProjectMember(membershipId) {
62
- return (await this.delete(`/v1/projects/me/members/${segment(membershipId)}`));
61
+ async function removeProjectMember(membershipId, requestOptions) {
62
+ return (await this.delete(`/v1/projects/me/members/${segment(membershipId)}`, ...(requestOptions === undefined ? [] : [requestOptions])));
63
63
  }
64
- async function getProjectFeatures() {
65
- return this.get("/v1/projects/me/features");
64
+ async function getProjectFeatures(requestOptions) {
65
+ return this.get("/v1/projects/me/features", ...(requestOptions === undefined ? [] : [requestOptions]));
66
66
  }
67
- async function updateProjectFeatures(features) {
67
+ async function updateProjectFeatures(features, requestOptions) {
68
68
  const body = { features };
69
- return (await this.patch("/v1/projects/me/features", body));
69
+ return (await this.patch("/v1/projects/me/features", body, ...(requestOptions === undefined ? [] : [requestOptions])));
70
70
  }
71
- async function getProjectSettings() {
72
- return this.get("/v1/project/settings");
71
+ async function getProjectSettings(requestOptions) {
72
+ return this.get("/v1/project/settings", ...(requestOptions === undefined ? [] : [requestOptions]));
73
73
  }
74
- async function updateProjectSetting(key, enabled) {
75
- return (await this.put(`/v1/project/settings/${segment(key)}`, { enabled }));
74
+ async function updateProjectSetting(key, enabled, requestOptions) {
75
+ return (await this.put(`/v1/project/settings/${segment(key)}`, { enabled }, undefined, requestOptions));
76
76
  }
77
- async function updateProjectTextSetting(key, value) {
78
- return (await this.put(`/v1/project/settings/values/${segment(key)}`, { value }));
77
+ async function updateProjectTextSetting(key, value, requestOptions) {
78
+ return (await this.put(`/v1/project/settings/values/${segment(key)}`, { value }, undefined, requestOptions));
79
79
  }
80
- async function getLocales() {
81
- return this.get("/locales");
80
+ async function getLocales(requestOptions) {
81
+ return this.get("/locales", ...(requestOptions === undefined ? [] : [requestOptions]));
82
82
  }
83
- async function updateLocales(locales) {
84
- return (await this.patch("/locales", locales));
83
+ async function updateLocales(locales, requestOptions) {
84
+ return (await this.patch("/locales", locales, ...(requestOptions === undefined ? [] : [requestOptions])));
85
85
  }
86
- async function listLocalizations(language, params = {}) {
87
- return this.get(`/localization/${segment(language)}${query(params)}`);
86
+ async function listLocalizations(language, params = {}, requestOptions) {
87
+ return this.get(`/localization/${segment(language)}${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
88
88
  }
89
- async function getLocalization(language, key) {
90
- return this.get(`/localization/${segment(language)}/${segment(key)}`);
89
+ async function getLocalization(language, key, requestOptions) {
90
+ return this.get(`/localization/${segment(language)}/${segment(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
91
91
  }
92
- async function updateLocalization(language, key, body) {
93
- return (await this.put(`/localization/${segment(language)}/${segment(key)}`, body));
92
+ async function updateLocalization(language, key, body, requestOptions) {
93
+ return (await this.put(`/localization/${segment(language)}/${segment(key)}`, body, undefined, requestOptions));
94
94
  }
95
- async function deleteLocalization(language, key) {
96
- await this.delete(`/localization/${segment(language)}/${segment(key)}`);
95
+ async function deleteLocalization(language, key, requestOptions) {
96
+ await this.delete(`/localization/${segment(language)}/${segment(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
97
97
  }
98
- async function getI18nextDocument(language) {
99
- return this.get(`/localization/i18next/${segment(language)}`);
98
+ async function getI18nextDocument(language, requestOptions) {
99
+ return this.get(`/localization/i18next/${segment(language)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
100
100
  }
101
- async function updateI18nextDocument(language, document) {
102
- await this.patch(`/localization/i18next/${segment(language)}`, document);
101
+ async function updateI18nextDocument(language, document, requestOptions) {
102
+ await this.patch(`/localization/i18next/${segment(language)}`, document, ...(requestOptions === undefined ? [] : [requestOptions]));
103
103
  }
104
- async function getPatientLastObservations(patientId, params) {
105
- return this.get(`/patient/${segment(patientId)}/observation${query(params)}`);
104
+ async function getPatientLastObservations(patientId, params, requestOptions) {
105
+ return this.get(`/patient/${segment(patientId)}/observation${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
106
106
  }
@@ -1,3 +1,4 @@
1
1
  import { Bundle, Observation, QuestionnaireResponse } from "@medplum/fhirtypes";
2
+ import type { MedplumRequestOptions } from "@medplum/core";
2
3
  import { OvokClient } from "../../ovok-client";
3
- export declare function createQuestionnaireResponseWithObservations(this: OvokClient, questionnaireResponse: QuestionnaireResponse, observations: Observation[]): Promise<Bundle>;
4
+ export declare function createQuestionnaireResponseWithObservations(this: OvokClient, questionnaireResponse: QuestionnaireResponse, observations: Observation[], requestOptions?: MedplumRequestOptions): Promise<Bundle>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createQuestionnaireResponseWithObservations = createQuestionnaireResponseWithObservations;
4
- async function createQuestionnaireResponseWithObservations(questionnaireResponse, observations) {
4
+ async function createQuestionnaireResponseWithObservations(questionnaireResponse, observations, requestOptions) {
5
5
  const bundle = {
6
6
  resourceType: "Bundle",
7
7
  type: "transaction",
@@ -24,5 +24,5 @@ async function createQuestionnaireResponseWithObservations(questionnaireResponse
24
24
  })),
25
25
  ],
26
26
  };
27
- return this.executeBatch(bundle);
27
+ return this.executeBatch(bundle, ...(requestOptions === undefined ? [] : [requestOptions]));
28
28
  }
@@ -1,3 +1,4 @@
1
+ import type { MedplumRequestOptions } from "@medplum/core";
1
2
  import { OvokClient } from "../../ovok-client";
2
3
  import { OvokQuestionnaireOperationResponse } from "../types";
3
- export declare function extractQuestionnaireObservations(this: OvokClient, questionnaireResponseId: string): Promise<OvokQuestionnaireOperationResponse>;
4
+ export declare function extractQuestionnaireObservations(this: OvokClient, questionnaireResponseId: string, requestOptions?: MedplumRequestOptions): Promise<OvokQuestionnaireOperationResponse>;
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.extractQuestionnaireObservations = extractQuestionnaireObservations;
4
4
  const segment = (value) => encodeURIComponent(value);
5
- async function extractQuestionnaireObservations(questionnaireResponseId) {
6
- return this.post(`/fhir/QuestionnaireResponse/${segment(questionnaireResponseId)}/$extract`, {});
5
+ async function extractQuestionnaireObservations(questionnaireResponseId, requestOptions) {
6
+ return this.post(`/fhir/QuestionnaireResponse/${segment(questionnaireResponseId)}/$extract`, {}, undefined, requestOptions);
7
7
  }
@@ -1,4 +1,5 @@
1
1
  import { Parameters } from "@medplum/fhirtypes";
2
+ import type { MedplumRequestOptions } from "@medplum/core";
2
3
  import { OvokClient } from "../../ovok-client";
3
4
  import { OvokQuestionnaireOperationResponse } from "../types";
4
- export declare function populateQuestionnaire(this: OvokClient, questionnaireId: string, parameters?: Parameters): Promise<OvokQuestionnaireOperationResponse>;
5
+ export declare function populateQuestionnaire(this: OvokClient, questionnaireId: string, parameters?: Parameters, requestOptions?: MedplumRequestOptions): Promise<OvokQuestionnaireOperationResponse>;
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.populateQuestionnaire = populateQuestionnaire;
4
4
  const segment = (value) => encodeURIComponent(value);
5
- async function populateQuestionnaire(questionnaireId, parameters = { resourceType: "Parameters", parameter: [] }) {
6
- return this.post(`/fhir/Questionnaire/${segment(questionnaireId)}/$populate`, parameters);
5
+ async function populateQuestionnaire(questionnaireId, parameters = { resourceType: "Parameters", parameter: [] }, requestOptions) {
6
+ return this.post(`/fhir/Questionnaire/${segment(questionnaireId)}/$populate`, parameters, undefined, requestOptions);
7
7
  }
@@ -1,3 +1,4 @@
1
1
  import { Bundle, Observation, QuestionnaireResponse } from "@medplum/fhirtypes";
2
+ import type { MedplumRequestOptions } from "@medplum/core";
2
3
  import { OvokClient } from "../../ovok-client";
3
- export declare function submitQuestionnaireResponse(this: OvokClient, questionnaireResponse: QuestionnaireResponse, observations?: Observation[]): Promise<Bundle>;
4
+ export declare function submitQuestionnaireResponse(this: OvokClient, questionnaireResponse: QuestionnaireResponse, observations?: Observation[], requestOptions?: MedplumRequestOptions): Promise<Bundle>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.submitQuestionnaireResponse = submitQuestionnaireResponse;
4
- async function submitQuestionnaireResponse(questionnaireResponse, observations = []) {
5
- return this.createQuestionnaireResponseWithObservations(questionnaireResponse, observations);
4
+ async function submitQuestionnaireResponse(questionnaireResponse, observations = [], requestOptions) {
5
+ return this.createQuestionnaireResponseWithObservations(questionnaireResponse, observations, ...(requestOptions === undefined ? [] : [requestOptions]));
6
6
  }
@@ -1,3 +1,4 @@
1
+ import type { MedplumRequestOptions } from "@medplum/core";
1
2
  import { NotificationNote, NotificationNotes, UpdateNotificationNote } from "../notifications/types";
2
3
  import { OvokClient } from "../ovok-client";
3
4
  import { EnableSignalsResponse, SetSignalsThresholdBody, SignalsAlert, SignalsAlertsPage, SignalsAlertsQuery, SignalsRawAlert, SignalsRawAlertsPage, SignalsRawAlertsQuery, SignalsSettingsPatch, SignalsSettingsResponse, SignalsThreshold, SignalsThresholds, UnconfirmedLimits, RepushUnconfirmedLimitsResult } from "./types";
@@ -6,38 +7,38 @@ import { EnableSignalsResponse, SetSignalsThresholdBody, SignalsAlert, SignalsAl
6
7
  * Observations saved through Ovok are forwarded by the backend, so callers should not submit
7
8
  * the same readings to Signals separately.
8
9
  */
9
- export declare function enableSignalsForPatient(this: OvokClient, patientId: string): Promise<EnableSignalsResponse>;
10
- export declare function getSignalsThresholds(this: OvokClient, patientId: string): Promise<SignalsThresholds>;
11
- export declare function listUnconfirmedLimits(this: OvokClient): Promise<UnconfirmedLimits>;
12
- export declare function repushUnconfirmedLimits(this: OvokClient): Promise<RepushUnconfirmedLimitsResult>;
13
- export declare function setSignalsThreshold(this: OvokClient, patientId: string, code: string, body: SetSignalsThresholdBody): Promise<SignalsThreshold>;
14
- export declare function removeSignalsThreshold(this: OvokClient, patientId: string, code: string, reason: string): Promise<void>;
10
+ export declare function enableSignalsForPatient(this: OvokClient, patientId: string, requestOptions?: MedplumRequestOptions): Promise<EnableSignalsResponse>;
11
+ export declare function getSignalsThresholds(this: OvokClient, patientId: string, requestOptions?: MedplumRequestOptions): Promise<SignalsThresholds>;
12
+ export declare function listUnconfirmedLimits(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<UnconfirmedLimits>;
13
+ export declare function repushUnconfirmedLimits(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<RepushUnconfirmedLimitsResult>;
14
+ export declare function setSignalsThreshold(this: OvokClient, patientId: string, code: string, body: SetSignalsThresholdBody, requestOptions?: MedplumRequestOptions): Promise<SignalsThreshold>;
15
+ export declare function removeSignalsThreshold(this: OvokClient, patientId: string, code: string, reason: string, requestOptions?: MedplumRequestOptions): Promise<void>;
15
16
  export declare function serializeSignalsAlertsQuery(query?: SignalsAlertsQuery | SignalsRawAlertsQuery, keys?: readonly string[]): string;
16
- export declare function listSignalsAlerts(this: OvokClient, query?: SignalsAlertsQuery): Promise<SignalsAlertsPage>;
17
- export declare function getSignalsAlert(this: OvokClient, episodeId: string): Promise<SignalsAlert>;
18
- export declare function acknowledgeSignalsAlert(this: OvokClient, episodeId: string): Promise<SignalsAlert>;
19
- export declare function listSignalsAlertNotes(this: OvokClient, episodeId: string): Promise<NotificationNotes>;
17
+ export declare function listSignalsAlerts(this: OvokClient, query?: SignalsAlertsQuery, requestOptions?: MedplumRequestOptions): Promise<SignalsAlertsPage>;
18
+ export declare function getSignalsAlert(this: OvokClient, episodeId: string, requestOptions?: MedplumRequestOptions): Promise<SignalsAlert>;
19
+ export declare function acknowledgeSignalsAlert(this: OvokClient, episodeId: string, requestOptions?: MedplumRequestOptions): Promise<SignalsAlert>;
20
+ export declare function listSignalsAlertNotes(this: OvokClient, episodeId: string, requestOptions?: MedplumRequestOptions): Promise<NotificationNotes>;
20
21
  export declare function createSignalsAlertNote(this: OvokClient, episodeId: string, body: {
21
22
  text: string;
22
- }): Promise<NotificationNote>;
23
- export declare function listSignalsRawAlertNotes(this: OvokClient, alertId: string): Promise<NotificationNotes>;
23
+ }, requestOptions?: MedplumRequestOptions): Promise<NotificationNote>;
24
+ export declare function listSignalsRawAlertNotes(this: OvokClient, alertId: string, requestOptions?: MedplumRequestOptions): Promise<NotificationNotes>;
24
25
  export declare function createSignalsRawAlertNote(this: OvokClient, alertId: string, body: {
25
26
  text: string;
26
- }): Promise<NotificationNote>;
27
- export declare function updateSignalsNote(this: OvokClient, noteId: string, body: UpdateNotificationNote): Promise<NotificationNote>;
28
- export declare function patchSignalsNote(this: OvokClient, noteId: string, body: UpdateNotificationNote): Promise<NotificationNote>;
29
- export declare function deleteSignalsNote(this: OvokClient, noteId: string): Promise<void>;
27
+ }, requestOptions?: MedplumRequestOptions): Promise<NotificationNote>;
28
+ export declare function updateSignalsNote(this: OvokClient, noteId: string, body: UpdateNotificationNote, requestOptions?: MedplumRequestOptions): Promise<NotificationNote>;
29
+ export declare function patchSignalsNote(this: OvokClient, noteId: string, body: UpdateNotificationNote, requestOptions?: MedplumRequestOptions): Promise<NotificationNote>;
30
+ export declare function deleteSignalsNote(this: OvokClient, noteId: string, requestOptions?: MedplumRequestOptions): Promise<void>;
30
31
  /**
31
32
  * The project's individual Signals alerts, not episodes: works whether or not the project's
32
33
  * `episodicAlerts` is on. `acknowledged: false` lists what is still open for the practitioner.
33
34
  */
34
- export declare function listSignalsRawAlerts(this: OvokClient, query?: SignalsRawAlertsQuery): Promise<SignalsRawAlertsPage>;
35
- export declare function getSignalsRawAlert(this: OvokClient, alertId: string): Promise<SignalsRawAlert>;
35
+ export declare function listSignalsRawAlerts(this: OvokClient, query?: SignalsRawAlertsQuery, requestOptions?: MedplumRequestOptions): Promise<SignalsRawAlertsPage>;
36
+ export declare function getSignalsRawAlert(this: OvokClient, alertId: string, requestOptions?: MedplumRequestOptions): Promise<SignalsRawAlert>;
36
37
  /**
37
38
  * Acknowledges one alert: it resolves, and `acknowledgedAt` and `acknowledgedActor` record when
38
39
  * and by whom. Idempotent: an acknowledged alert keeps its first acknowledgement. Needs
39
40
  * `signals_alerts:update` and update access to the resident.
40
41
  */
41
- export declare function acknowledgeSignalsRawAlert(this: OvokClient, alertId: string): Promise<SignalsRawAlert>;
42
- export declare function getSignalsSettings(this: OvokClient): Promise<SignalsSettingsResponse>;
43
- export declare function updateSignalsSettings(this: OvokClient, patch: SignalsSettingsPatch, reason?: string | null): Promise<SignalsSettingsResponse>;
42
+ export declare function acknowledgeSignalsRawAlert(this: OvokClient, alertId: string, requestOptions?: MedplumRequestOptions): Promise<SignalsRawAlert>;
43
+ export declare function getSignalsSettings(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<SignalsSettingsResponse>;
44
+ export declare function updateSignalsSettings(this: OvokClient, patch: SignalsSettingsPatch, reason?: string | null, requestOptions?: MedplumRequestOptions): Promise<SignalsSettingsResponse>;