@ovok/core 0.4.49-dev.495 → 0.4.49-dev.496
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/observation/measurement-fields.d.ts +1 -1
- package/dist/client/observation/methods/observationsToMeasurements.d.ts +1 -1
- package/dist/client/observation/methods/observationsToMeasurements.js +59 -59
- package/dist/client/observation/services/base-observation-service.d.ts +1 -1
- package/dist/client/observation/services/blood-oxygen.d.ts +1 -1
- package/dist/client/observation/services/blood-oxygen.js +7 -7
- package/dist/client/observation/services/blood-pressure.d.ts +1 -1
- package/dist/client/observation/services/blood-pressure.js +16 -16
- package/dist/client/observation/services/component-observation-services.d.ts +1 -1
- package/dist/client/observation/services/component-observation-services.js +3 -3
- package/dist/client/observation/services/creator.d.ts +1 -1
- package/dist/client/observation/services/creator.js +10 -10
- package/dist/client/observation/services/ecg-observation-fragments.d.ts +1 -1
- package/dist/client/observation/services/ecg.d.ts +1 -1
- package/dist/client/observation/services/ecg.js +10 -10
- package/dist/client/observation/services/lipid-panel.d.ts +1 -1
- package/dist/client/observation/services/lipid-panel.js +13 -13
- package/dist/client/observation/services/single-value-services.d.ts +1 -1
- package/dist/client/observation/services/single-value-services.js +19 -19
- package/dist/client/observation/services/step-count.d.ts +1 -1
- package/dist/client/observation/services/step-count.js +5 -5
- package/dist/client/observation/services/uric-acid-service.d.ts +1 -1
- package/dist/client/observation/services/uric-acid-service.js +7 -7
- package/dist/client/offline/offline-measurement-queue.d.ts +1 -2
- package/dist/client/wearables/types.d.ts +5 -0
- package/dist/conformance/capability-requirements.js +1 -1
- package/dist/next/auth/access-token.d.ts +9 -0
- package/dist/next/auth/access-token.js +18 -0
- package/dist/next/auth/client-credentials.d.ts +16 -0
- package/dist/next/auth/client-credentials.js +40 -0
- package/dist/next/auth/credentials.d.ts +5 -0
- package/dist/next/auth/credentials.js +7 -0
- package/dist/next/auth/session-store.d.ts +12 -0
- package/dist/next/auth/session-store.js +33 -0
- package/dist/next/auth/session.d.ts +28 -0
- package/dist/next/auth/session.js +27 -0
- package/dist/next/auth/token-endpoint.d.ts +12 -0
- package/dist/next/auth/token-endpoint.js +28 -0
- package/dist/next/auth/user-session.d.ts +27 -0
- package/dist/next/auth/user-session.js +82 -0
- package/dist/next/config/ovok-config.d.ts +42 -0
- package/dist/next/config/ovok-config.js +2 -0
- package/dist/next/config/settings.d.ts +6 -0
- package/dist/next/config/settings.js +74 -0
- package/dist/next/errors/error-from-response.d.ts +2 -0
- package/dist/next/errors/error-from-response.js +35 -0
- package/dist/next/errors/ovok-errors.d.ts +42 -0
- package/dist/next/errors/ovok-errors.js +74 -0
- package/dist/next/http/http-client.d.ts +35 -0
- package/dist/next/http/http-client.js +113 -0
- package/dist/next/http/retry-after.d.ts +1 -0
- package/dist/next/http/retry-after.js +16 -0
- package/dist/next/http/retry-policy.d.ts +13 -0
- package/dist/next/http/retry-policy.js +27 -0
- package/dist/next/http/transmit.d.ts +14 -0
- package/dist/next/http/transmit.js +57 -0
- package/dist/next/http/url.d.ts +6 -0
- package/dist/next/http/url.js +22 -0
- package/dist/next/index.d.ts +69 -0
- package/dist/next/index.js +33 -0
- package/dist/next/ovok.d.ts +52 -0
- package/dist/next/ovok.js +74 -0
- package/dist/next/paging/bundle-page.d.ts +4 -0
- package/dist/next/paging/bundle-page.js +25 -0
- package/dist/next/paging/cursor-pages.d.ts +7 -0
- package/dist/next/paging/cursor-pages.js +14 -0
- package/dist/next/paging/numbered-pages.d.ts +15 -0
- package/dist/next/paging/numbered-pages.js +20 -0
- package/dist/next/paging/page.d.ts +12 -0
- package/dist/next/paging/page.js +17 -0
- package/dist/next/resources/accounts/accounts-resource.d.ts +8 -0
- package/dist/next/resources/accounts/accounts-resource.js +13 -0
- package/dist/next/resources/ai/ai-chat-resource.d.ts +8 -0
- package/dist/next/resources/ai/ai-chat-resource.js +12 -0
- package/dist/next/resources/ai/ai-resource.d.ts +16 -0
- package/dist/next/resources/ai/ai-resource.js +19 -0
- package/dist/next/resources/ai/chat-messages-resource.d.ts +9 -0
- package/dist/next/resources/ai/chat-messages-resource.js +18 -0
- package/dist/next/resources/ai/chat-sessions-resource.d.ts +14 -0
- package/dist/next/resources/ai/chat-sessions-resource.js +23 -0
- package/dist/next/resources/auth/auth-sessions-resource.d.ts +13 -0
- package/dist/next/resources/auth/auth-sessions-resource.js +25 -0
- package/dist/next/resources/auth/registration.d.ts +35 -0
- package/dist/next/resources/auth/registration.js +24 -0
- package/dist/next/resources/auth/social-login.d.ts +8 -0
- package/dist/next/resources/auth/social-login.js +7 -0
- package/dist/next/resources/auth-resource.d.ts +63 -0
- package/dist/next/resources/auth-resource.js +119 -0
- package/dist/next/resources/bots/bots-resource.d.ts +10 -0
- package/dist/next/resources/bots/bots-resource.js +15 -0
- package/dist/next/resources/cms/cms-delivery.d.ts +22 -0
- package/dist/next/resources/cms/cms-delivery.js +36 -0
- package/dist/next/resources/cms/cms-documents-resource.d.ts +11 -0
- package/dist/next/resources/cms/cms-documents-resource.js +17 -0
- package/dist/next/resources/cms/cms-resource.d.ts +17 -0
- package/dist/next/resources/cms/cms-resource.js +38 -0
- package/dist/next/resources/cms/payload-pages.d.ts +6 -0
- package/dist/next/resources/cms/payload-pages.js +15 -0
- package/dist/next/resources/cms/release-notes-resource.d.ts +10 -0
- package/dist/next/resources/cms/release-notes-resource.js +15 -0
- package/dist/next/resources/cms/translation-tree.d.ts +3 -0
- package/dist/next/resources/cms/translation-tree.js +45 -0
- package/dist/next/resources/consent/consent-resource.d.ts +23 -0
- package/dist/next/resources/consent/consent-resource.js +43 -0
- package/dist/next/resources/content/content-resource.d.ts +19 -0
- package/dist/next/resources/content/content-resource.js +41 -0
- package/dist/next/resources/documents/documents-resource.d.ts +26 -0
- package/dist/next/resources/documents/documents-resource.js +41 -0
- package/dist/next/resources/email/email-resource.d.ts +6 -0
- package/dist/next/resources/email/email-resource.js +10 -0
- package/dist/next/resources/email/email-templates-resource.d.ts +8 -0
- package/dist/next/resources/email/email-templates-resource.js +13 -0
- package/dist/next/resources/fhir-resource.d.ts +28 -0
- package/dist/next/resources/fhir-resource.js +64 -0
- package/dist/next/resources/health-resource.d.ts +17 -0
- package/dist/next/resources/health-resource.js +14 -0
- package/dist/next/resources/invites/invite-flow-resource.d.ts +12 -0
- package/dist/next/resources/invites/invite-flow-resource.js +19 -0
- package/dist/next/resources/invites/invites-resource.d.ts +17 -0
- package/dist/next/resources/invites/invites-resource.js +14 -0
- package/dist/next/resources/localization/i18next-resource.d.ts +10 -0
- package/dist/next/resources/localization/i18next-resource.js +18 -0
- package/dist/next/resources/localization/locales-resource.d.ts +9 -0
- package/dist/next/resources/localization/locales-resource.js +16 -0
- package/dist/next/resources/localization/localizations-resource.d.ts +17 -0
- package/dist/next/resources/localization/localizations-resource.js +27 -0
- package/dist/next/resources/measurements/measurements-resource.d.ts +42 -0
- package/dist/next/resources/measurements/measurements-resource.js +77 -0
- package/dist/next/resources/measurements/observation-builder.d.ts +5 -0
- package/dist/next/resources/measurements/observation-builder.js +57 -0
- package/dist/next/resources/measurements/save-error.d.ts +5 -0
- package/dist/next/resources/measurements/save-error.js +18 -0
- package/dist/next/resources/measurements/signed-in-account.d.ts +11 -0
- package/dist/next/resources/measurements/signed-in-account.js +26 -0
- package/dist/next/resources/patient/fhir-records.d.ts +19 -0
- package/dist/next/resources/patient/fhir-records.js +33 -0
- package/dist/next/resources/patient/patient-resource.d.ts +21 -0
- package/dist/next/resources/patient/patient-resource.js +38 -0
- package/dist/next/resources/projects/project-features-resource.d.ts +9 -0
- package/dist/next/resources/projects/project-features-resource.js +17 -0
- package/dist/next/resources/projects/project-members-resource.d.ts +19 -0
- package/dist/next/resources/projects/project-members-resource.js +25 -0
- package/dist/next/resources/projects/project-settings-resource.d.ts +10 -0
- package/dist/next/resources/projects/project-settings-resource.js +21 -0
- package/dist/next/resources/projects/projects-resource.d.ts +20 -0
- package/dist/next/resources/projects/projects-resource.js +21 -0
- package/dist/next/resources/questionnaires/questionnaires-resource.d.ts +18 -0
- package/dist/next/resources/questionnaires/questionnaires-resource.js +36 -0
- package/dist/next/resources/sharing/sharing-invites-resource.d.ts +9 -0
- package/dist/next/resources/sharing/sharing-invites-resource.js +17 -0
- package/dist/next/resources/sharing/sharing-resource.d.ts +10 -0
- package/dist/next/resources/sharing/sharing-resource.js +14 -0
- package/dist/next/resources/sharing/sharing-settings-resource.d.ts +9 -0
- package/dist/next/resources/sharing/sharing-settings-resource.js +16 -0
- package/dist/next/resources/sharing/sharing-shares-resource.d.ts +9 -0
- package/dist/next/resources/sharing/sharing-shares-resource.js +27 -0
- package/dist/next/resources/signals/signals-gateway-resource.d.ts +14 -0
- package/dist/next/resources/signals/signals-gateway-resource.js +44 -0
- package/dist/next/resources/signals/signals-resource.d.ts +13 -0
- package/dist/next/resources/signals/signals-resource.js +19 -0
- package/dist/next/resources/signals/undeliverable-resource.d.ts +26 -0
- package/dist/next/resources/signals/undeliverable-resource.js +18 -0
- package/dist/next/resources/slim/live-reads.d.ts +12 -0
- package/dist/next/resources/slim/live-reads.js +76 -0
- package/dist/next/resources/slim/slim-alarms-resource.d.ts +13 -0
- package/dist/next/resources/slim/slim-alarms-resource.js +25 -0
- package/dist/next/resources/slim/slim-change-history-resource.d.ts +9 -0
- package/dist/next/resources/slim/slim-change-history-resource.js +19 -0
- package/dist/next/resources/slim/slim-child-projects-resource.d.ts +17 -0
- package/dist/next/resources/slim/slim-child-projects-resource.js +22 -0
- package/dist/next/resources/slim/slim-devices-resource.d.ts +28 -0
- package/dist/next/resources/slim/slim-devices-resource.js +80 -0
- package/dist/next/resources/slim/slim-exports-resource.d.ts +8 -0
- package/dist/next/resources/slim/slim-exports-resource.js +14 -0
- package/dist/next/resources/slim/slim-locations-resource.d.ts +14 -0
- package/dist/next/resources/slim/slim-locations-resource.js +30 -0
- package/dist/next/resources/slim/slim-medical-notifications-resource.d.ts +18 -0
- package/dist/next/resources/slim/slim-medical-notifications-resource.js +46 -0
- package/dist/next/resources/slim/slim-notification-notes-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-notification-notes-resource.js +34 -0
- package/dist/next/resources/slim/slim-notifications-resource.d.ts +19 -0
- package/dist/next/resources/slim/slim-notifications-resource.js +26 -0
- package/dist/next/resources/slim/slim-organizations-resource.d.ts +11 -0
- package/dist/next/resources/slim/slim-organizations-resource.js +25 -0
- package/dist/next/resources/slim/slim-out-of-bed-resource.d.ts +13 -0
- package/dist/next/resources/slim/slim-out-of-bed-resource.js +20 -0
- package/dist/next/resources/slim/slim-paths.d.ts +6 -0
- package/dist/next/resources/slim/slim-paths.js +9 -0
- package/dist/next/resources/slim/slim-patient-thresholds-resource.d.ts +10 -0
- package/dist/next/resources/slim/slim-patient-thresholds-resource.js +20 -0
- package/dist/next/resources/slim/slim-patients-resource.d.ts +20 -0
- package/dist/next/resources/slim/slim-patients-resource.js +39 -0
- package/dist/next/resources/slim/slim-policies-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-policies-resource.js +29 -0
- package/dist/next/resources/slim/slim-practitioners-resource.d.ts +8 -0
- package/dist/next/resources/slim/slim-practitioners-resource.js +14 -0
- package/dist/next/resources/slim/slim-projects-resource.d.ts +16 -0
- package/dist/next/resources/slim/slim-projects-resource.js +35 -0
- package/dist/next/resources/slim/slim-queries.d.ts +34 -0
- package/dist/next/resources/slim/slim-queries.js +2 -0
- package/dist/next/resources/slim/slim-resource.d.ts +38 -0
- package/dist/next/resources/slim/slim-resource.js +44 -0
- package/dist/next/resources/slim/slim-sleep-resource.d.ts +9 -0
- package/dist/next/resources/slim/slim-sleep-resource.js +15 -0
- package/dist/next/resources/slim/slim-thresholds-resource.d.ts +11 -0
- package/dist/next/resources/slim/slim-thresholds-resource.js +18 -0
- package/dist/next/resources/slim/slim-trends-resource.d.ts +11 -0
- package/dist/next/resources/slim/slim-trends-resource.js +19 -0
- package/dist/next/resources/slim/slim-users-resource.d.ts +11 -0
- package/dist/next/resources/slim/slim-users-resource.js +15 -0
- package/dist/next/resources/slim/slim-zones-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-zones-resource.js +24 -0
- package/dist/next/resources/video-calls/video-call-access-resource.d.ts +11 -0
- package/dist/next/resources/video-calls/video-call-access-resource.js +19 -0
- package/dist/next/resources/video-calls/video-call-appointments-resource.d.ts +10 -0
- package/dist/next/resources/video-calls/video-call-appointments-resource.js +21 -0
- package/dist/next/resources/video-calls/video-call-emails-resource.d.ts +10 -0
- package/dist/next/resources/video-calls/video-call-emails-resource.js +19 -0
- package/dist/next/resources/video-calls/video-calls-resource.d.ts +14 -0
- package/dist/next/resources/video-calls/video-calls-resource.js +20 -0
- package/dist/next/resources/wearables/wearable-connections-resource.d.ts +12 -0
- package/dist/next/resources/wearables/wearable-connections-resource.js +25 -0
- package/dist/next/resources/wearables/wearable-providers-resource.d.ts +12 -0
- package/dist/next/resources/wearables/wearable-providers-resource.js +27 -0
- package/dist/next/resources/wearables/wearables-resource.d.ts +8 -0
- package/dist/next/resources/wearables/wearables-resource.js +14 -0
- package/dist/next/storage/ovok-storage.d.ts +11 -0
- package/dist/next/storage/ovok-storage.js +19 -0
- package/dist/types/MeasurementTypes.d.ts +5 -0
- package/dist/types/MeasurementTypes.js +21 -0
- package/dist/types/index.d.ts +1 -5
- package/dist/types/index.js +1 -5
- package/next/index.d.ts +1 -0
- package/next/index.js +3 -0
- package/package.json +3 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WearableConnectionAuthorization, WearableConnections, WearableProvider, WearableSyncResult } from "../../../client/wearables/types";
|
|
2
|
+
import { HttpClient } from "../../http/http-client";
|
|
3
|
+
import { RequestOptions } from "../../http/transmit";
|
|
4
|
+
export declare class WearableConnectionsResource {
|
|
5
|
+
private readonly wearables;
|
|
6
|
+
constructor(wearables: HttpClient);
|
|
7
|
+
list(options?: RequestOptions): Promise<WearableConnections>;
|
|
8
|
+
/** The provider's one-time consent page, where the patient grants access. */
|
|
9
|
+
authorize(provider: WearableProvider, options?: RequestOptions): Promise<WearableConnectionAuthorization>;
|
|
10
|
+
sync(provider: WearableProvider, options?: RequestOptions): Promise<WearableSyncResult>;
|
|
11
|
+
delete(provider: WearableProvider, options?: RequestOptions): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WearableConnectionsResource = void 0;
|
|
4
|
+
const url_1 = require("../../http/url");
|
|
5
|
+
const CONNECTIONS_PATH = "connections";
|
|
6
|
+
const connectionPath = (provider) => `${CONNECTIONS_PATH}/${(0, url_1.pathSegment)(provider)}`;
|
|
7
|
+
class WearableConnectionsResource {
|
|
8
|
+
constructor(wearables) {
|
|
9
|
+
this.wearables = wearables;
|
|
10
|
+
}
|
|
11
|
+
list(options) {
|
|
12
|
+
return this.wearables.get(CONNECTIONS_PATH, options);
|
|
13
|
+
}
|
|
14
|
+
/** The provider's one-time consent page, where the patient grants access. */
|
|
15
|
+
authorize(provider, options) {
|
|
16
|
+
return this.wearables.post(`${connectionPath(provider)}/authorize`, undefined, options);
|
|
17
|
+
}
|
|
18
|
+
sync(provider, options) {
|
|
19
|
+
return this.wearables.post(`${connectionPath(provider)}/sync`, undefined, options);
|
|
20
|
+
}
|
|
21
|
+
delete(provider, options) {
|
|
22
|
+
return this.wearables.delete(connectionPath(provider), options);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.WearableConnectionsResource = WearableConnectionsResource;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CreateWearableProviderRequest, UpdateWearableProviderRequest, WearableProvider, WearableProviderSettings, WearableProviderSettingsList } from "../../../client/wearables/types";
|
|
2
|
+
import { HttpClient } from "../../http/http-client";
|
|
3
|
+
import { RequestOptions } from "../../http/transmit";
|
|
4
|
+
export declare class WearableProvidersResource {
|
|
5
|
+
private readonly wearables;
|
|
6
|
+
constructor(wearables: HttpClient);
|
|
7
|
+
list(options?: RequestOptions): Promise<WearableProviderSettingsList>;
|
|
8
|
+
retrieve(provider: WearableProvider, options?: RequestOptions): Promise<WearableProviderSettings>;
|
|
9
|
+
create(body: CreateWearableProviderRequest, options?: RequestOptions): Promise<WearableProviderSettings>;
|
|
10
|
+
patch(provider: WearableProvider, body: UpdateWearableProviderRequest, options?: RequestOptions): Promise<WearableProviderSettings>;
|
|
11
|
+
delete(provider: WearableProvider, options?: RequestOptions): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WearableProvidersResource = void 0;
|
|
4
|
+
const url_1 = require("../../http/url");
|
|
5
|
+
const PROVIDERS_PATH = "providers";
|
|
6
|
+
const providerPath = (provider) => `${PROVIDERS_PATH}/${(0, url_1.pathSegment)(provider)}`;
|
|
7
|
+
class WearableProvidersResource {
|
|
8
|
+
constructor(wearables) {
|
|
9
|
+
this.wearables = wearables;
|
|
10
|
+
}
|
|
11
|
+
list(options) {
|
|
12
|
+
return this.wearables.get(PROVIDERS_PATH, options);
|
|
13
|
+
}
|
|
14
|
+
retrieve(provider, options) {
|
|
15
|
+
return this.wearables.get(providerPath(provider), options);
|
|
16
|
+
}
|
|
17
|
+
create(body, options) {
|
|
18
|
+
return this.wearables.post(PROVIDERS_PATH, body, options);
|
|
19
|
+
}
|
|
20
|
+
patch(provider, body, options) {
|
|
21
|
+
return this.wearables.patch(providerPath(provider), body, options);
|
|
22
|
+
}
|
|
23
|
+
delete(provider, options) {
|
|
24
|
+
return this.wearables.delete(providerPath(provider), options);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.WearableProvidersResource = WearableProvidersResource;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpClient } from "../../http/http-client";
|
|
2
|
+
import { WearableConnectionsResource } from "./wearable-connections-resource";
|
|
3
|
+
import { WearableProvidersResource } from "./wearable-providers-resource";
|
|
4
|
+
export declare class WearablesResource {
|
|
5
|
+
readonly providers: WearableProvidersResource;
|
|
6
|
+
readonly connections: WearableConnectionsResource;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WearablesResource = void 0;
|
|
4
|
+
const wearable_connections_resource_1 = require("./wearable-connections-resource");
|
|
5
|
+
const wearable_providers_resource_1 = require("./wearable-providers-resource");
|
|
6
|
+
const WEARABLES_PATH = "v1/wearables";
|
|
7
|
+
class WearablesResource {
|
|
8
|
+
constructor(http) {
|
|
9
|
+
const wearables = http.under(WEARABLES_PATH);
|
|
10
|
+
this.providers = new wearable_providers_resource_1.WearableProvidersResource(wearables);
|
|
11
|
+
this.connections = new wearable_connections_resource_1.WearableConnectionsResource(wearables);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.WearablesResource = WearablesResource;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface OvokStorage {
|
|
2
|
+
getItem(key: string): string | null | Promise<string | null>;
|
|
3
|
+
setItem(key: string, value: string): void | Promise<void>;
|
|
4
|
+
removeItem(key: string): void | Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
export declare class MemoryStorage implements OvokStorage {
|
|
7
|
+
private readonly items;
|
|
8
|
+
getItem(key: string): string | null;
|
|
9
|
+
setItem(key: string, value: string): void;
|
|
10
|
+
removeItem(key: string): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MemoryStorage = void 0;
|
|
4
|
+
class MemoryStorage {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.items = new Map();
|
|
7
|
+
}
|
|
8
|
+
getItem(key) {
|
|
9
|
+
var _a;
|
|
10
|
+
return (_a = this.items.get(key)) !== null && _a !== void 0 ? _a : null;
|
|
11
|
+
}
|
|
12
|
+
setItem(key, value) {
|
|
13
|
+
this.items.set(key, value);
|
|
14
|
+
}
|
|
15
|
+
removeItem(key) {
|
|
16
|
+
this.items.delete(key);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.MemoryStorage = MemoryStorage;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "../client/observation/types/MeasurementTypeKey";
|
|
2
|
+
export * from "../client/observation/types/ObservationCode";
|
|
3
|
+
export * from "../client/observation/types/UrineAnalytes";
|
|
4
|
+
export * from "../client/observation/types/measurement";
|
|
5
|
+
export * from "../client/observation/types/generate-measurement/Sample";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../client/observation/types/MeasurementTypeKey"), exports);
|
|
18
|
+
__exportStar(require("../client/observation/types/ObservationCode"), exports);
|
|
19
|
+
__exportStar(require("../client/observation/types/UrineAnalytes"), exports);
|
|
20
|
+
__exportStar(require("../client/observation/types/measurement"), exports);
|
|
21
|
+
__exportStar(require("../client/observation/types/generate-measurement/Sample"), exports);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,11 +8,7 @@ export * from "../client/auth/types/ChangePasswordResponse";
|
|
|
8
8
|
export * from "../client/auth/types/RequestDeleteUserBody";
|
|
9
9
|
export * from "../client/auth/types/ResetPasswordBody";
|
|
10
10
|
export * from "../client/auth/types/Session";
|
|
11
|
-
export * from "
|
|
12
|
-
export * from "../client/observation/types/ObservationCode";
|
|
13
|
-
export * from "../client/observation/types/UrineAnalytes";
|
|
14
|
-
export * from "../client/observation/types/measurement";
|
|
15
|
-
export * from "../client/observation/types/generate-measurement/Sample";
|
|
11
|
+
export * from "./MeasurementTypes";
|
|
16
12
|
export * from "../client/observation/types/GetLatestObservationsByCodeParams";
|
|
17
13
|
export * from "../client/chat/ai/types/CreateAiSessionProps";
|
|
18
14
|
export * from "../client/chat/ai/types/SessionMessagesResponse";
|
package/dist/types/index.js
CHANGED
|
@@ -26,11 +26,7 @@ __exportStar(require("../client/auth/types/RequestDeleteUserBody"), exports);
|
|
|
26
26
|
__exportStar(require("../client/auth/types/ResetPasswordBody"), exports);
|
|
27
27
|
__exportStar(require("../client/auth/types/Session"), exports);
|
|
28
28
|
// Measurement types
|
|
29
|
-
__exportStar(require("
|
|
30
|
-
__exportStar(require("../client/observation/types/ObservationCode"), exports);
|
|
31
|
-
__exportStar(require("../client/observation/types/UrineAnalytes"), exports);
|
|
32
|
-
__exportStar(require("../client/observation/types/measurement"), exports);
|
|
33
|
-
__exportStar(require("../client/observation/types/generate-measurement/Sample"), exports);
|
|
29
|
+
__exportStar(require("./MeasurementTypes"), exports);
|
|
34
30
|
// Observation types
|
|
35
31
|
__exportStar(require("../client/observation/types/GetLatestObservationsByCodeParams"), exports);
|
|
36
32
|
// Chat types
|
package/next/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../dist/next/index";
|
package/next/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovok/core",
|
|
3
|
-
"version": "0.4.49-dev.
|
|
3
|
+
"version": "0.4.49-dev.496+c48b1bd",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"next"
|
|
9
10
|
],
|
|
10
11
|
"scripts": {
|
|
11
12
|
"test": "jest",
|