@salesforce/lds-adapters-service-ecm 1.392.0 → 1.393.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/sfdc/index.js CHANGED
@@ -1457,6 +1457,34 @@ function validate$G(obj, path = 'CatalogItemAttributeInputRepresentation') {
1457
1457
  return new TypeError(message);
1458
1458
  }
1459
1459
  }
1460
+ if (obj.contextDefinitionId !== undefined) {
1461
+ const obj_contextDefinitionId = obj.contextDefinitionId;
1462
+ const path_contextDefinitionId = path + '.contextDefinitionId';
1463
+ let obj_contextDefinitionId_union0 = null;
1464
+ const obj_contextDefinitionId_union0_error = (() => {
1465
+ if (typeof obj_contextDefinitionId !== 'string') {
1466
+ return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
1467
+ }
1468
+ })();
1469
+ if (obj_contextDefinitionId_union0_error != null) {
1470
+ obj_contextDefinitionId_union0 = obj_contextDefinitionId_union0_error.message;
1471
+ }
1472
+ let obj_contextDefinitionId_union1 = null;
1473
+ const obj_contextDefinitionId_union1_error = (() => {
1474
+ if (obj_contextDefinitionId !== null) {
1475
+ return new TypeError('Expected "null" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
1476
+ }
1477
+ })();
1478
+ if (obj_contextDefinitionId_union1_error != null) {
1479
+ obj_contextDefinitionId_union1 = obj_contextDefinitionId_union1_error.message;
1480
+ }
1481
+ if (obj_contextDefinitionId_union0 && obj_contextDefinitionId_union1) {
1482
+ let message = 'Object doesn\'t match union (at "' + path_contextDefinitionId + '")';
1483
+ message += '\n' + obj_contextDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
1484
+ message += '\n' + obj_contextDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
1485
+ return new TypeError(message);
1486
+ }
1487
+ }
1460
1488
  if (obj.dataType !== undefined) {
1461
1489
  const obj_dataType = obj.dataType;
1462
1490
  const path_dataType = path + '.dataType';
@@ -1817,6 +1845,62 @@ function validate$G(obj, path = 'CatalogItemAttributeInputRepresentation') {
1817
1845
  }
1818
1846
  }
1819
1847
  }
1848
+ if (obj.referenceField !== undefined) {
1849
+ const obj_referenceField = obj.referenceField;
1850
+ const path_referenceField = path + '.referenceField';
1851
+ let obj_referenceField_union0 = null;
1852
+ const obj_referenceField_union0_error = (() => {
1853
+ if (typeof obj_referenceField !== 'string') {
1854
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
1855
+ }
1856
+ })();
1857
+ if (obj_referenceField_union0_error != null) {
1858
+ obj_referenceField_union0 = obj_referenceField_union0_error.message;
1859
+ }
1860
+ let obj_referenceField_union1 = null;
1861
+ const obj_referenceField_union1_error = (() => {
1862
+ if (obj_referenceField !== null) {
1863
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
1864
+ }
1865
+ })();
1866
+ if (obj_referenceField_union1_error != null) {
1867
+ obj_referenceField_union1 = obj_referenceField_union1_error.message;
1868
+ }
1869
+ if (obj_referenceField_union0 && obj_referenceField_union1) {
1870
+ let message = 'Object doesn\'t match union (at "' + path_referenceField + '")';
1871
+ message += '\n' + obj_referenceField_union0.split('\n').map((line) => '\t' + line).join('\n');
1872
+ message += '\n' + obj_referenceField_union1.split('\n').map((line) => '\t' + line).join('\n');
1873
+ return new TypeError(message);
1874
+ }
1875
+ }
1876
+ if (obj.referenceObject !== undefined) {
1877
+ const obj_referenceObject = obj.referenceObject;
1878
+ const path_referenceObject = path + '.referenceObject';
1879
+ let obj_referenceObject_union0 = null;
1880
+ const obj_referenceObject_union0_error = (() => {
1881
+ if (typeof obj_referenceObject !== 'string') {
1882
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
1883
+ }
1884
+ })();
1885
+ if (obj_referenceObject_union0_error != null) {
1886
+ obj_referenceObject_union0 = obj_referenceObject_union0_error.message;
1887
+ }
1888
+ let obj_referenceObject_union1 = null;
1889
+ const obj_referenceObject_union1_error = (() => {
1890
+ if (obj_referenceObject !== null) {
1891
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
1892
+ }
1893
+ })();
1894
+ if (obj_referenceObject_union1_error != null) {
1895
+ obj_referenceObject_union1 = obj_referenceObject_union1_error.message;
1896
+ }
1897
+ if (obj_referenceObject_union0 && obj_referenceObject_union1) {
1898
+ let message = 'Object doesn\'t match union (at "' + path_referenceObject + '")';
1899
+ message += '\n' + obj_referenceObject_union0.split('\n').map((line) => '\t' + line).join('\n');
1900
+ message += '\n' + obj_referenceObject_union1.split('\n').map((line) => '\t' + line).join('\n');
1901
+ return new TypeError(message);
1902
+ }
1903
+ }
1820
1904
  if (obj.sequence !== undefined) {
1821
1905
  const obj_sequence = obj.sequence;
1822
1906
  const path_sequence = path + '.sequence';
@@ -4652,7 +4736,7 @@ function equals$h(existing, incoming) {
4652
4736
  return true;
4653
4737
  }
4654
4738
 
4655
- const VERSION$g = "564fd7f64d997ab6ecc936f5787a27f9";
4739
+ const VERSION$g = "56047c3264f6e0d4375d956b121d1947";
4656
4740
  function validate$o(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4657
4741
  const v_error = (() => {
4658
4742
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4686,6 +4770,34 @@ function validate$o(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4686
4770
  return new TypeError(message);
4687
4771
  }
4688
4772
  }
4773
+ if (obj.baseObject !== undefined) {
4774
+ const obj_baseObject = obj.baseObject;
4775
+ const path_baseObject = path + '.baseObject';
4776
+ let obj_baseObject_union0 = null;
4777
+ const obj_baseObject_union0_error = (() => {
4778
+ if (typeof obj_baseObject !== 'string') {
4779
+ return new TypeError('Expected "string" but received "' + typeof obj_baseObject + '" (at "' + path_baseObject + '")');
4780
+ }
4781
+ })();
4782
+ if (obj_baseObject_union0_error != null) {
4783
+ obj_baseObject_union0 = obj_baseObject_union0_error.message;
4784
+ }
4785
+ let obj_baseObject_union1 = null;
4786
+ const obj_baseObject_union1_error = (() => {
4787
+ if (obj_baseObject !== null) {
4788
+ return new TypeError('Expected "null" but received "' + typeof obj_baseObject + '" (at "' + path_baseObject + '")');
4789
+ }
4790
+ })();
4791
+ if (obj_baseObject_union1_error != null) {
4792
+ obj_baseObject_union1 = obj_baseObject_union1_error.message;
4793
+ }
4794
+ if (obj_baseObject_union0 && obj_baseObject_union1) {
4795
+ let message = 'Object doesn\'t match union (at "' + path_baseObject + '")';
4796
+ message += '\n' + obj_baseObject_union0.split('\n').map((line) => '\t' + line).join('\n');
4797
+ message += '\n' + obj_baseObject_union1.split('\n').map((line) => '\t' + line).join('\n');
4798
+ return new TypeError(message);
4799
+ }
4800
+ }
4689
4801
  if (obj.dataType !== undefined) {
4690
4802
  const obj_dataType = obj.dataType;
4691
4803
  const path_dataType = path + '.dataType';
@@ -4770,6 +4882,34 @@ function validate$o(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4770
4882
  return new TypeError(message);
4771
4883
  }
4772
4884
  }
4885
+ if (obj.fieldType !== undefined) {
4886
+ const obj_fieldType = obj.fieldType;
4887
+ const path_fieldType = path + '.fieldType';
4888
+ let obj_fieldType_union0 = null;
4889
+ const obj_fieldType_union0_error = (() => {
4890
+ if (typeof obj_fieldType !== 'string') {
4891
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
4892
+ }
4893
+ })();
4894
+ if (obj_fieldType_union0_error != null) {
4895
+ obj_fieldType_union0 = obj_fieldType_union0_error.message;
4896
+ }
4897
+ let obj_fieldType_union1 = null;
4898
+ const obj_fieldType_union1_error = (() => {
4899
+ if (obj_fieldType !== null) {
4900
+ return new TypeError('Expected "null" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
4901
+ }
4902
+ })();
4903
+ if (obj_fieldType_union1_error != null) {
4904
+ obj_fieldType_union1 = obj_fieldType_union1_error.message;
4905
+ }
4906
+ if (obj_fieldType_union0 && obj_fieldType_union1) {
4907
+ let message = 'Object doesn\'t match union (at "' + path_fieldType + '")';
4908
+ message += '\n' + obj_fieldType_union0.split('\n').map((line) => '\t' + line).join('\n');
4909
+ message += '\n' + obj_fieldType_union1.split('\n').map((line) => '\t' + line).join('\n');
4910
+ return new TypeError(message);
4911
+ }
4912
+ }
4773
4913
  if (obj.id !== undefined) {
4774
4914
  const obj_id = obj.id;
4775
4915
  const path_id = path + '.id';
@@ -5074,6 +5214,62 @@ function validate$o(obj, path = 'CatalogItemAttributeOutputRepresentation') {
5074
5214
  }
5075
5215
  }
5076
5216
  }
5217
+ if (obj.referenceField !== undefined) {
5218
+ const obj_referenceField = obj.referenceField;
5219
+ const path_referenceField = path + '.referenceField';
5220
+ let obj_referenceField_union0 = null;
5221
+ const obj_referenceField_union0_error = (() => {
5222
+ if (typeof obj_referenceField !== 'string') {
5223
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
5224
+ }
5225
+ })();
5226
+ if (obj_referenceField_union0_error != null) {
5227
+ obj_referenceField_union0 = obj_referenceField_union0_error.message;
5228
+ }
5229
+ let obj_referenceField_union1 = null;
5230
+ const obj_referenceField_union1_error = (() => {
5231
+ if (obj_referenceField !== null) {
5232
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
5233
+ }
5234
+ })();
5235
+ if (obj_referenceField_union1_error != null) {
5236
+ obj_referenceField_union1 = obj_referenceField_union1_error.message;
5237
+ }
5238
+ if (obj_referenceField_union0 && obj_referenceField_union1) {
5239
+ let message = 'Object doesn\'t match union (at "' + path_referenceField + '")';
5240
+ message += '\n' + obj_referenceField_union0.split('\n').map((line) => '\t' + line).join('\n');
5241
+ message += '\n' + obj_referenceField_union1.split('\n').map((line) => '\t' + line).join('\n');
5242
+ return new TypeError(message);
5243
+ }
5244
+ }
5245
+ if (obj.referenceObject !== undefined) {
5246
+ const obj_referenceObject = obj.referenceObject;
5247
+ const path_referenceObject = path + '.referenceObject';
5248
+ let obj_referenceObject_union0 = null;
5249
+ const obj_referenceObject_union0_error = (() => {
5250
+ if (typeof obj_referenceObject !== 'string') {
5251
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
5252
+ }
5253
+ })();
5254
+ if (obj_referenceObject_union0_error != null) {
5255
+ obj_referenceObject_union0 = obj_referenceObject_union0_error.message;
5256
+ }
5257
+ let obj_referenceObject_union1 = null;
5258
+ const obj_referenceObject_union1_error = (() => {
5259
+ if (obj_referenceObject !== null) {
5260
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
5261
+ }
5262
+ })();
5263
+ if (obj_referenceObject_union1_error != null) {
5264
+ obj_referenceObject_union1 = obj_referenceObject_union1_error.message;
5265
+ }
5266
+ if (obj_referenceObject_union0 && obj_referenceObject_union1) {
5267
+ let message = 'Object doesn\'t match union (at "' + path_referenceObject + '")';
5268
+ message += '\n' + obj_referenceObject_union0.split('\n').map((line) => '\t' + line).join('\n');
5269
+ message += '\n' + obj_referenceObject_union1.split('\n').map((line) => '\t' + line).join('\n');
5270
+ return new TypeError(message);
5271
+ }
5272
+ }
5077
5273
  if (obj.sequence !== undefined) {
5078
5274
  const obj_sequence = obj.sequence;
5079
5275
  const path_sequence = path + '.sequence';
@@ -5117,6 +5313,11 @@ const select$u = function CatalogItemAttributeOutputRepresentationSelect() {
5117
5313
  kind: 'Scalar',
5118
5314
  required: false
5119
5315
  },
5316
+ {
5317
+ name: 'baseObject',
5318
+ kind: 'Scalar',
5319
+ required: false
5320
+ },
5120
5321
  {
5121
5322
  name: 'dataType',
5122
5323
  kind: 'Scalar',
@@ -5132,6 +5333,11 @@ const select$u = function CatalogItemAttributeOutputRepresentationSelect() {
5132
5333
  kind: 'Scalar',
5133
5334
  required: false
5134
5335
  },
5336
+ {
5337
+ name: 'fieldType',
5338
+ kind: 'Scalar',
5339
+ required: false
5340
+ },
5135
5341
  {
5136
5342
  name: 'id',
5137
5343
  kind: 'Scalar',
@@ -5195,6 +5401,16 @@ const select$u = function CatalogItemAttributeOutputRepresentationSelect() {
5195
5401
  selections: PicklistAttributeTypeOutputRepresentation__selections,
5196
5402
  required: false
5197
5403
  },
5404
+ {
5405
+ name: 'referenceField',
5406
+ kind: 'Scalar',
5407
+ required: false
5408
+ },
5409
+ {
5410
+ name: 'referenceObject',
5411
+ kind: 'Scalar',
5412
+ required: false
5413
+ },
5198
5414
  {
5199
5415
  name: 'sequence',
5200
5416
  kind: 'Scalar',
@@ -5243,6 +5459,19 @@ function equals$g(existing, incoming) {
5243
5459
  return false;
5244
5460
  }
5245
5461
  }
5462
+ const existing_baseObject = existing.baseObject;
5463
+ const incoming_baseObject = incoming.baseObject;
5464
+ // if at least one of these optionals is defined
5465
+ if (existing_baseObject !== undefined || incoming_baseObject !== undefined) {
5466
+ // if one of these is not defined we know the other is defined and therefore
5467
+ // not equal
5468
+ if (existing_baseObject === undefined || incoming_baseObject === undefined) {
5469
+ return false;
5470
+ }
5471
+ if (!(existing_baseObject === incoming_baseObject)) {
5472
+ return false;
5473
+ }
5474
+ }
5246
5475
  const existing_dataType = existing.dataType;
5247
5476
  const incoming_dataType = incoming.dataType;
5248
5477
  // if at least one of these optionals is defined
@@ -5282,6 +5511,19 @@ function equals$g(existing, incoming) {
5282
5511
  return false;
5283
5512
  }
5284
5513
  }
5514
+ const existing_fieldType = existing.fieldType;
5515
+ const incoming_fieldType = incoming.fieldType;
5516
+ // if at least one of these optionals is defined
5517
+ if (existing_fieldType !== undefined || incoming_fieldType !== undefined) {
5518
+ // if one of these is not defined we know the other is defined and therefore
5519
+ // not equal
5520
+ if (existing_fieldType === undefined || incoming_fieldType === undefined) {
5521
+ return false;
5522
+ }
5523
+ if (!(existing_fieldType === incoming_fieldType)) {
5524
+ return false;
5525
+ }
5526
+ }
5285
5527
  const existing_id = existing.id;
5286
5528
  const incoming_id = incoming.id;
5287
5529
  // if at least one of these optionals is defined
@@ -5420,6 +5662,32 @@ function equals$g(existing, incoming) {
5420
5662
  return false;
5421
5663
  }
5422
5664
  }
5665
+ const existing_referenceField = existing.referenceField;
5666
+ const incoming_referenceField = incoming.referenceField;
5667
+ // if at least one of these optionals is defined
5668
+ if (existing_referenceField !== undefined || incoming_referenceField !== undefined) {
5669
+ // if one of these is not defined we know the other is defined and therefore
5670
+ // not equal
5671
+ if (existing_referenceField === undefined || incoming_referenceField === undefined) {
5672
+ return false;
5673
+ }
5674
+ if (!(existing_referenceField === incoming_referenceField)) {
5675
+ return false;
5676
+ }
5677
+ }
5678
+ const existing_referenceObject = existing.referenceObject;
5679
+ const incoming_referenceObject = incoming.referenceObject;
5680
+ // if at least one of these optionals is defined
5681
+ if (existing_referenceObject !== undefined || incoming_referenceObject !== undefined) {
5682
+ // if one of these is not defined we know the other is defined and therefore
5683
+ // not equal
5684
+ if (existing_referenceObject === undefined || incoming_referenceObject === undefined) {
5685
+ return false;
5686
+ }
5687
+ if (!(existing_referenceObject === incoming_referenceObject)) {
5688
+ return false;
5689
+ }
5690
+ }
5423
5691
  const existing_sequence = existing.sequence;
5424
5692
  const incoming_sequence = incoming.sequence;
5425
5693
  // if at least one of these optionals is defined
@@ -8916,12 +9184,19 @@ const getCatalogItemAdapterFactory = (luvio) => function ecm__getCatalogItem(unt
8916
9184
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
8917
9185
  };
8918
9186
 
8919
- const VERSION$6 = "8da8a9539ab11c385bafdc5028d51ad1";
8920
- function validate$9(obj, path = 'DecisionTableParameterOutputRepresentation') {
9187
+ const VERSION$6 = "16a21367b1c0bba3e8f0ed1efce35f85";
9188
+ function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
8921
9189
  const v_error = (() => {
8922
9190
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8923
9191
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8924
9192
  }
9193
+ if (obj.columnDataType !== undefined) {
9194
+ const obj_columnDataType = obj.columnDataType;
9195
+ const path_columnDataType = path + '.columnDataType';
9196
+ if (typeof obj_columnDataType !== 'string') {
9197
+ return new TypeError('Expected "string" but received "' + typeof obj_columnDataType + '" (at "' + path_columnDataType + '")');
9198
+ }
9199
+ }
8925
9200
  if (obj.columnMapping !== undefined) {
8926
9201
  const obj_columnMapping = obj.columnMapping;
8927
9202
  const path_columnMapping = path + '.columnMapping';
@@ -9016,12 +9291,17 @@ function validate$9(obj, path = 'DecisionTableParameterOutputRepresentation') {
9016
9291
  })();
9017
9292
  return v_error === undefined ? null : v_error;
9018
9293
  }
9019
- const select$b = function DecisionTableParameterOutputRepresentationSelect() {
9294
+ const select$b = function EligibilityRuleParameterRepresentationSelect() {
9020
9295
  return {
9021
9296
  kind: 'Fragment',
9022
9297
  version: VERSION$6,
9023
9298
  private: [],
9024
9299
  selections: [
9300
+ {
9301
+ name: 'columnDataType',
9302
+ kind: 'Scalar',
9303
+ required: false
9304
+ },
9025
9305
  {
9026
9306
  name: 'columnMapping',
9027
9307
  kind: 'Scalar',
@@ -9169,6 +9449,19 @@ function equals$6(existing, incoming) {
9169
9449
  return false;
9170
9450
  }
9171
9451
  }
9452
+ const existing_columnDataType = existing.columnDataType;
9453
+ const incoming_columnDataType = incoming.columnDataType;
9454
+ // if at least one of these optionals is defined
9455
+ if (existing_columnDataType !== undefined || incoming_columnDataType !== undefined) {
9456
+ // if one of these is not defined we know the other is defined and therefore
9457
+ // not equal
9458
+ if (existing_columnDataType === undefined || incoming_columnDataType === undefined) {
9459
+ return false;
9460
+ }
9461
+ if (!(existing_columnDataType === incoming_columnDataType)) {
9462
+ return false;
9463
+ }
9464
+ }
9172
9465
  const existing_columnMapping = existing.columnMapping;
9173
9466
  const incoming_columnMapping = incoming.columnMapping;
9174
9467
  // if at least one of these optionals is defined
@@ -9410,17 +9703,12 @@ function equals$5(existing, incoming) {
9410
9703
  return true;
9411
9704
  }
9412
9705
 
9413
- const VERSION$4 = "53a2c9a83f2af963d29b270a557a29ab";
9706
+ const VERSION$4 = "95c6a3da04e0fcc9db2a92b64485382c";
9414
9707
  function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9415
9708
  const v_error = (() => {
9416
9709
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9417
9710
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9418
9711
  }
9419
- const obj_cellLevelCriteriaEnabled = obj.cellLevelCriteriaEnabled;
9420
- const path_cellLevelCriteriaEnabled = path + '.cellLevelCriteriaEnabled';
9421
- if (typeof obj_cellLevelCriteriaEnabled !== 'boolean') {
9422
- return new TypeError('Expected "boolean" but received "' + typeof obj_cellLevelCriteriaEnabled + '" (at "' + path_cellLevelCriteriaEnabled + '")');
9423
- }
9424
9712
  const obj_conditionCriteria = obj.conditionCriteria;
9425
9713
  const path_conditionCriteria = path + '.conditionCriteria';
9426
9714
  if (typeof obj_conditionCriteria !== 'string') {
@@ -9431,6 +9719,11 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9431
9719
  if (typeof obj_conditionType !== 'string') {
9432
9720
  return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
9433
9721
  }
9722
+ const obj_createdDate = obj.createdDate;
9723
+ const path_createdDate = path + '.createdDate';
9724
+ if (typeof obj_createdDate !== 'string') {
9725
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
9726
+ }
9434
9727
  const obj_decisionTableId = obj.decisionTableId;
9435
9728
  const path_decisionTableId = path + '.decisionTableId';
9436
9729
  if (typeof obj_decisionTableId !== 'string') {
@@ -9446,6 +9739,11 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9446
9739
  if (typeof obj_description !== 'string') {
9447
9740
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
9448
9741
  }
9742
+ const obj_lastModifiedDate = obj.lastModifiedDate;
9743
+ const path_lastModifiedDate = path + '.lastModifiedDate';
9744
+ if (typeof obj_lastModifiedDate !== 'string') {
9745
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
9746
+ }
9449
9747
  const obj_parameters = obj.parameters;
9450
9748
  const path_parameters = path + '.parameters';
9451
9749
  if (!ArrayIsArray(obj_parameters)) {
@@ -9456,11 +9754,16 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9456
9754
  const path_parameters_item = path_parameters + '[' + i + ']';
9457
9755
  const referencepath_parameters_itemValidationError = validate$9(obj_parameters_item, path_parameters_item);
9458
9756
  if (referencepath_parameters_itemValidationError !== null) {
9459
- let message = 'Object doesn\'t match DecisionTableParameterOutputRepresentation (at "' + path_parameters_item + '")\n';
9757
+ let message = 'Object doesn\'t match EligibilityRuleParameterRepresentation (at "' + path_parameters_item + '")\n';
9460
9758
  message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
9461
9759
  return new TypeError(message);
9462
9760
  }
9463
9761
  }
9762
+ const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
9763
+ const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
9764
+ if (typeof obj_rowLevelOverrideType !== 'string') {
9765
+ return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
9766
+ }
9464
9767
  const obj_sourceCriteria = obj.sourceCriteria;
9465
9768
  const path_sourceCriteria = path + '.sourceCriteria';
9466
9769
  if (!ArrayIsArray(obj_sourceCriteria)) {
@@ -9500,7 +9803,7 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9500
9803
  return v_error === undefined ? null : v_error;
9501
9804
  }
9502
9805
  const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9503
- const { selections: DecisionTableParameterOutputRepresentation__selections, opaque: DecisionTableParameterOutputRepresentation__opaque, } = select$b();
9806
+ const { selections: EligibilityRuleParameterRepresentation__selections, opaque: EligibilityRuleParameterRepresentation__opaque, } = select$b();
9504
9807
  const { selections: DecisionTableSourceCriteriaOutputRepresentation__selections, opaque: DecisionTableSourceCriteriaOutputRepresentation__opaque, } = select$a();
9505
9808
  return {
9506
9809
  kind: 'Fragment',
@@ -9508,15 +9811,15 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9508
9811
  private: [],
9509
9812
  selections: [
9510
9813
  {
9511
- name: 'cellLevelCriteriaEnabled',
9814
+ name: 'conditionCriteria',
9512
9815
  kind: 'Scalar'
9513
9816
  },
9514
9817
  {
9515
- name: 'conditionCriteria',
9818
+ name: 'conditionType',
9516
9819
  kind: 'Scalar'
9517
9820
  },
9518
9821
  {
9519
- name: 'conditionType',
9822
+ name: 'createdDate',
9520
9823
  kind: 'Scalar'
9521
9824
  },
9522
9825
  {
@@ -9531,11 +9834,19 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9531
9834
  name: 'description',
9532
9835
  kind: 'Scalar'
9533
9836
  },
9837
+ {
9838
+ name: 'lastModifiedDate',
9839
+ kind: 'Scalar'
9840
+ },
9534
9841
  {
9535
9842
  name: 'parameters',
9536
9843
  kind: 'Object',
9537
9844
  plural: true,
9538
- selections: DecisionTableParameterOutputRepresentation__selections
9845
+ selections: EligibilityRuleParameterRepresentation__selections
9846
+ },
9847
+ {
9848
+ name: 'rowLevelOverrideType',
9849
+ kind: 'Scalar'
9539
9850
  },
9540
9851
  {
9541
9852
  name: 'sourceCriteria',
@@ -9563,11 +9874,6 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9563
9874
  };
9564
9875
  };
9565
9876
  function equals$4(existing, incoming) {
9566
- const existing_cellLevelCriteriaEnabled = existing.cellLevelCriteriaEnabled;
9567
- const incoming_cellLevelCriteriaEnabled = incoming.cellLevelCriteriaEnabled;
9568
- if (!(existing_cellLevelCriteriaEnabled === incoming_cellLevelCriteriaEnabled)) {
9569
- return false;
9570
- }
9571
9877
  const existing_conditionCriteria = existing.conditionCriteria;
9572
9878
  const incoming_conditionCriteria = incoming.conditionCriteria;
9573
9879
  if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
@@ -9578,6 +9884,11 @@ function equals$4(existing, incoming) {
9578
9884
  if (!(existing_conditionType === incoming_conditionType)) {
9579
9885
  return false;
9580
9886
  }
9887
+ const existing_createdDate = existing.createdDate;
9888
+ const incoming_createdDate = incoming.createdDate;
9889
+ if (!(existing_createdDate === incoming_createdDate)) {
9890
+ return false;
9891
+ }
9581
9892
  const existing_decisionTableId = existing.decisionTableId;
9582
9893
  const incoming_decisionTableId = incoming.decisionTableId;
9583
9894
  if (!(existing_decisionTableId === incoming_decisionTableId)) {
@@ -9593,6 +9904,16 @@ function equals$4(existing, incoming) {
9593
9904
  if (!(existing_description === incoming_description)) {
9594
9905
  return false;
9595
9906
  }
9907
+ const existing_lastModifiedDate = existing.lastModifiedDate;
9908
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
9909
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
9910
+ return false;
9911
+ }
9912
+ const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
9913
+ const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
9914
+ if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
9915
+ return false;
9916
+ }
9596
9917
  const existing_sourceObject = existing.sourceObject;
9597
9918
  const incoming_sourceObject = incoming.sourceObject;
9598
9919
  if (!(existing_sourceObject === incoming_sourceObject)) {
@@ -11098,4 +11419,4 @@ withDefaultLuvio((luvio) => {
11098
11419
  });
11099
11420
 
11100
11421
  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 };
11101
- // version: 1.392.0-3cd2606b7f
11422
+ // version: 1.393.0-94e6d2aef3