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.
@@ -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,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
- * Placeholder for a future GW CORE member/caregiver lifecycle contract.
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`.