gdc-sdk-node-ts 2.3.8 → 2.3.10
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/README.md +2 -2
- package/dist/family-organization-search.d.ts +1 -1
- package/dist/family-organization-search.js +1 -1
- package/dist/individual-start.d.ts +1 -1
- package/dist/orchestration/individual-member-sdk.d.ts +7 -1
- package/dist/orchestration/individual-member-sdk.js +8 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -457,13 +457,13 @@ Use this package when your backend needs to:
|
|
|
457
457
|
## What This Package Does Not Own
|
|
458
458
|
|
|
459
459
|
- the canonical invitation/OTP/PIN contract
|
|
460
|
-
-
|
|
460
|
+
- application-specific reminder runtime semantics
|
|
461
461
|
- frontend session UX
|
|
462
462
|
|
|
463
463
|
Those belong to:
|
|
464
464
|
|
|
465
465
|
- `gdc-sdk-core-ts` for shared contracts
|
|
466
|
-
- runtime extensions
|
|
466
|
+
- runtime extensions for product-specific behavior
|
|
467
467
|
- `gdc-sdk-front-ts` for frontend-facing consumption
|
|
468
468
|
|
|
469
469
|
## Minimal Examples
|
|
@@ -21,7 +21,7 @@ type SearchFamilyOrganizationWithDeps = {
|
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Searches one existing family/individual organization registration by the
|
|
24
|
-
* current phone-first business key used by
|
|
24
|
+
* current phone-first business key used by extension channel flows.
|
|
25
25
|
*
|
|
26
26
|
* Returns one normalized summary when the registration exists, otherwise
|
|
27
27
|
* `null`.
|
|
@@ -4,7 +4,7 @@ import { ClaimsOrganizationSchemaorg, ClaimsServiceSchemaorg } from 'gdc-common-
|
|
|
4
4
|
import { resolvePollOptionsFromSeconds } from './poll-options.js';
|
|
5
5
|
/**
|
|
6
6
|
* Searches one existing family/individual organization registration by the
|
|
7
|
-
* current phone-first business key used by
|
|
7
|
+
* current phone-first business key used by extension channel flows.
|
|
8
8
|
*
|
|
9
9
|
* Returns one normalized summary when the registration exists, otherwise
|
|
10
10
|
* `null`.
|
|
@@ -48,7 +48,7 @@ export type IndividualOrganizationBootstrapInput = {
|
|
|
48
48
|
*
|
|
49
49
|
* Telephone-driven onboarding is not required by CORE GW. Keep this only for
|
|
50
50
|
* deployments that add phone-first notification or consent extensions such as
|
|
51
|
-
*
|
|
51
|
+
* a product gateway extension.
|
|
52
52
|
*/
|
|
53
53
|
controllerTelephone?: string;
|
|
54
54
|
controllerRole?: string;
|
|
@@ -2,10 +2,16 @@ import { type IndividualMemberCredentialInput, type IndividualMemberVpPayloadInp
|
|
|
2
2
|
import { type NodeRuntimeClient } from './client-port.js';
|
|
3
3
|
import type { SmartTokenExchangeResult, SmartTokenRequestInput } from '../smart-token.js';
|
|
4
4
|
import type { RouteContext } from '../individual-onboarding.js';
|
|
5
|
-
import type { ClinicalBundleSearchInput, ClinicalSectionUpdateInput, ClinicalSummaryReadResult, ClinicalSummaryRequestInput, ClinicalSummaryUpdateInput, CommunicationIngestionInput, RelatedPersonUpsertInput } from '../resource-operations.js';
|
|
5
|
+
import type { ClinicalBundleSearchInput, ClinicalSectionUpdateInput, ClinicalSummaryReadResult, ClinicalSummaryRequestInput, ClinicalSummaryUpdateInput, CommunicationIngestionInput, IndividualMemberLicenseTransitionInput, RelatedPersonUpsertInput } from '../resource-operations.js';
|
|
6
6
|
export declare class IndividualMemberSdk {
|
|
7
7
|
private readonly client;
|
|
8
8
|
constructor(client: NodeRuntimeClient);
|
|
9
|
+
/**
|
|
10
|
+
* Accepts one controller-issued invitation as the authenticated individual
|
|
11
|
+
* member. The trusted runtime supplies the verified actor identifier; the
|
|
12
|
+
* invitation alone never widens later Consent-derived SMART scopes.
|
|
13
|
+
*/
|
|
14
|
+
acceptMemberInvitation(ctx: RouteContext, input: IndividualMemberLicenseTransitionInput): Promise<import("gdc-sdk-core-ts/polling-model.js").SubmitAndPollResult>;
|
|
9
15
|
/**
|
|
10
16
|
* Compatibility adapter for the older direct `RelatedPerson` route.
|
|
11
17
|
*
|
|
@@ -5,6 +5,14 @@ export class IndividualMemberSdk {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* Accepts one controller-issued invitation as the authenticated individual
|
|
10
|
+
* member. The trusted runtime supplies the verified actor identifier; the
|
|
11
|
+
* invitation alone never widens later Consent-derived SMART scopes.
|
|
12
|
+
*/
|
|
13
|
+
acceptMemberInvitation(ctx, input) {
|
|
14
|
+
return requireClientMethod(this.client, 'transitionIndividualMemberLicense')(ctx, '_accept', input);
|
|
15
|
+
}
|
|
8
16
|
/**
|
|
9
17
|
* Compatibility adapter for the older direct `RelatedPerson` route.
|
|
10
18
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-node-ts",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
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.",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc -p tsconfig.json",
|
|
15
15
|
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
16
|
-
"
|
|
16
|
+
"check:product-neutrality": "node scripts/check-product-neutrality.mjs",
|
|
17
|
+
"prepublishOnly": "npm run check:product-neutrality && npm run type-check && npm test",
|
|
17
18
|
"local:close": "PORTS=3000 bash ./scripts/local-close.sh",
|
|
18
19
|
"docker:close": "PORTS=8000 bash ./scripts/local-close.sh",
|
|
19
20
|
"test": "npm run build && node --test tests/*.test.mjs",
|
|
@@ -36,8 +37,8 @@
|
|
|
36
37
|
"test:e2e:live-gw:clean": "bash ./scripts/run-live-gw-clean.sh"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"gdc-common-utils-ts": "^2.3.
|
|
40
|
-
"gdc-sdk-core-ts": "~2.3.
|
|
40
|
+
"gdc-common-utils-ts": "^2.3.15",
|
|
41
|
+
"gdc-sdk-core-ts": "~2.3.10"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@types/node": "^20.14.10",
|