@salesforce/lds-adapters-platform-flow-builder 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/platform-flow-builder.js +881 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getRules.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectInteractionBuilderRules.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectInteractionOrchestrationInstances.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectInteractionRuntimeNavigateFlowByFlowDevName.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectInteractionRuntimeResumeFlowByFlowDevName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectInteractionRuntimeStartFlowByFlowDevName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/FlowOperatorParameterRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationInstanceCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationInstanceRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStageInstanceRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStepInstanceRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationWorkItemRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigateRequestRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigationFieldValueRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeResponseRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +63 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +913 -0
- package/src/raml/api.raml +442 -0
- package/src/raml/luvio.raml +39 -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 = "flow-builder";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectInteractionBuilderRules_ResourceRequestConfig } from '../resources/getConnectInteractionBuilderRules';
|
|
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 { FlowOperatorRuleCollectionRepresentation as types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation } from '../types/FlowOperatorRuleCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getRules";
|
|
6
|
+
export declare const getRules_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetRulesConfig {
|
|
8
|
+
flowProcessType?: string;
|
|
9
|
+
flowTriggerType?: string;
|
|
10
|
+
recordTriggerType?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetRulesConfig): resources_getConnectInteractionBuilderRules_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetRulesConfig>): adapter$45$utils_Untrusted<GetRulesConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetRulesConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig): $64$luvio_engine_Snapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig, resourceParams: resources_getConnectInteractionBuilderRules_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig, resourceParams: resources_getConnectInteractionBuilderRules_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRulesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetRulesConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): $64$luvio_engine_Snapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>;
|
|
28
|
+
export declare const getRulesAdapterFactory: $64$luvio_engine_AdapterFactory<GetRulesConfig, types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getRulesAdapterFactory } from '../adapters/getRules';
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { FlowOperatorRuleCollectionRepresentation as types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation } from '../types/FlowOperatorRuleCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
flowProcessType?: string;
|
|
6
|
+
flowTriggerType?: string;
|
|
7
|
+
recordTriggerType?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>;
|
|
15
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -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 { FlowOrchestrationInstanceCollectionRepresentation as types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation } from '../types/FlowOrchestrationInstanceCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
relatedRecordId?: 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_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
flowDevName: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
action: string;
|
|
9
|
+
enableTrace: boolean;
|
|
10
|
+
fields: Array<{}>;
|
|
11
|
+
lcErrors: {
|
|
12
|
+
[key: string]: {};
|
|
13
|
+
};
|
|
14
|
+
serializedState: string;
|
|
15
|
+
uiElementVisited: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
20
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<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>;
|
|
21
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
22
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
flowDevName: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
pausedInterviewId?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
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>): $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 createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { FlowRuntimeResponseRepresentation as types_FlowRuntimeResponseRepresentation_FlowRuntimeResponseRepresentation } from '../types/FlowRuntimeResponseRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
flowDevName: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
arguments?: string;
|
|
9
|
+
debugAsUserId?: string;
|
|
10
|
+
enableRollbackMode?: boolean;
|
|
11
|
+
enableTrace?: boolean;
|
|
12
|
+
flowVersionId?: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
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>): $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 createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "1fbcf3729a54064347b98620da65caee";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FlowOperatorParameterRepresentation, existing: FlowOperatorParameterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOperatorParameterRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FlowOperatorParameterRepresentationNormalized, incoming: FlowOperatorParameterRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FlowOperatorParameterRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorParameterRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Parameter on the left or right hand side of an operation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowOperatorParameterRepresentationNormalized {
|
|
18
|
+
/** Whether or not this parameter can be an Apex property */
|
|
19
|
+
canBeApexProperty: string | null;
|
|
20
|
+
/** Whether or not this parameter can be an SObject field */
|
|
21
|
+
canBeSobjectField: string | null;
|
|
22
|
+
/** Whether or not this parameter can be a System variable */
|
|
23
|
+
canBeSystemVariable: string | null;
|
|
24
|
+
/** List of elements this parameter cannot be */
|
|
25
|
+
cannotBeElements: Array<string>;
|
|
26
|
+
/** Parameter Data type (if param type is Data) */
|
|
27
|
+
dataType: string | null;
|
|
28
|
+
/** Whether or not this parameter is a collection */
|
|
29
|
+
isCollection: boolean;
|
|
30
|
+
/** Whether or not this parameter is nullable */
|
|
31
|
+
isNull: boolean;
|
|
32
|
+
/** List of elements this parameter must be */
|
|
33
|
+
mustBeElements: Array<string>;
|
|
34
|
+
/** Parameter type (Data, Element) */
|
|
35
|
+
paramType: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Parameter on the left or right hand side of an operation
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface FlowOperatorParameterRepresentation {
|
|
44
|
+
canBeApexProperty: string | null;
|
|
45
|
+
canBeSobjectField: string | null;
|
|
46
|
+
canBeSystemVariable: string | null;
|
|
47
|
+
cannotBeElements: Array<string>;
|
|
48
|
+
dataType: string | null;
|
|
49
|
+
isCollection: boolean;
|
|
50
|
+
isNull: boolean;
|
|
51
|
+
mustBeElements: Array<string>;
|
|
52
|
+
paramType: string | null;
|
|
53
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "f21baf31691a4049568a8fd0232f6f99";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FlowOperatorRepresentation, existing: FlowOperatorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOperatorRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FlowOperatorRepresentationNormalized, incoming: FlowOperatorRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FlowOperatorRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Operator in rules
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowOperatorRepresentationNormalized {
|
|
18
|
+
/** Operator value */
|
|
19
|
+
value: string | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Operator in rules
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface FlowOperatorRepresentation {
|
|
28
|
+
value: string | null;
|
|
29
|
+
}
|
package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleCollectionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FlowOperatorRuleRepresentation as FlowOperatorRuleRepresentation_FlowOperatorRuleRepresentation } from './FlowOperatorRuleRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "7b00537edb93014057d98c364ea0fc84";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FlowOperatorRuleCollectionRepresentation, existing: FlowOperatorRuleCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOperatorRuleCollectionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FlowOperatorRuleCollectionRepresentationNormalized, incoming: FlowOperatorRuleCollectionRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FlowOperatorRuleCollectionRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Collection of Flow Operator rules
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowOperatorRuleCollectionRepresentationNormalized {
|
|
19
|
+
/** Collection of Flow Operator rules */
|
|
20
|
+
rules: Array<FlowOperatorRuleRepresentation_FlowOperatorRuleRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Collection of Flow Operator rules
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FlowOperatorRuleCollectionRepresentation {
|
|
29
|
+
rules: Array<FlowOperatorRuleRepresentation_FlowOperatorRuleRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { FlowOperatorRepresentation as FlowOperatorRepresentation_FlowOperatorRepresentation } from './FlowOperatorRepresentation';
|
|
2
|
+
import { FlowOperatorParameterRepresentation as FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation } from './FlowOperatorParameterRepresentation';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "db9c200fd0583df1c75001ba9a103995";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: FlowOperatorRuleRepresentation, existing: FlowOperatorRuleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOperatorRuleRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: FlowOperatorRuleRepresentationNormalized, incoming: FlowOperatorRuleRepresentationNormalized): boolean;
|
|
10
|
+
export declare function deepFreeze(input: FlowOperatorRuleRepresentation): void;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
/**
|
|
14
|
+
* Flow operator rule: LHS parameter type, operator, RHS parameter types, list of elements it can be applied to
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface FlowOperatorRuleRepresentationNormalized {
|
|
20
|
+
/** Assignment operator or null if it is not an assignment */
|
|
21
|
+
assignmentOperator: FlowOperatorRepresentation_FlowOperatorRepresentation;
|
|
22
|
+
/** Comparison operator or null if it is not a comparison */
|
|
23
|
+
comparisonOperator: FlowOperatorRepresentation_FlowOperatorRepresentation;
|
|
24
|
+
/** List of elements to be excluded */
|
|
25
|
+
excludeElems: Array<string>;
|
|
26
|
+
/** List of available elements for this rules */
|
|
27
|
+
includeElems: Array<string>;
|
|
28
|
+
/** Left parameter of the rule */
|
|
29
|
+
left: FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation;
|
|
30
|
+
/** List of available rhs parameters */
|
|
31
|
+
rhsParams: Array<FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation>;
|
|
32
|
+
/** Rule type (assignment, comparison) */
|
|
33
|
+
ruleType: string;
|
|
34
|
+
/** Validation type (info, warning, error) */
|
|
35
|
+
validationType: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Flow operator rule: LHS parameter type, operator, RHS parameter types, list of elements it can be applied to
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface FlowOperatorRuleRepresentation {
|
|
44
|
+
assignmentOperator: FlowOperatorRepresentation_FlowOperatorRepresentation;
|
|
45
|
+
comparisonOperator: FlowOperatorRepresentation_FlowOperatorRepresentation;
|
|
46
|
+
excludeElems: Array<string>;
|
|
47
|
+
includeElems: Array<string>;
|
|
48
|
+
left: FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation;
|
|
49
|
+
rhsParams: Array<FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation>;
|
|
50
|
+
ruleType: string;
|
|
51
|
+
validationType: string | null;
|
|
52
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FlowOrchestrationInstanceRepresentation as FlowOrchestrationInstanceRepresentation_FlowOrchestrationInstanceRepresentation } from './FlowOrchestrationInstanceRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "ff1028f6e4a6a9aeed322135fdf518b5";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FlowOrchestrationInstanceCollectionRepresentation, existing: FlowOrchestrationInstanceCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationInstanceCollectionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FlowOrchestrationInstanceCollectionRepresentationNormalized, incoming: FlowOrchestrationInstanceCollectionRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FlowOrchestrationInstanceCollectionRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Information about a collection of Orchestration instances.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowOrchestrationInstanceCollectionRepresentationNormalized {
|
|
19
|
+
/** Collection of Orchestration instances */
|
|
20
|
+
instances: Array<FlowOrchestrationInstanceRepresentation_FlowOrchestrationInstanceRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Information about a collection of Orchestration instances.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FlowOrchestrationInstanceCollectionRepresentation {
|
|
29
|
+
instances: Array<FlowOrchestrationInstanceRepresentation_FlowOrchestrationInstanceRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FlowOrchestrationStageInstanceRepresentation as FlowOrchestrationStageInstanceRepresentation_FlowOrchestrationStageInstanceRepresentation } from './FlowOrchestrationStageInstanceRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "5cd09fe6e4e088f4787a6cf1b9ab7a2a";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FlowOrchestrationInstanceRepresentation, existing: FlowOrchestrationInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationInstanceRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FlowOrchestrationInstanceRepresentationNormalized, incoming: FlowOrchestrationInstanceRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FlowOrchestrationInstanceRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Information about an Orchestration instance.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowOrchestrationInstanceRepresentationNormalized {
|
|
19
|
+
/** Developer name of the flow definition */
|
|
20
|
+
flowDefinitionDeveloperName: string | null;
|
|
21
|
+
/** Id of the flow definition */
|
|
22
|
+
flowDefinitionId: string | null;
|
|
23
|
+
/** Name of the flow definition */
|
|
24
|
+
flowDefinitionName: string | null;
|
|
25
|
+
/** Orchestrator instance id */
|
|
26
|
+
id: string;
|
|
27
|
+
/** Id of the interview to resume */
|
|
28
|
+
interviewId: string | null;
|
|
29
|
+
/** The Orchestrator Instance stages */
|
|
30
|
+
stageInstances: Array<FlowOrchestrationStageInstanceRepresentation_FlowOrchestrationStageInstanceRepresentation>;
|
|
31
|
+
/** The Orchestrator Instance status */
|
|
32
|
+
status: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Information about an Orchestration instance.
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface FlowOrchestrationInstanceRepresentation {
|
|
41
|
+
flowDefinitionDeveloperName: string | null;
|
|
42
|
+
flowDefinitionId: string | null;
|
|
43
|
+
flowDefinitionName: string | null;
|
|
44
|
+
id: string;
|
|
45
|
+
interviewId: string | null;
|
|
46
|
+
stageInstances: Array<FlowOrchestrationStageInstanceRepresentation_FlowOrchestrationStageInstanceRepresentation>;
|
|
47
|
+
status: string;
|
|
48
|
+
}
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStageInstanceRepresentation.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FlowOrchestrationStepInstanceRepresentation as FlowOrchestrationStepInstanceRepresentation_FlowOrchestrationStepInstanceRepresentation } from './FlowOrchestrationStepInstanceRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "4d586ae3293b53e776853c9b4e1ad36b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FlowOrchestrationStageInstanceRepresentation, existing: FlowOrchestrationStageInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationStageInstanceRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FlowOrchestrationStageInstanceRepresentationNormalized, incoming: FlowOrchestrationStageInstanceRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FlowOrchestrationStageInstanceRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStageInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Information about an Orchestration stage instance.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowOrchestrationStageInstanceRepresentationNormalized {
|
|
19
|
+
/** Orchestration stage instance id */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Orchestration stage instance label */
|
|
22
|
+
label: string | null;
|
|
23
|
+
/** Orchestration stage instance name */
|
|
24
|
+
name: string | null;
|
|
25
|
+
/** The Orchestration Stage Instance status */
|
|
26
|
+
status: string;
|
|
27
|
+
/** Orchestration stage instance steps */
|
|
28
|
+
stepInstances: Array<FlowOrchestrationStepInstanceRepresentation_FlowOrchestrationStepInstanceRepresentation>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Information about an Orchestration stage instance.
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface FlowOrchestrationStageInstanceRepresentation {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string | null;
|
|
39
|
+
name: string | null;
|
|
40
|
+
status: string;
|
|
41
|
+
stepInstances: Array<FlowOrchestrationStepInstanceRepresentation_FlowOrchestrationStepInstanceRepresentation>;
|
|
42
|
+
}
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStepInstanceRepresentation.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FlowOrchestrationWorkItemRepresentation as FlowOrchestrationWorkItemRepresentation_FlowOrchestrationWorkItemRepresentation } from './FlowOrchestrationWorkItemRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "9817b563e81370d761a0d7f4b18410e4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FlowOrchestrationStepInstanceRepresentation, existing: FlowOrchestrationStepInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationStepInstanceRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FlowOrchestrationStepInstanceRepresentationNormalized, incoming: FlowOrchestrationStepInstanceRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FlowOrchestrationStepInstanceRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStepInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Information about an Orchestration step instance.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowOrchestrationStepInstanceRepresentationNormalized {
|
|
19
|
+
/** Orchestration step instance id */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Orchestration step instance label */
|
|
22
|
+
label: string | null;
|
|
23
|
+
/** Orchestration step instance name */
|
|
24
|
+
name: string | null;
|
|
25
|
+
/** The Orchestration Step Instance status */
|
|
26
|
+
status: string;
|
|
27
|
+
/** The Orchestration Step Instance step type */
|
|
28
|
+
stepType: string;
|
|
29
|
+
/** Orchestration step instance work items */
|
|
30
|
+
workItems: Array<FlowOrchestrationWorkItemRepresentation_FlowOrchestrationWorkItemRepresentation>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Information about an Orchestration step instance.
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface FlowOrchestrationStepInstanceRepresentation {
|
|
39
|
+
id: string;
|
|
40
|
+
label: string | null;
|
|
41
|
+
name: string | null;
|
|
42
|
+
status: string;
|
|
43
|
+
stepType: string;
|
|
44
|
+
workItems: Array<FlowOrchestrationWorkItemRepresentation_FlowOrchestrationWorkItemRepresentation>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ab05f41c9070286098c01e14dc5587f6";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FlowOrchestrationWorkItemRepresentation, existing: FlowOrchestrationWorkItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationWorkItemRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FlowOrchestrationWorkItemRepresentationNormalized, incoming: FlowOrchestrationWorkItemRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FlowOrchestrationWorkItemRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationWorkItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Information about an Orchestration work item.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowOrchestrationWorkItemRepresentationNormalized {
|
|
18
|
+
/** The assignee for this Orchestrator work item */
|
|
19
|
+
assigneeId: string;
|
|
20
|
+
/** Description for this Orchestration work item */
|
|
21
|
+
description: string | null;
|
|
22
|
+
/** Orchestration work item id */
|
|
23
|
+
id: string;
|
|
24
|
+
/** Label key for this work item */
|
|
25
|
+
label: string | null;
|
|
26
|
+
/** The record this work item is related to */
|
|
27
|
+
relatedRecordId: string | null;
|
|
28
|
+
/** Developer name of the screen flow to start when assignees work on this work item */
|
|
29
|
+
screenFlowDeveloperName: string;
|
|
30
|
+
/** Id of the screen flow to start when assignees work on this work item */
|
|
31
|
+
screenFlowId: string;
|
|
32
|
+
/** Input parameters for the screen flow */
|
|
33
|
+
screenFlowInputs: string;
|
|
34
|
+
/** This work item status */
|
|
35
|
+
status: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Information about an Orchestration work item.
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface FlowOrchestrationWorkItemRepresentation {
|
|
44
|
+
assigneeId: string;
|
|
45
|
+
description: string | null;
|
|
46
|
+
id: string;
|
|
47
|
+
label: string | null;
|
|
48
|
+
relatedRecordId: string | null;
|
|
49
|
+
screenFlowDeveloperName: string;
|
|
50
|
+
screenFlowId: string;
|
|
51
|
+
screenFlowInputs: string;
|
|
52
|
+
status: string;
|
|
53
|
+
}
|