@salesforce/lds-adapters-platform-flow 1.271.0 → 1.273.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/dist/es/es2018/platform-flow.js +2 -1
- package/dist/es/es2018/types/src/generated/adapters/startFlow.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectInteractionRuntimeStartFlow.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeRunFlowRepresentation.d.ts +3 -1
- package/package.json +4 -4
- package/sfdc/index.js +3 -2
- package/src/raml/api.raml +3 -0
|
@@ -135,7 +135,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
function keyBuilder$2(luvio, params) {
|
|
138
|
-
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'flowDevName:' + params.body.flowDevName + '::' + (params.body.flowVersionId === undefined ? 'flowVersionId' : 'flowVersionId:' + params.body.flowVersionId) + '::' + (params.body.arguments === undefined ? 'arguments' : 'arguments:' + params.body.arguments) + '::' + (params.body.enableTrace === undefined ? 'enableTrace' : 'enableTrace:' + params.body.enableTrace) + '::' + (params.body.enableRollbackMode === undefined ? 'enableRollbackMode' : 'enableRollbackMode:' + params.body.enableRollbackMode) + '::' + (params.body.debugAsUserId === undefined ? 'debugAsUserId' : 'debugAsUserId:' + params.body.debugAsUserId) + ')';
|
|
138
|
+
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'flowDevName:' + params.body.flowDevName + '::' + (params.body.flowVersionId === undefined ? 'flowVersionId' : 'flowVersionId:' + params.body.flowVersionId) + '::' + (params.body.arguments === undefined ? 'arguments' : 'arguments:' + params.body.arguments) + '::' + (params.body.enableTrace === undefined ? 'enableTrace' : 'enableTrace:' + params.body.enableTrace) + '::' + (params.body.enableRollbackMode === undefined ? 'enableRollbackMode' : 'enableRollbackMode:' + params.body.enableRollbackMode) + '::' + (params.body.useLatestSubflow === undefined ? 'useLatestSubflow' : 'useLatestSubflow:' + params.body.useLatestSubflow) + '::' + (params.body.debugAsUserId === undefined ? 'debugAsUserId' : 'debugAsUserId:' + params.body.debugAsUserId) + ')';
|
|
139
139
|
}
|
|
140
140
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
141
141
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -161,6 +161,7 @@ const startFlow_ConfigPropertyMetadata = [
|
|
|
161
161
|
generateParamConfigMetadata('arguments', false, 2 /* Body */, 0 /* String */),
|
|
162
162
|
generateParamConfigMetadata('enableTrace', false, 2 /* Body */, 1 /* Boolean */),
|
|
163
163
|
generateParamConfigMetadata('enableRollbackMode', false, 2 /* Body */, 1 /* Boolean */),
|
|
164
|
+
generateParamConfigMetadata('useLatestSubflow', false, 2 /* Body */, 1 /* Boolean */),
|
|
164
165
|
generateParamConfigMetadata('debugAsUserId', false, 2 /* Body */, 0 /* String */),
|
|
165
166
|
];
|
|
166
167
|
const startFlow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, startFlow_ConfigPropertyMetadata);
|
|
@@ -11,6 +11,7 @@ export interface StartFlowConfig {
|
|
|
11
11
|
arguments?: string;
|
|
12
12
|
enableTrace?: boolean;
|
|
13
13
|
enableRollbackMode?: boolean;
|
|
14
|
+
useLatestSubflow?: boolean;
|
|
14
15
|
debugAsUserId?: string;
|
|
15
16
|
}
|
|
16
17
|
export declare const createResourceParams: (config: StartFlowConfig) => resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "996c1235c7755bc753d298a304765319";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: FlowRuntimeRunFlowRepresentation, existing: FlowRuntimeRunFlowRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowRuntimeRunFlowRepresentationNormalized;
|
|
@@ -20,6 +20,7 @@ export interface FlowRuntimeRunFlowRepresentationNormalized {
|
|
|
20
20
|
enableTrace?: boolean;
|
|
21
21
|
flowDevName: string;
|
|
22
22
|
flowVersionId?: string;
|
|
23
|
+
useLatestSubflow?: boolean;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
@@ -34,4 +35,5 @@ export interface FlowRuntimeRunFlowRepresentation {
|
|
|
34
35
|
enableTrace?: boolean;
|
|
35
36
|
flowDevName: string;
|
|
36
37
|
flowVersionId?: string;
|
|
38
|
+
useLatestSubflow?: boolean;
|
|
37
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-flow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.273.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Flow Runtime APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-flow.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-flow"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@salesforce/lds-bindings": "^1.
|
|
40
|
+
"@salesforce/lds-bindings": "^1.273.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
44
|
-
"@salesforce/lds-karma": "^1.
|
|
43
|
+
"@salesforce/lds-compiler-plugins": "^1.273.0",
|
|
44
|
+
"@salesforce/lds-karma": "^1.273.0"
|
|
45
45
|
},
|
|
46
46
|
"nx": {
|
|
47
47
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -428,7 +428,7 @@ const resumeFlowAdapterFactory = (luvio) => function flowRuntime__resumeFlow(unt
|
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
function keyBuilder(luvio, params) {
|
|
431
|
-
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'flowDevName:' + params.body.flowDevName + '::' + (params.body.flowVersionId === undefined ? 'flowVersionId' : 'flowVersionId:' + params.body.flowVersionId) + '::' + (params.body.arguments === undefined ? 'arguments' : 'arguments:' + params.body.arguments) + '::' + (params.body.enableTrace === undefined ? 'enableTrace' : 'enableTrace:' + params.body.enableTrace) + '::' + (params.body.enableRollbackMode === undefined ? 'enableRollbackMode' : 'enableRollbackMode:' + params.body.enableRollbackMode) + '::' + (params.body.debugAsUserId === undefined ? 'debugAsUserId' : 'debugAsUserId:' + params.body.debugAsUserId) + ')';
|
|
431
|
+
return keyPrefix + '::FlowRuntimeResponseRepresentation:(' + 'flowDevName:' + params.body.flowDevName + '::' + (params.body.flowVersionId === undefined ? 'flowVersionId' : 'flowVersionId:' + params.body.flowVersionId) + '::' + (params.body.arguments === undefined ? 'arguments' : 'arguments:' + params.body.arguments) + '::' + (params.body.enableTrace === undefined ? 'enableTrace' : 'enableTrace:' + params.body.enableTrace) + '::' + (params.body.enableRollbackMode === undefined ? 'enableRollbackMode' : 'enableRollbackMode:' + params.body.enableRollbackMode) + '::' + (params.body.useLatestSubflow === undefined ? 'useLatestSubflow' : 'useLatestSubflow:' + params.body.useLatestSubflow) + '::' + (params.body.debugAsUserId === undefined ? 'debugAsUserId' : 'debugAsUserId:' + params.body.debugAsUserId) + ')';
|
|
432
432
|
}
|
|
433
433
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
434
434
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder(luvio, resourceParams));
|
|
@@ -454,6 +454,7 @@ const startFlow_ConfigPropertyMetadata = [
|
|
|
454
454
|
generateParamConfigMetadata('arguments', false, 2 /* Body */, 0 /* String */),
|
|
455
455
|
generateParamConfigMetadata('enableTrace', false, 2 /* Body */, 1 /* Boolean */),
|
|
456
456
|
generateParamConfigMetadata('enableRollbackMode', false, 2 /* Body */, 1 /* Boolean */),
|
|
457
|
+
generateParamConfigMetadata('useLatestSubflow', false, 2 /* Body */, 1 /* Boolean */),
|
|
457
458
|
generateParamConfigMetadata('debugAsUserId', false, 2 /* Body */, 0 /* String */),
|
|
458
459
|
];
|
|
459
460
|
const startFlow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, startFlow_ConfigPropertyMetadata);
|
|
@@ -523,4 +524,4 @@ withDefaultLuvio((luvio) => {
|
|
|
523
524
|
});
|
|
524
525
|
|
|
525
526
|
export { navigateFlow, resumeFlow, startFlow };
|
|
526
|
-
// version: 1.
|
|
527
|
+
// version: 1.273.0-daa4f720d
|