@salesforce/lds-adapters-industries-rule-builder 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/industries-rule-builder.js +41 -4
- package/dist/es/es2018/types/src/generated/adapters/getLookupTables.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getProcessType.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesLookupTables.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRuleengineProcessTypeByProcessTypeName.d.ts +1 -0
- 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 -1
- package/package.json +4 -4
- package/sfdc/index.js +42 -5
- package/src/raml/api.raml +28 -0
|
@@ -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,6 +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 */),
|
|
3212
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3198
3213
|
];
|
|
3199
3214
|
const getLookupTables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getLookupTables_ConfigPropertyMetadata);
|
|
3200
3215
|
const createResourceParams$h = /*#__PURE__*/ createResourceParams$q(getLookupTables_ConfigPropertyMetadata);
|
|
@@ -5071,7 +5086,7 @@ function validate$r(obj, path = 'CalculationProcedureStepMapOutputRepresentation
|
|
|
5071
5086
|
}
|
|
5072
5087
|
|
|
5073
5088
|
const TTL$9 = 1000;
|
|
5074
|
-
const VERSION$a = "
|
|
5089
|
+
const VERSION$a = "0ea26fb8fdbdf895ee2090a3637f9a63";
|
|
5075
5090
|
function validate$q(obj, path = 'CalculationProcedureVersionDefinitionOutputRepresentation') {
|
|
5076
5091
|
const v_error = (() => {
|
|
5077
5092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5194,6 +5209,13 @@ function validate$q(obj, path = 'CalculationProcedureVersionDefinitionOutputRepr
|
|
|
5194
5209
|
return new TypeError(message);
|
|
5195
5210
|
}
|
|
5196
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
|
+
}
|
|
5197
5219
|
if (obj.variables !== undefined) {
|
|
5198
5220
|
const obj_variables = obj.variables;
|
|
5199
5221
|
const path_variables = path + '.variables';
|
|
@@ -7829,7 +7851,7 @@ function select$5(luvio, params) {
|
|
|
7829
7851
|
return select$6();
|
|
7830
7852
|
}
|
|
7831
7853
|
function keyBuilder$4(luvio, params) {
|
|
7832
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
7854
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
7833
7855
|
}
|
|
7834
7856
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
7835
7857
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
|
|
@@ -7881,6 +7903,7 @@ const adapterName$3 = 'getProcessType';
|
|
|
7881
7903
|
const getProcessType_ConfigPropertyMetadata = [
|
|
7882
7904
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7883
7905
|
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7906
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7884
7907
|
];
|
|
7885
7908
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProcessType_ConfigPropertyMetadata);
|
|
7886
7909
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -7979,6 +8002,20 @@ function validate$4(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
7979
8002
|
if (typeof obj_label !== 'string') {
|
|
7980
8003
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7981
8004
|
}
|
|
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 + '")');
|
|
8016
|
+
}
|
|
8017
|
+
}
|
|
8018
|
+
}
|
|
7982
8019
|
if (obj.usageTypeDataTypeDefaulting !== undefined) {
|
|
7983
8020
|
const obj_usageTypeDataTypeDefaulting = obj.usageTypeDataTypeDefaulting;
|
|
7984
8021
|
const path_usageTypeDataTypeDefaulting = path + '.usageTypeDataTypeDefaulting';
|
|
@@ -13,6 +13,7 @@ export interface GetLookupTablesConfig {
|
|
|
13
13
|
limit?: number;
|
|
14
14
|
offset?: number;
|
|
15
15
|
executionScaleFlag?: boolean;
|
|
16
|
+
usageSubtype?: string;
|
|
16
17
|
}
|
|
17
18
|
export declare const createResourceParams: (config: GetLookupTablesConfig) => resources_getConnectBusinessRulesLookupTables_ResourceRequestConfig;
|
|
18
19
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLookupTablesConfig): string;
|
|
@@ -8,6 +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
|
+
usageSubtype?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const createResourceParams: (config: GetProcessTypeConfig) => resources_getConnectRuleengineProcessTypeByProcessTypeName_ResourceRequestConfig;
|
|
13
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,6 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
limit?: number;
|
|
10
10
|
offset?: number;
|
|
11
11
|
executionScaleFlag?: boolean;
|
|
12
|
+
usageSubtype?: string;
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
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,6 +19,8 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
19
19
|
apiName: string;
|
|
20
20
|
/** Label for UsageType */
|
|
21
21
|
label: string;
|
|
22
|
+
/** List of Usage Subtypes for UsageType */
|
|
23
|
+
usageSubtypeList?: Array<string>;
|
|
22
24
|
/** Is Data Type Defaulting enabled for UsageType */
|
|
23
25
|
usageTypeDataTypeDefaulting?: boolean;
|
|
24
26
|
/** Execution Scale for UsageType */
|
|
@@ -33,6 +35,7 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
33
35
|
export interface UsageTypeOutputRepresentation {
|
|
34
36
|
apiName: string;
|
|
35
37
|
label: string;
|
|
38
|
+
usageSubtypeList?: Array<string>;
|
|
36
39
|
usageTypeDataTypeDefaulting?: boolean;
|
|
37
40
|
usageTypeExecutionScale?: string;
|
|
38
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.362.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.362.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.362.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,6 +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 */),
|
|
4841
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4820
4842
|
];
|
|
4821
4843
|
const getLookupTables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getLookupTables_ConfigPropertyMetadata);
|
|
4822
4844
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$q(getLookupTables_ConfigPropertyMetadata);
|
|
@@ -5362,7 +5384,7 @@ function select$j(luvio, params) {
|
|
|
5362
5384
|
return select$k();
|
|
5363
5385
|
}
|
|
5364
5386
|
function keyBuilder$f(luvio, params) {
|
|
5365
|
-
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
5387
|
+
return keyPrefix + '::ProcessTypeOutputRepresentation:(' + 'executionScale:' + params.queryParams.executionScale + ',' + 'usageSubtype:' + params.queryParams.usageSubtype + ',' + 'processTypeName:' + params.urlParams.processTypeName + ')';
|
|
5366
5388
|
}
|
|
5367
5389
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
5368
5390
|
getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
|
|
@@ -5414,6 +5436,7 @@ const adapterName$b = 'getProcessType';
|
|
|
5414
5436
|
const getProcessType_ConfigPropertyMetadata = [
|
|
5415
5437
|
generateParamConfigMetadata('processTypeName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
5416
5438
|
generateParamConfigMetadata('executionScale', false, 1 /* QueryParameter */, 0 /* String */),
|
|
5439
|
+
generateParamConfigMetadata('usageSubtype', false, 1 /* QueryParameter */, 0 /* String */),
|
|
5417
5440
|
];
|
|
5418
5441
|
const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getProcessType_ConfigPropertyMetadata);
|
|
5419
5442
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$q(getProcessType_ConfigPropertyMetadata);
|
|
@@ -5780,6 +5803,20 @@ function validate$w(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
5780
5803
|
if (typeof obj_label !== 'string') {
|
|
5781
5804
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5782
5805
|
}
|
|
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 + '")');
|
|
5817
|
+
}
|
|
5818
|
+
}
|
|
5819
|
+
}
|
|
5783
5820
|
if (obj.usageTypeDataTypeDefaulting !== undefined) {
|
|
5784
5821
|
const obj_usageTypeDataTypeDefaulting = obj.usageTypeDataTypeDefaulting;
|
|
5785
5822
|
const path_usageTypeDataTypeDefaulting = path + '.usageTypeDataTypeDefaulting';
|
|
@@ -8967,4 +9004,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8967
9004
|
});
|
|
8968
9005
|
|
|
8969
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 };
|
|
8970
|
-
// version: 1.
|
|
9007
|
+
// version: 1.362.0-d2e818ae61
|
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,6 +807,15 @@ types:
|
|
|
799
807
|
description: Is Data Type Defaulting enabled for UsageType
|
|
800
808
|
type: boolean
|
|
801
809
|
required: false
|
|
810
|
+
usageSubtypeList:
|
|
811
|
+
description: List of Usage Subtypes for UsageType
|
|
812
|
+
type: array
|
|
813
|
+
items:
|
|
814
|
+
type: string
|
|
815
|
+
enum:
|
|
816
|
+
- SampleUsageSubtype1
|
|
817
|
+
- SampleUsageSubtype2
|
|
818
|
+
required: false
|
|
802
819
|
MessageTemplateDetailOutputRepresentation:
|
|
803
820
|
description: Output representation of ExplMessageTemplateDetails
|
|
804
821
|
type: object
|
|
@@ -1707,6 +1724,10 @@ types:
|
|
|
1707
1724
|
description: versionNumber of Calculation Procedure Version
|
|
1708
1725
|
type: integer
|
|
1709
1726
|
required: false
|
|
1727
|
+
usageSubtype:
|
|
1728
|
+
description: UsageSubtype of Calculation Procedure Version
|
|
1729
|
+
type: string
|
|
1730
|
+
required: false
|
|
1710
1731
|
ExpressionSetAliasGroupInfoFieldListRepresentation:
|
|
1711
1732
|
description: Output Representation of the ExpressionSetAliasGroupInfoField List
|
|
1712
1733
|
type: object
|
|
@@ -2480,6 +2501,9 @@ types:
|
|
|
2480
2501
|
executionScaleFlag:
|
|
2481
2502
|
type: boolean
|
|
2482
2503
|
required: false
|
|
2504
|
+
usageSubtype:
|
|
2505
|
+
type: string
|
|
2506
|
+
required: false
|
|
2483
2507
|
/omnistudio:
|
|
2484
2508
|
/decision-tables:
|
|
2485
2509
|
get:
|
|
@@ -2692,6 +2716,10 @@ types:
|
|
|
2692
2716
|
description: Execution scale for process type filtering.
|
|
2693
2717
|
type: string
|
|
2694
2718
|
required: false
|
|
2719
|
+
usageSubtype:
|
|
2720
|
+
description: Usage Subtype for the Usage type.
|
|
2721
|
+
type: string
|
|
2722
|
+
required: false
|
|
2695
2723
|
uriParameters:
|
|
2696
2724
|
processTypeName:
|
|
2697
2725
|
type: string
|