@salesforce/lds-adapters-industries-public-sector 0.131.0
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/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-public-sector.js +4447 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/createBenefitDisbursements.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createCarePlanTasks.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getCarePlanBenefitSessionDetails.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getCarePlanDefinition.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getCarePlanDetails.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getCarePlanTasks.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getCarePlanTemplateDetails.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/postCarePlanDetails.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/postCarePlanTemplateDetails.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCarePlanDetails.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCarePlanTasks.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCareplanBenefitSessionByCarePlanId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCarePlansByCarePlanId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCarePlansTasksByCarePlanId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCareplanTemplatesByCarePlanTemplateId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCareplanDefinitionsByDefinitionId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCareplanCarePlansByCarePlanId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCareplanCarePlansTasksByCarePlanId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBenefitAssignmentBenefitDisbursementsByBenefitAssignmentId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCarePlans.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCarePlansTasksByCarePlanId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCareplanTemplatesActionsByActionTypeAndCarePlanTemplateId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemsRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/AdhocCarePlanTaskListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentInputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentRepresentation.d.ts +80 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementForBenefitSessionInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementsForBenefitSessionInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementsForBenefitSessionInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BenefitListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitOutputRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionInfoListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionInfoRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanDefinitionOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentation.d.ts +69 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanSessionEnrolleeInfoListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanSessionEnrolleeInfoRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTaskInputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTaskListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTaskListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTaskRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTasksInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTasksRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateAssociationsInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateAssociationsInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTemplateRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ExcludedCarePlanTaskInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/GenericOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentInputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentRepresentation.d.ts +87 -0
- package/dist/es/es2018/types/src/generated/types/GoalDefinitionListRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GoalDefinitionOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/es/es2018/types/src/main.d.ts +3 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +3 -0
- package/package.json +70 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4659 -0
- package/src/raml/api.raml +1351 -0
- package/src/raml/luvio.raml +123 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "public-sector";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { BenefitDisbursementsForBenefitSessionInputRepresentation as types_BenefitDisbursementsForBenefitSessionInputRepresentation_BenefitDisbursementsForBenefitSessionInputRepresentation } from '../types/BenefitDisbursementsForBenefitSessionInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectBenefitAssignmentBenefitDisbursementsByBenefitAssignmentId_ResourceRequestConfig } from '../resources/postConnectBenefitAssignmentBenefitDisbursementsByBenefitAssignmentId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createBenefitDisbursements";
|
|
7
|
+
export declare const createBenefitDisbursements_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateBenefitDisbursementsConfig {
|
|
9
|
+
benefitAssignmentId: string;
|
|
10
|
+
benefitDisbursementRecord: types_BenefitDisbursementsForBenefitSessionInputRepresentation_BenefitDisbursementsForBenefitSessionInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: CreateBenefitDisbursementsConfig): resources_postConnectBenefitAssignmentBenefitDisbursementsByBenefitAssignmentId_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateBenefitDisbursementsConfig>): adapter$45$utils_Untrusted<CreateBenefitDisbursementsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateBenefitDisbursementsConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateBenefitDisbursementsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
16
|
+
export declare const createBenefitDisbursementsAdapterFactory: $64$luvio_engine_AdapterFactory<CreateBenefitDisbursementsConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanTasksMapInputRepresentation as types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation } from '../types/CarePlanTasksMapInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig } from '../resources/postConnectCareplanCarePlansTasksByCarePlanId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createCarePlanTasks";
|
|
7
|
+
export declare const createCarePlanTasks_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateCarePlanTasksConfig {
|
|
9
|
+
carePlanId: string;
|
|
10
|
+
carePlanRecord: types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: CreateCarePlanTasksConfig): resources_postConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCarePlanTasksConfig>): adapter$45$utils_Untrusted<CreateCarePlanTasksConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCarePlanTasksConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCarePlanTasksConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
16
|
+
export declare const createCarePlanTasksAdapterFactory: $64$luvio_engine_AdapterFactory<CreateCarePlanTasksConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectCareplanBenefitSessionByCarePlanId_ResourceRequestConfig } from '../resources/getConnectCareplanBenefitSessionByCarePlanId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { CarePlanBenefitSessionOutputRepresentation as types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation } from '../types/CarePlanBenefitSessionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getCarePlanBenefitSessionDetails";
|
|
6
|
+
export declare const getCarePlanBenefitSessionDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetCarePlanBenefitSessionDetailsConfig {
|
|
8
|
+
carePlanId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetCarePlanBenefitSessionDetailsConfig): resources_getConnectCareplanBenefitSessionByCarePlanId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCarePlanBenefitSessionDetailsConfig>): adapter$45$utils_Untrusted<GetCarePlanBenefitSessionDetailsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCarePlanBenefitSessionDetailsConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig): $64$luvio_engine_Snapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig, resourceParams: resources_getConnectCareplanBenefitSessionByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig, resourceParams: resources_getConnectCareplanBenefitSessionByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanBenefitSessionDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetCarePlanBenefitSessionDetailsConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>): $64$luvio_engine_Snapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>;
|
|
26
|
+
export declare const getCarePlanBenefitSessionDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<GetCarePlanBenefitSessionDetailsConfig, types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectCareplanDefinitionsByDefinitionId_ResourceRequestConfig } from '../resources/getConnectCareplanDefinitionsByDefinitionId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { CarePlanDefinitionOutputRepresentation as types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, KeyParams as types_CarePlanDefinitionOutputRepresentation_KeyParams } from '../types/CarePlanDefinitionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getCarePlanDefinition";
|
|
6
|
+
export declare const getCarePlanDefinition_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetCarePlanDefinitionConfig {
|
|
8
|
+
definitionId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetCarePlanDefinitionConfig): resources_getConnectCareplanDefinitionsByDefinitionId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCarePlanDefinitionConfig>): adapter$45$utils_Untrusted<GetCarePlanDefinitionConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCarePlanDefinitionConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig): $64$luvio_engine_Snapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig, resourceParams: resources_getConnectCareplanDefinitionsByDefinitionId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig, resourceParams: resources_getConnectCareplanDefinitionsByDefinitionId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDefinitionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetCarePlanDefinitionConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>): $64$luvio_engine_Snapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>;
|
|
26
|
+
export declare const getCarePlanDefinitionAdapterFactory: $64$luvio_engine_AdapterFactory<GetCarePlanDefinitionConfig, types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>;
|
|
27
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_CarePlanDefinitionOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig } from '../resources/getConnectCareplanCarePlansByCarePlanId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { CarePlanRepresentation as types_CarePlanRepresentation_CarePlanRepresentation, KeyParams as types_CarePlanRepresentation_KeyParams } from '../types/CarePlanRepresentation';
|
|
5
|
+
export declare const adapterName = "getCarePlanDetails";
|
|
6
|
+
export declare const getCarePlanDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetCarePlanDetailsConfig {
|
|
8
|
+
carePlanId: string;
|
|
9
|
+
excludeCustomFields?: boolean;
|
|
10
|
+
excludeTaskInfo?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetCarePlanDetailsConfig): resources_getConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCarePlanDetailsConfig>): adapter$45$utils_Untrusted<GetCarePlanDetailsConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCarePlanDetailsConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig): $64$luvio_engine_Snapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig, resourceParams: resources_getConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanRepresentation_CarePlanRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig, resourceParams: resources_getConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetCarePlanDetailsConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CarePlanRepresentation_CarePlanRepresentation>): $64$luvio_engine_Snapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>;
|
|
28
|
+
export declare const getCarePlanDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<GetCarePlanDetailsConfig, types_CarePlanRepresentation_CarePlanRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_CarePlanRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig } from '../resources/getConnectCareplanCarePlansTasksByCarePlanId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { CarePlanTasksMapRepresentation as types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation } from '../types/CarePlanTasksMapRepresentation';
|
|
5
|
+
export declare const adapterName = "getCarePlanTasks";
|
|
6
|
+
export declare const getCarePlanTasks_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetCarePlanTasksConfig {
|
|
8
|
+
carePlanId: string;
|
|
9
|
+
pageOffset?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetCarePlanTasksConfig): resources_getConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCarePlanTasksConfig>): adapter$45$utils_Untrusted<GetCarePlanTasksConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCarePlanTasksConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig): $64$luvio_engine_Snapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig, resourceParams: resources_getConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig, resourceParams: resources_getConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTasksConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetCarePlanTasksConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>): $64$luvio_engine_Snapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>;
|
|
27
|
+
export declare const getCarePlanTasksAdapterFactory: $64$luvio_engine_AdapterFactory<GetCarePlanTasksConfig, types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectCareplanCareplanTemplatesByCarePlanTemplateId_ResourceRequestConfig } from '../resources/getConnectCareplanCareplanTemplatesByCarePlanTemplateId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { CarePlanTemplateRepresentation as types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, KeyParams as types_CarePlanTemplateRepresentation_KeyParams } from '../types/CarePlanTemplateRepresentation';
|
|
5
|
+
export declare const adapterName = "getCarePlanTemplateDetails";
|
|
6
|
+
export declare const getCarePlanTemplateDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetCarePlanTemplateDetailsConfig {
|
|
8
|
+
carePlanTemplateId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetCarePlanTemplateDetailsConfig): resources_getConnectCareplanCareplanTemplatesByCarePlanTemplateId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCarePlanTemplateDetailsConfig>): adapter$45$utils_Untrusted<GetCarePlanTemplateDetailsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCarePlanTemplateDetailsConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig): $64$luvio_engine_Snapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig, resourceParams: resources_getConnectCareplanCareplanTemplatesByCarePlanTemplateId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig, resourceParams: resources_getConnectCareplanCareplanTemplatesByCarePlanTemplateId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCarePlanTemplateDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetCarePlanTemplateDetailsConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>): $64$luvio_engine_Snapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>;
|
|
26
|
+
export declare const getCarePlanTemplateDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<GetCarePlanTemplateDetailsConfig, types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>;
|
|
27
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_CarePlanTemplateRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanInputRepresentation as types_CarePlanInputRepresentation_CarePlanInputRepresentation } from '../types/CarePlanInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectCareplanCarePlans_ResourceRequestConfig } from '../resources/postConnectCareplanCarePlans';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "postCarePlanDetails";
|
|
7
|
+
export declare const postCarePlanDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface PostCarePlanDetailsConfig {
|
|
9
|
+
carePlanRecord: types_CarePlanInputRepresentation_CarePlanInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: PostCarePlanDetailsConfig): resources_postConnectCareplanCarePlans_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostCarePlanDetailsConfig>): adapter$45$utils_Untrusted<PostCarePlanDetailsConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PostCarePlanDetailsConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PostCarePlanDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
15
|
+
export declare const postCarePlanDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<PostCarePlanDetailsConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanTemplateAssociationsInputRepresentation as types_CarePlanTemplateAssociationsInputRepresentation_CarePlanTemplateAssociationsInputRepresentation } from '../types/CarePlanTemplateAssociationsInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectCareplanCareplanTemplatesActionsByActionTypeAndCarePlanTemplateId_ResourceRequestConfig } from '../resources/postConnectCareplanCareplanTemplatesActionsByActionTypeAndCarePlanTemplateId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "postCarePlanTemplateDetails";
|
|
7
|
+
export declare const postCarePlanTemplateDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface PostCarePlanTemplateDetailsConfig {
|
|
9
|
+
actionType: string;
|
|
10
|
+
carePlanTemplateId: string;
|
|
11
|
+
carePlanTemplateRecord: types_CarePlanTemplateAssociationsInputRepresentation_CarePlanTemplateAssociationsInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare function createResourceParams(config: PostCarePlanTemplateDetailsConfig): resources_postConnectCareplanCareplanTemplatesActionsByActionTypeAndCarePlanTemplateId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostCarePlanTemplateDetailsConfig>): adapter$45$utils_Untrusted<PostCarePlanTemplateDetailsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PostCarePlanTemplateDetailsConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PostCarePlanTemplateDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
17
|
+
export declare const postCarePlanTemplateDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<PostCarePlanTemplateDetailsConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanInputRepresentation as types_CarePlanInputRepresentation_CarePlanInputRepresentation } from '../types/CarePlanInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig } from '../resources/patchConnectCareplanCarePlansByCarePlanId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "updateCarePlanDetails";
|
|
7
|
+
export declare const updateCarePlanDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateCarePlanDetailsConfig {
|
|
9
|
+
carePlanId: string;
|
|
10
|
+
carePlanRecord: types_CarePlanInputRepresentation_CarePlanInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: UpdateCarePlanDetailsConfig): resources_patchConnectCareplanCarePlansByCarePlanId_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateCarePlanDetailsConfig>): adapter$45$utils_Untrusted<UpdateCarePlanDetailsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateCarePlanDetailsConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateCarePlanDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
16
|
+
export declare const updateCarePlanDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateCarePlanDetailsConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanTasksMapInputRepresentation as types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation } from '../types/CarePlanTasksMapInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig } from '../resources/patchConnectCareplanCarePlansTasksByCarePlanId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "updateCarePlanTasks";
|
|
7
|
+
export declare const updateCarePlanTasks_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateCarePlanTasksConfig {
|
|
9
|
+
carePlanId: string;
|
|
10
|
+
carePlanRecord: types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: UpdateCarePlanTasksConfig): resources_patchConnectCareplanCarePlansTasksByCarePlanId_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateCarePlanTasksConfig>): adapter$45$utils_Untrusted<UpdateCarePlanTasksConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateCarePlanTasksConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateCarePlanTasksConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>>;
|
|
16
|
+
export declare const updateCarePlanTasksAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateCarePlanTasksConfig, types_GenericOutputRepresentation_GenericOutputRepresentation>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { createBenefitDisbursementsAdapterFactory } from '../adapters/createBenefitDisbursements';
|
|
2
|
+
export { getCarePlanBenefitSessionDetailsAdapterFactory } from '../adapters/getCarePlanBenefitSessionDetails';
|
|
3
|
+
export { postCarePlanDetailsAdapterFactory } from '../adapters/postCarePlanDetails';
|
|
4
|
+
export { getCarePlanDetailsAdapterFactory } from '../adapters/getCarePlanDetails';
|
|
5
|
+
export { updateCarePlanDetailsAdapterFactory } from '../adapters/updateCarePlanDetails';
|
|
6
|
+
export { getCarePlanTasksAdapterFactory } from '../adapters/getCarePlanTasks';
|
|
7
|
+
export { updateCarePlanTasksAdapterFactory } from '../adapters/updateCarePlanTasks';
|
|
8
|
+
export { createCarePlanTasksAdapterFactory } from '../adapters/createCarePlanTasks';
|
|
9
|
+
export { getCarePlanTemplateDetailsAdapterFactory } from '../adapters/getCarePlanTemplateDetails';
|
|
10
|
+
export { postCarePlanTemplateDetailsAdapterFactory } from '../adapters/postCarePlanTemplateDetails';
|
|
11
|
+
export { getCarePlanDefinitionAdapterFactory } from '../adapters/getCarePlanDefinition';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare let createBenefitDisbursements: any;
|
|
2
|
+
declare let createCarePlanTasks: any;
|
|
3
|
+
declare let getCarePlanBenefitSessionDetails: any;
|
|
4
|
+
declare let getCarePlanDefinition: any;
|
|
5
|
+
declare let getCarePlanDefinitionNotifyChange: any;
|
|
6
|
+
declare let getCarePlanDetails: any;
|
|
7
|
+
declare let getCarePlanDetailsNotifyChange: any;
|
|
8
|
+
declare let getCarePlanTasks: any;
|
|
9
|
+
declare let getCarePlanTemplateDetails: any;
|
|
10
|
+
declare let getCarePlanTemplateDetailsNotifyChange: any;
|
|
11
|
+
declare let postCarePlanDetails: any;
|
|
12
|
+
declare let postCarePlanTemplateDetails: any;
|
|
13
|
+
declare let updateCarePlanDetails: any;
|
|
14
|
+
declare let updateCarePlanTasks: any;
|
|
15
|
+
declare let getCarePlanBenefitSessionDetails_imperative: any;
|
|
16
|
+
declare let getCarePlanDefinition_imperative: any;
|
|
17
|
+
declare let getCarePlanDetails_imperative: any;
|
|
18
|
+
declare let getCarePlanTasks_imperative: any;
|
|
19
|
+
declare let getCarePlanTemplateDetails_imperative: any;
|
|
20
|
+
export { createBenefitDisbursements, createCarePlanTasks, getCarePlanBenefitSessionDetails, getCarePlanDefinition, getCarePlanDefinitionNotifyChange, getCarePlanDetails, getCarePlanDetailsNotifyChange, getCarePlanTasks, getCarePlanTemplateDetails, getCarePlanTemplateDetailsNotifyChange, postCarePlanDetails, postCarePlanTemplateDetails, updateCarePlanDetails, updateCarePlanTasks, getCarePlanBenefitSessionDetails_imperative, getCarePlanDefinition_imperative, getCarePlanDetails_imperative, getCarePlanTasks_imperative, getCarePlanTemplateDetails_imperative };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CarePlanBenefitSessionOutputRepresentation as types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation } from '../types/CarePlanBenefitSessionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
carePlanId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanBenefitSessionOutputRepresentation_CarePlanBenefitSessionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCarePlansByCarePlanId.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CarePlanRepresentation as types_CarePlanRepresentation_CarePlanRepresentation } from '../types/CarePlanRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
carePlanId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
excludeCustomFields?: boolean;
|
|
9
|
+
excludeTaskInfo?: boolean;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanRepresentation_CarePlanRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanRepresentation_CarePlanRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanRepresentation_CarePlanRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanRepresentation_CarePlanRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanRepresentation_CarePlanRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
20
|
+
export declare function createResourceRequestFromRepresentation(representation: types_CarePlanRepresentation_CarePlanRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CarePlanTasksMapRepresentation as types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation } from '../types/CarePlanTasksMapRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
carePlanId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
pageOffset?: number;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation, any>;
|
|
16
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanTasksMapRepresentation_CarePlanTasksMapRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CarePlanTemplateRepresentation as types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation } from '../types/CarePlanTemplateRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
carePlanTemplateId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_CarePlanTemplateRepresentation_CarePlanTemplateRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CarePlanDefinitionOutputRepresentation as types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation } from '../types/CarePlanDefinitionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
definitionId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_CarePlanDefinitionOutputRepresentation_CarePlanDefinitionOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/patchConnectCareplanCarePlansByCarePlanId.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CarePlanInputRepresentation as types_CarePlanInputRepresentation_CarePlanInputRepresentation } from '../types/CarePlanInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
carePlanId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
carePlanRecord: types_CarePlanInputRepresentation_CarePlanInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenericOutputRepresentation_GenericOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenericOutputRepresentation_GenericOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CarePlanTasksMapInputRepresentation as types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation } from '../types/CarePlanTasksMapInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
carePlanId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
carePlanRecord: types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenericOutputRepresentation_GenericOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenericOutputRepresentation_GenericOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BenefitDisbursementsForBenefitSessionInputRepresentation as types_BenefitDisbursementsForBenefitSessionInputRepresentation_BenefitDisbursementsForBenefitSessionInputRepresentation } from '../types/BenefitDisbursementsForBenefitSessionInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
benefitAssignmentId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
benefitDisbursementRecord: types_BenefitDisbursementsForBenefitSessionInputRepresentation_BenefitDisbursementsForBenefitSessionInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenericOutputRepresentation_GenericOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenericOutputRepresentation_GenericOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CarePlanInputRepresentation as types_CarePlanInputRepresentation_CarePlanInputRepresentation } from '../types/CarePlanInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
carePlanRecord: types_CarePlanInputRepresentation_CarePlanInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenericOutputRepresentation_GenericOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenericOutputRepresentation_GenericOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CarePlanTasksMapInputRepresentation as types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation } from '../types/CarePlanTasksMapInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { GenericOutputRepresentation as types_GenericOutputRepresentation_GenericOutputRepresentation } from '../types/GenericOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
carePlanId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
carePlanRecord: types_CarePlanTasksMapInputRepresentation_CarePlanTasksMapInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenericOutputRepresentation_GenericOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenericOutputRepresentation_GenericOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_GenericOutputRepresentation_GenericOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|