@salesforce/lds-adapters-platform-flow 1.124.1 → 1.124.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/platform-flow.js +540 -540
- package/dist/{types → es/es2018/types}/src/adapters/navigateFlow.d.ts +6 -6
- package/dist/{types → es/es2018/types}/src/adapters/resumeFlow.d.ts +6 -6
- package/dist/{types → es/es2018/types}/src/adapters/startFlow.d.ts +6 -6
- package/dist/{types/src/generated → es/es2018/types/src}/artifacts/main.d.ts +3 -3
- package/dist/{types → es/es2018/types}/src/artifacts/sfdc.d.ts +4 -4
- package/dist/{types → es/es2018/types}/src/generated/adapters/adapter-utils.d.ts +66 -66
- package/dist/{types → es/es2018/types}/src/generated/adapters/navigateFlow.d.ts +27 -27
- package/dist/{types → es/es2018/types}/src/generated/adapters/resumeFlow.d.ts +26 -26
- package/dist/{types → es/es2018/types}/src/generated/adapters/startFlow.d.ts +31 -31
- package/dist/{types/src → es/es2018/types/src/generated}/artifacts/main.d.ts +3 -3
- package/dist/{types → es/es2018/types}/src/generated/artifacts/sfdc.d.ts +7 -7
- package/dist/{types → es/es2018/types}/src/generated/resources/postConnectInteractionRuntimeNavigateFlow.d.ts +16 -16
- package/dist/{types → es/es2018/types}/src/generated/resources/postConnectInteractionRuntimeResumeFlow.d.ts +15 -15
- package/dist/{types → es/es2018/types}/src/generated/resources/postConnectInteractionRuntimeStartFlow.d.ts +20 -20
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeHashbagRepresentation.d.ts +28 -28
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeNavigateFlowRepresentation.d.ts +40 -40
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeNavigateFlowWrapperRepresentation.d.ts +29 -29
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeNavigationFieldValue.d.ts +32 -32
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeNavigationResult.d.ts +28 -28
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeResponseRepresentation.d.ts +31 -31
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeResumeFlowRepresentation.d.ts +28 -28
- package/dist/{types → es/es2018/types}/src/generated/types/FlowRuntimeRunFlowRepresentation.d.ts +38 -38
- package/dist/{types → es/es2018/types}/src/generated/types/type-utils.d.ts +39 -39
- package/package.json +5 -5
- package/sfdc/index.d.ts +1 -1
- package/sfdc/index.js +556 -556
- package/dist/umd/es2018/platform-flow.js +0 -591
- package/dist/umd/es5/platform-flow.js +0 -600
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
-
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
-
import type { NavigateFlowConfig } from '../generated/adapters/navigateFlow';
|
|
4
|
-
export { adapterName } from '../generated/adapters/navigateFlow';
|
|
5
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, context?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
-
export declare const navigateFlowAdapterFactory: any;
|
|
1
|
+
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
+
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
import type { NavigateFlowConfig } from '../generated/adapters/navigateFlow';
|
|
4
|
+
export { adapterName } from '../generated/adapters/navigateFlow';
|
|
5
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, context?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
+
export declare const navigateFlowAdapterFactory: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
-
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
-
import type { ResumeFlowConfig } from '../generated/adapters/resumeFlow';
|
|
4
|
-
export { adapterName } from '../generated/adapters/resumeFlow';
|
|
5
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, options?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
-
export declare const resumeFlowAdapterFactory: any;
|
|
1
|
+
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
+
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
import type { ResumeFlowConfig } from '../generated/adapters/resumeFlow';
|
|
4
|
+
export { adapterName } from '../generated/adapters/resumeFlow';
|
|
5
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, options?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
+
export declare const resumeFlowAdapterFactory: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
-
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
-
import type { StartFlowConfig } from '../generated/adapters/startFlow';
|
|
4
|
-
export { adapterName } from '../generated/adapters/startFlow';
|
|
5
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, options?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
-
export declare const startFlowAdapterFactory: any;
|
|
1
|
+
import type { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
+
import type { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../generated/types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
import type { StartFlowConfig } from '../generated/adapters/startFlow';
|
|
4
|
+
export { adapterName } from '../generated/adapters/startFlow';
|
|
5
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, options?: DispatchResourceRequestContext): Promise<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
6
|
+
export declare const startFlowAdapterFactory: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { startFlowAdapterFactory } from '../adapters/startFlow';
|
|
2
|
-
export { navigateFlowAdapterFactory } from '../adapters/navigateFlow';
|
|
3
|
-
export { resumeFlowAdapterFactory } from '../adapters/resumeFlow';
|
|
1
|
+
export { startFlowAdapterFactory } from '../adapters/startFlow';
|
|
2
|
+
export { navigateFlowAdapterFactory } from '../adapters/navigateFlow';
|
|
3
|
+
export { resumeFlowAdapterFactory } from '../adapters/resumeFlow';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare let navigateFlow: any;
|
|
2
|
-
declare let resumeFlow: any;
|
|
3
|
-
declare let startFlow: any;
|
|
4
|
-
export { navigateFlow, resumeFlow, startFlow };
|
|
1
|
+
declare let navigateFlow: any;
|
|
2
|
+
declare let resumeFlow: any;
|
|
3
|
+
declare let startFlow: any;
|
|
4
|
+
export { navigateFlow, resumeFlow, startFlow };
|
|
@@ -1,66 +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 = "FlowRuntime";
|
|
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 = "FlowRuntime";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
-
import { FlowRuntimeNavigateFlowRepresentation as types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation } from '../types/FlowRuntimeNavigateFlowRepresentation';
|
|
3
|
-
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeNavigateFlow';
|
|
4
|
-
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';
|
|
5
|
-
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
6
|
-
export declare const adapterName = "navigateFlow";
|
|
7
|
-
export declare const navigateFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
-
export interface NavigateFlowConfig {
|
|
9
|
-
request: types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation;
|
|
10
|
-
}
|
|
11
|
-
export declare function createResourceParams(config: NavigateFlowConfig): resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig;
|
|
12
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): string;
|
|
13
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<NavigateFlowConfig>): adapter$45$utils_Untrusted<NavigateFlowConfig>;
|
|
15
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): NavigateFlowConfig | null;
|
|
16
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_Fragment;
|
|
17
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
18
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, resourceParams: resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").
|
|
19
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, resourceParams: resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
21
|
-
export type BuildSnapshotContext = {
|
|
22
|
-
luvio: $64$luvio_engine_Luvio;
|
|
23
|
-
config: NavigateFlowConfig;
|
|
24
|
-
};
|
|
25
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
26
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
27
|
-
export declare const navigateFlowAdapterFactory: $64$luvio_engine_AdapterFactory<NavigateFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { FlowRuntimeNavigateFlowRepresentation as types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation } from '../types/FlowRuntimeNavigateFlowRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeNavigateFlow';
|
|
4
|
+
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';
|
|
5
|
+
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
6
|
+
export declare const adapterName = "navigateFlow";
|
|
7
|
+
export declare const navigateFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface NavigateFlowConfig {
|
|
9
|
+
request: types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: NavigateFlowConfig): resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<NavigateFlowConfig>): adapter$45$utils_Untrusted<NavigateFlowConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): NavigateFlowConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, resourceParams: resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, resourceParams: resources_postConnectInteractionRuntimeNavigateFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: NavigateFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: NavigateFlowConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
27
|
+
export declare const navigateFlowAdapterFactory: $64$luvio_engine_AdapterFactory<NavigateFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
-
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeResumeFlow';
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
5
|
-
export declare const adapterName = "resumeFlow";
|
|
6
|
-
export declare const resumeFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
-
export interface ResumeFlowConfig {
|
|
8
|
-
pausedInterviewId: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function createResourceParams(config: ResumeFlowConfig): resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig;
|
|
11
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): string;
|
|
12
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ResumeFlowConfig>): adapter$45$utils_Untrusted<ResumeFlowConfig>;
|
|
14
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ResumeFlowConfig | null;
|
|
15
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_Fragment;
|
|
16
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
17
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, resourceParams: resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").
|
|
18
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, resourceParams: resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
20
|
-
export type BuildSnapshotContext = {
|
|
21
|
-
luvio: $64$luvio_engine_Luvio;
|
|
22
|
-
config: ResumeFlowConfig;
|
|
23
|
-
};
|
|
24
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
25
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
26
|
-
export declare const resumeFlowAdapterFactory: $64$luvio_engine_AdapterFactory<ResumeFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeResumeFlow';
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
5
|
+
export declare const adapterName = "resumeFlow";
|
|
6
|
+
export declare const resumeFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface ResumeFlowConfig {
|
|
8
|
+
pausedInterviewId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: ResumeFlowConfig): resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ResumeFlowConfig>): adapter$45$utils_Untrusted<ResumeFlowConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ResumeFlowConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, resourceParams: resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, resourceParams: resources_postConnectInteractionRuntimeResumeFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ResumeFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: ResumeFlowConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
26
|
+
export declare const resumeFlowAdapterFactory: $64$luvio_engine_AdapterFactory<ResumeFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
-
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeStartFlow';
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
5
|
-
export declare const adapterName = "startFlow";
|
|
6
|
-
export declare const startFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
-
export interface StartFlowConfig {
|
|
8
|
-
flowDevName: string;
|
|
9
|
-
flowVersionId?: string;
|
|
10
|
-
arguments?: string;
|
|
11
|
-
enableTrace?: boolean;
|
|
12
|
-
enableRollbackMode?: boolean;
|
|
13
|
-
debugAsUserId?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare function createResourceParams(config: StartFlowConfig): resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig;
|
|
16
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): string;
|
|
17
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<StartFlowConfig>): adapter$45$utils_Untrusted<StartFlowConfig>;
|
|
19
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): StartFlowConfig | null;
|
|
20
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_Fragment;
|
|
21
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
22
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, resourceParams: resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").
|
|
23
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, resourceParams: resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
24
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
25
|
-
export type BuildSnapshotContext = {
|
|
26
|
-
luvio: $64$luvio_engine_Luvio;
|
|
27
|
-
config: StartFlowConfig;
|
|
28
|
-
};
|
|
29
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
30
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
31
|
-
export declare const startFlowAdapterFactory: $64$luvio_engine_AdapterFactory<StartFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig } from '../resources/postConnectInteractionRuntimeStartFlow';
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
5
|
+
export declare const adapterName = "startFlow";
|
|
6
|
+
export declare const startFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface StartFlowConfig {
|
|
8
|
+
flowDevName: string;
|
|
9
|
+
flowVersionId?: string;
|
|
10
|
+
arguments?: string;
|
|
11
|
+
enableTrace?: boolean;
|
|
12
|
+
enableRollbackMode?: boolean;
|
|
13
|
+
debugAsUserId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function createResourceParams(config: StartFlowConfig): resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig;
|
|
16
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): string;
|
|
17
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<StartFlowConfig>): adapter$45$utils_Untrusted<StartFlowConfig>;
|
|
19
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): StartFlowConfig | null;
|
|
20
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_Fragment;
|
|
21
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
22
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, resourceParams: resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
23
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, resourceParams: resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
24
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
25
|
+
export type BuildSnapshotContext = {
|
|
26
|
+
luvio: $64$luvio_engine_Luvio;
|
|
27
|
+
config: StartFlowConfig;
|
|
28
|
+
};
|
|
29
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>>;
|
|
30
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_Snapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
31
|
+
export declare const startFlowAdapterFactory: $64$luvio_engine_AdapterFactory<StartFlowConfig, types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { startFlowAdapterFactory } from '../adapters/startFlow';
|
|
2
|
-
export { navigateFlowAdapterFactory } from '../adapters/navigateFlow';
|
|
3
|
-
export { resumeFlowAdapterFactory } from '../adapters/resumeFlow';
|
|
1
|
+
export { startFlowAdapterFactory } from '../adapters/startFlow';
|
|
2
|
+
export { navigateFlowAdapterFactory } from '../adapters/navigateFlow';
|
|
3
|
+
export { resumeFlowAdapterFactory } from '../adapters/resumeFlow';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare let navigateFlow: any;
|
|
2
|
-
declare let resumeFlow: any;
|
|
3
|
-
declare let startFlow: any;
|
|
4
|
-
declare let navigateFlow_imperative: any;
|
|
5
|
-
declare let resumeFlow_imperative: any;
|
|
6
|
-
declare let startFlow_imperative: any;
|
|
7
|
-
export { navigateFlow, resumeFlow, startFlow, navigateFlow_imperative, resumeFlow_imperative, startFlow_imperative };
|
|
1
|
+
declare let navigateFlow: any;
|
|
2
|
+
declare let resumeFlow: any;
|
|
3
|
+
declare let startFlow: any;
|
|
4
|
+
declare let navigateFlow_imperative: any;
|
|
5
|
+
declare let resumeFlow_imperative: any;
|
|
6
|
+
declare let startFlow_imperative: any;
|
|
7
|
+
export { navigateFlow, resumeFlow, startFlow, navigateFlow_imperative, resumeFlow_imperative, startFlow_imperative };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FlowRuntimeNavigateFlowRepresentation as types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation } from '../types/FlowRuntimeNavigateFlowRepresentation';
|
|
2
|
-
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';
|
|
3
|
-
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
4
|
-
export interface ResourceRequestConfig {
|
|
5
|
-
body: {
|
|
6
|
-
request: types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
14
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
-
export default createResourceRequest;
|
|
1
|
+
import { FlowRuntimeNavigateFlowRepresentation as types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation } from '../types/FlowRuntimeNavigateFlowRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
request: types_FlowRuntimeNavigateFlowRepresentation_FlowRuntimeNavigateFlowRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -1,15 +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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
-
export interface ResourceRequestConfig {
|
|
4
|
-
body: {
|
|
5
|
-
pausedInterviewId: 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_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
13
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
-
export default createResourceRequest;
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
pausedInterviewId: 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_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -1,20 +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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
-
export interface ResourceRequestConfig {
|
|
4
|
-
body: {
|
|
5
|
-
flowDevName: string;
|
|
6
|
-
flowVersionId?: string;
|
|
7
|
-
arguments?: string;
|
|
8
|
-
enableTrace?: boolean;
|
|
9
|
-
enableRollbackMode?: boolean;
|
|
10
|
-
debugAsUserId?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
15
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
17
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
18
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
19
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
20
|
-
export default createResourceRequest;
|
|
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 { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
flowDevName: string;
|
|
6
|
+
flowVersionId?: string;
|
|
7
|
+
arguments?: string;
|
|
8
|
+
enableTrace?: boolean;
|
|
9
|
+
enableRollbackMode?: boolean;
|
|
10
|
+
debugAsUserId?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
17
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation, any>;
|
|
18
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
19
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
20
|
+
export default createResourceRequest;
|