gdc-sdk-node-ts 2.9.25 → 2.9.27
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IndividualMemberCredentialInput, type IndividualMemberVpPayloadInput } from 'gdc-common-utils-ts';
|
|
2
|
-
import { type NodeRuntimeClient } from './client-port.js';
|
|
2
|
+
import { type NodeRuntimeClient, type SubmitAndPollResult } from './client-port.js';
|
|
3
3
|
import type { SmartTokenExchangeResult, SmartTokenRequestInput } from '../smart-token.js';
|
|
4
4
|
import type { RouteContext } from '../individual-onboarding.js';
|
|
5
5
|
import type { ClinicalBundleSearchInput, ClinicalSectionUpdateInput, SubjectSectionUpdateInput, ClinicalSummaryReadResult, ClinicalSummaryRequestInput, ClinicalSummaryUpdateInput, CommunicationIngestionInput, IndividualMemberLicenseTransitionInput, RelatedPersonUpsertInput } from '../resource-operations.js';
|
|
@@ -11,14 +11,14 @@ export declare class IndividualMemberSdk {
|
|
|
11
11
|
* member. The trusted runtime supplies the verified actor identifier; the
|
|
12
12
|
* invitation alone never widens later Consent-derived SMART scopes.
|
|
13
13
|
*/
|
|
14
|
-
acceptMemberInvitation(ctx: RouteContext, input: IndividualMemberLicenseTransitionInput): Promise<
|
|
14
|
+
acceptMemberInvitation(ctx: RouteContext, input: IndividualMemberLicenseTransitionInput): Promise<SubmitAndPollResult>;
|
|
15
15
|
/**
|
|
16
16
|
* Compatibility adapter for the older direct `RelatedPerson` route.
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Author a typed RelatedPerson Bundle, attach it to a
|
|
19
19
|
* Communication outbox job, and call `ingestCommunicationAndUpdateIndex(...)`.
|
|
20
20
|
*/
|
|
21
|
-
upsertRelatedPersonAndPoll(ctx: RouteContext, input: RelatedPersonUpsertInput): Promise<
|
|
21
|
+
upsertRelatedPersonAndPoll(ctx: RouteContext, input: RelatedPersonUpsertInput): Promise<SubmitAndPollResult>;
|
|
22
22
|
/**
|
|
23
23
|
* Requests a SMART token for a non-employee actor such as a `RelatedPerson`
|
|
24
24
|
* caregiver, guardian, or family member.
|
|
@@ -28,19 +28,19 @@ export declare class IndividualMemberSdk {
|
|
|
28
28
|
* Writes clinical content for a subject only after GW authorizes this member's
|
|
29
29
|
* SMART token and accepted RelatedPerson/Consent relationship.
|
|
30
30
|
*/
|
|
31
|
-
ingestCommunicationAndUpdateIndex(ctx: RouteContext, input: CommunicationIngestionInput): Promise<
|
|
31
|
+
ingestCommunicationAndUpdateIndex(ctx: RouteContext, input: CommunicationIngestionInput): Promise<SubmitAndPollResult>;
|
|
32
32
|
/** Updates one authorized clinical section through a scoped batch/collection. */
|
|
33
|
-
updateClinicalSection(ctx: RouteContext, input: ClinicalSectionUpdateInput): Promise<
|
|
33
|
+
updateClinicalSection(ctx: RouteContext, input: ClinicalSectionUpdateInput): Promise<SubmitAndPollResult>;
|
|
34
34
|
/** Updates one authorized subject-owned section with its profile attester. */
|
|
35
|
-
updateSubjectSection(ctx: RouteContext, input: SubjectSectionUpdateInput): Promise<
|
|
35
|
+
updateSubjectSection(ctx: RouteContext, input: SubjectSectionUpdateInput): Promise<SubmitAndPollResult>;
|
|
36
36
|
/** Updates an authorized multi-section summary document. */
|
|
37
|
-
updateClinicalSummary(ctx: RouteContext, input: ClinicalSummaryUpdateInput): Promise<
|
|
37
|
+
updateClinicalSummary(ctx: RouteContext, input: ClinicalSummaryUpdateInput): Promise<SubmitAndPollResult>;
|
|
38
38
|
/** Reads the member-authorized `$summary` document without mutating the subject index. */
|
|
39
39
|
requestClinicalSummary(ctx: RouteContext, input: ClinicalSummaryRequestInput): Promise<ClinicalSummaryReadResult>;
|
|
40
40
|
/** Reads subject-scoped clinical documents permitted to this member. */
|
|
41
|
-
searchClinicalBundle(ctx: RouteContext, input: ClinicalBundleSearchInput): Promise<
|
|
41
|
+
searchClinicalBundle(ctx: RouteContext, input: ClinicalBundleSearchInput): Promise<SubmitAndPollResult>;
|
|
42
42
|
/** Reads the latest permitted IPS document for the selected subject. */
|
|
43
|
-
getLatestIps(ctx: RouteContext, input: Omit<ClinicalBundleSearchInput, 'includedTypes'>): Promise<
|
|
43
|
+
getLatestIps(ctx: RouteContext, input: Omit<ClinicalBundleSearchInput, 'includedTypes'>): Promise<SubmitAndPollResult>;
|
|
44
44
|
/**
|
|
45
45
|
* Returns the normalized public continuity aliases that would be embedded in
|
|
46
46
|
* the individual-member identity VC for SMART/OpenID4VP flows.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
2
|
import { buildIndividualMemberIdentityVpPayload, buildUnsignedIndividualMemberIdentityVpJwt, getIndividualMemberIdentitySameAs, getIndividualMemberIdentityVC, } from 'gdc-common-utils-ts';
|
|
3
|
-
import { requireClientMethod } from './client-port.js';
|
|
3
|
+
import { requireClientMethod, } from './client-port.js';
|
|
4
4
|
export class IndividualMemberSdk {
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-node-ts",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.27",
|
|
4
4
|
"description": "Next-generation Node runtime package for the GDC SDK family",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Antifraud Services Inc.",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test:e2e:live-gw:clean": "bash ./scripts/run-live-gw-clean.sh"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"gdc-common-utils-ts": "2.9.
|
|
42
|
-
"gdc-sdk-core-ts": "2.9.
|
|
41
|
+
"gdc-common-utils-ts": "2.9.25",
|
|
42
|
+
"gdc-sdk-core-ts": "2.9.11"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^20.14.10",
|