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.
@@ -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 IndividualOrganizationLifecycleInput, type LicenseListRuntimeSearchInput, type LicenseOfferRuntimeSearchInput, type LicenseOrderRuntimeSearchInput, type OrganizationEmployeeCreationInput, type OrganizationEmployeeLifecycleInput, type OrganizationEmployeeSearchInput, type RevokeProfessionalAccessInput, type RevokeProfessionalAccessResult, type RelatedPersonUpsertInput } from './resource-operations.js';
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 warnedDefaultHostNetwork;
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
- * Placeholder for a future GW CORE member/caregiver lifecycle contract.
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`.