@salesforce/lds-adapters-platform-flow 1.360.1 → 1.362.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.useLatestSubflow === undefined ? 'useLatestSubflow' : 'useLatestSubflow:' + params.body.useLatestSubflow) + '::' + (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) + '::' + (params.body.isBuilderDebug === undefined ? 'isBuilderDebug' : 'isBuilderDebug:' + params.body.isBuilderDebug) + ')';
|
|
139
139
|
}
|
|
140
140
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
141
141
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -163,6 +163,7 @@ const startFlow_ConfigPropertyMetadata = [
|
|
|
163
163
|
generateParamConfigMetadata('enableRollbackMode', false, 2 /* Body */, 1 /* Boolean */),
|
|
164
164
|
generateParamConfigMetadata('useLatestSubflow', false, 2 /* Body */, 1 /* Boolean */),
|
|
165
165
|
generateParamConfigMetadata('debugAsUserId', false, 2 /* Body */, 0 /* String */),
|
|
166
|
+
generateParamConfigMetadata('isBuilderDebug', false, 2 /* Body */, 1 /* Boolean */),
|
|
166
167
|
];
|
|
167
168
|
const startFlow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, startFlow_ConfigPropertyMetadata);
|
|
168
169
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$3(startFlow_ConfigPropertyMetadata);
|
|
@@ -13,6 +13,7 @@ export interface StartFlowConfig {
|
|
|
13
13
|
enableRollbackMode?: boolean;
|
|
14
14
|
useLatestSubflow?: boolean;
|
|
15
15
|
debugAsUserId?: string;
|
|
16
|
+
isBuilderDebug?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare const createResourceParams: (config: StartFlowConfig) => resources_postConnectInteractionRuntimeStartFlow_ResourceRequestConfig;
|
|
18
19
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: StartFlowConfig): string;
|
package/dist/es/es2018/types/src/generated/resources/postConnectInteractionRuntimeStartFlow.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
enableRollbackMode?: boolean;
|
|
10
10
|
useLatestSubflow?: boolean;
|
|
11
11
|
debugAsUserId?: string;
|
|
12
|
+
isBuilderDebug?: boolean;
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -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 = "8fa2858ea185e22b0b587b34417ac9a2";
|
|
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
|
+
isBuilderDebug?: boolean;
|
|
23
24
|
useLatestSubflow?: boolean;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
@@ -35,5 +36,6 @@ export interface FlowRuntimeRunFlowRepresentation {
|
|
|
35
36
|
enableTrace?: boolean;
|
|
36
37
|
flowDevName: string;
|
|
37
38
|
flowVersionId?: string;
|
|
39
|
+
isBuilderDebug?: boolean;
|
|
38
40
|
useLatestSubflow?: boolean;
|
|
39
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-flow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.362.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.362.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
44
|
-
"@salesforce/lds-karma": "^1.
|
|
43
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0",
|
|
44
|
+
"@salesforce/lds-karma": "^1.362.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.useLatestSubflow === undefined ? 'useLatestSubflow' : 'useLatestSubflow:' + params.body.useLatestSubflow) + '::' + (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) + '::' + (params.body.isBuilderDebug === undefined ? 'isBuilderDebug' : 'isBuilderDebug:' + params.body.isBuilderDebug) + ')';
|
|
432
432
|
}
|
|
433
433
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
434
434
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder(luvio, resourceParams));
|
|
@@ -456,6 +456,7 @@ const startFlow_ConfigPropertyMetadata = [
|
|
|
456
456
|
generateParamConfigMetadata('enableRollbackMode', false, 2 /* Body */, 1 /* Boolean */),
|
|
457
457
|
generateParamConfigMetadata('useLatestSubflow', false, 2 /* Body */, 1 /* Boolean */),
|
|
458
458
|
generateParamConfigMetadata('debugAsUserId', false, 2 /* Body */, 0 /* String */),
|
|
459
|
+
generateParamConfigMetadata('isBuilderDebug', false, 2 /* Body */, 1 /* Boolean */),
|
|
459
460
|
];
|
|
460
461
|
const startFlow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, startFlow_ConfigPropertyMetadata);
|
|
461
462
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(startFlow_ConfigPropertyMetadata);
|
|
@@ -524,4 +525,4 @@ withDefaultLuvio((luvio) => {
|
|
|
524
525
|
});
|
|
525
526
|
|
|
526
527
|
export { navigateFlow, resumeFlow, startFlow };
|
|
527
|
-
// version: 1.
|
|
528
|
+
// version: 1.362.0-d2e818ae61
|