@salesforce/lds-adapters-service-ecm 1.400.0 → 1.402.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.
@@ -10275,7 +10275,7 @@ const saveEligibilityRuleAdapterFactory = (luvio) => {
10275
10275
  };
10276
10276
  };
10277
10277
 
10278
- const VERSION$3 = "7b8b7b9b84514bc31b9067d070187292";
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,21 +10869,25 @@ function equals$2(existing, incoming) {
10819
10869
  return true;
10820
10870
  }
10821
10871
 
10822
- const VERSION$1 = "55f724b58c73a67346c037f8dde8ece8";
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) {
10826
10876
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10827
10877
  }
10828
- const obj_conditionCriteria = obj.conditionCriteria;
10829
- const path_conditionCriteria = path + '.conditionCriteria';
10830
- if (typeof obj_conditionCriteria !== 'string') {
10831
- return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
10878
+ if (obj.conditionCriteria !== undefined) {
10879
+ const obj_conditionCriteria = obj.conditionCriteria;
10880
+ const path_conditionCriteria = path + '.conditionCriteria';
10881
+ if (typeof obj_conditionCriteria !== 'string') {
10882
+ return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
10883
+ }
10832
10884
  }
10833
- const obj_conditionType = obj.conditionType;
10834
- const path_conditionType = path + '.conditionType';
10835
- if (typeof obj_conditionType !== 'string') {
10836
- return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
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
+ }
10837
10891
  }
10838
10892
  const obj_createdDate = obj.createdDate;
10839
10893
  const path_createdDate = path + '.createdDate';
@@ -10921,10 +10975,12 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10921
10975
  return new TypeError('Expected "string" but received "' + typeof obj_refreshStatus + '" (at "' + path_refreshStatus + '")');
10922
10976
  }
10923
10977
  }
10924
- const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
10925
- const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
10926
- if (typeof obj_rowLevelOverrideType !== 'string') {
10927
- return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
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
+ }
10928
10984
  }
10929
10985
  if (obj.sourceCriteria !== undefined) {
10930
10986
  const obj_sourceCriteria = obj.sourceCriteria;
@@ -10978,11 +11034,13 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
10978
11034
  selections: [
10979
11035
  {
10980
11036
  name: 'conditionCriteria',
10981
- kind: 'Scalar'
11037
+ kind: 'Scalar',
11038
+ required: false
10982
11039
  },
10983
11040
  {
10984
11041
  name: 'conditionType',
10985
- kind: 'Scalar'
11042
+ kind: 'Scalar',
11043
+ required: false
10986
11044
  },
10987
11045
  {
10988
11046
  name: 'createdDate',
@@ -11044,7 +11102,8 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
11044
11102
  },
11045
11103
  {
11046
11104
  name: 'rowLevelOverrideType',
11047
- kind: 'Scalar'
11105
+ kind: 'Scalar',
11106
+ required: false
11048
11107
  },
11049
11108
  {
11050
11109
  name: 'sourceCriteria',
@@ -11102,13 +11161,29 @@ function equals$1(existing, incoming) {
11102
11161
  }
11103
11162
  const existing_conditionCriteria = existing.conditionCriteria;
11104
11163
  const incoming_conditionCriteria = incoming.conditionCriteria;
11105
- if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
11106
- return false;
11164
+ // if at least one of these optionals is defined
11165
+ if (existing_conditionCriteria !== undefined || incoming_conditionCriteria !== undefined) {
11166
+ // if one of these is not defined we know the other is defined and therefore
11167
+ // not equal
11168
+ if (existing_conditionCriteria === undefined || incoming_conditionCriteria === undefined) {
11169
+ return false;
11170
+ }
11171
+ if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
11172
+ return false;
11173
+ }
11107
11174
  }
11108
11175
  const existing_conditionType = existing.conditionType;
11109
11176
  const incoming_conditionType = incoming.conditionType;
11110
- if (!(existing_conditionType === incoming_conditionType)) {
11111
- return false;
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
+ }
11112
11187
  }
11113
11188
  const existing_createdDate = existing.createdDate;
11114
11189
  const incoming_createdDate = incoming.createdDate;
@@ -11197,8 +11272,16 @@ function equals$1(existing, incoming) {
11197
11272
  }
11198
11273
  const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
11199
11274
  const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
11200
- if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
11201
- return false;
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
+ }
11202
11285
  }
11203
11286
  const existing_sourceObject = existing.sourceObject;
11204
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 = "55f724b58c73a67346c037f8dde8ece8";
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;
@@ -17,9 +17,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  */
18
18
  export interface EligibilityRuleDetailsRepresentationNormalized {
19
19
  /** The criteria for the condition */
20
- conditionCriteria: string;
20
+ conditionCriteria?: string;
21
21
  /** The type of the condition */
22
- conditionType: string;
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: string;
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 */
@@ -64,8 +64,8 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
64
64
  * (none)
65
65
  */
66
66
  export interface EligibilityRuleDetailsRepresentation {
67
- conditionCriteria: string;
68
- conditionType: string;
67
+ conditionCriteria?: string;
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: string;
81
+ rowLevelOverrideType?: string;
82
82
  sourceCriteria?: Array<DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation>;
83
83
  sourceObject: string;
84
84
  sourceType: string;
@@ -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 = "7b8b7b9b84514bc31b9067d070187292";
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.400.0",
3
+ "version": "1.402.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.400.0"
43
+ "@salesforce/lds-bindings": "^1.402.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.400.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.402.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 = "7b8b7b9b84514bc31b9067d070187292";
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,21 +9778,25 @@ function equals$5(existing, incoming) {
9728
9778
  return true;
9729
9779
  }
9730
9780
 
9731
- const VERSION$4 = "55f724b58c73a67346c037f8dde8ece8";
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) {
9735
9785
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9736
9786
  }
9737
- const obj_conditionCriteria = obj.conditionCriteria;
9738
- const path_conditionCriteria = path + '.conditionCriteria';
9739
- if (typeof obj_conditionCriteria !== 'string') {
9740
- return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
9787
+ if (obj.conditionCriteria !== undefined) {
9788
+ const obj_conditionCriteria = obj.conditionCriteria;
9789
+ const path_conditionCriteria = path + '.conditionCriteria';
9790
+ if (typeof obj_conditionCriteria !== 'string') {
9791
+ return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
9792
+ }
9741
9793
  }
9742
- const obj_conditionType = obj.conditionType;
9743
- const path_conditionType = path + '.conditionType';
9744
- if (typeof obj_conditionType !== 'string') {
9745
- return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
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
+ }
9746
9800
  }
9747
9801
  const obj_createdDate = obj.createdDate;
9748
9802
  const path_createdDate = path + '.createdDate';
@@ -9830,10 +9884,12 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9830
9884
  return new TypeError('Expected "string" but received "' + typeof obj_refreshStatus + '" (at "' + path_refreshStatus + '")');
9831
9885
  }
9832
9886
  }
9833
- const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
9834
- const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
9835
- if (typeof obj_rowLevelOverrideType !== 'string') {
9836
- return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
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
+ }
9837
9893
  }
9838
9894
  if (obj.sourceCriteria !== undefined) {
9839
9895
  const obj_sourceCriteria = obj.sourceCriteria;
@@ -9887,11 +9943,13 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9887
9943
  selections: [
9888
9944
  {
9889
9945
  name: 'conditionCriteria',
9890
- kind: 'Scalar'
9946
+ kind: 'Scalar',
9947
+ required: false
9891
9948
  },
9892
9949
  {
9893
9950
  name: 'conditionType',
9894
- kind: 'Scalar'
9951
+ kind: 'Scalar',
9952
+ required: false
9895
9953
  },
9896
9954
  {
9897
9955
  name: 'createdDate',
@@ -9953,7 +10011,8 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9953
10011
  },
9954
10012
  {
9955
10013
  name: 'rowLevelOverrideType',
9956
- kind: 'Scalar'
10014
+ kind: 'Scalar',
10015
+ required: false
9957
10016
  },
9958
10017
  {
9959
10018
  name: 'sourceCriteria',
@@ -10011,13 +10070,29 @@ function equals$4(existing, incoming) {
10011
10070
  }
10012
10071
  const existing_conditionCriteria = existing.conditionCriteria;
10013
10072
  const incoming_conditionCriteria = incoming.conditionCriteria;
10014
- if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
10015
- return false;
10073
+ // if at least one of these optionals is defined
10074
+ if (existing_conditionCriteria !== undefined || incoming_conditionCriteria !== undefined) {
10075
+ // if one of these is not defined we know the other is defined and therefore
10076
+ // not equal
10077
+ if (existing_conditionCriteria === undefined || incoming_conditionCriteria === undefined) {
10078
+ return false;
10079
+ }
10080
+ if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
10081
+ return false;
10082
+ }
10016
10083
  }
10017
10084
  const existing_conditionType = existing.conditionType;
10018
10085
  const incoming_conditionType = incoming.conditionType;
10019
- if (!(existing_conditionType === incoming_conditionType)) {
10020
- return false;
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
+ }
10021
10096
  }
10022
10097
  const existing_createdDate = existing.createdDate;
10023
10098
  const incoming_createdDate = incoming.createdDate;
@@ -10106,8 +10181,16 @@ function equals$4(existing, incoming) {
10106
10181
  }
10107
10182
  const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
10108
10183
  const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
10109
- if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
10110
- return false;
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
+ }
10111
10194
  }
10112
10195
  const existing_sourceObject = existing.sourceObject;
10113
10196
  const incoming_sourceObject = incoming.sourceObject;
@@ -11686,4 +11769,4 @@ withDefaultLuvio((luvio) => {
11686
11769
  });
11687
11770
 
11688
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 };
11689
- // version: 1.400.0-3c7514a502
11772
+ // version: 1.402.0-566b6c5389
package/src/raml/api.raml CHANGED
@@ -1656,7 +1656,7 @@ types:
1656
1656
  type: object
1657
1657
  properties:
1658
1658
  rowLevelOverrideType:
1659
- required: true
1659
+ required: false
1660
1660
  description: Indicates the override type at the row level
1661
1661
  type: string
1662
1662
  enum:
@@ -1669,11 +1669,11 @@ types:
1669
1669
  description: The date and time when the decision table was created
1670
1670
  type: string
1671
1671
  conditionCriteria:
1672
- required: true
1672
+ required: false
1673
1673
  description: The criteria for the condition
1674
1674
  type: string
1675
1675
  conditionType:
1676
- required: true
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