@salesforce/lds-adapters-service-ecm 1.401.0 → 1.403.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/service-ecm.js +88 -16
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleDetailsRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleParameterRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +89 -17
- package/src/raml/api.raml +10 -2
|
@@ -10275,7 +10275,7 @@ const saveEligibilityRuleAdapterFactory = (luvio) => {
|
|
|
10275
10275
|
};
|
|
10276
10276
|
};
|
|
10277
10277
|
|
|
10278
|
-
const VERSION$3 = "
|
|
10278
|
+
const VERSION$3 = "b02799a92b5f0dcd1b51056efa6c8c52";
|
|
10279
10279
|
function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
10280
10280
|
const v_error = (() => {
|
|
10281
10281
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10323,6 +10323,13 @@ function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
10323
10323
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
|
+
if (obj.isCreatable !== undefined) {
|
|
10327
|
+
const obj_isCreatable = obj.isCreatable;
|
|
10328
|
+
const path_isCreatable = path + '.isCreatable';
|
|
10329
|
+
if (typeof obj_isCreatable !== 'boolean') {
|
|
10330
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCreatable + '" (at "' + path_isCreatable + '")');
|
|
10331
|
+
}
|
|
10332
|
+
}
|
|
10326
10333
|
if (obj.isGroupByField !== undefined) {
|
|
10327
10334
|
const obj_isGroupByField = obj.isGroupByField;
|
|
10328
10335
|
const path_isGroupByField = path + '.isGroupByField';
|
|
@@ -10330,6 +10337,13 @@ function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
10330
10337
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupByField + '" (at "' + path_isGroupByField + '")');
|
|
10331
10338
|
}
|
|
10332
10339
|
}
|
|
10340
|
+
if (obj.isNullable !== undefined) {
|
|
10341
|
+
const obj_isNullable = obj.isNullable;
|
|
10342
|
+
const path_isNullable = path + '.isNullable';
|
|
10343
|
+
if (typeof obj_isNullable !== 'boolean') {
|
|
10344
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isNullable + '" (at "' + path_isNullable + '")');
|
|
10345
|
+
}
|
|
10346
|
+
}
|
|
10333
10347
|
if (obj.isPriority !== undefined) {
|
|
10334
10348
|
const obj_isPriority = obj.isPriority;
|
|
10335
10349
|
const path_isPriority = path + '.isPriority';
|
|
@@ -10425,11 +10439,21 @@ const select$4 = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
10425
10439
|
kind: 'Scalar',
|
|
10426
10440
|
required: false
|
|
10427
10441
|
},
|
|
10442
|
+
{
|
|
10443
|
+
name: 'isCreatable',
|
|
10444
|
+
kind: 'Scalar',
|
|
10445
|
+
required: false
|
|
10446
|
+
},
|
|
10428
10447
|
{
|
|
10429
10448
|
name: 'isGroupByField',
|
|
10430
10449
|
kind: 'Scalar',
|
|
10431
10450
|
required: false
|
|
10432
10451
|
},
|
|
10452
|
+
{
|
|
10453
|
+
name: 'isNullable',
|
|
10454
|
+
kind: 'Scalar',
|
|
10455
|
+
required: false
|
|
10456
|
+
},
|
|
10433
10457
|
{
|
|
10434
10458
|
name: 'isPriority',
|
|
10435
10459
|
kind: 'Scalar',
|
|
@@ -10474,6 +10498,19 @@ const select$4 = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
10474
10498
|
};
|
|
10475
10499
|
};
|
|
10476
10500
|
function equals$3(existing, incoming) {
|
|
10501
|
+
const existing_isCreatable = existing.isCreatable;
|
|
10502
|
+
const incoming_isCreatable = incoming.isCreatable;
|
|
10503
|
+
// if at least one of these optionals is defined
|
|
10504
|
+
if (existing_isCreatable !== undefined || incoming_isCreatable !== undefined) {
|
|
10505
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10506
|
+
// not equal
|
|
10507
|
+
if (existing_isCreatable === undefined || incoming_isCreatable === undefined) {
|
|
10508
|
+
return false;
|
|
10509
|
+
}
|
|
10510
|
+
if (!(existing_isCreatable === incoming_isCreatable)) {
|
|
10511
|
+
return false;
|
|
10512
|
+
}
|
|
10513
|
+
}
|
|
10477
10514
|
const existing_isGroupByField = existing.isGroupByField;
|
|
10478
10515
|
const incoming_isGroupByField = incoming.isGroupByField;
|
|
10479
10516
|
// if at least one of these optionals is defined
|
|
@@ -10487,6 +10524,19 @@ function equals$3(existing, incoming) {
|
|
|
10487
10524
|
return false;
|
|
10488
10525
|
}
|
|
10489
10526
|
}
|
|
10527
|
+
const existing_isNullable = existing.isNullable;
|
|
10528
|
+
const incoming_isNullable = incoming.isNullable;
|
|
10529
|
+
// if at least one of these optionals is defined
|
|
10530
|
+
if (existing_isNullable !== undefined || incoming_isNullable !== undefined) {
|
|
10531
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10532
|
+
// not equal
|
|
10533
|
+
if (existing_isNullable === undefined || incoming_isNullable === undefined) {
|
|
10534
|
+
return false;
|
|
10535
|
+
}
|
|
10536
|
+
if (!(existing_isNullable === incoming_isNullable)) {
|
|
10537
|
+
return false;
|
|
10538
|
+
}
|
|
10539
|
+
}
|
|
10490
10540
|
const existing_isPriority = existing.isPriority;
|
|
10491
10541
|
const incoming_isPriority = incoming.isPriority;
|
|
10492
10542
|
// if at least one of these optionals is defined
|
|
@@ -10819,7 +10869,7 @@ function equals$2(existing, incoming) {
|
|
|
10819
10869
|
return true;
|
|
10820
10870
|
}
|
|
10821
10871
|
|
|
10822
|
-
const VERSION$1 = "
|
|
10872
|
+
const VERSION$1 = "c101c9f5b1d34ded9766bfd5cb1d2df1";
|
|
10823
10873
|
function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
10824
10874
|
const v_error = (() => {
|
|
10825
10875
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10832,10 +10882,12 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
|
10832
10882
|
return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
|
|
10833
10883
|
}
|
|
10834
10884
|
}
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10885
|
+
if (obj.conditionType !== undefined) {
|
|
10886
|
+
const obj_conditionType = obj.conditionType;
|
|
10887
|
+
const path_conditionType = path + '.conditionType';
|
|
10888
|
+
if (typeof obj_conditionType !== 'string') {
|
|
10889
|
+
return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
|
|
10890
|
+
}
|
|
10839
10891
|
}
|
|
10840
10892
|
const obj_createdDate = obj.createdDate;
|
|
10841
10893
|
const path_createdDate = path + '.createdDate';
|
|
@@ -10923,10 +10975,12 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
|
10923
10975
|
return new TypeError('Expected "string" but received "' + typeof obj_refreshStatus + '" (at "' + path_refreshStatus + '")');
|
|
10924
10976
|
}
|
|
10925
10977
|
}
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10978
|
+
if (obj.rowLevelOverrideType !== undefined) {
|
|
10979
|
+
const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
|
|
10980
|
+
const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
|
|
10981
|
+
if (typeof obj_rowLevelOverrideType !== 'string') {
|
|
10982
|
+
return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
|
|
10983
|
+
}
|
|
10930
10984
|
}
|
|
10931
10985
|
if (obj.sourceCriteria !== undefined) {
|
|
10932
10986
|
const obj_sourceCriteria = obj.sourceCriteria;
|
|
@@ -10985,7 +11039,8 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
10985
11039
|
},
|
|
10986
11040
|
{
|
|
10987
11041
|
name: 'conditionType',
|
|
10988
|
-
kind: 'Scalar'
|
|
11042
|
+
kind: 'Scalar',
|
|
11043
|
+
required: false
|
|
10989
11044
|
},
|
|
10990
11045
|
{
|
|
10991
11046
|
name: 'createdDate',
|
|
@@ -11047,7 +11102,8 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
11047
11102
|
},
|
|
11048
11103
|
{
|
|
11049
11104
|
name: 'rowLevelOverrideType',
|
|
11050
|
-
kind: 'Scalar'
|
|
11105
|
+
kind: 'Scalar',
|
|
11106
|
+
required: false
|
|
11051
11107
|
},
|
|
11052
11108
|
{
|
|
11053
11109
|
name: 'sourceCriteria',
|
|
@@ -11118,8 +11174,16 @@ function equals$1(existing, incoming) {
|
|
|
11118
11174
|
}
|
|
11119
11175
|
const existing_conditionType = existing.conditionType;
|
|
11120
11176
|
const incoming_conditionType = incoming.conditionType;
|
|
11121
|
-
if
|
|
11122
|
-
|
|
11177
|
+
// if at least one of these optionals is defined
|
|
11178
|
+
if (existing_conditionType !== undefined || incoming_conditionType !== undefined) {
|
|
11179
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11180
|
+
// not equal
|
|
11181
|
+
if (existing_conditionType === undefined || incoming_conditionType === undefined) {
|
|
11182
|
+
return false;
|
|
11183
|
+
}
|
|
11184
|
+
if (!(existing_conditionType === incoming_conditionType)) {
|
|
11185
|
+
return false;
|
|
11186
|
+
}
|
|
11123
11187
|
}
|
|
11124
11188
|
const existing_createdDate = existing.createdDate;
|
|
11125
11189
|
const incoming_createdDate = incoming.createdDate;
|
|
@@ -11208,8 +11272,16 @@ function equals$1(existing, incoming) {
|
|
|
11208
11272
|
}
|
|
11209
11273
|
const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
|
|
11210
11274
|
const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
|
|
11211
|
-
if
|
|
11212
|
-
|
|
11275
|
+
// if at least one of these optionals is defined
|
|
11276
|
+
if (existing_rowLevelOverrideType !== undefined || incoming_rowLevelOverrideType !== undefined) {
|
|
11277
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11278
|
+
// not equal
|
|
11279
|
+
if (existing_rowLevelOverrideType === undefined || incoming_rowLevelOverrideType === undefined) {
|
|
11280
|
+
return false;
|
|
11281
|
+
}
|
|
11282
|
+
if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
|
|
11283
|
+
return false;
|
|
11284
|
+
}
|
|
11213
11285
|
}
|
|
11214
11286
|
const existing_sourceObject = existing.sourceObject;
|
|
11215
11287
|
const incoming_sourceObject = incoming.sourceObject;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EligibilityRuleParameterRepresentation as EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation } from './EligibilityRuleParameterRepresentation';
|
|
2
2
|
import { DecisionTableSourceCriteriaOutputRepresentation as DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation } from './DecisionTableSourceCriteriaOutputRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "c101c9f5b1d34ded9766bfd5cb1d2df1";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: EligibilityRuleDetailsRepresentation, existing: EligibilityRuleDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleDetailsRepresentationNormalized;
|
|
@@ -19,7 +19,7 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
19
19
|
/** The criteria for the condition */
|
|
20
20
|
conditionCriteria?: string;
|
|
21
21
|
/** The type of the condition */
|
|
22
|
-
conditionType
|
|
22
|
+
conditionType?: string;
|
|
23
23
|
/** The date and time when the decision table was created */
|
|
24
24
|
createdDate: string;
|
|
25
25
|
/** The unique identifier of the decision table that's associated with the eligibility rule */
|
|
@@ -45,7 +45,7 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
45
45
|
/** The refresh status of the decision table */
|
|
46
46
|
refreshStatus?: string;
|
|
47
47
|
/** Indicates the override type at the row level */
|
|
48
|
-
rowLevelOverrideType
|
|
48
|
+
rowLevelOverrideType?: string;
|
|
49
49
|
/** The criteria used to filter and select a specific type rule for application */
|
|
50
50
|
sourceCriteria?: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
51
51
|
/** Specifies the Source object used to get the necessary information */
|
|
@@ -65,7 +65,7 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface EligibilityRuleDetailsRepresentation {
|
|
67
67
|
conditionCriteria?: string;
|
|
68
|
-
conditionType
|
|
68
|
+
conditionType?: string;
|
|
69
69
|
createdDate: string;
|
|
70
70
|
decisionTableId: string;
|
|
71
71
|
decisionTableName: string;
|
|
@@ -78,7 +78,7 @@ export interface EligibilityRuleDetailsRepresentation {
|
|
|
78
78
|
parameters?: Array<EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation>;
|
|
79
79
|
refreshFailureReason?: string;
|
|
80
80
|
refreshStatus?: string;
|
|
81
|
-
rowLevelOverrideType
|
|
81
|
+
rowLevelOverrideType?: string;
|
|
82
82
|
sourceCriteria?: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
|
|
83
83
|
sourceObject: string;
|
|
84
84
|
sourceType: string;
|
package/dist/es/es2018/types/src/generated/types/EligibilityRuleParameterRepresentation.d.ts
CHANGED
|
@@ -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 = "b02799a92b5f0dcd1b51056efa6c8c52";
|
|
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: EligibilityRuleParameterRepresentation, existing: EligibilityRuleParameterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleParameterRepresentationNormalized;
|
|
@@ -26,8 +26,12 @@ export interface EligibilityRuleParameterRepresentationNormalized {
|
|
|
26
26
|
domainEntity?: string;
|
|
27
27
|
/** The name of the field to be used in the decision table */
|
|
28
28
|
fieldName?: string;
|
|
29
|
+
/** Indicates whether the field can be created when the source object record is created */
|
|
30
|
+
isCreatable?: boolean;
|
|
29
31
|
/** Indicates whether the field is used to group the business rules of the decision table */
|
|
30
32
|
isGroupByField?: boolean;
|
|
33
|
+
/** Indicates whether the field can have a null value in the source object records */
|
|
34
|
+
isNullable?: boolean;
|
|
31
35
|
/** Whether it is priority field or not */
|
|
32
36
|
isPriority?: boolean;
|
|
33
37
|
/** Valid operators for a field based on its usage */
|
|
@@ -58,7 +62,9 @@ export interface EligibilityRuleParameterRepresentation {
|
|
|
58
62
|
decimalScale?: number;
|
|
59
63
|
domainEntity?: string;
|
|
60
64
|
fieldName?: string;
|
|
65
|
+
isCreatable?: boolean;
|
|
61
66
|
isGroupByField?: boolean;
|
|
67
|
+
isNullable?: boolean;
|
|
62
68
|
isPriority?: boolean;
|
|
63
69
|
isRequired?: boolean;
|
|
64
70
|
maxlength?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.403.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.403.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.403.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -9184,7 +9184,7 @@ const getCatalogItemAdapterFactory = (luvio) => function ecm__getCatalogItem(unt
|
|
|
9184
9184
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
9185
9185
|
};
|
|
9186
9186
|
|
|
9187
|
-
const VERSION$6 = "
|
|
9187
|
+
const VERSION$6 = "b02799a92b5f0dcd1b51056efa6c8c52";
|
|
9188
9188
|
function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
9189
9189
|
const v_error = (() => {
|
|
9190
9190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9232,6 +9232,13 @@ function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
9232
9232
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
|
|
9233
9233
|
}
|
|
9234
9234
|
}
|
|
9235
|
+
if (obj.isCreatable !== undefined) {
|
|
9236
|
+
const obj_isCreatable = obj.isCreatable;
|
|
9237
|
+
const path_isCreatable = path + '.isCreatable';
|
|
9238
|
+
if (typeof obj_isCreatable !== 'boolean') {
|
|
9239
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCreatable + '" (at "' + path_isCreatable + '")');
|
|
9240
|
+
}
|
|
9241
|
+
}
|
|
9235
9242
|
if (obj.isGroupByField !== undefined) {
|
|
9236
9243
|
const obj_isGroupByField = obj.isGroupByField;
|
|
9237
9244
|
const path_isGroupByField = path + '.isGroupByField';
|
|
@@ -9239,6 +9246,13 @@ function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
9239
9246
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupByField + '" (at "' + path_isGroupByField + '")');
|
|
9240
9247
|
}
|
|
9241
9248
|
}
|
|
9249
|
+
if (obj.isNullable !== undefined) {
|
|
9250
|
+
const obj_isNullable = obj.isNullable;
|
|
9251
|
+
const path_isNullable = path + '.isNullable';
|
|
9252
|
+
if (typeof obj_isNullable !== 'boolean') {
|
|
9253
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isNullable + '" (at "' + path_isNullable + '")');
|
|
9254
|
+
}
|
|
9255
|
+
}
|
|
9242
9256
|
if (obj.isPriority !== undefined) {
|
|
9243
9257
|
const obj_isPriority = obj.isPriority;
|
|
9244
9258
|
const path_isPriority = path + '.isPriority';
|
|
@@ -9334,11 +9348,21 @@ const select$b = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
9334
9348
|
kind: 'Scalar',
|
|
9335
9349
|
required: false
|
|
9336
9350
|
},
|
|
9351
|
+
{
|
|
9352
|
+
name: 'isCreatable',
|
|
9353
|
+
kind: 'Scalar',
|
|
9354
|
+
required: false
|
|
9355
|
+
},
|
|
9337
9356
|
{
|
|
9338
9357
|
name: 'isGroupByField',
|
|
9339
9358
|
kind: 'Scalar',
|
|
9340
9359
|
required: false
|
|
9341
9360
|
},
|
|
9361
|
+
{
|
|
9362
|
+
name: 'isNullable',
|
|
9363
|
+
kind: 'Scalar',
|
|
9364
|
+
required: false
|
|
9365
|
+
},
|
|
9342
9366
|
{
|
|
9343
9367
|
name: 'isPriority',
|
|
9344
9368
|
kind: 'Scalar',
|
|
@@ -9383,6 +9407,19 @@ const select$b = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
9383
9407
|
};
|
|
9384
9408
|
};
|
|
9385
9409
|
function equals$6(existing, incoming) {
|
|
9410
|
+
const existing_isCreatable = existing.isCreatable;
|
|
9411
|
+
const incoming_isCreatable = incoming.isCreatable;
|
|
9412
|
+
// if at least one of these optionals is defined
|
|
9413
|
+
if (existing_isCreatable !== undefined || incoming_isCreatable !== undefined) {
|
|
9414
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9415
|
+
// not equal
|
|
9416
|
+
if (existing_isCreatable === undefined || incoming_isCreatable === undefined) {
|
|
9417
|
+
return false;
|
|
9418
|
+
}
|
|
9419
|
+
if (!(existing_isCreatable === incoming_isCreatable)) {
|
|
9420
|
+
return false;
|
|
9421
|
+
}
|
|
9422
|
+
}
|
|
9386
9423
|
const existing_isGroupByField = existing.isGroupByField;
|
|
9387
9424
|
const incoming_isGroupByField = incoming.isGroupByField;
|
|
9388
9425
|
// if at least one of these optionals is defined
|
|
@@ -9396,6 +9433,19 @@ function equals$6(existing, incoming) {
|
|
|
9396
9433
|
return false;
|
|
9397
9434
|
}
|
|
9398
9435
|
}
|
|
9436
|
+
const existing_isNullable = existing.isNullable;
|
|
9437
|
+
const incoming_isNullable = incoming.isNullable;
|
|
9438
|
+
// if at least one of these optionals is defined
|
|
9439
|
+
if (existing_isNullable !== undefined || incoming_isNullable !== undefined) {
|
|
9440
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9441
|
+
// not equal
|
|
9442
|
+
if (existing_isNullable === undefined || incoming_isNullable === undefined) {
|
|
9443
|
+
return false;
|
|
9444
|
+
}
|
|
9445
|
+
if (!(existing_isNullable === incoming_isNullable)) {
|
|
9446
|
+
return false;
|
|
9447
|
+
}
|
|
9448
|
+
}
|
|
9399
9449
|
const existing_isPriority = existing.isPriority;
|
|
9400
9450
|
const incoming_isPriority = incoming.isPriority;
|
|
9401
9451
|
// if at least one of these optionals is defined
|
|
@@ -9728,7 +9778,7 @@ function equals$5(existing, incoming) {
|
|
|
9728
9778
|
return true;
|
|
9729
9779
|
}
|
|
9730
9780
|
|
|
9731
|
-
const VERSION$4 = "
|
|
9781
|
+
const VERSION$4 = "c101c9f5b1d34ded9766bfd5cb1d2df1";
|
|
9732
9782
|
function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
9733
9783
|
const v_error = (() => {
|
|
9734
9784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9741,10 +9791,12 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
|
9741
9791
|
return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
|
|
9742
9792
|
}
|
|
9743
9793
|
}
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9794
|
+
if (obj.conditionType !== undefined) {
|
|
9795
|
+
const obj_conditionType = obj.conditionType;
|
|
9796
|
+
const path_conditionType = path + '.conditionType';
|
|
9797
|
+
if (typeof obj_conditionType !== 'string') {
|
|
9798
|
+
return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
|
|
9799
|
+
}
|
|
9748
9800
|
}
|
|
9749
9801
|
const obj_createdDate = obj.createdDate;
|
|
9750
9802
|
const path_createdDate = path + '.createdDate';
|
|
@@ -9832,10 +9884,12 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
|
9832
9884
|
return new TypeError('Expected "string" but received "' + typeof obj_refreshStatus + '" (at "' + path_refreshStatus + '")');
|
|
9833
9885
|
}
|
|
9834
9886
|
}
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9887
|
+
if (obj.rowLevelOverrideType !== undefined) {
|
|
9888
|
+
const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
|
|
9889
|
+
const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
|
|
9890
|
+
if (typeof obj_rowLevelOverrideType !== 'string') {
|
|
9891
|
+
return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
|
|
9892
|
+
}
|
|
9839
9893
|
}
|
|
9840
9894
|
if (obj.sourceCriteria !== undefined) {
|
|
9841
9895
|
const obj_sourceCriteria = obj.sourceCriteria;
|
|
@@ -9894,7 +9948,8 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
9894
9948
|
},
|
|
9895
9949
|
{
|
|
9896
9950
|
name: 'conditionType',
|
|
9897
|
-
kind: 'Scalar'
|
|
9951
|
+
kind: 'Scalar',
|
|
9952
|
+
required: false
|
|
9898
9953
|
},
|
|
9899
9954
|
{
|
|
9900
9955
|
name: 'createdDate',
|
|
@@ -9956,7 +10011,8 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
9956
10011
|
},
|
|
9957
10012
|
{
|
|
9958
10013
|
name: 'rowLevelOverrideType',
|
|
9959
|
-
kind: 'Scalar'
|
|
10014
|
+
kind: 'Scalar',
|
|
10015
|
+
required: false
|
|
9960
10016
|
},
|
|
9961
10017
|
{
|
|
9962
10018
|
name: 'sourceCriteria',
|
|
@@ -10027,8 +10083,16 @@ function equals$4(existing, incoming) {
|
|
|
10027
10083
|
}
|
|
10028
10084
|
const existing_conditionType = existing.conditionType;
|
|
10029
10085
|
const incoming_conditionType = incoming.conditionType;
|
|
10030
|
-
if
|
|
10031
|
-
|
|
10086
|
+
// if at least one of these optionals is defined
|
|
10087
|
+
if (existing_conditionType !== undefined || incoming_conditionType !== undefined) {
|
|
10088
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10089
|
+
// not equal
|
|
10090
|
+
if (existing_conditionType === undefined || incoming_conditionType === undefined) {
|
|
10091
|
+
return false;
|
|
10092
|
+
}
|
|
10093
|
+
if (!(existing_conditionType === incoming_conditionType)) {
|
|
10094
|
+
return false;
|
|
10095
|
+
}
|
|
10032
10096
|
}
|
|
10033
10097
|
const existing_createdDate = existing.createdDate;
|
|
10034
10098
|
const incoming_createdDate = incoming.createdDate;
|
|
@@ -10117,8 +10181,16 @@ function equals$4(existing, incoming) {
|
|
|
10117
10181
|
}
|
|
10118
10182
|
const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
|
|
10119
10183
|
const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
|
|
10120
|
-
if
|
|
10121
|
-
|
|
10184
|
+
// if at least one of these optionals is defined
|
|
10185
|
+
if (existing_rowLevelOverrideType !== undefined || incoming_rowLevelOverrideType !== undefined) {
|
|
10186
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10187
|
+
// not equal
|
|
10188
|
+
if (existing_rowLevelOverrideType === undefined || incoming_rowLevelOverrideType === undefined) {
|
|
10189
|
+
return false;
|
|
10190
|
+
}
|
|
10191
|
+
if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
|
|
10192
|
+
return false;
|
|
10193
|
+
}
|
|
10122
10194
|
}
|
|
10123
10195
|
const existing_sourceObject = existing.sourceObject;
|
|
10124
10196
|
const incoming_sourceObject = incoming.sourceObject;
|
|
@@ -11697,4 +11769,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11697
11769
|
});
|
|
11698
11770
|
|
|
11699
11771
|
export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, downloadServiceProcessTemplate, downloadServiceProcessTemplate_imperative, generateIntakeForm, generateOmniScript, getAgentActions, getAgentActions_imperative, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate, getAllServiceProcessTemplate_imperative, getCatalogItem, getCatalogItem_imperative, getEligibilityRuleMetadata, getEligibilityRuleMetadata_imperative, getServiceRequest, getServiceRequest_imperative, saveEligibilityRule, updateCatalogItem, updateEpcCategories };
|
|
11700
|
-
// version: 1.
|
|
11772
|
+
// version: 1.403.0-5476a05446
|
package/src/raml/api.raml
CHANGED
|
@@ -1656,7 +1656,7 @@ types:
|
|
|
1656
1656
|
type: object
|
|
1657
1657
|
properties:
|
|
1658
1658
|
rowLevelOverrideType:
|
|
1659
|
-
required:
|
|
1659
|
+
required: false
|
|
1660
1660
|
description: Indicates the override type at the row level
|
|
1661
1661
|
type: string
|
|
1662
1662
|
enum:
|
|
@@ -1673,7 +1673,7 @@ types:
|
|
|
1673
1673
|
description: The criteria for the condition
|
|
1674
1674
|
type: string
|
|
1675
1675
|
conditionType:
|
|
1676
|
-
required:
|
|
1676
|
+
required: false
|
|
1677
1677
|
description: The type of the condition
|
|
1678
1678
|
type: string
|
|
1679
1679
|
enum:
|
|
@@ -1812,6 +1812,14 @@ types:
|
|
|
1812
1812
|
description: The name of the field to be used in the decision table
|
|
1813
1813
|
type: string
|
|
1814
1814
|
required: false
|
|
1815
|
+
isCreatable:
|
|
1816
|
+
description: Indicates whether the field can be created when the source object record is created
|
|
1817
|
+
type: boolean
|
|
1818
|
+
required: false
|
|
1819
|
+
isNullable:
|
|
1820
|
+
description: Indicates whether the field can have a null value in the source object records
|
|
1821
|
+
type: boolean
|
|
1822
|
+
required: false
|
|
1815
1823
|
isGroupByField:
|
|
1816
1824
|
description: Indicates whether the field is used to group the business rules
|
|
1817
1825
|
of the decision table
|