gdc-sdk-node-ts 2.1.1 → 2.1.4
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/node-runtime-client.d.ts +6 -27
- package/dist/node-runtime-client.js +205 -460
- package/dist/orchestration/client-port.d.ts +2 -2
- package/dist/orchestration/individual-controller-sdk.d.ts +6 -9
- package/dist/orchestration/individual-controller-sdk.js +4 -8
- package/dist/orchestration/professional-sdk.d.ts +25 -0
- package/dist/orchestration/professional-sdk.js +29 -0
- package/dist/resource-operations.d.ts +8 -25
- package/dist/resource-operations.js +5 -2
- package/dist/runtime-client-paths.d.ts +79 -0
- package/dist/runtime-client-paths.js +93 -0
- package/dist/runtime-consent.d.ts +7 -0
- package/dist/runtime-consent.js +21 -0
- package/dist/runtime-host-submission.d.ts +62 -0
- package/dist/runtime-host-submission.js +82 -0
- package/dist/runtime-http-trace.d.ts +4 -0
- package/dist/runtime-http-trace.js +44 -0
- package/dist/runtime-message.d.ts +10 -0
- package/dist/runtime-message.js +19 -0
- package/dist/runtime-paths.d.ts +12 -0
- package/dist/runtime-paths.js +41 -0
- package/dist/runtime-route-context.d.ts +20 -0
- package/dist/runtime-route-context.js +51 -0
- package/dist/runtime-transport.d.ts +22 -0
- package/dist/runtime-transport.js +91 -0
- package/dist/smart-token.d.ts +8 -29
- package/dist/smart-token.js +28 -3
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OrganizationDidBindingInput } from 'gdc-sdk-core-ts';
|
|
2
2
|
import type { AppInfo } from 'gdc-sdk-core-ts';
|
|
3
|
+
import type { IndividualOrganizationLifecycleInput } from 'gdc-sdk-core-ts';
|
|
3
4
|
import { type ResolvedAppInfo } from 'gdc-sdk-core-ts';
|
|
4
5
|
import { type HostRouteContext, type HostedTenantLifecycleInput } from './host-onboarding.js';
|
|
5
6
|
import type { NodeLegalOrganizationVerificationTransactionInput, NodeOrganizationDidBindingInput, NodeOrganizationActivationInput } from './orchestration/client-port.js';
|
|
@@ -9,7 +10,7 @@ import { type FamilyOrganizationSearchInput } from './family-organization-search
|
|
|
9
10
|
import { type SmartTokenRequestInput } from './smart-token.js';
|
|
10
11
|
import { type OrganizationLicenseOrderConfirmInput } from './organization-license-order.js';
|
|
11
12
|
import { type IndividualOrganizationBootstrapInput, type IndividualOrganizationStartResult } from './individual-start.js';
|
|
12
|
-
import { type CommunicationIngestionInput, type CommunicationParticipantRuntimeSearchInput, type ClinicalBundleSearchInput, type GrantProfessionalAccessInput, type GrantProfessionalAccessResult, type IndividualMemberLifecycleInput, type
|
|
13
|
+
import { type CommunicationIngestionInput, type CommunicationParticipantRuntimeSearchInput, type ClinicalBundleSearchInput, type GrantProfessionalAccessInput, type GrantProfessionalAccessResult, type IndividualMemberLifecycleInput, type LicenseListRuntimeSearchInput, type LicenseOfferRuntimeSearchInput, type LicenseOrderRuntimeSearchInput, type OrganizationEmployeeCreationInput, type OrganizationEmployeeLifecycleInput, type OrganizationEmployeeSearchInput, type RevokeProfessionalAccessInput, type RevokeProfessionalAccessResult, type RelatedPersonUpsertInput } from './resource-operations.js';
|
|
13
14
|
import type { LegalOrganizationOrderInput } from './host-onboarding.js';
|
|
14
15
|
import type { SmartTokenExchangeResult } from './smart-token.js';
|
|
15
16
|
import type { NodeRuntimeClient, PollOptions, PollResult, SubmitAndPollResult, SubmitPayload, SubmitResponse } from './orchestration/client-port.js';
|
|
@@ -70,7 +71,8 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
70
71
|
private readonly requestTimeoutMs;
|
|
71
72
|
private readonly httpTraceFile?;
|
|
72
73
|
private readonly tokenCache;
|
|
73
|
-
private
|
|
74
|
+
private readonly paths;
|
|
75
|
+
private get transportConfig();
|
|
74
76
|
/**
|
|
75
77
|
* @param options.baseUrl Gateway base URL without trailing slash.
|
|
76
78
|
* @param options.interopMode Optional runtime interoperability mode from the SDK config layer (`demo`, `compat`, `strict`).
|
|
@@ -339,10 +341,8 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
339
341
|
searchIndividualLicenseOrders(ctx: RouteContext, input: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
340
342
|
listIndividualLicenseOrders(ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
341
343
|
/**
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
* Current GW CORE does not yet expose a stable lifecycle route for
|
|
345
|
-
* `RelatedPerson` / individual-member purge.
|
|
344
|
+
* Purges one previously disabled `RelatedPerson` membership/contact through
|
|
345
|
+
* the explicit public purge path.
|
|
346
346
|
*/
|
|
347
347
|
purgeIndividualMember(ctx: RouteContext, input: IndividualMemberLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
348
348
|
/**
|
|
@@ -424,28 +424,11 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
424
424
|
private buildHeaders;
|
|
425
425
|
private fetchWithTimeout;
|
|
426
426
|
private parseResponseBody;
|
|
427
|
-
private requireRouteContext;
|
|
428
|
-
private routeCtxFromInput;
|
|
429
427
|
/**
|
|
430
428
|
* Reuses the shared bundle business contract while keeping attachment
|
|
431
429
|
* transport fields at the DIDComm/plaintext message layer expected by GW.
|
|
432
430
|
*/
|
|
433
431
|
private wrapBundleAsGatewayTransactionMessage;
|
|
434
|
-
private hostRegistryPath;
|
|
435
|
-
/**
|
|
436
|
-
* Resolves the host route segment without allowing tenant-route `sector`
|
|
437
|
-
* semantics to leak into host onboarding.
|
|
438
|
-
*
|
|
439
|
-
* Step by step:
|
|
440
|
-
* - host routes use `/host/cds-{jurisdiction}/v1/{host-network}`
|
|
441
|
-
* - tenant routes use `/{tenantId}/cds-{jurisdiction}/v1/{tenant-sector}`
|
|
442
|
-
* - passing the host segment under `sector` is rejected because that name is
|
|
443
|
-
* reserved for tenant business sectors such as `health-care`
|
|
444
|
-
* - compatibility code may still pass `hostNetworkOrTenantSector`, but the
|
|
445
|
-
* value must still be one of the allowed host runtime/network selectors
|
|
446
|
-
*/
|
|
447
|
-
private requireHostRouteContext;
|
|
448
|
-
private isSupportedHostNetwork;
|
|
449
432
|
hostRegistryOrganizationTransactionPath(ctx?: HostRouteContext): string;
|
|
450
433
|
hostRegistryOrganizationTransactionPollPath(ctx?: HostRouteContext): string;
|
|
451
434
|
hostRegistryOrganizationIssuePath(ctx?: HostRouteContext): string;
|
|
@@ -508,10 +491,6 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
508
491
|
identityDeviceDcrPollPath(ctx: RouteContext): string;
|
|
509
492
|
identityOpenIdSmartTokenPath(ctx: RouteContext): string;
|
|
510
493
|
identityOpenIdSmartTokenPollPath(ctx: RouteContext): string;
|
|
511
|
-
private appendHttpTrace;
|
|
512
|
-
private parseTraceBody;
|
|
513
|
-
private parseTraceRawText;
|
|
514
|
-
private redactTraceValue;
|
|
515
494
|
}
|
|
516
495
|
/**
|
|
517
496
|
* @deprecated Prefer `HttpRuntimeClient`.
|