@ovok/core 0.4.59-dev.560 → 0.4.59-dev.561
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/platform/methods.d.ts +20 -4
- package/dist/client/platform/methods.js +20 -4
- package/dist/client/wearables/methods.d.ts +10 -0
- package/dist/client/wearables/methods.js +10 -0
- package/dist/conformance/capability-requirements.js +1 -1
- package/dist/hooks/wearables-hooks.d.ts +8 -0
- package/dist/hooks/wearables-hooks.js +8 -0
- package/dist/next/resources/projects/project-members-resource.d.ts +1 -0
- package/dist/next/resources/projects/project-members-resource.js +1 -0
- package/dist/next/resources/projects/projects-resource.d.ts +5 -1
- package/dist/next/resources/wearables/wearable-providers-resource.d.ts +1 -0
- package/dist/next/resources/wearables/wearable-providers-resource.js +1 -0
- package/dist/next/resources/wearables/wearables-resource.d.ts +5 -1
- package/package.json +1 -1
|
@@ -8,7 +8,11 @@ export declare function listAdministeredProjects(this: OvokClient, params?: {
|
|
|
8
8
|
page?: number;
|
|
9
9
|
count?: number;
|
|
10
10
|
}, requestOptions?: MedplumRequestOptions): Promise<OvokPage<OvokAdministeredProject>>;
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Lists the members of the current project, via `GET /v1/projects/me/members`.
|
|
13
|
+
*
|
|
14
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
15
|
+
*/
|
|
12
16
|
export declare function listProjectMembers(this: OvokClient, params?: {
|
|
13
17
|
accessPolicyId?: string;
|
|
14
18
|
profileId?: string;
|
|
@@ -16,11 +20,23 @@ export declare function listProjectMembers(this: OvokClient, params?: {
|
|
|
16
20
|
page?: number;
|
|
17
21
|
count?: number;
|
|
18
22
|
}, requestOptions?: MedplumRequestOptions): Promise<OvokPage<OvokProjectMember>>;
|
|
19
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Invites a member to the current project, via `POST /v1/projects/me/members`.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
27
|
+
*/
|
|
20
28
|
export declare function inviteProjectMember(this: OvokClient, body: OvokInviteProjectMember, requestOptions?: MedplumRequestOptions): Promise<OvokProjectMemberResponse>;
|
|
21
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Updates a project member, via `PATCH /v1/projects/me/members/{membershipId}`.
|
|
31
|
+
*
|
|
32
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
33
|
+
*/
|
|
22
34
|
export declare function updateProjectMember(this: OvokClient, membershipId: string, body: OvokUpdateProjectMember, requestOptions?: MedplumRequestOptions): Promise<OvokProjectMemberResponse>;
|
|
23
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Removes a project member, via `DELETE /v1/projects/me/members/{membershipId}`.
|
|
37
|
+
*
|
|
38
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
39
|
+
*/
|
|
24
40
|
export declare function removeProjectMember(this: OvokClient, membershipId: string, requestOptions?: MedplumRequestOptions): Promise<OvokRemoveProjectMemberResponse>;
|
|
25
41
|
/** Reads the enabled features of the current project from `GET /v1/projects/me/features`. */
|
|
26
42
|
export declare function getProjectFeatures(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<OvokProjectFeatures>;
|
|
@@ -30,19 +30,35 @@ async function getAccounts(requestOptions) {
|
|
|
30
30
|
async function listAdministeredProjects(params = {}, requestOptions) {
|
|
31
31
|
return this.get(`/v1/projects${(0, query_string_1.toQueryString)(params)}`, ...(0, request_options_1.optionalArg)(requestOptions));
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Lists the members of the current project, via `GET /v1/projects/me/members`.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
37
|
+
*/
|
|
34
38
|
async function listProjectMembers(params = {}, requestOptions) {
|
|
35
39
|
return this.get(`/v1/projects/me/members${(0, query_string_1.toQueryString)(params)}`, ...(0, request_options_1.optionalArg)(requestOptions));
|
|
36
40
|
}
|
|
37
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Invites a member to the current project, via `POST /v1/projects/me/members`.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
45
|
+
*/
|
|
38
46
|
async function inviteProjectMember(body, requestOptions) {
|
|
39
47
|
return this.post("/v1/projects/me/members", body, undefined, requestOptions);
|
|
40
48
|
}
|
|
41
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Updates a project member, via `PATCH /v1/projects/me/members/{membershipId}`.
|
|
51
|
+
*
|
|
52
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
53
|
+
*/
|
|
42
54
|
async function updateProjectMember(membershipId, body, requestOptions) {
|
|
43
55
|
return (await this.patch(`/v1/projects/me/members/${encodeURIComponent(membershipId)}`, body, ...(0, request_options_1.optionalArg)(requestOptions)));
|
|
44
56
|
}
|
|
45
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Removes a project member, via `DELETE /v1/projects/me/members/{membershipId}`.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
61
|
+
*/
|
|
46
62
|
async function removeProjectMember(membershipId, requestOptions) {
|
|
47
63
|
return (await this.delete(`/v1/projects/me/members/${encodeURIComponent(membershipId)}`, ...(0, request_options_1.optionalArg)(requestOptions)));
|
|
48
64
|
}
|
|
@@ -3,22 +3,32 @@ import { OvokClient } from "../ovok-client";
|
|
|
3
3
|
import { CreateWearableProviderRequest, UpdateWearableProviderRequest, WearableConnectionAuthorization, WearableConnections, WearableProvider, WearableProviderSettings, WearableProviderSettingsList } from "./types";
|
|
4
4
|
/**
|
|
5
5
|
* Lists the project's wearable provider settings (`GET /v1/wearables/providers`).
|
|
6
|
+
*
|
|
7
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
6
8
|
*/
|
|
7
9
|
export declare function listWearableProviders(this: OvokClient, requestOptions?: MedplumRequestOptions): Promise<WearableProviderSettingsList>;
|
|
8
10
|
/**
|
|
9
11
|
* Reads one provider's settings (`GET /v1/wearables/providers/{provider}`).
|
|
12
|
+
*
|
|
13
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
10
14
|
*/
|
|
11
15
|
export declare function getWearableProvider(this: OvokClient, provider: WearableProvider, requestOptions?: MedplumRequestOptions): Promise<WearableProviderSettings>;
|
|
12
16
|
/**
|
|
13
17
|
* Configures a wearable provider (`POST /v1/wearables/providers`).
|
|
18
|
+
*
|
|
19
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
14
20
|
*/
|
|
15
21
|
export declare function createWearableProvider(this: OvokClient, body: CreateWearableProviderRequest, requestOptions?: MedplumRequestOptions): Promise<WearableProviderSettings>;
|
|
16
22
|
/**
|
|
17
23
|
* Changes a provider's settings (`PATCH /v1/wearables/providers/{provider}`).
|
|
24
|
+
*
|
|
25
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
18
26
|
*/
|
|
19
27
|
export declare function updateWearableProvider(this: OvokClient, provider: WearableProvider, body: UpdateWearableProviderRequest, requestOptions?: MedplumRequestOptions): Promise<WearableProviderSettings>;
|
|
20
28
|
/**
|
|
21
29
|
* Removes a provider's configuration (`DELETE /v1/wearables/providers/{provider}`).
|
|
30
|
+
*
|
|
31
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
22
32
|
*/
|
|
23
33
|
export declare function deleteWearableProvider(this: OvokClient, provider: WearableProvider, requestOptions?: MedplumRequestOptions): Promise<void>;
|
|
24
34
|
/**
|
|
@@ -19,18 +19,24 @@ const invalidateProviderSettings = (client, provider) => {
|
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* Lists the project's wearable provider settings (`GET /v1/wearables/providers`).
|
|
22
|
+
*
|
|
23
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
22
24
|
*/
|
|
23
25
|
function listWearableProviders(requestOptions) {
|
|
24
26
|
return this.get("/v1/wearables/providers", ...(0, request_options_1.optionalArg)(requestOptions));
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
27
29
|
* Reads one provider's settings (`GET /v1/wearables/providers/{provider}`).
|
|
30
|
+
*
|
|
31
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
28
32
|
*/
|
|
29
33
|
function getWearableProvider(provider, requestOptions) {
|
|
30
34
|
return this.get(providerPath(provider), ...(0, request_options_1.optionalArg)(requestOptions));
|
|
31
35
|
}
|
|
32
36
|
/**
|
|
33
37
|
* Configures a wearable provider (`POST /v1/wearables/providers`).
|
|
38
|
+
*
|
|
39
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
34
40
|
*/
|
|
35
41
|
function createWearableProvider(body, requestOptions) {
|
|
36
42
|
return this.post("/v1/wearables/providers", body, undefined, requestOptions).then((settings) => {
|
|
@@ -40,6 +46,8 @@ function createWearableProvider(body, requestOptions) {
|
|
|
40
46
|
}
|
|
41
47
|
/**
|
|
42
48
|
* Changes a provider's settings (`PATCH /v1/wearables/providers/{provider}`).
|
|
49
|
+
*
|
|
50
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
43
51
|
*/
|
|
44
52
|
async function updateWearableProvider(provider, body, requestOptions) {
|
|
45
53
|
const settings = await this.patch(providerPath(provider), body, ...(0, request_options_1.optionalArg)(requestOptions));
|
|
@@ -48,6 +56,8 @@ async function updateWearableProvider(provider, body, requestOptions) {
|
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
50
58
|
* Removes a provider's configuration (`DELETE /v1/wearables/providers/{provider}`).
|
|
59
|
+
*
|
|
60
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
51
61
|
*/
|
|
52
62
|
async function deleteWearableProvider(provider, requestOptions) {
|
|
53
63
|
await this.delete(providerPath(provider), ...(0, request_options_1.optionalArg)(requestOptions));
|
|
@@ -26,7 +26,7 @@ exports.OVOK_CORE_REQUIREMENTS = {
|
|
|
26
26
|
description: "The FHIR surface a server must provide for the @ovok/core client library's own methods to function.",
|
|
27
27
|
software: {
|
|
28
28
|
name: "@ovok/core",
|
|
29
|
-
version: "0.4.59-dev.
|
|
29
|
+
version: "0.4.59-dev.561+d548a55",
|
|
30
30
|
},
|
|
31
31
|
fhirVersion: "4.0.1",
|
|
32
32
|
format: ["json"],
|
|
@@ -2,6 +2,8 @@ import { CreateWearableProviderRequest, UpdateWearableProviderRequest, WearableC
|
|
|
2
2
|
import { OvokMutationState, OvokRequestState } from "./api-hooks";
|
|
3
3
|
/**
|
|
4
4
|
* Loads the wearable provider settings via `client.listWearableProviders`; reloads when providers change.
|
|
5
|
+
*
|
|
6
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
5
7
|
*/
|
|
6
8
|
export declare const useWearableProviders: () => OvokRequestState<WearableProviderSettingsList>;
|
|
7
9
|
/**
|
|
@@ -10,10 +12,14 @@ export declare const useWearableProviders: () => OvokRequestState<WearableProvid
|
|
|
10
12
|
export declare const useWearableConnections: () => OvokRequestState<WearableConnections>;
|
|
11
13
|
/**
|
|
12
14
|
* Mutation that configures a wearable provider via `client.createWearableProvider`.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
13
17
|
*/
|
|
14
18
|
export declare const useCreateWearableProvider: () => OvokMutationState<CreateWearableProviderRequest, WearableProviderSettings>;
|
|
15
19
|
/**
|
|
16
20
|
* Mutation that changes a wearable provider's settings via `client.updateWearableProvider`.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
17
23
|
*/
|
|
18
24
|
export declare const useUpdateWearableProvider: () => OvokMutationState<{
|
|
19
25
|
/** Provider to update. */
|
|
@@ -23,6 +29,8 @@ export declare const useUpdateWearableProvider: () => OvokMutationState<{
|
|
|
23
29
|
}, WearableProviderSettings>;
|
|
24
30
|
/**
|
|
25
31
|
* Mutation that removes a wearable provider via `client.deleteWearableProvider`; its parameter is the provider.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
26
34
|
*/
|
|
27
35
|
export declare const useDeleteWearableProvider: () => OvokMutationState<WearableProvider, void>;
|
|
28
36
|
/**
|
|
@@ -41,6 +41,8 @@ const wearable_invalidation_1 = require("./wearable-invalidation");
|
|
|
41
41
|
const index_1 = require("./index");
|
|
42
42
|
/**
|
|
43
43
|
* Loads the wearable provider settings via `client.listWearableProviders`; reloads when providers change.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
44
46
|
*/
|
|
45
47
|
const useWearableProviders = () => {
|
|
46
48
|
const client = (0, index_1.useClient)();
|
|
@@ -61,6 +63,8 @@ const useWearableConnections = () => {
|
|
|
61
63
|
exports.useWearableConnections = useWearableConnections;
|
|
62
64
|
/**
|
|
63
65
|
* Mutation that configures a wearable provider via `client.createWearableProvider`.
|
|
66
|
+
*
|
|
67
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
64
68
|
*/
|
|
65
69
|
const useCreateWearableProvider = () => (0, api_hooks_1.useOvokMutation)(async (client, body) => {
|
|
66
70
|
const settings = await client.createWearableProvider(body);
|
|
@@ -70,6 +74,8 @@ const useCreateWearableProvider = () => (0, api_hooks_1.useOvokMutation)(async (
|
|
|
70
74
|
exports.useCreateWearableProvider = useCreateWearableProvider;
|
|
71
75
|
/**
|
|
72
76
|
* Mutation that changes a wearable provider's settings via `client.updateWearableProvider`.
|
|
77
|
+
*
|
|
78
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
73
79
|
*/
|
|
74
80
|
const useUpdateWearableProvider = () => (0, api_hooks_1.useOvokMutation)(async (client, { provider, body }) => {
|
|
75
81
|
const settings = await client.updateWearableProvider(provider, body);
|
|
@@ -79,6 +85,8 @@ const useUpdateWearableProvider = () => (0, api_hooks_1.useOvokMutation)(async (
|
|
|
79
85
|
exports.useUpdateWearableProvider = useUpdateWearableProvider;
|
|
80
86
|
/**
|
|
81
87
|
* Mutation that removes a wearable provider via `client.deleteWearableProvider`; its parameter is the provider.
|
|
88
|
+
*
|
|
89
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
82
90
|
*/
|
|
83
91
|
const useDeleteWearableProvider = () => (0, api_hooks_1.useOvokMutation)(async (client, provider) => {
|
|
84
92
|
await client.deleteWearableProvider(provider);
|
|
@@ -22,6 +22,7 @@ export type ProjectMemberListQuery = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Members of the current project.
|
|
24
24
|
*
|
|
25
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
25
26
|
* @category projects
|
|
26
27
|
*/
|
|
27
28
|
export declare class ProjectMembersResource {
|
|
@@ -8,6 +8,7 @@ const memberPath = (membershipId) => `${MEMBERS_PATH}/${(0, url_1.pathSegment)(m
|
|
|
8
8
|
/**
|
|
9
9
|
* Members of the current project.
|
|
10
10
|
*
|
|
11
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
11
12
|
* @category projects
|
|
12
13
|
*/
|
|
13
14
|
class ProjectMembersResource {
|
|
@@ -23,7 +23,11 @@ export type ProjectListQuery = {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare class ProjectsResource {
|
|
25
25
|
private readonly http;
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Members of the current project.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated The route stops answering on 2026-12-01; manage project admins in the Ovok Console.
|
|
30
|
+
*/
|
|
27
31
|
readonly members: ProjectMembersResource;
|
|
28
32
|
/** Features enabled for the current project. */
|
|
29
33
|
readonly features: ProjectFeaturesResource;
|
|
@@ -4,6 +4,7 @@ import { RequestOptions } from "../../http/transmit";
|
|
|
4
4
|
/**
|
|
5
5
|
* Wearable provider settings.
|
|
6
6
|
*
|
|
7
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
7
8
|
* @category wearables
|
|
8
9
|
*/
|
|
9
10
|
export declare class WearableProvidersResource {
|
|
@@ -7,6 +7,7 @@ const providerPath = (provider) => `${PROVIDERS_PATH}/${(0, url_1.pathSegment)(p
|
|
|
7
7
|
/**
|
|
8
8
|
* Wearable provider settings.
|
|
9
9
|
*
|
|
10
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
10
11
|
* @category wearables
|
|
11
12
|
*/
|
|
12
13
|
class WearableProvidersResource {
|
|
@@ -7,7 +7,11 @@ import { WearableProvidersResource } from "./wearable-providers-resource";
|
|
|
7
7
|
* @category wearables
|
|
8
8
|
*/
|
|
9
9
|
export declare class WearablesResource {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Supported wearable providers.
|
|
12
|
+
*
|
|
13
|
+
* @deprecated The route stops answering on 2026-12-01; manage wearable providers in the Ovok Console.
|
|
14
|
+
*/
|
|
11
15
|
readonly providers: WearableProvidersResource;
|
|
12
16
|
/** Wearable connections. */
|
|
13
17
|
readonly connections: WearableConnectionsResource;
|