gdc-sdk-node-ts 0.9.1 → 2.0.2
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 +153 -2
- package/dist/backend-profile-runtime.d.ts +214 -0
- package/dist/backend-profile-runtime.js +436 -0
- package/dist/consent-claim-helpers.d.ts +2 -1
- package/dist/constants/lifecycle.d.ts +1 -0
- package/dist/constants/lifecycle.js +2 -0
- package/dist/gdc-session-bridge.js +6 -2
- package/dist/host-onboarding.d.ts +6 -39
- package/dist/host-onboarding.js +8 -38
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/individual-controller-backend-runtime.d.ts +46 -0
- package/dist/individual-controller-backend-runtime.js +53 -0
- package/dist/individual-onboarding.d.ts +1 -0
- package/dist/individual-onboarding.js +1 -0
- package/dist/individual-start.d.ts +1 -10
- package/dist/legacy-compat.d.ts +2 -0
- package/dist/legacy-compat.js +1 -0
- package/dist/node-runtime-client.d.ts +141 -10
- package/dist/node-runtime-client.js +337 -26
- package/dist/orchestration/client-port.d.ts +46 -2
- package/dist/orchestration/host-onboarding-sdk.d.ts +16 -4
- package/dist/orchestration/host-onboarding-sdk.js +22 -1
- package/dist/orchestration/individual-controller-sdk.d.ts +41 -1
- package/dist/orchestration/individual-controller-sdk.js +58 -0
- package/dist/orchestration/organization-controller-sdk.d.ts +79 -2
- package/dist/orchestration/organization-controller-sdk.js +101 -0
- package/dist/orchestration/personal-sdk.d.ts +19 -1
- package/dist/orchestration/personal-sdk.js +36 -0
- package/dist/orchestration/professional-sdk.d.ts +6 -1
- package/dist/orchestration/professional-sdk.js +7 -0
- package/dist/order-offer-summary.d.ts +6 -0
- package/dist/order-offer-summary.js +11 -0
- package/dist/organization-license-order.d.ts +40 -0
- package/dist/organization-license-order.js +42 -0
- package/dist/resource-operations.d.ts +204 -1
- package/dist/resource-operations.js +213 -14
- package/dist/session.js +1 -1
- package/package.json +17 -4
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
+
import { loadBackendIndividualControllerProfile, } from './backend-profile-runtime.js';
|
|
3
|
+
/**
|
|
4
|
+
* Backend use-case facade for the current individual-controller baseline.
|
|
5
|
+
*
|
|
6
|
+
* This class does not redefine the generic backend profile runtime. It wraps
|
|
7
|
+
* that runtime with the current stable CORE-facing actions that backend
|
|
8
|
+
* consumers need first:
|
|
9
|
+
*
|
|
10
|
+
* - load an individual-controller profile
|
|
11
|
+
* - start individual registration/bootstrap
|
|
12
|
+
* - confirm the returned order/offer
|
|
13
|
+
* - search the subject clinical index
|
|
14
|
+
* - request the latest IPS-oriented bundle
|
|
15
|
+
*/
|
|
16
|
+
export class IndividualControllerBackendRuntime {
|
|
17
|
+
constructor(profileRuntime) {
|
|
18
|
+
this.profileRuntime = profileRuntime;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Loads one individual-controller backend profile and materializes its actor
|
|
22
|
+
* facade in one step.
|
|
23
|
+
*/
|
|
24
|
+
loadProfile(input) {
|
|
25
|
+
return loadBackendIndividualControllerProfile(this.profileRuntime, input);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Starts the current CORE individual/family bootstrap flow.
|
|
29
|
+
*/
|
|
30
|
+
startIndividualOrganization(profile, input) {
|
|
31
|
+
return profile.sdk.startIndividualOrganization(input);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Confirms the order returned by the individual bootstrap flow.
|
|
35
|
+
*/
|
|
36
|
+
confirmIndividualOrganizationOrder(profile, input) {
|
|
37
|
+
return profile.sdk.confirmIndividualOrganizationOrder(input);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Searches the current subject clinical bundle index through the loaded
|
|
41
|
+
* individual-controller facade.
|
|
42
|
+
*/
|
|
43
|
+
searchClinicalBundle(profile, ctx, input) {
|
|
44
|
+
return profile.sdk.searchClinicalBundle(ctx, input);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Reads the latest IPS-oriented bundle through the loaded
|
|
48
|
+
* individual-controller facade.
|
|
49
|
+
*/
|
|
50
|
+
getLatestIps(profile, ctx, input) {
|
|
51
|
+
return profile.sdk.getLatestIps(ctx, input);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -8,6 +8,7 @@ export async function confirmIndividualOrganizationOrderWithDeps(deps) {
|
|
|
8
8
|
const orderClaims = {
|
|
9
9
|
'@context': 'org.schema',
|
|
10
10
|
'Order.acceptedOffer.identifier': offerId,
|
|
11
|
+
...(deps.input.additionalClaims || {}),
|
|
11
12
|
};
|
|
12
13
|
const payload = {
|
|
13
14
|
jti: `jti-${createRuntimeUuid()}`,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PollOptions, SubmitAndPollResult } from './orchestration/client-port.js';
|
|
2
2
|
import type { RouteContext } from './individual-onboarding.js';
|
|
3
|
+
import type { OfferPreview } from './order-offer-summary.js';
|
|
3
4
|
export type IndividualOrganizationBootstrapInput = {
|
|
4
5
|
/**
|
|
5
6
|
* Preferred route identifier for the selected personal indexing service provider.
|
|
@@ -54,16 +55,6 @@ export type IndividualOrganizationBootstrapInput = {
|
|
|
54
55
|
timeoutSeconds?: number;
|
|
55
56
|
intervalSeconds?: number;
|
|
56
57
|
};
|
|
57
|
-
export type OfferPreview = {
|
|
58
|
-
offerId?: string;
|
|
59
|
-
amount?: string;
|
|
60
|
-
currency?: string;
|
|
61
|
-
seats?: number | undefined;
|
|
62
|
-
planName?: string;
|
|
63
|
-
sku?: string;
|
|
64
|
-
paymentMethod?: string;
|
|
65
|
-
checkoutUrl?: string;
|
|
66
|
-
};
|
|
67
58
|
export type IndividualOrganizationStartResult = {
|
|
68
59
|
registration: SubmitAndPollResult;
|
|
69
60
|
offerId: string;
|
package/dist/legacy-compat.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { activateEmployeeDeviceWithActivationRequestWithDeps as activateEmployeeDeviceWithActivationCodeSimpleWithDeps, } from './device-activation.js';
|
|
2
2
|
export { confirmLegalOrganizationOrderWithDeps as confirmLegalOrganizationOrderSimpleWithDeps, } from './host-onboarding.js';
|
|
3
3
|
export { confirmIndividualOrganizationOrderWithDeps as confirmIndividualOrganizationOrderSimpleWithDeps, } from './individual-onboarding.js';
|
|
4
|
+
export { confirmOrganizationLicenseOrderWithDeps as confirmOrganizationLicenseOrderSimpleWithDeps, } from './organization-license-order.js';
|
|
4
5
|
export { requestSmartTokenWithDeps as requestSmartTokenSimpleWithDeps, } from './smart-token.js';
|
|
5
6
|
export { startIndividualOrganizationWithDeps as startIndividualOrganizationSimpleWithDeps, } from './individual-start.js';
|
|
6
7
|
export { grantProfessionalAccessWithDeps as grantProfessionalAccessSimpleWithDeps } from './resource-operations.js';
|
|
@@ -8,6 +9,7 @@ export { resolvePollOptionsFromSeconds as resolveSimplePollOptions } from './pol
|
|
|
8
9
|
export type { EmployeeDeviceActivationRequestInput as EmployeeDeviceActivationSimpleInput, } from './device-activation.js';
|
|
9
10
|
export type { LegalOrganizationOrderInput as LegalOrganizationOrderSimpleInput, } from './host-onboarding.js';
|
|
10
11
|
export type { IndividualOrganizationConfirmOrderInput as IndividualOrganizationConfirmOrderSimpleInput, } from './individual-onboarding.js';
|
|
12
|
+
export type { OrganizationLicenseOrderConfirmInput as OrganizationLicenseOrderConfirmSimpleInput, } from './organization-license-order.js';
|
|
11
13
|
export type { IndividualOrganizationBootstrapInput as IndividualOrganizationBootstrapSimpleInput, IndividualOrganizationStartResult as IndividualOrganizationStartSimpleResult, } from './individual-start.js';
|
|
12
14
|
export type { SmartTokenRequestInput as SmartTokenRequestSimpleInput, } from './smart-token.js';
|
|
13
15
|
export type { GrantProfessionalAccessInput as GrantProfessionalAccessSimpleInput, GrantProfessionalAccessResult as GrantProfessionalAccessSimpleResult, } from './resource-operations.js';
|
package/dist/legacy-compat.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export { activateEmployeeDeviceWithActivationRequestWithDeps as activateEmployeeDeviceWithActivationCodeSimpleWithDeps, } from './device-activation.js';
|
|
4
4
|
export { confirmLegalOrganizationOrderWithDeps as confirmLegalOrganizationOrderSimpleWithDeps, } from './host-onboarding.js';
|
|
5
5
|
export { confirmIndividualOrganizationOrderWithDeps as confirmIndividualOrganizationOrderSimpleWithDeps, } from './individual-onboarding.js';
|
|
6
|
+
export { confirmOrganizationLicenseOrderWithDeps as confirmOrganizationLicenseOrderSimpleWithDeps, } from './organization-license-order.js';
|
|
6
7
|
export { requestSmartTokenWithDeps as requestSmartTokenSimpleWithDeps, } from './smart-token.js';
|
|
7
8
|
export { startIndividualOrganizationWithDeps as startIndividualOrganizationSimpleWithDeps, } from './individual-start.js';
|
|
8
9
|
export { grantProfessionalAccessWithDeps as grantProfessionalAccessSimpleWithDeps } from './resource-operations.js';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { OrganizationDidBindingInput } from 'gdc-sdk-core-ts';
|
|
1
2
|
import type { AppInfo } from 'gdc-sdk-core-ts';
|
|
2
3
|
import { type ResolvedAppInfo } from 'gdc-sdk-core-ts';
|
|
3
|
-
import { type HostRouteContext } from './host-onboarding.js';
|
|
4
|
-
import type { NodeOrganizationActivationInput } from './orchestration/client-port.js';
|
|
4
|
+
import { type HostRouteContext, type HostedTenantLifecycleInput } from './host-onboarding.js';
|
|
5
|
+
import type { NodeLegalOrganizationVerificationTransactionInput, NodeOrganizationDidBindingInput, NodeOrganizationActivationInput } from './orchestration/client-port.js';
|
|
5
6
|
import { type IndividualOrganizationConfirmOrderInput, type RouteContext } from './individual-onboarding.js';
|
|
6
7
|
import { type SmartTokenRequestInput } from './smart-token.js';
|
|
8
|
+
import { type OrganizationLicenseOrderConfirmInput } from './organization-license-order.js';
|
|
7
9
|
import { type IndividualOrganizationBootstrapInput, type IndividualOrganizationStartResult } from './individual-start.js';
|
|
8
|
-
import { type CommunicationIngestionInput, type ClinicalBundleSearchInput, type GrantProfessionalAccessInput, type GrantProfessionalAccessResult, type IndividualMemberLifecycleInput, type IndividualOrganizationLifecycleInput, type OrganizationEmployeeCreationInput, type OrganizationEmployeeLifecycleInput, type OrganizationEmployeeSearchInput, type RelatedPersonUpsertInput } from './resource-operations.js';
|
|
10
|
+
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 RelatedPersonUpsertInput } from './resource-operations.js';
|
|
9
11
|
import type { LegalOrganizationOrderInput } from './host-onboarding.js';
|
|
10
12
|
import type { SmartTokenExchangeResult } from './smart-token.js';
|
|
11
13
|
import type { NodeRuntimeClient, PollOptions, PollResult, SubmitAndPollResult, SubmitPayload, SubmitResponse } from './orchestration/client-port.js';
|
|
@@ -108,15 +110,70 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
108
110
|
* Convenience wrapper that performs submit and poll in sequence.
|
|
109
111
|
*/
|
|
110
112
|
submitAndPoll(submitPath: string, pollPath: string, payload: SubmitPayload, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
113
|
+
/**
|
|
114
|
+
* Starts the host-side legal-organization verification transaction that GW
|
|
115
|
+
* CORE forwards to ICA `_verify`.
|
|
116
|
+
*
|
|
117
|
+
* Runtime ownership:
|
|
118
|
+
* - builds the canonical shared business bundle from `sdk-core/common-utils`
|
|
119
|
+
* - keeps communication/runtime transport concerns at the outer message layer
|
|
120
|
+
* - keeps the controller business key inside the submitted bundle payload
|
|
121
|
+
*
|
|
122
|
+
* Flow separation:
|
|
123
|
+
* - `_transaction` is the first host onboarding step
|
|
124
|
+
* - `_activate` remains a later step that consumes the ICA proof
|
|
125
|
+
*/
|
|
126
|
+
submitLegalOrganizationVerificationTransaction(hostCtx: HostRouteContext, input: NodeLegalOrganizationVerificationTransactionInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
127
|
+
/**
|
|
128
|
+
* Submits one tenant-scoped DID document binding request.
|
|
129
|
+
*
|
|
130
|
+
* Binding semantics:
|
|
131
|
+
* - the tenant path identifies the existing organization
|
|
132
|
+
* - `organization.url` carries the public alias/domain list
|
|
133
|
+
* - `controller.sameAs` is optional corroborating identity material
|
|
134
|
+
* - the flow does not rotate or replace organization public keys
|
|
135
|
+
*/
|
|
136
|
+
submitOrganizationDidBinding(ctx: RouteContext, input: NodeOrganizationDidBindingInput | OrganizationDidBindingInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
111
137
|
/**
|
|
112
138
|
* Activates a legal organization in the gateway host registry using an ICA
|
|
113
139
|
* proof token already obtained by the caller.
|
|
140
|
+
*
|
|
141
|
+
* Plaintext transport note:
|
|
142
|
+
* - this Node runtime currently submits `_activate` as
|
|
143
|
+
* `application/didcomm-plaintext+json`
|
|
144
|
+
* - because there is no real outer JWS/JWE envelope in that mode, the
|
|
145
|
+
* runtime mirrors the technical communication metadata derived from
|
|
146
|
+
* `controller.publicKeyJwk` / `controller.jwks` into `meta.jws.protected`
|
|
147
|
+
* and `meta.jwe.header`
|
|
148
|
+
* - secure JOSE transports should carry those values in the real protected
|
|
149
|
+
* headers instead of plaintext `meta`
|
|
150
|
+
* - this mirrored metadata is transport fallback only; the canonical
|
|
151
|
+
* activation contract remains `body.vp_token` plus `body.controller.*`
|
|
114
152
|
*/
|
|
115
153
|
activateOrganizationInGatewayFromIcaProof(hostCtx: HostRouteContext, input: NodeOrganizationActivationInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
116
154
|
/**
|
|
117
155
|
* Confirms a host-side legal organization order after the initial activation.
|
|
118
156
|
*/
|
|
119
157
|
confirmLegalOrganizationOrder(hostCtx: HostRouteContext, input: LegalOrganizationOrderInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
158
|
+
/**
|
|
159
|
+
* Disables the host registration itself after every hosted tenant has
|
|
160
|
+
* already been purged from the host registry.
|
|
161
|
+
*/
|
|
162
|
+
disableHost(hostCtx: HostRouteContext, input: HostedTenantLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
163
|
+
/**
|
|
164
|
+
* Purges the disabled host registration after the hosted tenant registry has
|
|
165
|
+
* become empty.
|
|
166
|
+
*/
|
|
167
|
+
purgeHost(hostCtx: HostRouteContext, input: HostedTenantLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
168
|
+
/**
|
|
169
|
+
* Disables one hosted tenant through the host registry after its descendants
|
|
170
|
+
* have already been disabled/purged.
|
|
171
|
+
*/
|
|
172
|
+
disableTenant(hostCtx: HostRouteContext, input: HostedTenantLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
173
|
+
/**
|
|
174
|
+
* Purges one already-disabled hosted tenant through the host registry.
|
|
175
|
+
*/
|
|
176
|
+
purgeTenant(hostCtx: HostRouteContext, input: HostedTenantLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
120
177
|
/**
|
|
121
178
|
* Creates an employee or professional entry under an existing organization tenant.
|
|
122
179
|
*/
|
|
@@ -147,6 +204,31 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
147
204
|
* Searches employees/professionals under the selected organization tenant.
|
|
148
205
|
*/
|
|
149
206
|
searchOrganizationEmployees(ctx: RouteContext, input: OrganizationEmployeeSearchInput): Promise<SubmitAndPollResult>;
|
|
207
|
+
/**
|
|
208
|
+
* Searches organization-owned license seats through the canonical
|
|
209
|
+
* `License/_search` route.
|
|
210
|
+
*/
|
|
211
|
+
searchOrganizationLicenses(ctx: RouteContext, input: LicenseListRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
212
|
+
/**
|
|
213
|
+
* Lists organization-owned license seats using the same `License/_search`
|
|
214
|
+
* route with optional filters.
|
|
215
|
+
*/
|
|
216
|
+
listOrganizationLicenses(ctx: RouteContext, input?: LicenseListRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
217
|
+
searchOrganizationLicenseOffers(ctx: RouteContext, input: LicenseOfferRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
218
|
+
listOrganizationLicenseOffers(ctx: RouteContext, input?: LicenseOfferRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
219
|
+
searchOrganizationLicenseOrders(ctx: RouteContext, input: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
220
|
+
listOrganizationLicenseOrders(ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
221
|
+
/**
|
|
222
|
+
* Confirms an already paid organization-side license order so additional
|
|
223
|
+
* seats become usable once GW CORE exposes the public converged route.
|
|
224
|
+
*
|
|
225
|
+
* Current runtime note:
|
|
226
|
+
* - search/list for organization license offers and orders already works
|
|
227
|
+
* - the public/write post-payment seat activation route is not wired yet
|
|
228
|
+
* - this method therefore fails explicitly instead of guessing a transport
|
|
229
|
+
* contract that is not stable in GW CORE
|
|
230
|
+
*/
|
|
231
|
+
confirmOrganizationLicenseOrder(ctx: RouteContext, input: OrganizationLicenseOrderConfirmInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
150
232
|
/**
|
|
151
233
|
* Starts the onboarding flow for an individual-oriented tenant or index.
|
|
152
234
|
*/
|
|
@@ -178,19 +260,31 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
178
260
|
*/
|
|
179
261
|
purgeIndividual(ctx: RouteContext, input: IndividualOrganizationLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
180
262
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
|
|
184
|
-
|
|
263
|
+
* Soft-disables a `RelatedPerson` membership/contact using the current
|
|
264
|
+
* public batch-update path and `RelatedPerson.active = false`.
|
|
265
|
+
*/
|
|
266
|
+
disableIndividualMember(ctx: RouteContext, input: IndividualMemberLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
267
|
+
/**
|
|
268
|
+
* Searches individual/family-side license seats through the canonical
|
|
269
|
+
* `License/_search` route.
|
|
270
|
+
*/
|
|
271
|
+
searchIndividualLicenses(ctx: RouteContext, input: LicenseListRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
272
|
+
/**
|
|
273
|
+
* Lists individual/family-side license seats using the same search route
|
|
274
|
+
* with optional filters.
|
|
185
275
|
*/
|
|
186
|
-
|
|
276
|
+
listIndividualLicenses(ctx: RouteContext, input?: LicenseListRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
277
|
+
searchIndividualLicenseOffers(ctx: RouteContext, input: LicenseOfferRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
278
|
+
listIndividualLicenseOffers(ctx: RouteContext, input?: LicenseOfferRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
279
|
+
searchIndividualLicenseOrders(ctx: RouteContext, input: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
280
|
+
listIndividualLicenseOrders(ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
187
281
|
/**
|
|
188
282
|
* Placeholder for a future GW CORE member/caregiver lifecycle contract.
|
|
189
283
|
*
|
|
190
284
|
* Current GW CORE does not yet expose a stable lifecycle route for
|
|
191
285
|
* `RelatedPerson` / individual-member purge.
|
|
192
286
|
*/
|
|
193
|
-
purgeIndividualMember(
|
|
287
|
+
purgeIndividualMember(ctx: RouteContext, input: IndividualMemberLifecycleInput, pollOptions?: PollOptions): Promise<SubmitAndPollResult>;
|
|
194
288
|
/**
|
|
195
289
|
* Creates and submits a consent-oriented access grant for a professional actor.
|
|
196
290
|
*/
|
|
@@ -217,6 +311,11 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
217
311
|
* @param input Communication payload plus route/format options.
|
|
218
312
|
*/
|
|
219
313
|
ingestCommunicationAndUpdateIndex(ctx: RouteContext, input: CommunicationIngestionInput): Promise<SubmitAndPollResult>;
|
|
314
|
+
/**
|
|
315
|
+
* Searches communication channel records by subject and participant
|
|
316
|
+
* identifiers through `Communication/_search`.
|
|
317
|
+
*/
|
|
318
|
+
searchCommunicationParticipants(ctx: RouteContext, input: CommunicationParticipantRuntimeSearchInput): Promise<SubmitAndPollResult>;
|
|
220
319
|
/**
|
|
221
320
|
* Alias for `ingestCommunicationAndUpdateIndex(...)`.
|
|
222
321
|
*
|
|
@@ -241,6 +340,10 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
241
340
|
* @param input Subject-scoped search parameters.
|
|
242
341
|
*/
|
|
243
342
|
searchLatestIps(ctx: RouteContext, input: Omit<ClinicalBundleSearchInput, 'includedTypes'>): Promise<SubmitAndPollResult>;
|
|
343
|
+
/**
|
|
344
|
+
* Preferred runtime alias for latest-IPS retrieval used by shared facades.
|
|
345
|
+
*/
|
|
346
|
+
getLatestIps(ctx: RouteContext, input: Omit<ClinicalBundleSearchInput, 'includedTypes'>): Promise<SubmitAndPollResult>;
|
|
244
347
|
/**
|
|
245
348
|
* Searches a communication/document thread using `thid` and returns the
|
|
246
349
|
* indexed communication/document projections.
|
|
@@ -258,16 +361,35 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
258
361
|
private parseResponseBody;
|
|
259
362
|
private requireRouteContext;
|
|
260
363
|
private routeCtxFromInput;
|
|
364
|
+
/**
|
|
365
|
+
* Reuses the shared bundle business contract while keeping attachment
|
|
366
|
+
* transport fields at the DIDComm/plaintext message layer expected by GW.
|
|
367
|
+
*/
|
|
368
|
+
private wrapBundleAsGatewayTransactionMessage;
|
|
261
369
|
private hostRegistryPath;
|
|
262
370
|
private requireHostRouteContext;
|
|
371
|
+
hostRegistryOrganizationTransactionPath(ctx?: HostRouteContext): string;
|
|
372
|
+
hostRegistryOrganizationTransactionPollPath(ctx?: HostRouteContext): string;
|
|
263
373
|
hostRegistryOrganizationActivatePath(ctx?: HostRouteContext): string;
|
|
264
374
|
hostRegistryOrganizationActivatePollPath(ctx?: HostRouteContext): string;
|
|
375
|
+
hostRegistryOrganizationDisablePath(ctx?: HostRouteContext): string;
|
|
376
|
+
hostRegistryOrganizationDisablePollPath(ctx?: HostRouteContext): string;
|
|
377
|
+
hostRegistryOrganizationPurgePath(ctx?: HostRouteContext): string;
|
|
378
|
+
hostRegistryOrganizationPurgePollPath(ctx?: HostRouteContext): string;
|
|
265
379
|
hostRegistryOrderBatchPath(ctx?: HostRouteContext): string;
|
|
266
380
|
hostRegistryOrderPollPath(ctx?: HostRouteContext): string;
|
|
267
381
|
employeeBatchPath(ctx?: RouteContext): string;
|
|
268
382
|
employeePollPath(ctx?: RouteContext): string;
|
|
269
383
|
employeeSearchPath(ctx?: RouteContext): string;
|
|
270
384
|
employeeSearchPollPath(ctx?: RouteContext): string;
|
|
385
|
+
organizationLicenseSearchPath(ctx?: RouteContext): string;
|
|
386
|
+
organizationLicenseSearchPollPath(ctx?: RouteContext): string;
|
|
387
|
+
organizationDidBindingPath(ctx?: RouteContext): string;
|
|
388
|
+
organizationDidBindingPollPath(ctx?: RouteContext): string;
|
|
389
|
+
organizationLicenseOfferSearchPath(ctx?: RouteContext): string;
|
|
390
|
+
organizationLicenseOfferSearchPollPath(ctx?: RouteContext): string;
|
|
391
|
+
organizationLicenseOrderSearchPath(ctx?: RouteContext): string;
|
|
392
|
+
organizationLicenseOrderSearchPollPath(ctx?: RouteContext): string;
|
|
271
393
|
employeePurgePath(ctx?: RouteContext): string;
|
|
272
394
|
employeePurgePollPath(ctx?: RouteContext): string;
|
|
273
395
|
individualFamilyOrganizationBatchPath(ctx?: RouteContext): string;
|
|
@@ -278,21 +400,30 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
278
400
|
individualFamilyOrganizationDisablePollPath(ctx?: RouteContext): string;
|
|
279
401
|
individualFamilyOrganizationPurgePath(ctx?: RouteContext): string;
|
|
280
402
|
individualFamilyOrganizationPurgePollPath(ctx?: RouteContext): string;
|
|
403
|
+
individualLicenseSearchPath(ctx?: RouteContext): string;
|
|
404
|
+
individualLicenseSearchPollPath(ctx?: RouteContext): string;
|
|
405
|
+
individualLicenseOfferSearchPath(ctx?: RouteContext): string;
|
|
406
|
+
individualLicenseOfferSearchPollPath(ctx?: RouteContext): string;
|
|
407
|
+
individualLicenseOrderSearchPath(ctx?: RouteContext): string;
|
|
408
|
+
individualLicenseOrderSearchPollPath(ctx?: RouteContext): string;
|
|
281
409
|
individualFamilyOrderBatchPath(ctx?: RouteContext): string;
|
|
282
410
|
individualFamilyOrderPollPath(ctx?: RouteContext): string;
|
|
283
411
|
individualRelatedPersonBatchPath(ctx?: RouteContext): string;
|
|
284
412
|
individualRelatedPersonPollPath(ctx?: RouteContext): string;
|
|
413
|
+
individualRelatedPersonPurgePath(ctx?: RouteContext): string;
|
|
414
|
+
individualRelatedPersonPurgePollPath(ctx?: RouteContext): string;
|
|
285
415
|
individualConsentR4BatchPath(ctx: RouteContext): string;
|
|
286
416
|
individualConsentR4PollPath(ctx: RouteContext): string;
|
|
287
417
|
individualCommunicationBatchPath(ctx: RouteContext, format: 'org.hl7.fhir.api' | 'org.hl7.fhir.r4'): string;
|
|
288
418
|
individualCommunicationPollPath(ctx: RouteContext, format: 'org.hl7.fhir.api' | 'org.hl7.fhir.r4'): string;
|
|
419
|
+
individualCommunicationSearchPath(ctx: RouteContext): string;
|
|
420
|
+
individualCommunicationSearchPollPath(ctx: RouteContext): string;
|
|
289
421
|
individualBundleSearchPath(ctx: RouteContext): string;
|
|
290
422
|
individualBundleSearchPollPath(ctx: RouteContext): string;
|
|
291
423
|
identityTokenExchangePath(ctx: RouteContext): string;
|
|
292
424
|
identityTokenExchangePollPath(ctx: RouteContext): string;
|
|
293
425
|
identityOpenIdSmartTokenPath(ctx: RouteContext): string;
|
|
294
426
|
identityOpenIdSmartTokenPollPath(ctx: RouteContext): string;
|
|
295
|
-
private extractOfferId;
|
|
296
427
|
private appendHttpTrace;
|
|
297
428
|
private parseTraceBody;
|
|
298
429
|
private parseTraceRawText;
|