@salesforce/lds-adapters-industries-rule-builder 1.273.0 → 1.274.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/industries-rule-builder.js +10 -2
- package/dist/es/es2018/types/src/generated/adapters/getProcessType.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRuleengineProcessTypeByProcessTypeName.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/UsageTypeOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +11 -3
- package/src/raml/api.raml +9 -0
|
@@ -7736,7 +7736,7 @@ function select$5(luvio, params) {
|
|
|
7736
7736
|
return select$6();
|
|
7737
7737
|
}
|
|
7738
7738
|
function keyBuilder$4(luvio, params) {
|
|
7739
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
7739
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
7740
7740
|
}
|
|
7741
7741
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
7742
7742
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
|
|
@@ -7778,7 +7778,7 @@ function createResourceRequest$3(config) {
|
|
|
7778
7778
|
method: 'get',
|
|
7779
7779
|
body: null,
|
|
7780
7780
|
urlParams: config.urlParams,
|
|
7781
|
-
queryParams:
|
|
7781
|
+
queryParams: config.queryParams,
|
|
7782
7782
|
headers,
|
|
7783
7783
|
priority: 'normal',
|
|
7784
7784
|
};
|
|
@@ -7787,6 +7787,7 @@ function createResourceRequest$3(config) {
|
|
|
7787
7787
|
const adapterName$3 = 'getProcessType';
|
|
7788
7788
|
const getProcessType_ConfigPropertyMetadata = [
|
|
7789
7789
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7790
|
+
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7790
7791
|
];
|
|
7791
7792
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProcessType_ConfigPropertyMetadata);
|
|
7792
7793
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -7885,6 +7886,13 @@ function validate$4(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
7885
7886
|
if (typeof obj_label !== 'string') {
|
|
7886
7887
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7887
7888
|
}
|
|
7889
|
+
if (obj.usageTypeExecutionScale !== undefined) {
|
|
7890
|
+
const obj_usageTypeExecutionScale = obj.usageTypeExecutionScale;
|
|
7891
|
+
const path_usageTypeExecutionScale = path + '.usageTypeExecutionScale';
|
|
7892
|
+
if (typeof obj_usageTypeExecutionScale !== 'string') {
|
|
7893
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageTypeExecutionScale + '" (at "' + path_usageTypeExecutionScale + '")');
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7888
7896
|
})();
|
|
7889
7897
|
return v_error === undefined ? null : v_error;
|
|
7890
7898
|
}
|
|
@@ -7,6 +7,7 @@ export declare const getProcessType_ConfigPropertyMetadata: $64$luvio_engine_Ada
|
|
|
7
7
|
export declare const getProcessType_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetProcessTypeConfig {
|
|
9
9
|
processTypeName: string;
|
|
10
|
+
executionScale?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetProcessTypeConfig) => resources_getConnectRuleengineProcessTypeByProcessTypeName_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProcessTypeConfig): string;
|
|
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
processTypeName: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
executionScale?: string;
|
|
9
|
+
};
|
|
7
10
|
}
|
|
8
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "4d4a11602a88f50b77290e960ac6f6bf";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: UsageTypeOutputRepresentation, existing: UsageTypeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UsageTypeOutputRepresentationNormalized;
|
|
@@ -19,6 +19,8 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
19
19
|
apiName: string;
|
|
20
20
|
/** Label for UsageType */
|
|
21
21
|
label: string;
|
|
22
|
+
/** Execution Scale for UsageType */
|
|
23
|
+
usageTypeExecutionScale?: string;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Wrapper for the UsageTypes
|
|
@@ -29,4 +31,5 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
29
31
|
export interface UsageTypeOutputRepresentation {
|
|
30
32
|
apiName: string;
|
|
31
33
|
label: string;
|
|
34
|
+
usageTypeExecutionScale?: string;
|
|
32
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-rule-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.274.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This is part of industries interactions and have files for rule builders",
|
|
6
6
|
"main": "dist/es/es2018/industries-rule-builder.js",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:unit": "jest"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@salesforce/lds-bindings": "^1.
|
|
48
|
+
"@salesforce/lds-bindings": "^1.274.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.274.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.274.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5288,7 +5288,7 @@ function select$j(luvio, params) {
|
|
|
5288
5288
|
return select$k();
|
|
5289
5289
|
}
|
|
5290
5290
|
function keyBuilder$f(luvio, params) {
|
|
5291
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
5291
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
5292
5292
|
}
|
|
5293
5293
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
5294
5294
|
getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
|
|
@@ -5330,7 +5330,7 @@ function createResourceRequest$b(config) {
|
|
|
5330
5330
|
method: 'get',
|
|
5331
5331
|
body: null,
|
|
5332
5332
|
urlParams: config.urlParams,
|
|
5333
|
-
queryParams:
|
|
5333
|
+
queryParams: config.queryParams,
|
|
5334
5334
|
headers,
|
|
5335
5335
|
priority: 'normal',
|
|
5336
5336
|
};
|
|
@@ -5339,6 +5339,7 @@ function createResourceRequest$b(config) {
|
|
|
5339
5339
|
const adapterName$b = 'getProcessType';
|
|
5340
5340
|
const getProcessType_ConfigPropertyMetadata = [
|
|
5341
5341
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5342
|
+
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
5342
5343
|
];
|
|
5343
5344
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getProcessType_ConfigPropertyMetadata);
|
|
5344
5345
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -5705,6 +5706,13 @@ function validate$w(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
5705
5706
|
if (typeof obj_label !== 'string') {
|
|
5706
5707
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5707
5708
|
}
|
|
5709
|
+
if (obj.usageTypeExecutionScale !== undefined) {
|
|
5710
|
+
const obj_usageTypeExecutionScale = obj.usageTypeExecutionScale;
|
|
5711
|
+
const path_usageTypeExecutionScale = path + '.usageTypeExecutionScale';
|
|
5712
|
+
if (typeof obj_usageTypeExecutionScale !== 'string') {
|
|
5713
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageTypeExecutionScale + '" (at "' + path_usageTypeExecutionScale + '")');
|
|
5714
|
+
}
|
|
5715
|
+
}
|
|
5708
5716
|
})();
|
|
5709
5717
|
return v_error === undefined ? null : v_error;
|
|
5710
5718
|
}
|
|
@@ -8856,4 +8864,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8856
8864
|
});
|
|
8857
8865
|
|
|
8858
8866
|
export { activateCalcProcedureVersion, createExpressionSet, createObjectAlias, deleteExpressionSet, getBusinessKnowledgeModel, getBusinessKnowledgeModel_imperative, getCalcProcDetails, getCalcProcDetails_imperative, getCalcProcVersionDetails, getCalcProcVersionDetailsNotifyChange, getCalcProcVersionDetails_imperative, getDecisionMatrixDetails, getDecisionMatrixDetailsNotifyChange, getDecisionMatrixDetails_imperative, getDecisionTableDetails, getDecisionTableDetails_imperative, getExplainabilityLogs, getExplainabilityLogs_imperative, getExpressionSet, getExpressionSetAliasMetaInfo, getExpressionSetAliasMetaInfo_imperative, getExpressionSetNotifyChange, getExpressionSet_imperative, getLookupTables, getLookupTables_imperative, getMessageTemplateDetail, getMessageTemplateDetail_imperative, getProcessType, getProcessType_imperative, getSimulationInputVariables, getSimulationInputVariables_imperative, getUsageTypes, getUsageTypes_imperative, postCalcProcVersionDetails, postInvokeExpressionSet, searchCalculationProcedure, searchCalculationProcedure_imperative, searchDecisionMatrixByName, searchDecisionMatrixByName_imperative, searchDecisionTableByName, searchDecisionTableByName_imperative, searchMessageTemplates, searchMessageTemplates_imperative, simulateEvaluationService, updateAliasField, updateExpressionSet };
|
|
8859
|
-
// version: 1.
|
|
8867
|
+
// version: 1.274.0-a59680ec1
|
package/src/raml/api.raml
CHANGED
|
@@ -779,6 +779,10 @@ types:
|
|
|
779
779
|
label:
|
|
780
780
|
description: Label for UsageType
|
|
781
781
|
type: string
|
|
782
|
+
usageTypeExecutionScale:
|
|
783
|
+
description: Execution Scale for UsageType
|
|
784
|
+
type: string
|
|
785
|
+
required: false
|
|
782
786
|
MessageTemplateDetailOutputRepresentation:
|
|
783
787
|
description: Output representation of ExplMessageTemplateDetails
|
|
784
788
|
type: object
|
|
@@ -2640,6 +2644,11 @@ types:
|
|
|
2640
2644
|
body:
|
|
2641
2645
|
application/json:
|
|
2642
2646
|
type: ProcessTypeOutputRepresentation
|
|
2647
|
+
queryParameters:
|
|
2648
|
+
executionScale:
|
|
2649
|
+
description: Execution scale for process type filtering.
|
|
2650
|
+
type: string
|
|
2651
|
+
required: false
|
|
2643
2652
|
uriParameters:
|
|
2644
2653
|
processTypeName:
|
|
2645
2654
|
type: string
|