@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.
Files changed (235) hide show
  1. package/dist/client/observation/measurement-fields.d.ts +1 -1
  2. package/dist/client/observation/methods/observationsToMeasurements.d.ts +1 -1
  3. package/dist/client/observation/methods/observationsToMeasurements.js +59 -59
  4. package/dist/client/observation/services/base-observation-service.d.ts +1 -1
  5. package/dist/client/observation/services/blood-oxygen.d.ts +1 -1
  6. package/dist/client/observation/services/blood-oxygen.js +7 -7
  7. package/dist/client/observation/services/blood-pressure.d.ts +1 -1
  8. package/dist/client/observation/services/blood-pressure.js +16 -16
  9. package/dist/client/observation/services/component-observation-services.d.ts +1 -1
  10. package/dist/client/observation/services/component-observation-services.js +3 -3
  11. package/dist/client/observation/services/creator.d.ts +1 -1
  12. package/dist/client/observation/services/creator.js +10 -10
  13. package/dist/client/observation/services/ecg-observation-fragments.d.ts +1 -1
  14. package/dist/client/observation/services/ecg.d.ts +1 -1
  15. package/dist/client/observation/services/ecg.js +10 -10
  16. package/dist/client/observation/services/lipid-panel.d.ts +1 -1
  17. package/dist/client/observation/services/lipid-panel.js +13 -13
  18. package/dist/client/observation/services/single-value-services.d.ts +1 -1
  19. package/dist/client/observation/services/single-value-services.js +19 -19
  20. package/dist/client/observation/services/step-count.d.ts +1 -1
  21. package/dist/client/observation/services/step-count.js +5 -5
  22. package/dist/client/observation/services/uric-acid-service.d.ts +1 -1
  23. package/dist/client/observation/services/uric-acid-service.js +7 -7
  24. package/dist/client/offline/offline-measurement-queue.d.ts +1 -2
  25. package/dist/client/wearables/types.d.ts +5 -0
  26. package/dist/conformance/capability-requirements.js +1 -1
  27. package/dist/next/auth/access-token.d.ts +9 -0
  28. package/dist/next/auth/access-token.js +18 -0
  29. package/dist/next/auth/client-credentials.d.ts +16 -0
  30. package/dist/next/auth/client-credentials.js +40 -0
  31. package/dist/next/auth/credentials.d.ts +5 -0
  32. package/dist/next/auth/credentials.js +7 -0
  33. package/dist/next/auth/session-store.d.ts +12 -0
  34. package/dist/next/auth/session-store.js +33 -0
  35. package/dist/next/auth/session.d.ts +28 -0
  36. package/dist/next/auth/session.js +27 -0
  37. package/dist/next/auth/token-endpoint.d.ts +12 -0
  38. package/dist/next/auth/token-endpoint.js +28 -0
  39. package/dist/next/auth/user-session.d.ts +27 -0
  40. package/dist/next/auth/user-session.js +82 -0
  41. package/dist/next/config/ovok-config.d.ts +42 -0
  42. package/dist/next/config/ovok-config.js +2 -0
  43. package/dist/next/config/settings.d.ts +6 -0
  44. package/dist/next/config/settings.js +74 -0
  45. package/dist/next/errors/error-from-response.d.ts +2 -0
  46. package/dist/next/errors/error-from-response.js +35 -0
  47. package/dist/next/errors/ovok-errors.d.ts +42 -0
  48. package/dist/next/errors/ovok-errors.js +74 -0
  49. package/dist/next/http/http-client.d.ts +35 -0
  50. package/dist/next/http/http-client.js +113 -0
  51. package/dist/next/http/retry-after.d.ts +1 -0
  52. package/dist/next/http/retry-after.js +16 -0
  53. package/dist/next/http/retry-policy.d.ts +13 -0
  54. package/dist/next/http/retry-policy.js +27 -0
  55. package/dist/next/http/transmit.d.ts +14 -0
  56. package/dist/next/http/transmit.js +57 -0
  57. package/dist/next/http/url.d.ts +6 -0
  58. package/dist/next/http/url.js +22 -0
  59. package/dist/next/index.d.ts +69 -0
  60. package/dist/next/index.js +33 -0
  61. package/dist/next/ovok.d.ts +52 -0
  62. package/dist/next/ovok.js +74 -0
  63. package/dist/next/paging/bundle-page.d.ts +4 -0
  64. package/dist/next/paging/bundle-page.js +25 -0
  65. package/dist/next/paging/cursor-pages.d.ts +7 -0
  66. package/dist/next/paging/cursor-pages.js +14 -0
  67. package/dist/next/paging/numbered-pages.d.ts +15 -0
  68. package/dist/next/paging/numbered-pages.js +20 -0
  69. package/dist/next/paging/page.d.ts +12 -0
  70. package/dist/next/paging/page.js +17 -0
  71. package/dist/next/resources/accounts/accounts-resource.d.ts +8 -0
  72. package/dist/next/resources/accounts/accounts-resource.js +13 -0
  73. package/dist/next/resources/ai/ai-chat-resource.d.ts +8 -0
  74. package/dist/next/resources/ai/ai-chat-resource.js +12 -0
  75. package/dist/next/resources/ai/ai-resource.d.ts +16 -0
  76. package/dist/next/resources/ai/ai-resource.js +19 -0
  77. package/dist/next/resources/ai/chat-messages-resource.d.ts +9 -0
  78. package/dist/next/resources/ai/chat-messages-resource.js +18 -0
  79. package/dist/next/resources/ai/chat-sessions-resource.d.ts +14 -0
  80. package/dist/next/resources/ai/chat-sessions-resource.js +23 -0
  81. package/dist/next/resources/auth/auth-sessions-resource.d.ts +13 -0
  82. package/dist/next/resources/auth/auth-sessions-resource.js +25 -0
  83. package/dist/next/resources/auth/registration.d.ts +35 -0
  84. package/dist/next/resources/auth/registration.js +24 -0
  85. package/dist/next/resources/auth/social-login.d.ts +8 -0
  86. package/dist/next/resources/auth/social-login.js +7 -0
  87. package/dist/next/resources/auth-resource.d.ts +63 -0
  88. package/dist/next/resources/auth-resource.js +119 -0
  89. package/dist/next/resources/bots/bots-resource.d.ts +10 -0
  90. package/dist/next/resources/bots/bots-resource.js +15 -0
  91. package/dist/next/resources/cms/cms-delivery.d.ts +22 -0
  92. package/dist/next/resources/cms/cms-delivery.js +36 -0
  93. package/dist/next/resources/cms/cms-documents-resource.d.ts +11 -0
  94. package/dist/next/resources/cms/cms-documents-resource.js +17 -0
  95. package/dist/next/resources/cms/cms-resource.d.ts +17 -0
  96. package/dist/next/resources/cms/cms-resource.js +38 -0
  97. package/dist/next/resources/cms/payload-pages.d.ts +6 -0
  98. package/dist/next/resources/cms/payload-pages.js +15 -0
  99. package/dist/next/resources/cms/release-notes-resource.d.ts +10 -0
  100. package/dist/next/resources/cms/release-notes-resource.js +15 -0
  101. package/dist/next/resources/cms/translation-tree.d.ts +3 -0
  102. package/dist/next/resources/cms/translation-tree.js +45 -0
  103. package/dist/next/resources/consent/consent-resource.d.ts +23 -0
  104. package/dist/next/resources/consent/consent-resource.js +43 -0
  105. package/dist/next/resources/content/content-resource.d.ts +19 -0
  106. package/dist/next/resources/content/content-resource.js +41 -0
  107. package/dist/next/resources/documents/documents-resource.d.ts +26 -0
  108. package/dist/next/resources/documents/documents-resource.js +41 -0
  109. package/dist/next/resources/email/email-resource.d.ts +6 -0
  110. package/dist/next/resources/email/email-resource.js +10 -0
  111. package/dist/next/resources/email/email-templates-resource.d.ts +8 -0
  112. package/dist/next/resources/email/email-templates-resource.js +13 -0
  113. package/dist/next/resources/fhir-resource.d.ts +28 -0
  114. package/dist/next/resources/fhir-resource.js +64 -0
  115. package/dist/next/resources/health-resource.d.ts +17 -0
  116. package/dist/next/resources/health-resource.js +14 -0
  117. package/dist/next/resources/invites/invite-flow-resource.d.ts +12 -0
  118. package/dist/next/resources/invites/invite-flow-resource.js +19 -0
  119. package/dist/next/resources/invites/invites-resource.d.ts +17 -0
  120. package/dist/next/resources/invites/invites-resource.js +14 -0
  121. package/dist/next/resources/localization/i18next-resource.d.ts +10 -0
  122. package/dist/next/resources/localization/i18next-resource.js +18 -0
  123. package/dist/next/resources/localization/locales-resource.d.ts +9 -0
  124. package/dist/next/resources/localization/locales-resource.js +16 -0
  125. package/dist/next/resources/localization/localizations-resource.d.ts +17 -0
  126. package/dist/next/resources/localization/localizations-resource.js +27 -0
  127. package/dist/next/resources/measurements/measurements-resource.d.ts +42 -0
  128. package/dist/next/resources/measurements/measurements-resource.js +77 -0
  129. package/dist/next/resources/measurements/observation-builder.d.ts +5 -0
  130. package/dist/next/resources/measurements/observation-builder.js +57 -0
  131. package/dist/next/resources/measurements/save-error.d.ts +5 -0
  132. package/dist/next/resources/measurements/save-error.js +18 -0
  133. package/dist/next/resources/measurements/signed-in-account.d.ts +11 -0
  134. package/dist/next/resources/measurements/signed-in-account.js +26 -0
  135. package/dist/next/resources/patient/fhir-records.d.ts +19 -0
  136. package/dist/next/resources/patient/fhir-records.js +33 -0
  137. package/dist/next/resources/patient/patient-resource.d.ts +21 -0
  138. package/dist/next/resources/patient/patient-resource.js +38 -0
  139. package/dist/next/resources/projects/project-features-resource.d.ts +9 -0
  140. package/dist/next/resources/projects/project-features-resource.js +17 -0
  141. package/dist/next/resources/projects/project-members-resource.d.ts +19 -0
  142. package/dist/next/resources/projects/project-members-resource.js +25 -0
  143. package/dist/next/resources/projects/project-settings-resource.d.ts +10 -0
  144. package/dist/next/resources/projects/project-settings-resource.js +21 -0
  145. package/dist/next/resources/projects/projects-resource.d.ts +20 -0
  146. package/dist/next/resources/projects/projects-resource.js +21 -0
  147. package/dist/next/resources/questionnaires/questionnaires-resource.d.ts +18 -0
  148. package/dist/next/resources/questionnaires/questionnaires-resource.js +36 -0
  149. package/dist/next/resources/sharing/sharing-invites-resource.d.ts +9 -0
  150. package/dist/next/resources/sharing/sharing-invites-resource.js +17 -0
  151. package/dist/next/resources/sharing/sharing-resource.d.ts +10 -0
  152. package/dist/next/resources/sharing/sharing-resource.js +14 -0
  153. package/dist/next/resources/sharing/sharing-settings-resource.d.ts +9 -0
  154. package/dist/next/resources/sharing/sharing-settings-resource.js +16 -0
  155. package/dist/next/resources/sharing/sharing-shares-resource.d.ts +9 -0
  156. package/dist/next/resources/sharing/sharing-shares-resource.js +27 -0
  157. package/dist/next/resources/signals/signals-gateway-resource.d.ts +14 -0
  158. package/dist/next/resources/signals/signals-gateway-resource.js +44 -0
  159. package/dist/next/resources/signals/signals-resource.d.ts +13 -0
  160. package/dist/next/resources/signals/signals-resource.js +19 -0
  161. package/dist/next/resources/signals/undeliverable-resource.d.ts +26 -0
  162. package/dist/next/resources/signals/undeliverable-resource.js +18 -0
  163. package/dist/next/resources/slim/live-reads.d.ts +12 -0
  164. package/dist/next/resources/slim/live-reads.js +76 -0
  165. package/dist/next/resources/slim/slim-alarms-resource.d.ts +13 -0
  166. package/dist/next/resources/slim/slim-alarms-resource.js +25 -0
  167. package/dist/next/resources/slim/slim-change-history-resource.d.ts +9 -0
  168. package/dist/next/resources/slim/slim-change-history-resource.js +19 -0
  169. package/dist/next/resources/slim/slim-child-projects-resource.d.ts +17 -0
  170. package/dist/next/resources/slim/slim-child-projects-resource.js +22 -0
  171. package/dist/next/resources/slim/slim-devices-resource.d.ts +28 -0
  172. package/dist/next/resources/slim/slim-devices-resource.js +80 -0
  173. package/dist/next/resources/slim/slim-exports-resource.d.ts +8 -0
  174. package/dist/next/resources/slim/slim-exports-resource.js +14 -0
  175. package/dist/next/resources/slim/slim-locations-resource.d.ts +14 -0
  176. package/dist/next/resources/slim/slim-locations-resource.js +30 -0
  177. package/dist/next/resources/slim/slim-medical-notifications-resource.d.ts +18 -0
  178. package/dist/next/resources/slim/slim-medical-notifications-resource.js +46 -0
  179. package/dist/next/resources/slim/slim-notification-notes-resource.d.ts +12 -0
  180. package/dist/next/resources/slim/slim-notification-notes-resource.js +34 -0
  181. package/dist/next/resources/slim/slim-notifications-resource.d.ts +19 -0
  182. package/dist/next/resources/slim/slim-notifications-resource.js +26 -0
  183. package/dist/next/resources/slim/slim-organizations-resource.d.ts +11 -0
  184. package/dist/next/resources/slim/slim-organizations-resource.js +25 -0
  185. package/dist/next/resources/slim/slim-out-of-bed-resource.d.ts +13 -0
  186. package/dist/next/resources/slim/slim-out-of-bed-resource.js +20 -0
  187. package/dist/next/resources/slim/slim-paths.d.ts +6 -0
  188. package/dist/next/resources/slim/slim-paths.js +9 -0
  189. package/dist/next/resources/slim/slim-patient-thresholds-resource.d.ts +10 -0
  190. package/dist/next/resources/slim/slim-patient-thresholds-resource.js +20 -0
  191. package/dist/next/resources/slim/slim-patients-resource.d.ts +20 -0
  192. package/dist/next/resources/slim/slim-patients-resource.js +39 -0
  193. package/dist/next/resources/slim/slim-policies-resource.d.ts +12 -0
  194. package/dist/next/resources/slim/slim-policies-resource.js +29 -0
  195. package/dist/next/resources/slim/slim-practitioners-resource.d.ts +8 -0
  196. package/dist/next/resources/slim/slim-practitioners-resource.js +14 -0
  197. package/dist/next/resources/slim/slim-projects-resource.d.ts +16 -0
  198. package/dist/next/resources/slim/slim-projects-resource.js +35 -0
  199. package/dist/next/resources/slim/slim-queries.d.ts +34 -0
  200. package/dist/next/resources/slim/slim-queries.js +2 -0
  201. package/dist/next/resources/slim/slim-resource.d.ts +38 -0
  202. package/dist/next/resources/slim/slim-resource.js +44 -0
  203. package/dist/next/resources/slim/slim-sleep-resource.d.ts +9 -0
  204. package/dist/next/resources/slim/slim-sleep-resource.js +15 -0
  205. package/dist/next/resources/slim/slim-thresholds-resource.d.ts +11 -0
  206. package/dist/next/resources/slim/slim-thresholds-resource.js +18 -0
  207. package/dist/next/resources/slim/slim-trends-resource.d.ts +11 -0
  208. package/dist/next/resources/slim/slim-trends-resource.js +19 -0
  209. package/dist/next/resources/slim/slim-users-resource.d.ts +11 -0
  210. package/dist/next/resources/slim/slim-users-resource.js +15 -0
  211. package/dist/next/resources/slim/slim-zones-resource.d.ts +12 -0
  212. package/dist/next/resources/slim/slim-zones-resource.js +24 -0
  213. package/dist/next/resources/video-calls/video-call-access-resource.d.ts +11 -0
  214. package/dist/next/resources/video-calls/video-call-access-resource.js +19 -0
  215. package/dist/next/resources/video-calls/video-call-appointments-resource.d.ts +10 -0
  216. package/dist/next/resources/video-calls/video-call-appointments-resource.js +21 -0
  217. package/dist/next/resources/video-calls/video-call-emails-resource.d.ts +10 -0
  218. package/dist/next/resources/video-calls/video-call-emails-resource.js +19 -0
  219. package/dist/next/resources/video-calls/video-calls-resource.d.ts +14 -0
  220. package/dist/next/resources/video-calls/video-calls-resource.js +20 -0
  221. package/dist/next/resources/wearables/wearable-connections-resource.d.ts +12 -0
  222. package/dist/next/resources/wearables/wearable-connections-resource.js +25 -0
  223. package/dist/next/resources/wearables/wearable-providers-resource.d.ts +12 -0
  224. package/dist/next/resources/wearables/wearable-providers-resource.js +27 -0
  225. package/dist/next/resources/wearables/wearables-resource.d.ts +8 -0
  226. package/dist/next/resources/wearables/wearables-resource.js +14 -0
  227. package/dist/next/storage/ovok-storage.d.ts +11 -0
  228. package/dist/next/storage/ovok-storage.js +19 -0
  229. package/dist/types/MeasurementTypes.d.ts +5 -0
  230. package/dist/types/MeasurementTypes.js +21 -0
  231. package/dist/types/index.d.ts +1 -5
  232. package/dist/types/index.js +1 -5
  233. package/next/index.d.ts +1 -0
  234. package/next/index.js +3 -0
  235. 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);
@@ -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 "../client/observation/types/MeasurementTypeKey";
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";
@@ -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("../client/observation/types/MeasurementTypeKey"), exports);
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
@@ -0,0 +1 @@
1
+ export * from "../dist/next/index";
package/next/index.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ module.exports = require("../dist/next/index.js");
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@ovok/core",
3
- "version": "0.4.49-dev.495+2f9a307",
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",