gdc-sdk-node-ts 2.1.0 → 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 -25
- package/dist/node-runtime-client.js +205 -439
- 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,6 +71,8 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
70
71
|
private readonly requestTimeoutMs;
|
|
71
72
|
private readonly httpTraceFile?;
|
|
72
73
|
private readonly tokenCache;
|
|
74
|
+
private readonly paths;
|
|
75
|
+
private get transportConfig();
|
|
73
76
|
/**
|
|
74
77
|
* @param options.baseUrl Gateway base URL without trailing slash.
|
|
75
78
|
* @param options.interopMode Optional runtime interoperability mode from the SDK config layer (`demo`, `compat`, `strict`).
|
|
@@ -338,10 +341,8 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
338
341
|
searchIndividualLicenseOrders(ctx: RouteContext, input: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
339
342
|
listIndividualLicenseOrders(ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
340
343
|
/**
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* Current GW CORE does not yet expose a stable lifecycle route for
|
|
344
|
-
* `RelatedPerson` / individual-member purge.
|
|
344
|
+
* Purges one previously disabled `RelatedPerson` membership/contact through
|
|
345
|
+
* the explicit public purge path.
|
|
345
346
|
*/
|
|
346
347
|
purgeIndividualMember(ctx: RouteContext, input: IndividualMemberLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
347
348
|
/**
|
|
@@ -423,27 +424,11 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
423
424
|
private buildHeaders;
|
|
424
425
|
private fetchWithTimeout;
|
|
425
426
|
private parseResponseBody;
|
|
426
|
-
private requireRouteContext;
|
|
427
|
-
private routeCtxFromInput;
|
|
428
427
|
/**
|
|
429
428
|
* Reuses the shared bundle business contract while keeping attachment
|
|
430
429
|
* transport fields at the DIDComm/plaintext message layer expected by GW.
|
|
431
430
|
*/
|
|
432
431
|
private wrapBundleAsGatewayTransactionMessage;
|
|
433
|
-
private hostRegistryPath;
|
|
434
|
-
/**
|
|
435
|
-
* Resolves the host route segment without forcing callers to remember whether
|
|
436
|
-
* the same raw string is named `hostNetwork` or `sector` in a given layer.
|
|
437
|
-
*
|
|
438
|
-
* Step by step:
|
|
439
|
-
* - host routes use `/host/cds-{jurisdiction}/v1/{host-network}`
|
|
440
|
-
* - tenant routes use `/{tenantId}/cds-{jurisdiction}/v1/{tenant-sector}`
|
|
441
|
-
* - older live tests and adapters sometimes passed the host segment under
|
|
442
|
-
* `sector`, which is semantically wrong for host routes
|
|
443
|
-
* - new code should prefer `hostNetwork`
|
|
444
|
-
* - compatibility code may pass `hostNetworkOrTenantSector`
|
|
445
|
-
*/
|
|
446
|
-
private requireHostRouteContext;
|
|
447
432
|
hostRegistryOrganizationTransactionPath(ctx?: HostRouteContext): string;
|
|
448
433
|
hostRegistryOrganizationTransactionPollPath(ctx?: HostRouteContext): string;
|
|
449
434
|
hostRegistryOrganizationIssuePath(ctx?: HostRouteContext): string;
|
|
@@ -506,10 +491,6 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
506
491
|
identityDeviceDcrPollPath(ctx: RouteContext): string;
|
|
507
492
|
identityOpenIdSmartTokenPath(ctx: RouteContext): string;
|
|
508
493
|
identityOpenIdSmartTokenPollPath(ctx: RouteContext): string;
|
|
509
|
-
private appendHttpTrace;
|
|
510
|
-
private parseTraceBody;
|
|
511
|
-
private parseTraceRawText;
|
|
512
|
-
private redactTraceValue;
|
|
513
494
|
}
|
|
514
495
|
/**
|
|
515
496
|
* @deprecated Prefer `HttpRuntimeClient`.
|