@salesforce/lds-adapters-industries-rule-builder 1.361.0 → 1.363.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 +38 -17
- package/dist/es/es2018/types/src/generated/adapters/getLookupTables.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/getProcessType.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesLookupTables.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectRuleengineProcessTypeByProcessTypeName.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureVersionDefinitionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ExpressionSetInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ExpressionSetOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UsageTypeOutputRepresentation.d.ts +4 -4
- package/package.json +4 -4
- package/sfdc/index.js +39 -18
- package/src/raml/api.raml +19 -7
|
@@ -129,6 +129,13 @@ function validate$1h(obj, path = 'ExpressionSetInputRepresentation') {
|
|
|
129
129
|
if (typeof obj_name !== 'string') {
|
|
130
130
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
131
131
|
}
|
|
132
|
+
if (obj.usageSubtype !== undefined) {
|
|
133
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
134
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
135
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
136
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
137
|
+
}
|
|
138
|
+
}
|
|
132
139
|
const obj_usageType = obj.usageType;
|
|
133
140
|
const path_usageType = path + '.usageType';
|
|
134
141
|
if (typeof obj_usageType !== 'string') {
|
|
@@ -771,7 +778,7 @@ function validate$13(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
|
771
778
|
}
|
|
772
779
|
|
|
773
780
|
const TTL$h = 1000;
|
|
774
|
-
const VERSION$l = "
|
|
781
|
+
const VERSION$l = "33c218cddbf16148b265a1dc4c369201";
|
|
775
782
|
function validate$12(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
776
783
|
const v_error = (() => {
|
|
777
784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -830,6 +837,13 @@ function validate$12(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
|
830
837
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
831
838
|
}
|
|
832
839
|
}
|
|
840
|
+
if (obj.usageSubtype !== undefined) {
|
|
841
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
842
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
843
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
844
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
845
|
+
}
|
|
846
|
+
}
|
|
833
847
|
if (obj.usageType !== undefined) {
|
|
834
848
|
const obj_usageType = obj.usageType;
|
|
835
849
|
const path_usageType = path + '.usageType';
|
|
@@ -3144,7 +3158,7 @@ function select$v(luvio, params) {
|
|
|
3144
3158
|
return select$w();
|
|
3145
3159
|
}
|
|
3146
3160
|
function keyBuilder$t(luvio, params) {
|
|
3147
|
-
return keyPrefix + '::LookupTablesResultListRepresentation:(' + 'lookupTypes:' + params.queryParams.lookupTypes + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'usageType:' + params.queryParams.usageType + ',' + 'businessKnowledgeModelName:' + params.queryParams.businessKnowledgeModelName + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'executionScaleFlag:' + params.queryParams.executionScaleFlag + ',' + '
|
|
3161
|
+
return keyPrefix + '::LookupTablesResultListRepresentation:(' + 'lookupTypes:' + params.queryParams.lookupTypes + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'usageType:' + params.queryParams.usageType + ',' + 'businessKnowledgeModelName:' + params.queryParams.businessKnowledgeModelName + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'executionScaleFlag:' + params.queryParams.executionScaleFlag + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ')';
|
|
3148
3162
|
}
|
|
3149
3163
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
3150
3164
|
getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
|
|
@@ -3195,7 +3209,7 @@ const getLookupTables_ConfigPropertyMetadata = [
|
|
|
3195
3209
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3196
3210
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
3197
3211
|
generateParamConfigMetadata('executionScaleFlag', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
3198
|
-
generateParamConfigMetadata('
|
|
3212
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3199
3213
|
];
|
|
3200
3214
|
const getLookupTables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getLookupTables_ConfigPropertyMetadata);
|
|
3201
3215
|
const createResourceParams$h = /*#__PURE__*/ createResourceParams$q(getLookupTables_ConfigPropertyMetadata);
|
|
@@ -5072,7 +5086,7 @@ function validate$r(obj, path = 'CalculationProcedureStepMapOutputRepresentation
|
|
|
5072
5086
|
}
|
|
5073
5087
|
|
|
5074
5088
|
const TTL$9 = 1000;
|
|
5075
|
-
const VERSION$a = "
|
|
5089
|
+
const VERSION$a = "0ea26fb8fdbdf895ee2090a3637f9a63";
|
|
5076
5090
|
function validate$q(obj, path = 'CalculationProcedureVersionDefinitionOutputRepresentation') {
|
|
5077
5091
|
const v_error = (() => {
|
|
5078
5092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5195,6 +5209,13 @@ function validate$q(obj, path = 'CalculationProcedureVersionDefinitionOutputRepr
|
|
|
5195
5209
|
return new TypeError(message);
|
|
5196
5210
|
}
|
|
5197
5211
|
}
|
|
5212
|
+
if (obj.usageSubtype !== undefined) {
|
|
5213
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
5214
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
5215
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
5216
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
5217
|
+
}
|
|
5218
|
+
}
|
|
5198
5219
|
if (obj.variables !== undefined) {
|
|
5199
5220
|
const obj_variables = obj.variables;
|
|
5200
5221
|
const path_variables = path + '.variables';
|
|
@@ -7830,7 +7851,7 @@ function select$5(luvio, params) {
|
|
|
7830
7851
|
return select$6();
|
|
7831
7852
|
}
|
|
7832
7853
|
function keyBuilder$4(luvio, params) {
|
|
7833
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + '
|
|
7854
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
7834
7855
|
}
|
|
7835
7856
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
7836
7857
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
|
|
@@ -7882,7 +7903,7 @@ const adapterName$3 = 'getProcessType';
|
|
|
7882
7903
|
const getProcessType_ConfigPropertyMetadata = [
|
|
7883
7904
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7884
7905
|
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7885
|
-
generateParamConfigMetadata('
|
|
7906
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7886
7907
|
];
|
|
7887
7908
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProcessType_ConfigPropertyMetadata);
|
|
7888
7909
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -7981,17 +8002,17 @@ function validate$4(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
7981
8002
|
if (typeof obj_label !== 'string') {
|
|
7982
8003
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7983
8004
|
}
|
|
7984
|
-
if (obj.
|
|
7985
|
-
const
|
|
7986
|
-
const
|
|
7987
|
-
if (!ArrayIsArray(
|
|
7988
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
7989
|
-
}
|
|
7990
|
-
for (let i = 0; i <
|
|
7991
|
-
const
|
|
7992
|
-
const
|
|
7993
|
-
if (typeof
|
|
7994
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
8005
|
+
if (obj.usageSubtypeList !== undefined) {
|
|
8006
|
+
const obj_usageSubtypeList = obj.usageSubtypeList;
|
|
8007
|
+
const path_usageSubtypeList = path + '.usageSubtypeList';
|
|
8008
|
+
if (!ArrayIsArray(obj_usageSubtypeList)) {
|
|
8009
|
+
return new TypeError('Expected "array" but received "' + typeof obj_usageSubtypeList + '" (at "' + path_usageSubtypeList + '")');
|
|
8010
|
+
}
|
|
8011
|
+
for (let i = 0; i < obj_usageSubtypeList.length; i++) {
|
|
8012
|
+
const obj_usageSubtypeList_item = obj_usageSubtypeList[i];
|
|
8013
|
+
const path_usageSubtypeList_item = path_usageSubtypeList + '[' + i + ']';
|
|
8014
|
+
if (typeof obj_usageSubtypeList_item !== 'string') {
|
|
8015
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtypeList_item + '" (at "' + path_usageSubtypeList_item + '")');
|
|
7995
8016
|
}
|
|
7996
8017
|
}
|
|
7997
8018
|
}
|
|
@@ -13,7 +13,7 @@ export interface GetLookupTablesConfig {
|
|
|
13
13
|
limit?: number;
|
|
14
14
|
offset?: number;
|
|
15
15
|
executionScaleFlag?: boolean;
|
|
16
|
-
|
|
16
|
+
usageSubtype?: string;
|
|
17
17
|
}
|
|
18
18
|
export declare const createResourceParams: (config: GetLookupTablesConfig) => resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig;
|
|
19
19
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): string;
|
|
@@ -8,7 +8,7 @@ export declare const getProcessType_ConfigPropertyNames: adapter$45$utils_Adapte
|
|
|
8
8
|
export interface GetProcessTypeConfig {
|
|
9
9
|
processTypeName: string;
|
|
10
10
|
executionScale?: string;
|
|
11
|
-
|
|
11
|
+
usageSubtype?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const createResourceParams: (config: GetProcessTypeConfig) => resources_getConnectRuleengineProcessTypeByProcessTypeName_ResourceRequestConfig;
|
|
14
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProcessTypeConfig): string;
|
package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesLookupTables.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
limit?: number;
|
|
10
10
|
offset?: number;
|
|
11
11
|
executionScaleFlag?: boolean;
|
|
12
|
-
|
|
12
|
+
usageSubtype?: string;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -6,7 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
};
|
|
7
7
|
queryParams: {
|
|
8
8
|
executionScale?: string;
|
|
9
|
-
|
|
9
|
+
usageSubtype?: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -4,7 +4,7 @@ import { RootStepListOutputRepresentation as RootStepListOutputRepresentation_Ro
|
|
|
4
4
|
import { CalculationProcedureStepMapOutputRepresentation as CalculationProcedureStepMapOutputRepresentation_CalculationProcedureStepMapOutputRepresentation } from './CalculationProcedureStepMapOutputRepresentation';
|
|
5
5
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
6
|
export declare const TTL = 1000;
|
|
7
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "0ea26fb8fdbdf895ee2090a3637f9a63";
|
|
8
8
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
9
|
export declare const RepresentationType: string;
|
|
10
10
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -55,6 +55,8 @@ export interface CalculationProcedureVersionDefinitionOutputRepresentationNormal
|
|
|
55
55
|
startDate?: string;
|
|
56
56
|
/** Steps within Calculation Procedure Version */
|
|
57
57
|
step?: CalculationProcedureStepMapOutputRepresentation_CalculationProcedureStepMapOutputRepresentation;
|
|
58
|
+
/** UsageSubtype of Calculation Procedure Version */
|
|
59
|
+
usageSubtype?: string;
|
|
58
60
|
variables?: ResourceListOutputRepresentation_ResourceListOutputRepresentation;
|
|
59
61
|
/** Record Id of Calculation Procedure Version */
|
|
60
62
|
versionId: string;
|
|
@@ -83,6 +85,7 @@ export interface CalculationProcedureVersionDefinitionOutputRepresentation {
|
|
|
83
85
|
showExplExternally?: boolean;
|
|
84
86
|
startDate?: string;
|
|
85
87
|
step?: CalculationProcedureStepMapOutputRepresentation_CalculationProcedureStepMapOutputRepresentation;
|
|
88
|
+
usageSubtype?: string;
|
|
86
89
|
variables?: ResourceListOutputRepresentation_ResourceListOutputRepresentation;
|
|
87
90
|
versionId: string;
|
|
88
91
|
versionNumber?: number;
|
|
@@ -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 = "4f6e67d47d461db23e472470db7662fd";
|
|
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: ExpressionSetInputRepresentation, existing: ExpressionSetInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetInputRepresentationNormalized;
|
|
@@ -22,6 +22,8 @@ export interface ExpressionSetInputRepresentationNormalized {
|
|
|
22
22
|
description?: string;
|
|
23
23
|
/** The name of expression set */
|
|
24
24
|
name: string;
|
|
25
|
+
/** The usage Subtype of expression set */
|
|
26
|
+
usageSubtype?: string;
|
|
25
27
|
/** The usage type of expression set */
|
|
26
28
|
usageType: string;
|
|
27
29
|
/** Versions of Expression Set */
|
|
@@ -38,6 +40,7 @@ export interface ExpressionSetInputRepresentation {
|
|
|
38
40
|
contextDefinitions?: Array<{}>;
|
|
39
41
|
description?: string;
|
|
40
42
|
name: string;
|
|
43
|
+
usageSubtype?: string;
|
|
41
44
|
usageType: string;
|
|
42
45
|
versions?: Array<{}>;
|
|
43
46
|
}
|
|
@@ -3,7 +3,7 @@ import { ExpressionSetErrorRepresentation as ExpressionSetErrorRepresentation_Ex
|
|
|
3
3
|
import { ExpressionSetVersionOutputRepresentation as ExpressionSetVersionOutputRepresentation_ExpressionSetVersionOutputRepresentation } from './ExpressionSetVersionOutputRepresentation';
|
|
4
4
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
5
5
|
export declare const TTL = 1000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "33c218cddbf16148b265a1dc4c369201";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -39,6 +39,8 @@ export interface ExpressionSetOutputRepresentationNormalized {
|
|
|
39
39
|
id: string;
|
|
40
40
|
/** The name of expression set */
|
|
41
41
|
name?: string;
|
|
42
|
+
/** The usage Subtype of expression set */
|
|
43
|
+
usageSubtype?: string;
|
|
42
44
|
/** The usage type of expression set */
|
|
43
45
|
usageType?: string;
|
|
44
46
|
/** Versions of Expression Set */
|
|
@@ -57,6 +59,7 @@ export interface ExpressionSetOutputRepresentation {
|
|
|
57
59
|
error?: ExpressionSetErrorRepresentation_ExpressionSetErrorRepresentation;
|
|
58
60
|
id: string;
|
|
59
61
|
name?: string;
|
|
62
|
+
usageSubtype?: string;
|
|
60
63
|
usageType?: string;
|
|
61
64
|
versions?: Array<ExpressionSetVersionOutputRepresentation_ExpressionSetVersionOutputRepresentation>;
|
|
62
65
|
}
|
|
@@ -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 = "8d2174706ea50658a097009a6c57e36d";
|
|
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,8 +19,8 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
19
19
|
apiName: string;
|
|
20
20
|
/** Label for UsageType */
|
|
21
21
|
label: string;
|
|
22
|
-
/** List of
|
|
23
|
-
|
|
22
|
+
/** List of Usage Subtypes for UsageType */
|
|
23
|
+
usageSubtypeList?: Array<string>;
|
|
24
24
|
/** Is Data Type Defaulting enabled for UsageType */
|
|
25
25
|
usageTypeDataTypeDefaulting?: boolean;
|
|
26
26
|
/** Execution Scale for UsageType */
|
|
@@ -35,7 +35,7 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
35
35
|
export interface UsageTypeOutputRepresentation {
|
|
36
36
|
apiName: string;
|
|
37
37
|
label: string;
|
|
38
|
-
|
|
38
|
+
usageSubtypeList?: Array<string>;
|
|
39
39
|
usageTypeDataTypeDefaulting?: boolean;
|
|
40
40
|
usageTypeExecutionScale?: string;
|
|
41
41
|
}
|
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.363.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.363.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.363.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.363.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -314,6 +314,13 @@ function validate$1g(obj, path = 'ExpressionSetInputRepresentation') {
|
|
|
314
314
|
if (typeof obj_name !== 'string') {
|
|
315
315
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
316
316
|
}
|
|
317
|
+
if (obj.usageSubtype !== undefined) {
|
|
318
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
319
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
320
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
321
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
322
|
+
}
|
|
323
|
+
}
|
|
317
324
|
const obj_usageType = obj.usageType;
|
|
318
325
|
const path_usageType = path + '.usageType';
|
|
319
326
|
if (typeof obj_usageType !== 'string') {
|
|
@@ -956,7 +963,7 @@ function validate$12(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
|
956
963
|
}
|
|
957
964
|
|
|
958
965
|
const TTL$h = 1000;
|
|
959
|
-
const VERSION$k = "
|
|
966
|
+
const VERSION$k = "33c218cddbf16148b265a1dc4c369201";
|
|
960
967
|
function validate$11(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
961
968
|
const v_error = (() => {
|
|
962
969
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1015,6 +1022,13 @@ function validate$11(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
|
1015
1022
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1016
1023
|
}
|
|
1017
1024
|
}
|
|
1025
|
+
if (obj.usageSubtype !== undefined) {
|
|
1026
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
1027
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
1028
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
1029
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1018
1032
|
if (obj.usageType !== undefined) {
|
|
1019
1033
|
const obj_usageType = obj.usageType;
|
|
1020
1034
|
const path_usageType = path + '.usageType';
|
|
@@ -2628,7 +2642,7 @@ function validate$O(obj, path = 'CalculationProcedureStepMapOutputRepresentation
|
|
|
2628
2642
|
}
|
|
2629
2643
|
|
|
2630
2644
|
const TTL$d = 1000;
|
|
2631
|
-
const VERSION$g = "
|
|
2645
|
+
const VERSION$g = "0ea26fb8fdbdf895ee2090a3637f9a63";
|
|
2632
2646
|
function validate$N(obj, path = 'CalculationProcedureVersionDefinitionOutputRepresentation') {
|
|
2633
2647
|
const v_error = (() => {
|
|
2634
2648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2751,6 +2765,13 @@ function validate$N(obj, path = 'CalculationProcedureVersionDefinitionOutputRepr
|
|
|
2751
2765
|
return new TypeError(message);
|
|
2752
2766
|
}
|
|
2753
2767
|
}
|
|
2768
|
+
if (obj.usageSubtype !== undefined) {
|
|
2769
|
+
const obj_usageSubtype = obj.usageSubtype;
|
|
2770
|
+
const path_usageSubtype = path + '.usageSubtype';
|
|
2771
|
+
if (typeof obj_usageSubtype !== 'string') {
|
|
2772
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtype + '" (at "' + path_usageSubtype + '")');
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2754
2775
|
if (obj.variables !== undefined) {
|
|
2755
2776
|
const obj_variables = obj.variables;
|
|
2756
2777
|
const path_variables = path + '.variables';
|
|
@@ -4766,7 +4787,7 @@ function select$n(luvio, params) {
|
|
|
4766
4787
|
return select$o();
|
|
4767
4788
|
}
|
|
4768
4789
|
function keyBuilder$j(luvio, params) {
|
|
4769
|
-
return keyPrefix + '::LookupTablesResultListRepresentation:(' + 'lookupTypes:' + params.queryParams.lookupTypes + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'usageType:' + params.queryParams.usageType + ',' + 'businessKnowledgeModelName:' + params.queryParams.businessKnowledgeModelName + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'executionScaleFlag:' + params.queryParams.executionScaleFlag + ',' + '
|
|
4790
|
+
return keyPrefix + '::LookupTablesResultListRepresentation:(' + 'lookupTypes:' + params.queryParams.lookupTypes + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'usageType:' + params.queryParams.usageType + ',' + 'businessKnowledgeModelName:' + params.queryParams.businessKnowledgeModelName + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'executionScaleFlag:' + params.queryParams.executionScaleFlag + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ')';
|
|
4770
4791
|
}
|
|
4771
4792
|
function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
|
|
4772
4793
|
getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
|
|
@@ -4817,7 +4838,7 @@ const getLookupTables_ConfigPropertyMetadata = [
|
|
|
4817
4838
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
4818
4839
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
4819
4840
|
generateParamConfigMetadata('executionScaleFlag', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4820
|
-
generateParamConfigMetadata('
|
|
4841
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4821
4842
|
];
|
|
4822
4843
|
const getLookupTables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getLookupTables_ConfigPropertyMetadata);
|
|
4823
4844
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$q(getLookupTables_ConfigPropertyMetadata);
|
|
@@ -5363,7 +5384,7 @@ function select$j(luvio, params) {
|
|
|
5363
5384
|
return select$k();
|
|
5364
5385
|
}
|
|
5365
5386
|
function keyBuilder$f(luvio, params) {
|
|
5366
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + '
|
|
5387
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
5367
5388
|
}
|
|
5368
5389
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
5369
5390
|
getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
|
|
@@ -5415,7 +5436,7 @@ const adapterName$b = 'getProcessType';
|
|
|
5415
5436
|
const getProcessType_ConfigPropertyMetadata = [
|
|
5416
5437
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5417
5438
|
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
5418
|
-
generateParamConfigMetadata('
|
|
5439
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
5419
5440
|
];
|
|
5420
5441
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getProcessType_ConfigPropertyMetadata);
|
|
5421
5442
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -5782,17 +5803,17 @@ function validate$w(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
5782
5803
|
if (typeof obj_label !== 'string') {
|
|
5783
5804
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5784
5805
|
}
|
|
5785
|
-
if (obj.
|
|
5786
|
-
const
|
|
5787
|
-
const
|
|
5788
|
-
if (!ArrayIsArray(
|
|
5789
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
5790
|
-
}
|
|
5791
|
-
for (let i = 0; i <
|
|
5792
|
-
const
|
|
5793
|
-
const
|
|
5794
|
-
if (typeof
|
|
5795
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
5806
|
+
if (obj.usageSubtypeList !== undefined) {
|
|
5807
|
+
const obj_usageSubtypeList = obj.usageSubtypeList;
|
|
5808
|
+
const path_usageSubtypeList = path + '.usageSubtypeList';
|
|
5809
|
+
if (!ArrayIsArray(obj_usageSubtypeList)) {
|
|
5810
|
+
return new TypeError('Expected "array" but received "' + typeof obj_usageSubtypeList + '" (at "' + path_usageSubtypeList + '")');
|
|
5811
|
+
}
|
|
5812
|
+
for (let i = 0; i < obj_usageSubtypeList.length; i++) {
|
|
5813
|
+
const obj_usageSubtypeList_item = obj_usageSubtypeList[i];
|
|
5814
|
+
const path_usageSubtypeList_item = path_usageSubtypeList + '[' + i + ']';
|
|
5815
|
+
if (typeof obj_usageSubtypeList_item !== 'string') {
|
|
5816
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageSubtypeList_item + '" (at "' + path_usageSubtypeList_item + '")');
|
|
5796
5817
|
}
|
|
5797
5818
|
}
|
|
5798
5819
|
}
|
|
@@ -8983,4 +9004,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8983
9004
|
});
|
|
8984
9005
|
|
|
8985
9006
|
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 };
|
|
8986
|
-
// version: 1.
|
|
9007
|
+
// version: 1.363.0-112332910d
|
package/src/raml/api.raml
CHANGED
|
@@ -148,6 +148,10 @@ types:
|
|
|
148
148
|
required: false
|
|
149
149
|
items:
|
|
150
150
|
type: object
|
|
151
|
+
usageSubtype:
|
|
152
|
+
description: The usage Subtype of expression set
|
|
153
|
+
type: string
|
|
154
|
+
required: false
|
|
151
155
|
ExpressionSetVersionVariableOutputRepresentation:
|
|
152
156
|
description: Output representation of variable in the expression set version
|
|
153
157
|
type: object
|
|
@@ -672,6 +676,10 @@ types:
|
|
|
672
676
|
required: false
|
|
673
677
|
items:
|
|
674
678
|
type: ExpressionSetVersionOutputRepresentation
|
|
679
|
+
usageSubtype:
|
|
680
|
+
description: The usage Subtype of expression set
|
|
681
|
+
type: string
|
|
682
|
+
required: false
|
|
675
683
|
ExpressionSetObjectAliasOutputRepresentation:
|
|
676
684
|
description: Output representation of Expression Set Object Alias
|
|
677
685
|
type: object
|
|
@@ -799,14 +807,14 @@ types:
|
|
|
799
807
|
description: Is Data Type Defaulting enabled for UsageType
|
|
800
808
|
type: boolean
|
|
801
809
|
required: false
|
|
802
|
-
|
|
803
|
-
description: List of
|
|
810
|
+
usageSubtypeList:
|
|
811
|
+
description: List of Usage Subtypes for UsageType
|
|
804
812
|
type: array
|
|
805
813
|
items:
|
|
806
814
|
type: string
|
|
807
815
|
enum:
|
|
808
|
-
-
|
|
809
|
-
-
|
|
816
|
+
- SampleUsageSubtype1
|
|
817
|
+
- SampleUsageSubtype2
|
|
810
818
|
required: false
|
|
811
819
|
MessageTemplateDetailOutputRepresentation:
|
|
812
820
|
description: Output representation of ExplMessageTemplateDetails
|
|
@@ -1716,6 +1724,10 @@ types:
|
|
|
1716
1724
|
description: versionNumber of Calculation Procedure Version
|
|
1717
1725
|
type: integer
|
|
1718
1726
|
required: false
|
|
1727
|
+
usageSubtype:
|
|
1728
|
+
description: UsageSubtype of Calculation Procedure Version
|
|
1729
|
+
type: string
|
|
1730
|
+
required: false
|
|
1719
1731
|
ExpressionSetAliasGroupInfoFieldListRepresentation:
|
|
1720
1732
|
description: Output Representation of the ExpressionSetAliasGroupInfoField List
|
|
1721
1733
|
type: object
|
|
@@ -2489,7 +2501,7 @@ types:
|
|
|
2489
2501
|
executionScaleFlag:
|
|
2490
2502
|
type: boolean
|
|
2491
2503
|
required: false
|
|
2492
|
-
|
|
2504
|
+
usageSubtype:
|
|
2493
2505
|
type: string
|
|
2494
2506
|
required: false
|
|
2495
2507
|
/omnistudio:
|
|
@@ -2704,8 +2716,8 @@ types:
|
|
|
2704
2716
|
description: Execution scale for process type filtering.
|
|
2705
2717
|
type: string
|
|
2706
2718
|
required: false
|
|
2707
|
-
|
|
2708
|
-
description: Usage
|
|
2719
|
+
usageSubtype:
|
|
2720
|
+
description: Usage Subtype for the Usage type.
|
|
2709
2721
|
type: string
|
|
2710
2722
|
required: false
|
|
2711
2723
|
uriParameters:
|