@salesforce/lds-adapters-service-ecm 1.391.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.
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- function validate$M(obj, path = 'AgentActionInputRepresentation') {
115
+ function validate$N(obj, path = 'AgentActionInputRepresentation') {
116
116
  const v_error = (() => {
117
117
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
118
118
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -233,7 +233,7 @@ function validate$M(obj, path = 'AgentActionInputRepresentation') {
233
233
  return v_error === undefined ? null : v_error;
234
234
  }
235
235
 
236
- function validate$L(obj, path = 'KnowledgeArticleInputRepresentation') {
236
+ function validate$M(obj, path = 'KnowledgeArticleInputRepresentation') {
237
237
  const v_error = (() => {
238
238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
239
239
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -326,7 +326,7 @@ function validate$L(obj, path = 'KnowledgeArticleInputRepresentation') {
326
326
  return v_error === undefined ? null : v_error;
327
327
  }
328
328
 
329
- function validate$K(obj, path = 'PicklistAttributeTypeInputRepresentation') {
329
+ function validate$L(obj, path = 'PicklistAttributeTypeInputRepresentation') {
330
330
  const v_error = (() => {
331
331
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
332
332
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -405,7 +405,7 @@ function validate$K(obj, path = 'PicklistAttributeTypeInputRepresentation') {
405
405
  return v_error === undefined ? null : v_error;
406
406
  }
407
407
 
408
- function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
408
+ function validate$K(obj, path = 'CatalogItemAttributeInputRepresentation') {
409
409
  const v_error = (() => {
410
410
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
411
411
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -438,6 +438,34 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
438
438
  return new TypeError(message);
439
439
  }
440
440
  }
441
+ if (obj.contextDefinitionId !== undefined) {
442
+ const obj_contextDefinitionId = obj.contextDefinitionId;
443
+ const path_contextDefinitionId = path + '.contextDefinitionId';
444
+ let obj_contextDefinitionId_union0 = null;
445
+ const obj_contextDefinitionId_union0_error = (() => {
446
+ if (typeof obj_contextDefinitionId !== 'string') {
447
+ return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
448
+ }
449
+ })();
450
+ if (obj_contextDefinitionId_union0_error != null) {
451
+ obj_contextDefinitionId_union0 = obj_contextDefinitionId_union0_error.message;
452
+ }
453
+ let obj_contextDefinitionId_union1 = null;
454
+ const obj_contextDefinitionId_union1_error = (() => {
455
+ if (obj_contextDefinitionId !== null) {
456
+ return new TypeError('Expected "null" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
457
+ }
458
+ })();
459
+ if (obj_contextDefinitionId_union1_error != null) {
460
+ obj_contextDefinitionId_union1 = obj_contextDefinitionId_union1_error.message;
461
+ }
462
+ if (obj_contextDefinitionId_union0 && obj_contextDefinitionId_union1) {
463
+ let message = 'Object doesn\'t match union (at "' + path_contextDefinitionId + '")';
464
+ message += '\n' + obj_contextDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
465
+ message += '\n' + obj_contextDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
466
+ return new TypeError(message);
467
+ }
468
+ }
441
469
  if (obj.dataType !== undefined) {
442
470
  const obj_dataType = obj.dataType;
443
471
  const path_dataType = path + '.dataType';
@@ -771,7 +799,7 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
771
799
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
772
800
  let obj_picklistOptions_item_union0 = null;
773
801
  const obj_picklistOptions_item_union0_error = (() => {
774
- const referencepath_picklistOptions_itemValidationError = validate$K(obj_picklistOptions_item, path_picklistOptions_item);
802
+ const referencepath_picklistOptions_itemValidationError = validate$L(obj_picklistOptions_item, path_picklistOptions_item);
775
803
  if (referencepath_picklistOptions_itemValidationError !== null) {
776
804
  let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
777
805
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -798,6 +826,62 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
798
826
  }
799
827
  }
800
828
  }
829
+ if (obj.referenceField !== undefined) {
830
+ const obj_referenceField = obj.referenceField;
831
+ const path_referenceField = path + '.referenceField';
832
+ let obj_referenceField_union0 = null;
833
+ const obj_referenceField_union0_error = (() => {
834
+ if (typeof obj_referenceField !== 'string') {
835
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
836
+ }
837
+ })();
838
+ if (obj_referenceField_union0_error != null) {
839
+ obj_referenceField_union0 = obj_referenceField_union0_error.message;
840
+ }
841
+ let obj_referenceField_union1 = null;
842
+ const obj_referenceField_union1_error = (() => {
843
+ if (obj_referenceField !== null) {
844
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
845
+ }
846
+ })();
847
+ if (obj_referenceField_union1_error != null) {
848
+ obj_referenceField_union1 = obj_referenceField_union1_error.message;
849
+ }
850
+ if (obj_referenceField_union0 && obj_referenceField_union1) {
851
+ let message = 'Object doesn\'t match union (at "' + path_referenceField + '")';
852
+ message += '\n' + obj_referenceField_union0.split('\n').map((line) => '\t' + line).join('\n');
853
+ message += '\n' + obj_referenceField_union1.split('\n').map((line) => '\t' + line).join('\n');
854
+ return new TypeError(message);
855
+ }
856
+ }
857
+ if (obj.referenceObject !== undefined) {
858
+ const obj_referenceObject = obj.referenceObject;
859
+ const path_referenceObject = path + '.referenceObject';
860
+ let obj_referenceObject_union0 = null;
861
+ const obj_referenceObject_union0_error = (() => {
862
+ if (typeof obj_referenceObject !== 'string') {
863
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
864
+ }
865
+ })();
866
+ if (obj_referenceObject_union0_error != null) {
867
+ obj_referenceObject_union0 = obj_referenceObject_union0_error.message;
868
+ }
869
+ let obj_referenceObject_union1 = null;
870
+ const obj_referenceObject_union1_error = (() => {
871
+ if (obj_referenceObject !== null) {
872
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
873
+ }
874
+ })();
875
+ if (obj_referenceObject_union1_error != null) {
876
+ obj_referenceObject_union1 = obj_referenceObject_union1_error.message;
877
+ }
878
+ if (obj_referenceObject_union0 && obj_referenceObject_union1) {
879
+ let message = 'Object doesn\'t match union (at "' + path_referenceObject + '")';
880
+ message += '\n' + obj_referenceObject_union0.split('\n').map((line) => '\t' + line).join('\n');
881
+ message += '\n' + obj_referenceObject_union1.split('\n').map((line) => '\t' + line).join('\n');
882
+ return new TypeError(message);
883
+ }
884
+ }
801
885
  if (obj.sequence !== undefined) {
802
886
  const obj_sequence = obj.sequence;
803
887
  const path_sequence = path + '.sequence';
@@ -830,7 +914,7 @@ function validate$J(obj, path = 'CatalogItemAttributeInputRepresentation') {
830
914
  return v_error === undefined ? null : v_error;
831
915
  }
832
916
 
833
- function validate$I(obj, path = 'SectionInputRepresentation') {
917
+ function validate$J(obj, path = 'SectionInputRepresentation') {
834
918
  const v_error = (() => {
835
919
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
836
920
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -972,7 +1056,7 @@ function validate$I(obj, path = 'SectionInputRepresentation') {
972
1056
  return v_error === undefined ? null : v_error;
973
1057
  }
974
1058
 
975
- function validate$H(obj, path = 'EligibilityRulesInputRepresentation') {
1059
+ function validate$I(obj, path = 'EligibilityRulesInputRepresentation') {
976
1060
  const v_error = (() => {
977
1061
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
978
1062
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1037,7 +1121,7 @@ function validate$H(obj, path = 'EligibilityRulesInputRepresentation') {
1037
1121
  return v_error === undefined ? null : v_error;
1038
1122
  }
1039
1123
 
1040
- function validate$G(obj, path = 'FulfillmentFlowInputRepresentation') {
1124
+ function validate$H(obj, path = 'FulfillmentFlowInputRepresentation') {
1041
1125
  const v_error = (() => {
1042
1126
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1043
1127
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1158,7 +1242,7 @@ function validate$G(obj, path = 'FulfillmentFlowInputRepresentation') {
1158
1242
  return v_error === undefined ? null : v_error;
1159
1243
  }
1160
1244
 
1161
- function validate$F(obj, path = 'IntakeFormInputRepresentation') {
1245
+ function validate$G(obj, path = 'IntakeFormInputRepresentation') {
1162
1246
  const v_error = (() => {
1163
1247
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1164
1248
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1279,7 +1363,7 @@ function validate$F(obj, path = 'IntakeFormInputRepresentation') {
1279
1363
  return v_error === undefined ? null : v_error;
1280
1364
  }
1281
1365
 
1282
- function validate$E(obj, path = 'IntegrationDefInputRepresentation') {
1366
+ function validate$F(obj, path = 'IntegrationDefInputRepresentation') {
1283
1367
  const v_error = (() => {
1284
1368
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1285
1369
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1372,7 +1456,7 @@ function validate$E(obj, path = 'IntegrationDefInputRepresentation') {
1372
1456
  return v_error === undefined ? null : v_error;
1373
1457
  }
1374
1458
 
1375
- function validate$D(obj, path = 'PreprocessorInputRepresentation') {
1459
+ function validate$E(obj, path = 'PreprocessorInputRepresentation') {
1376
1460
  const v_error = (() => {
1377
1461
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1378
1462
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1465,7 +1549,7 @@ function validate$D(obj, path = 'PreprocessorInputRepresentation') {
1465
1549
  return v_error === undefined ? null : v_error;
1466
1550
  }
1467
1551
 
1468
- function validate$C(obj, path = 'ProductRequestCreateInputRepresentation') {
1552
+ function validate$D(obj, path = 'ProductRequestCreateInputRepresentation') {
1469
1553
  const v_error = (() => {
1470
1554
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1471
1555
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1657,7 +1741,7 @@ function validate$C(obj, path = 'ProductRequestCreateInputRepresentation') {
1657
1741
  }
1658
1742
 
1659
1743
  const VERSION$u = "ac94c0c52190d3f2f063659052e5b46e";
1660
- function validate$B(obj, path = 'AgentActionOutputRepresentation') {
1744
+ function validate$C(obj, path = 'AgentActionOutputRepresentation') {
1661
1745
  const v_error = (() => {
1662
1746
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1663
1747
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1817,7 +1901,7 @@ function equals$u(existing, incoming) {
1817
1901
  }
1818
1902
 
1819
1903
  const VERSION$t = "0b2080174fe6d4ee4f4a0de27011fc7d";
1820
- function validate$A(obj, path = 'AssociatedArticleOutputRepresentation') {
1904
+ function validate$B(obj, path = 'AssociatedArticleOutputRepresentation') {
1821
1905
  const v_error = (() => {
1822
1906
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1823
1907
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1931,7 +2015,7 @@ function equals$t(existing, incoming) {
1931
2015
  }
1932
2016
 
1933
2017
  const VERSION$s = "6859d872ce6d03f8f07819eb40c43fe6";
1934
- function validate$z(obj, path = 'EligibilityRuleOutputRepresentation') {
2018
+ function validate$A(obj, path = 'EligibilityRuleOutputRepresentation') {
1935
2019
  const v_error = (() => {
1936
2020
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1937
2021
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2045,7 +2129,7 @@ function equals$s(existing, incoming) {
2045
2129
  }
2046
2130
 
2047
2131
  const VERSION$r = "b5216beece7c04763cff6924e6953f93";
2048
- function validate$y(obj, path = 'FulfillmentFlowOutputRepresentation') {
2132
+ function validate$z(obj, path = 'FulfillmentFlowOutputRepresentation') {
2049
2133
  const v_error = (() => {
2050
2134
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2051
2135
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2205,7 +2289,7 @@ function equals$r(existing, incoming) {
2205
2289
  }
2206
2290
 
2207
2291
  const VERSION$q = "dc8ba723ca754951db42f9d0e6891a06";
2208
- function validate$x(obj, path = 'IntakeFormOutputRepresentation') {
2292
+ function validate$y(obj, path = 'IntakeFormOutputRepresentation') {
2209
2293
  const v_error = (() => {
2210
2294
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2211
2295
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2595,7 +2679,7 @@ function equals$q(existing, incoming) {
2595
2679
  }
2596
2680
 
2597
2681
  const VERSION$p = "1006a153c933b8bc4b1d44663893e206";
2598
- function validate$w(obj, path = 'IntegrationDefinitionOutputPresentation') {
2682
+ function validate$x(obj, path = 'IntegrationDefinitionOutputPresentation') {
2599
2683
  const v_error = (() => {
2600
2684
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2601
2685
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2709,7 +2793,7 @@ function equals$p(existing, incoming) {
2709
2793
  }
2710
2794
 
2711
2795
  const VERSION$o = "2d685b1e467eb8d61276e834ea3b74a3";
2712
- function validate$v(obj, path = 'PreprocessorOutputRepresentation') {
2796
+ function validate$w(obj, path = 'PreprocessorOutputRepresentation') {
2713
2797
  const v_error = (() => {
2714
2798
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2715
2799
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2823,7 +2907,7 @@ function equals$o(existing, incoming) {
2823
2907
  }
2824
2908
 
2825
2909
  const VERSION$n = "bb9dde3a26e01fbcb2b943119fcb279a";
2826
- function validate$u(obj, path = 'ProductDetailsOutputRepresentation') {
2910
+ function validate$v(obj, path = 'ProductDetailsOutputRepresentation') {
2827
2911
  const v_error = (() => {
2828
2912
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2829
2913
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3121,7 +3205,7 @@ function equals$n(existing, incoming) {
3121
3205
  }
3122
3206
 
3123
3207
  const VERSION$m = "dc18ee4b99b0510d2c89ddf9261ea1e7";
3124
- function validate$t(obj, path = 'ProductRequestOutputRepresentation') {
3208
+ function validate$u(obj, path = 'ProductRequestOutputRepresentation') {
3125
3209
  const v_error = (() => {
3126
3210
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3127
3211
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3135,7 +3219,7 @@ function validate$t(obj, path = 'ProductRequestOutputRepresentation') {
3135
3219
  for (let i = 0; i < obj_productDetails.length; i++) {
3136
3220
  const obj_productDetails_item = obj_productDetails[i];
3137
3221
  const path_productDetails_item = path_productDetails + '[' + i + ']';
3138
- const referencepath_productDetails_itemValidationError = validate$u(obj_productDetails_item, path_productDetails_item);
3222
+ const referencepath_productDetails_itemValidationError = validate$v(obj_productDetails_item, path_productDetails_item);
3139
3223
  if (referencepath_productDetails_itemValidationError !== null) {
3140
3224
  let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
3141
3225
  message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3462,7 +3546,7 @@ function equals$m(existing, incoming) {
3462
3546
  }
3463
3547
 
3464
3548
  const VERSION$l = "96012ee7981543ddc90b7a4d3e505ffb";
3465
- function validate$s(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
3549
+ function validate$t(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
3466
3550
  const v_error = (() => {
3467
3551
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3468
3552
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3633,8 +3717,8 @@ function equals$l(existing, incoming) {
3633
3717
  return true;
3634
3718
  }
3635
3719
 
3636
- const VERSION$k = "564fd7f64d997ab6ecc936f5787a27f9";
3637
- function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3720
+ const VERSION$k = "56047c3264f6e0d4375d956b121d1947";
3721
+ function validate$s(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3638
3722
  const v_error = (() => {
3639
3723
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3640
3724
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3667,6 +3751,34 @@ function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3667
3751
  return new TypeError(message);
3668
3752
  }
3669
3753
  }
3754
+ if (obj.baseObject !== undefined) {
3755
+ const obj_baseObject = obj.baseObject;
3756
+ const path_baseObject = path + '.baseObject';
3757
+ let obj_baseObject_union0 = null;
3758
+ const obj_baseObject_union0_error = (() => {
3759
+ if (typeof obj_baseObject !== 'string') {
3760
+ return new TypeError('Expected "string" but received "' + typeof obj_baseObject + '" (at "' + path_baseObject + '")');
3761
+ }
3762
+ })();
3763
+ if (obj_baseObject_union0_error != null) {
3764
+ obj_baseObject_union0 = obj_baseObject_union0_error.message;
3765
+ }
3766
+ let obj_baseObject_union1 = null;
3767
+ const obj_baseObject_union1_error = (() => {
3768
+ if (obj_baseObject !== null) {
3769
+ return new TypeError('Expected "null" but received "' + typeof obj_baseObject + '" (at "' + path_baseObject + '")');
3770
+ }
3771
+ })();
3772
+ if (obj_baseObject_union1_error != null) {
3773
+ obj_baseObject_union1 = obj_baseObject_union1_error.message;
3774
+ }
3775
+ if (obj_baseObject_union0 && obj_baseObject_union1) {
3776
+ let message = 'Object doesn\'t match union (at "' + path_baseObject + '")';
3777
+ message += '\n' + obj_baseObject_union0.split('\n').map((line) => '\t' + line).join('\n');
3778
+ message += '\n' + obj_baseObject_union1.split('\n').map((line) => '\t' + line).join('\n');
3779
+ return new TypeError(message);
3780
+ }
3781
+ }
3670
3782
  if (obj.dataType !== undefined) {
3671
3783
  const obj_dataType = obj.dataType;
3672
3784
  const path_dataType = path + '.dataType';
@@ -3751,6 +3863,34 @@ function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
3751
3863
  return new TypeError(message);
3752
3864
  }
3753
3865
  }
3866
+ if (obj.fieldType !== undefined) {
3867
+ const obj_fieldType = obj.fieldType;
3868
+ const path_fieldType = path + '.fieldType';
3869
+ let obj_fieldType_union0 = null;
3870
+ const obj_fieldType_union0_error = (() => {
3871
+ if (typeof obj_fieldType !== 'string') {
3872
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
3873
+ }
3874
+ })();
3875
+ if (obj_fieldType_union0_error != null) {
3876
+ obj_fieldType_union0 = obj_fieldType_union0_error.message;
3877
+ }
3878
+ let obj_fieldType_union1 = null;
3879
+ const obj_fieldType_union1_error = (() => {
3880
+ if (obj_fieldType !== null) {
3881
+ return new TypeError('Expected "null" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
3882
+ }
3883
+ })();
3884
+ if (obj_fieldType_union1_error != null) {
3885
+ obj_fieldType_union1 = obj_fieldType_union1_error.message;
3886
+ }
3887
+ if (obj_fieldType_union0 && obj_fieldType_union1) {
3888
+ let message = 'Object doesn\'t match union (at "' + path_fieldType + '")';
3889
+ message += '\n' + obj_fieldType_union0.split('\n').map((line) => '\t' + line).join('\n');
3890
+ message += '\n' + obj_fieldType_union1.split('\n').map((line) => '\t' + line).join('\n');
3891
+ return new TypeError(message);
3892
+ }
3893
+ }
3754
3894
  if (obj.id !== undefined) {
3755
3895
  const obj_id = obj.id;
3756
3896
  const path_id = path + '.id';
@@ -4028,7 +4168,7 @@ function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4028
4168
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
4029
4169
  let obj_picklistOptions_item_union0 = null;
4030
4170
  const obj_picklistOptions_item_union0_error = (() => {
4031
- const referencepath_picklistOptions_itemValidationError = validate$s(obj_picklistOptions_item, path_picklistOptions_item);
4171
+ const referencepath_picklistOptions_itemValidationError = validate$t(obj_picklistOptions_item, path_picklistOptions_item);
4032
4172
  if (referencepath_picklistOptions_itemValidationError !== null) {
4033
4173
  let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
4034
4174
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4055,6 +4195,62 @@ function validate$r(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4055
4195
  }
4056
4196
  }
4057
4197
  }
4198
+ if (obj.referenceField !== undefined) {
4199
+ const obj_referenceField = obj.referenceField;
4200
+ const path_referenceField = path + '.referenceField';
4201
+ let obj_referenceField_union0 = null;
4202
+ const obj_referenceField_union0_error = (() => {
4203
+ if (typeof obj_referenceField !== 'string') {
4204
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
4205
+ }
4206
+ })();
4207
+ if (obj_referenceField_union0_error != null) {
4208
+ obj_referenceField_union0 = obj_referenceField_union0_error.message;
4209
+ }
4210
+ let obj_referenceField_union1 = null;
4211
+ const obj_referenceField_union1_error = (() => {
4212
+ if (obj_referenceField !== null) {
4213
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceField + '" (at "' + path_referenceField + '")');
4214
+ }
4215
+ })();
4216
+ if (obj_referenceField_union1_error != null) {
4217
+ obj_referenceField_union1 = obj_referenceField_union1_error.message;
4218
+ }
4219
+ if (obj_referenceField_union0 && obj_referenceField_union1) {
4220
+ let message = 'Object doesn\'t match union (at "' + path_referenceField + '")';
4221
+ message += '\n' + obj_referenceField_union0.split('\n').map((line) => '\t' + line).join('\n');
4222
+ message += '\n' + obj_referenceField_union1.split('\n').map((line) => '\t' + line).join('\n');
4223
+ return new TypeError(message);
4224
+ }
4225
+ }
4226
+ if (obj.referenceObject !== undefined) {
4227
+ const obj_referenceObject = obj.referenceObject;
4228
+ const path_referenceObject = path + '.referenceObject';
4229
+ let obj_referenceObject_union0 = null;
4230
+ const obj_referenceObject_union0_error = (() => {
4231
+ if (typeof obj_referenceObject !== 'string') {
4232
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
4233
+ }
4234
+ })();
4235
+ if (obj_referenceObject_union0_error != null) {
4236
+ obj_referenceObject_union0 = obj_referenceObject_union0_error.message;
4237
+ }
4238
+ let obj_referenceObject_union1 = null;
4239
+ const obj_referenceObject_union1_error = (() => {
4240
+ if (obj_referenceObject !== null) {
4241
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObject + '" (at "' + path_referenceObject + '")');
4242
+ }
4243
+ })();
4244
+ if (obj_referenceObject_union1_error != null) {
4245
+ obj_referenceObject_union1 = obj_referenceObject_union1_error.message;
4246
+ }
4247
+ if (obj_referenceObject_union0 && obj_referenceObject_union1) {
4248
+ let message = 'Object doesn\'t match union (at "' + path_referenceObject + '")';
4249
+ message += '\n' + obj_referenceObject_union0.split('\n').map((line) => '\t' + line).join('\n');
4250
+ message += '\n' + obj_referenceObject_union1.split('\n').map((line) => '\t' + line).join('\n');
4251
+ return new TypeError(message);
4252
+ }
4253
+ }
4058
4254
  if (obj.sequence !== undefined) {
4059
4255
  const obj_sequence = obj.sequence;
4060
4256
  const path_sequence = path + '.sequence';
@@ -4098,6 +4294,11 @@ const select$A = function CatalogItemAttributeOutputRepresentationSelect() {
4098
4294
  kind: 'Scalar',
4099
4295
  required: false
4100
4296
  },
4297
+ {
4298
+ name: 'baseObject',
4299
+ kind: 'Scalar',
4300
+ required: false
4301
+ },
4101
4302
  {
4102
4303
  name: 'dataType',
4103
4304
  kind: 'Scalar',
@@ -4113,6 +4314,11 @@ const select$A = function CatalogItemAttributeOutputRepresentationSelect() {
4113
4314
  kind: 'Scalar',
4114
4315
  required: false
4115
4316
  },
4317
+ {
4318
+ name: 'fieldType',
4319
+ kind: 'Scalar',
4320
+ required: false
4321
+ },
4116
4322
  {
4117
4323
  name: 'id',
4118
4324
  kind: 'Scalar',
@@ -4176,6 +4382,16 @@ const select$A = function CatalogItemAttributeOutputRepresentationSelect() {
4176
4382
  selections: PicklistAttributeTypeOutputRepresentation__selections,
4177
4383
  required: false
4178
4384
  },
4385
+ {
4386
+ name: 'referenceField',
4387
+ kind: 'Scalar',
4388
+ required: false
4389
+ },
4390
+ {
4391
+ name: 'referenceObject',
4392
+ kind: 'Scalar',
4393
+ required: false
4394
+ },
4179
4395
  {
4180
4396
  name: 'sequence',
4181
4397
  kind: 'Scalar',
@@ -4224,6 +4440,19 @@ function equals$k(existing, incoming) {
4224
4440
  return false;
4225
4441
  }
4226
4442
  }
4443
+ const existing_baseObject = existing.baseObject;
4444
+ const incoming_baseObject = incoming.baseObject;
4445
+ // if at least one of these optionals is defined
4446
+ if (existing_baseObject !== undefined || incoming_baseObject !== undefined) {
4447
+ // if one of these is not defined we know the other is defined and therefore
4448
+ // not equal
4449
+ if (existing_baseObject === undefined || incoming_baseObject === undefined) {
4450
+ return false;
4451
+ }
4452
+ if (!(existing_baseObject === incoming_baseObject)) {
4453
+ return false;
4454
+ }
4455
+ }
4227
4456
  const existing_dataType = existing.dataType;
4228
4457
  const incoming_dataType = incoming.dataType;
4229
4458
  // if at least one of these optionals is defined
@@ -4263,6 +4492,19 @@ function equals$k(existing, incoming) {
4263
4492
  return false;
4264
4493
  }
4265
4494
  }
4495
+ const existing_fieldType = existing.fieldType;
4496
+ const incoming_fieldType = incoming.fieldType;
4497
+ // if at least one of these optionals is defined
4498
+ if (existing_fieldType !== undefined || incoming_fieldType !== undefined) {
4499
+ // if one of these is not defined we know the other is defined and therefore
4500
+ // not equal
4501
+ if (existing_fieldType === undefined || incoming_fieldType === undefined) {
4502
+ return false;
4503
+ }
4504
+ if (!(existing_fieldType === incoming_fieldType)) {
4505
+ return false;
4506
+ }
4507
+ }
4266
4508
  const existing_id = existing.id;
4267
4509
  const incoming_id = incoming.id;
4268
4510
  // if at least one of these optionals is defined
@@ -4401,6 +4643,32 @@ function equals$k(existing, incoming) {
4401
4643
  return false;
4402
4644
  }
4403
4645
  }
4646
+ const existing_referenceField = existing.referenceField;
4647
+ const incoming_referenceField = incoming.referenceField;
4648
+ // if at least one of these optionals is defined
4649
+ if (existing_referenceField !== undefined || incoming_referenceField !== undefined) {
4650
+ // if one of these is not defined we know the other is defined and therefore
4651
+ // not equal
4652
+ if (existing_referenceField === undefined || incoming_referenceField === undefined) {
4653
+ return false;
4654
+ }
4655
+ if (!(existing_referenceField === incoming_referenceField)) {
4656
+ return false;
4657
+ }
4658
+ }
4659
+ const existing_referenceObject = existing.referenceObject;
4660
+ const incoming_referenceObject = incoming.referenceObject;
4661
+ // if at least one of these optionals is defined
4662
+ if (existing_referenceObject !== undefined || incoming_referenceObject !== undefined) {
4663
+ // if one of these is not defined we know the other is defined and therefore
4664
+ // not equal
4665
+ if (existing_referenceObject === undefined || incoming_referenceObject === undefined) {
4666
+ return false;
4667
+ }
4668
+ if (!(existing_referenceObject === incoming_referenceObject)) {
4669
+ return false;
4670
+ }
4671
+ }
4404
4672
  const existing_sequence = existing.sequence;
4405
4673
  const incoming_sequence = incoming.sequence;
4406
4674
  // if at least one of these optionals is defined
@@ -4418,7 +4686,7 @@ function equals$k(existing, incoming) {
4418
4686
  }
4419
4687
 
4420
4688
  const VERSION$j = "eed5c7a2ef3082b1059e48f5742cd44f";
4421
- function validate$q(obj, path = 'SectionOutputRepresentation') {
4689
+ function validate$r(obj, path = 'SectionOutputRepresentation') {
4422
4690
  const v_error = (() => {
4423
4691
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4424
4692
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4434,7 +4702,7 @@ function validate$q(obj, path = 'SectionOutputRepresentation') {
4434
4702
  const path_attributes_item = path_attributes + '[' + i + ']';
4435
4703
  let obj_attributes_item_union0 = null;
4436
4704
  const obj_attributes_item_union0_error = (() => {
4437
- const referencepath_attributes_itemValidationError = validate$r(obj_attributes_item, path_attributes_item);
4705
+ const referencepath_attributes_itemValidationError = validate$s(obj_attributes_item, path_attributes_item);
4438
4706
  if (referencepath_attributes_itemValidationError !== null) {
4439
4707
  let message = 'Object doesn\'t match CatalogItemAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
4440
4708
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4672,7 +4940,7 @@ function equals$j(existing, incoming) {
4672
4940
 
4673
4941
  const TTL$b = 6000;
4674
4942
  const VERSION$i = "9cce3c8a5131820b99e02e05c1d95d43";
4675
- function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4943
+ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
4676
4944
  const v_error = (() => {
4677
4945
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4678
4946
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4682,7 +4950,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4682
4950
  const path_agentAction = path + '.agentAction';
4683
4951
  let obj_agentAction_union0 = null;
4684
4952
  const obj_agentAction_union0_error = (() => {
4685
- const referencepath_agentActionValidationError = validate$B(obj_agentAction, path_agentAction);
4953
+ const referencepath_agentActionValidationError = validate$C(obj_agentAction, path_agentAction);
4686
4954
  if (referencepath_agentActionValidationError !== null) {
4687
4955
  let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
4688
4956
  message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4719,7 +4987,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4719
4987
  const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
4720
4988
  let obj_associatedArticles_item_union0 = null;
4721
4989
  const obj_associatedArticles_item_union0_error = (() => {
4722
- const referencepath_associatedArticles_itemValidationError = validate$A(obj_associatedArticles_item, path_associatedArticles_item);
4990
+ const referencepath_associatedArticles_itemValidationError = validate$B(obj_associatedArticles_item, path_associatedArticles_item);
4723
4991
  if (referencepath_associatedArticles_itemValidationError !== null) {
4724
4992
  let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
4725
4993
  message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4867,7 +5135,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4867
5135
  const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
4868
5136
  let obj_eligibilityRules_item_union0 = null;
4869
5137
  const obj_eligibilityRules_item_union0_error = (() => {
4870
- const referencepath_eligibilityRules_itemValidationError = validate$z(obj_eligibilityRules_item, path_eligibilityRules_item);
5138
+ const referencepath_eligibilityRules_itemValidationError = validate$A(obj_eligibilityRules_item, path_eligibilityRules_item);
4871
5139
  if (referencepath_eligibilityRules_itemValidationError !== null) {
4872
5140
  let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
4873
5141
  message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4899,7 +5167,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4899
5167
  const path_fulfillmentFlow = path + '.fulfillmentFlow';
4900
5168
  let obj_fulfillmentFlow_union0 = null;
4901
5169
  const obj_fulfillmentFlow_union0_error = (() => {
4902
- const referencepath_fulfillmentFlowValidationError = validate$y(obj_fulfillmentFlow, path_fulfillmentFlow);
5170
+ const referencepath_fulfillmentFlowValidationError = validate$z(obj_fulfillmentFlow, path_fulfillmentFlow);
4903
5171
  if (referencepath_fulfillmentFlowValidationError !== null) {
4904
5172
  let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
4905
5173
  message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4930,7 +5198,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4930
5198
  const path_intakeForm = path + '.intakeForm';
4931
5199
  let obj_intakeForm_union0 = null;
4932
5200
  const obj_intakeForm_union0_error = (() => {
4933
- const referencepath_intakeFormValidationError = validate$x(obj_intakeForm, path_intakeForm);
5201
+ const referencepath_intakeFormValidationError = validate$y(obj_intakeForm, path_intakeForm);
4934
5202
  if (referencepath_intakeFormValidationError !== null) {
4935
5203
  let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
4936
5204
  message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4967,7 +5235,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
4967
5235
  const path_integrations_item = path_integrations + '[' + i + ']';
4968
5236
  let obj_integrations_item_union0 = null;
4969
5237
  const obj_integrations_item_union0_error = (() => {
4970
- const referencepath_integrations_itemValidationError = validate$w(obj_integrations_item, path_integrations_item);
5238
+ const referencepath_integrations_itemValidationError = validate$x(obj_integrations_item, path_integrations_item);
4971
5239
  if (referencepath_integrations_itemValidationError !== null) {
4972
5240
  let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
4973
5241
  message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5061,7 +5329,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
5061
5329
  const path_preProcessors_item = path_preProcessors + '[' + i + ']';
5062
5330
  let obj_preProcessors_item_union0 = null;
5063
5331
  const obj_preProcessors_item_union0_error = (() => {
5064
- const referencepath_preProcessors_itemValidationError = validate$v(obj_preProcessors_item, path_preProcessors_item);
5332
+ const referencepath_preProcessors_itemValidationError = validate$w(obj_preProcessors_item, path_preProcessors_item);
5065
5333
  if (referencepath_preProcessors_itemValidationError !== null) {
5066
5334
  let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
5067
5335
  message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5127,7 +5395,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
5127
5395
  const path_productRequests_item = path_productRequests + '[' + i + ']';
5128
5396
  let obj_productRequests_item_union0 = null;
5129
5397
  const obj_productRequests_item_union0_error = (() => {
5130
- const referencepath_productRequests_itemValidationError = validate$t(obj_productRequests_item, path_productRequests_item);
5398
+ const referencepath_productRequests_itemValidationError = validate$u(obj_productRequests_item, path_productRequests_item);
5131
5399
  if (referencepath_productRequests_itemValidationError !== null) {
5132
5400
  let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
5133
5401
  message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5159,7 +5427,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
5159
5427
  const path_section = path + '.section';
5160
5428
  let obj_section_union0 = null;
5161
5429
  const obj_section_union0_error = (() => {
5162
- const referencepath_sectionValidationError = validate$q(obj_section, path_section);
5430
+ const referencepath_sectionValidationError = validate$r(obj_section, path_section);
5163
5431
  if (referencepath_sectionValidationError !== null) {
5164
5432
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_section + '")\n';
5165
5433
  message += referencepath_sectionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5196,7 +5464,7 @@ function validate$p(obj, path = 'CatalogItemOutputRepresentation') {
5196
5464
  const path_sections_item = path_sections + '[' + i + ']';
5197
5465
  let obj_sections_item_union0 = null;
5198
5466
  const obj_sections_item_union0_error = (() => {
5199
- const referencepath_sections_itemValidationError = validate$q(obj_sections_item, path_sections_item);
5467
+ const referencepath_sections_itemValidationError = validate$r(obj_sections_item, path_sections_item);
5200
5468
  if (referencepath_sections_itemValidationError !== null) {
5201
5469
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_sections_item + '")\n';
5202
5470
  message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5737,7 +6005,7 @@ function equals$i(existing, incoming) {
5737
6005
  }
5738
6006
  const ingest$d = function CatalogItemOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5739
6007
  if (process.env.NODE_ENV !== 'production') {
5740
- const validateError = validate$p(input);
6008
+ const validateError = validate$q(input);
5741
6009
  if (validateError !== null) {
5742
6010
  throw validateError;
5743
6011
  }
@@ -5819,7 +6087,7 @@ const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(createCatalo
5819
6087
  function typeCheckConfig$f(untrustedConfig) {
5820
6088
  const config = {};
5821
6089
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
5822
- const referenceAgentActionInputRepresentationValidationError = validate$M(untrustedConfig_agentAction);
6090
+ const referenceAgentActionInputRepresentationValidationError = validate$N(untrustedConfig_agentAction);
5823
6091
  if (referenceAgentActionInputRepresentationValidationError === null) {
5824
6092
  config.agentAction = untrustedConfig_agentAction;
5825
6093
  }
@@ -5831,7 +6099,7 @@ function typeCheckConfig$f(untrustedConfig) {
5831
6099
  const untrustedConfig_associatedArticles_array = [];
5832
6100
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
5833
6101
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
5834
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$L(untrustedConfig_associatedArticles_item);
6102
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$M(untrustedConfig_associatedArticles_item);
5835
6103
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
5836
6104
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
5837
6105
  }
@@ -5846,7 +6114,7 @@ function typeCheckConfig$f(untrustedConfig) {
5846
6114
  const untrustedConfig_attributes_array = [];
5847
6115
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
5848
6116
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
5849
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$J(untrustedConfig_attributes_item);
6117
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$K(untrustedConfig_attributes_item);
5850
6118
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
5851
6119
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
5852
6120
  }
@@ -5861,7 +6129,7 @@ function typeCheckConfig$f(untrustedConfig) {
5861
6129
  const untrustedConfig_sections_array = [];
5862
6130
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
5863
6131
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
5864
- const referenceSectionInputRepresentationValidationError = validate$I(untrustedConfig_sections_item);
6132
+ const referenceSectionInputRepresentationValidationError = validate$J(untrustedConfig_sections_item);
5865
6133
  if (referenceSectionInputRepresentationValidationError === null) {
5866
6134
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
5867
6135
  }
@@ -5897,7 +6165,7 @@ function typeCheckConfig$f(untrustedConfig) {
5897
6165
  const untrustedConfig_eligibilityRules_array = [];
5898
6166
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
5899
6167
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
5900
- const referenceEligibilityRulesInputRepresentationValidationError = validate$H(untrustedConfig_eligibilityRules_item);
6168
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$I(untrustedConfig_eligibilityRules_item);
5901
6169
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
5902
6170
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
5903
6171
  }
@@ -5908,7 +6176,7 @@ function typeCheckConfig$f(untrustedConfig) {
5908
6176
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
5909
6177
  }
5910
6178
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
5911
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$G(untrustedConfig_fulfillmentFlow);
6179
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$H(untrustedConfig_fulfillmentFlow);
5912
6180
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
5913
6181
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5914
6182
  }
@@ -5916,7 +6184,7 @@ function typeCheckConfig$f(untrustedConfig) {
5916
6184
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
5917
6185
  }
5918
6186
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
5919
- const referenceIntakeFormInputRepresentationValidationError = validate$F(untrustedConfig_intakeForm);
6187
+ const referenceIntakeFormInputRepresentationValidationError = validate$G(untrustedConfig_intakeForm);
5920
6188
  if (referenceIntakeFormInputRepresentationValidationError === null) {
5921
6189
  config.intakeForm = untrustedConfig_intakeForm;
5922
6190
  }
@@ -5928,7 +6196,7 @@ function typeCheckConfig$f(untrustedConfig) {
5928
6196
  const untrustedConfig_integrations_array = [];
5929
6197
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
5930
6198
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
5931
- const referenceIntegrationDefInputRepresentationValidationError = validate$E(untrustedConfig_integrations_item);
6199
+ const referenceIntegrationDefInputRepresentationValidationError = validate$F(untrustedConfig_integrations_item);
5932
6200
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
5933
6201
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
5934
6202
  }
@@ -5957,7 +6225,7 @@ function typeCheckConfig$f(untrustedConfig) {
5957
6225
  const untrustedConfig_preProcessors_array = [];
5958
6226
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
5959
6227
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
5960
- const referencePreprocessorInputRepresentationValidationError = validate$D(untrustedConfig_preProcessors_item);
6228
+ const referencePreprocessorInputRepresentationValidationError = validate$E(untrustedConfig_preProcessors_item);
5961
6229
  if (referencePreprocessorInputRepresentationValidationError === null) {
5962
6230
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
5963
6231
  }
@@ -5972,7 +6240,7 @@ function typeCheckConfig$f(untrustedConfig) {
5972
6240
  const untrustedConfig_productRequests_array = [];
5973
6241
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
5974
6242
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
5975
- const referenceProductRequestCreateInputRepresentationValidationError = validate$C(untrustedConfig_productRequests_item);
6243
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$D(untrustedConfig_productRequests_item);
5976
6244
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
5977
6245
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5978
6246
  }
@@ -6246,7 +6514,7 @@ function typeCheckConfig$d(untrustedConfig) {
6246
6514
  const config = {};
6247
6515
  typeCheckConfig$g(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
6248
6516
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
6249
- const referenceAgentActionInputRepresentationValidationError = validate$M(untrustedConfig_agentAction);
6517
+ const referenceAgentActionInputRepresentationValidationError = validate$N(untrustedConfig_agentAction);
6250
6518
  if (referenceAgentActionInputRepresentationValidationError === null) {
6251
6519
  config.agentAction = untrustedConfig_agentAction;
6252
6520
  }
@@ -6265,7 +6533,7 @@ function typeCheckConfig$d(untrustedConfig) {
6265
6533
  const untrustedConfig_associatedArticles_array = [];
6266
6534
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
6267
6535
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
6268
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$L(untrustedConfig_associatedArticles_item);
6536
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$M(untrustedConfig_associatedArticles_item);
6269
6537
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
6270
6538
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
6271
6539
  }
@@ -6280,7 +6548,7 @@ function typeCheckConfig$d(untrustedConfig) {
6280
6548
  const untrustedConfig_attributes_array = [];
6281
6549
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
6282
6550
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
6283
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$J(untrustedConfig_attributes_item);
6551
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$K(untrustedConfig_attributes_item);
6284
6552
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
6285
6553
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
6286
6554
  }
@@ -6295,7 +6563,7 @@ function typeCheckConfig$d(untrustedConfig) {
6295
6563
  const untrustedConfig_sections_array = [];
6296
6564
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
6297
6565
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
6298
- const referenceSectionInputRepresentationValidationError = validate$I(untrustedConfig_sections_item);
6566
+ const referenceSectionInputRepresentationValidationError = validate$J(untrustedConfig_sections_item);
6299
6567
  if (referenceSectionInputRepresentationValidationError === null) {
6300
6568
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
6301
6569
  }
@@ -6331,7 +6599,7 @@ function typeCheckConfig$d(untrustedConfig) {
6331
6599
  const untrustedConfig_eligibilityRules_array = [];
6332
6600
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
6333
6601
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
6334
- const referenceEligibilityRulesInputRepresentationValidationError = validate$H(untrustedConfig_eligibilityRules_item);
6602
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$I(untrustedConfig_eligibilityRules_item);
6335
6603
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
6336
6604
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
6337
6605
  }
@@ -6342,7 +6610,7 @@ function typeCheckConfig$d(untrustedConfig) {
6342
6610
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
6343
6611
  }
6344
6612
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
6345
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$G(untrustedConfig_fulfillmentFlow);
6613
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$H(untrustedConfig_fulfillmentFlow);
6346
6614
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
6347
6615
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6348
6616
  }
@@ -6350,7 +6618,7 @@ function typeCheckConfig$d(untrustedConfig) {
6350
6618
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6351
6619
  }
6352
6620
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
6353
- const referenceIntakeFormInputRepresentationValidationError = validate$F(untrustedConfig_intakeForm);
6621
+ const referenceIntakeFormInputRepresentationValidationError = validate$G(untrustedConfig_intakeForm);
6354
6622
  if (referenceIntakeFormInputRepresentationValidationError === null) {
6355
6623
  config.intakeForm = untrustedConfig_intakeForm;
6356
6624
  }
@@ -6362,7 +6630,7 @@ function typeCheckConfig$d(untrustedConfig) {
6362
6630
  const untrustedConfig_integrations_array = [];
6363
6631
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
6364
6632
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
6365
- const referenceIntegrationDefInputRepresentationValidationError = validate$E(untrustedConfig_integrations_item);
6633
+ const referenceIntegrationDefInputRepresentationValidationError = validate$F(untrustedConfig_integrations_item);
6366
6634
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
6367
6635
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
6368
6636
  }
@@ -6391,7 +6659,7 @@ function typeCheckConfig$d(untrustedConfig) {
6391
6659
  const untrustedConfig_preProcessors_array = [];
6392
6660
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
6393
6661
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
6394
- const referencePreprocessorInputRepresentationValidationError = validate$D(untrustedConfig_preProcessors_item);
6662
+ const referencePreprocessorInputRepresentationValidationError = validate$E(untrustedConfig_preProcessors_item);
6395
6663
  if (referencePreprocessorInputRepresentationValidationError === null) {
6396
6664
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
6397
6665
  }
@@ -6406,7 +6674,7 @@ function typeCheckConfig$d(untrustedConfig) {
6406
6674
  const untrustedConfig_productRequests_array = [];
6407
6675
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
6408
6676
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
6409
- const referenceProductRequestCreateInputRepresentationValidationError = validate$C(untrustedConfig_productRequests_item);
6677
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$D(untrustedConfig_productRequests_item);
6410
6678
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
6411
6679
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
6412
6680
  }
@@ -6474,7 +6742,7 @@ const updateCatalogItemAdapterFactory = (luvio) => {
6474
6742
  };
6475
6743
  };
6476
6744
 
6477
- function validate$o(obj, path = 'CategoryInput') {
6745
+ function validate$p(obj, path = 'CategoryInput') {
6478
6746
  const v_error = (() => {
6479
6747
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6480
6748
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6493,7 +6761,7 @@ function validate$o(obj, path = 'CategoryInput') {
6493
6761
  return v_error === undefined ? null : v_error;
6494
6762
  }
6495
6763
 
6496
- function validate$n(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6764
+ function validate$o(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6497
6765
  const v_error = (() => {
6498
6766
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6499
6767
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6516,7 +6784,7 @@ function validate$n(obj, path = 'CategoryAndParentErrorOutputRepresentation') {
6516
6784
 
6517
6785
  const TTL$a = 6000;
6518
6786
  const VERSION$h = "fe841039450a703d6b90e94658dd230f";
6519
- function validate$m(obj, path = 'CategoryAndParentOutputRepresentation') {
6787
+ function validate$n(obj, path = 'CategoryAndParentOutputRepresentation') {
6520
6788
  const v_error = (() => {
6521
6789
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6522
6790
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6534,7 +6802,7 @@ function validate$m(obj, path = 'CategoryAndParentOutputRepresentation') {
6534
6802
  for (let i = 0; i < obj_errors.length; i++) {
6535
6803
  const obj_errors_item = obj_errors[i];
6536
6804
  const path_errors_item = path_errors + '[' + i + ']';
6537
- const referencepath_errors_itemValidationError = validate$n(obj_errors_item, path_errors_item);
6805
+ const referencepath_errors_itemValidationError = validate$o(obj_errors_item, path_errors_item);
6538
6806
  if (referencepath_errors_itemValidationError !== null) {
6539
6807
  let message = 'Object doesn\'t match CategoryAndParentErrorOutputRepresentation (at "' + path_errors_item + '")\n';
6540
6808
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6583,7 +6851,7 @@ function equals$h(existing, incoming) {
6583
6851
  }
6584
6852
  const ingest$c = function CategoryAndParentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6585
6853
  if (process.env.NODE_ENV !== 'production') {
6586
- const validateError = validate$m(input);
6854
+ const validateError = validate$n(input);
6587
6855
  if (validateError !== null) {
6588
6856
  throw validateError;
6589
6857
  }
@@ -6655,7 +6923,7 @@ function typeCheckConfig$c(untrustedConfig) {
6655
6923
  const untrustedConfig_categories_array = [];
6656
6924
  for (let i = 0, arrayLength = untrustedConfig_categories.length; i < arrayLength; i++) {
6657
6925
  const untrustedConfig_categories_item = untrustedConfig_categories[i];
6658
- const referenceCategoryInputValidationError = validate$o(untrustedConfig_categories_item);
6926
+ const referenceCategoryInputValidationError = validate$p(untrustedConfig_categories_item);
6659
6927
  if (referenceCategoryInputValidationError === null) {
6660
6928
  untrustedConfig_categories_array.push(untrustedConfig_categories_item);
6661
6929
  }
@@ -6706,7 +6974,7 @@ const updateEpcCategoriesAdapterFactory = (luvio) => {
6706
6974
  };
6707
6975
  };
6708
6976
 
6709
- function validate$l(obj, path = 'FilterInputRepresentation') {
6977
+ function validate$m(obj, path = 'FilterInputRepresentation') {
6710
6978
  const v_error = (() => {
6711
6979
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6712
6980
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6730,7 +6998,7 @@ function validate$l(obj, path = 'FilterInputRepresentation') {
6730
6998
  return v_error === undefined ? null : v_error;
6731
6999
  }
6732
7000
 
6733
- function validate$k(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
7001
+ function validate$l(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
6734
7002
  const v_error = (() => {
6735
7003
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6736
7004
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6755,7 +7023,7 @@ function validate$k(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
6755
7023
 
6756
7024
  const TTL$9 = 6000;
6757
7025
  const VERSION$g = "7860ae260a600243129acb4ea01e75be";
6758
- function validate$j(obj, path = 'ServiceAutomationDepOutputRepresentation') {
7026
+ function validate$k(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6759
7027
  const v_error = (() => {
6760
7028
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6761
7029
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6773,7 +7041,7 @@ function validate$j(obj, path = 'ServiceAutomationDepOutputRepresentation') {
6773
7041
  for (let i = 0; i < obj_records.length; i++) {
6774
7042
  const obj_records_item = obj_records[i];
6775
7043
  const path_records_item = path_records + '[' + i + ']';
6776
- const referencepath_records_itemValidationError = validate$k(obj_records_item, path_records_item);
7044
+ const referencepath_records_itemValidationError = validate$l(obj_records_item, path_records_item);
6777
7045
  if (referencepath_records_itemValidationError !== null) {
6778
7046
  let message = 'Object doesn\'t match ServiceAutomationOutputRecordRepresentation (at "' + path_records_item + '")\n';
6779
7047
  message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6803,7 +7071,7 @@ function equals$g(existing, incoming) {
6803
7071
  }
6804
7072
  const ingest$b = function ServiceAutomationDepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6805
7073
  if (process.env.NODE_ENV !== 'production') {
6806
- const validateError = validate$j(input);
7074
+ const validateError = validate$k(input);
6807
7075
  if (validateError !== null) {
6808
7076
  throw validateError;
6809
7077
  }
@@ -6896,7 +7164,7 @@ function typeCheckConfig$b(untrustedConfig) {
6896
7164
  const untrustedConfig_filters_array = [];
6897
7165
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
6898
7166
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
6899
- const referenceFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
7167
+ const referenceFilterInputRepresentationValidationError = validate$m(untrustedConfig_filters_item);
6900
7168
  if (referenceFilterInputRepresentationValidationError === null) {
6901
7169
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
6902
7170
  }
@@ -6983,6 +7251,35 @@ const getAllServiceAutomationDepAdapterFactory = (luvio) => function ecm__getAll
6983
7251
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
6984
7252
  };
6985
7253
 
7254
+ function validate$j(obj, path = 'DependencyDetails') {
7255
+ const v_error = (() => {
7256
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7257
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7258
+ }
7259
+ const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
7260
+ const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
7261
+ if (typeof obj_dependencyDeploymentMedium !== 'string') {
7262
+ return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
7263
+ }
7264
+ const obj_templateApiName = obj.templateApiName;
7265
+ const path_templateApiName = path + '.templateApiName';
7266
+ if (typeof obj_templateApiName !== 'string') {
7267
+ return new TypeError('Expected "string" but received "' + typeof obj_templateApiName + '" (at "' + path_templateApiName + '")');
7268
+ }
7269
+ const obj_templateDependencyType = obj.templateDependencyType;
7270
+ const path_templateDependencyType = path + '.templateDependencyType';
7271
+ if (typeof obj_templateDependencyType !== 'string') {
7272
+ return new TypeError('Expected "string" but received "' + typeof obj_templateDependencyType + '" (at "' + path_templateDependencyType + '")');
7273
+ }
7274
+ const obj_templateType = obj.templateType;
7275
+ const path_templateType = path + '.templateType';
7276
+ if (typeof obj_templateType !== 'string') {
7277
+ return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
7278
+ }
7279
+ })();
7280
+ return v_error === undefined ? null : v_error;
7281
+ }
7282
+
6986
7283
  function validate$i(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
6987
7284
  const v_error = (() => {
6988
7285
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7013,6 +7310,21 @@ function validate$i(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
7013
7310
  if (typeof obj_name !== 'string') {
7014
7311
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
7015
7312
  }
7313
+ const obj_templateDependencyMetadata = obj.templateDependencyMetadata;
7314
+ const path_templateDependencyMetadata = path + '.templateDependencyMetadata';
7315
+ if (!ArrayIsArray(obj_templateDependencyMetadata)) {
7316
+ return new TypeError('Expected "array" but received "' + typeof obj_templateDependencyMetadata + '" (at "' + path_templateDependencyMetadata + '")');
7317
+ }
7318
+ for (let i = 0; i < obj_templateDependencyMetadata.length; i++) {
7319
+ const obj_templateDependencyMetadata_item = obj_templateDependencyMetadata[i];
7320
+ const path_templateDependencyMetadata_item = path_templateDependencyMetadata + '[' + i + ']';
7321
+ const referencepath_templateDependencyMetadata_itemValidationError = validate$j(obj_templateDependencyMetadata_item, path_templateDependencyMetadata_item);
7322
+ if (referencepath_templateDependencyMetadata_itemValidationError !== null) {
7323
+ let message = 'Object doesn\'t match DependencyDetails (at "' + path_templateDependencyMetadata_item + '")\n';
7324
+ message += referencepath_templateDependencyMetadata_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7325
+ return new TypeError(message);
7326
+ }
7327
+ }
7016
7328
  const obj_type = obj.type;
7017
7329
  const path_type = path + '.type';
7018
7330
  if (typeof obj_type !== 'string') {
@@ -9439,6 +9751,11 @@ function validate$7(obj, path = 'TemplateDependencyConfiguration') {
9439
9751
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9440
9752
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9441
9753
  }
9754
+ const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
9755
+ const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
9756
+ if (typeof obj_dependencyDeploymentMedium !== 'string') {
9757
+ return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
9758
+ }
9442
9759
  const obj_templateApiName = obj.templateApiName;
9443
9760
  const path_templateApiName = path + '.templateApiName';
9444
9761
  if (typeof obj_templateApiName !== 'string') {
@@ -9615,7 +9932,7 @@ function createResourceRequest$2(config) {
9615
9932
  const adapterName$2 = 'deployTemplate';
9616
9933
  const deployTemplate_ConfigPropertyMetadata = [
9617
9934
  generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
9618
- generateParamConfigMetadata('flowTemplates', true, 2 /* Body */, 4 /* Unsupported */, true),
9935
+ generateParamConfigMetadata('flowTemplates', false, 2 /* Body */, 4 /* Unsupported */, true),
9619
9936
  ];
9620
9937
  const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deployTemplate_ConfigPropertyMetadata);
9621
9938
  const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(deployTemplate_ConfigPropertyMetadata);
@@ -9932,12 +10249,19 @@ const saveEligibilityRuleAdapterFactory = (luvio) => {
9932
10249
  };
9933
10250
  };
9934
10251
 
9935
- const VERSION$3 = "8da8a9539ab11c385bafdc5028d51ad1";
9936
- function validate$3(obj, path = 'DecisionTableParameterOutputRepresentation') {
10252
+ const VERSION$3 = "16a21367b1c0bba3e8f0ed1efce35f85";
10253
+ function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
9937
10254
  const v_error = (() => {
9938
10255
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9939
10256
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9940
10257
  }
10258
+ if (obj.columnDataType !== undefined) {
10259
+ const obj_columnDataType = obj.columnDataType;
10260
+ const path_columnDataType = path + '.columnDataType';
10261
+ if (typeof obj_columnDataType !== 'string') {
10262
+ return new TypeError('Expected "string" but received "' + typeof obj_columnDataType + '" (at "' + path_columnDataType + '")');
10263
+ }
10264
+ }
9941
10265
  if (obj.columnMapping !== undefined) {
9942
10266
  const obj_columnMapping = obj.columnMapping;
9943
10267
  const path_columnMapping = path + '.columnMapping';
@@ -10032,12 +10356,17 @@ function validate$3(obj, path = 'DecisionTableParameterOutputRepresentation') {
10032
10356
  })();
10033
10357
  return v_error === undefined ? null : v_error;
10034
10358
  }
10035
- const select$4 = function DecisionTableParameterOutputRepresentationSelect() {
10359
+ const select$4 = function EligibilityRuleParameterRepresentationSelect() {
10036
10360
  return {
10037
10361
  kind: 'Fragment',
10038
10362
  version: VERSION$3,
10039
10363
  private: [],
10040
10364
  selections: [
10365
+ {
10366
+ name: 'columnDataType',
10367
+ kind: 'Scalar',
10368
+ required: false
10369
+ },
10041
10370
  {
10042
10371
  name: 'columnMapping',
10043
10372
  kind: 'Scalar',
@@ -10185,6 +10514,19 @@ function equals$3(existing, incoming) {
10185
10514
  return false;
10186
10515
  }
10187
10516
  }
10517
+ const existing_columnDataType = existing.columnDataType;
10518
+ const incoming_columnDataType = incoming.columnDataType;
10519
+ // if at least one of these optionals is defined
10520
+ if (existing_columnDataType !== undefined || incoming_columnDataType !== undefined) {
10521
+ // if one of these is not defined we know the other is defined and therefore
10522
+ // not equal
10523
+ if (existing_columnDataType === undefined || incoming_columnDataType === undefined) {
10524
+ return false;
10525
+ }
10526
+ if (!(existing_columnDataType === incoming_columnDataType)) {
10527
+ return false;
10528
+ }
10529
+ }
10188
10530
  const existing_columnMapping = existing.columnMapping;
10189
10531
  const incoming_columnMapping = incoming.columnMapping;
10190
10532
  // if at least one of these optionals is defined
@@ -10426,17 +10768,12 @@ function equals$2(existing, incoming) {
10426
10768
  return true;
10427
10769
  }
10428
10770
 
10429
- const VERSION$1 = "53a2c9a83f2af963d29b270a557a29ab";
10771
+ const VERSION$1 = "95c6a3da04e0fcc9db2a92b64485382c";
10430
10772
  function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10431
10773
  const v_error = (() => {
10432
10774
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10433
10775
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10434
10776
  }
10435
- const obj_cellLevelCriteriaEnabled = obj.cellLevelCriteriaEnabled;
10436
- const path_cellLevelCriteriaEnabled = path + '.cellLevelCriteriaEnabled';
10437
- if (typeof obj_cellLevelCriteriaEnabled !== 'boolean') {
10438
- return new TypeError('Expected "boolean" but received "' + typeof obj_cellLevelCriteriaEnabled + '" (at "' + path_cellLevelCriteriaEnabled + '")');
10439
- }
10440
10777
  const obj_conditionCriteria = obj.conditionCriteria;
10441
10778
  const path_conditionCriteria = path + '.conditionCriteria';
10442
10779
  if (typeof obj_conditionCriteria !== 'string') {
@@ -10447,6 +10784,11 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10447
10784
  if (typeof obj_conditionType !== 'string') {
10448
10785
  return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
10449
10786
  }
10787
+ const obj_createdDate = obj.createdDate;
10788
+ const path_createdDate = path + '.createdDate';
10789
+ if (typeof obj_createdDate !== 'string') {
10790
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
10791
+ }
10450
10792
  const obj_decisionTableId = obj.decisionTableId;
10451
10793
  const path_decisionTableId = path + '.decisionTableId';
10452
10794
  if (typeof obj_decisionTableId !== 'string') {
@@ -10462,6 +10804,11 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10462
10804
  if (typeof obj_description !== 'string') {
10463
10805
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
10464
10806
  }
10807
+ const obj_lastModifiedDate = obj.lastModifiedDate;
10808
+ const path_lastModifiedDate = path + '.lastModifiedDate';
10809
+ if (typeof obj_lastModifiedDate !== 'string') {
10810
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
10811
+ }
10465
10812
  const obj_parameters = obj.parameters;
10466
10813
  const path_parameters = path + '.parameters';
10467
10814
  if (!ArrayIsArray(obj_parameters)) {
@@ -10472,11 +10819,16 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10472
10819
  const path_parameters_item = path_parameters + '[' + i + ']';
10473
10820
  const referencepath_parameters_itemValidationError = validate$3(obj_parameters_item, path_parameters_item);
10474
10821
  if (referencepath_parameters_itemValidationError !== null) {
10475
- let message = 'Object doesn\'t match DecisionTableParameterOutputRepresentation (at "' + path_parameters_item + '")\n';
10822
+ let message = 'Object doesn\'t match EligibilityRuleParameterRepresentation (at "' + path_parameters_item + '")\n';
10476
10823
  message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
10477
10824
  return new TypeError(message);
10478
10825
  }
10479
10826
  }
10827
+ const obj_rowLevelOverrideType = obj.rowLevelOverrideType;
10828
+ const path_rowLevelOverrideType = path + '.rowLevelOverrideType';
10829
+ if (typeof obj_rowLevelOverrideType !== 'string') {
10830
+ return new TypeError('Expected "string" but received "' + typeof obj_rowLevelOverrideType + '" (at "' + path_rowLevelOverrideType + '")');
10831
+ }
10480
10832
  const obj_sourceCriteria = obj.sourceCriteria;
10481
10833
  const path_sourceCriteria = path + '.sourceCriteria';
10482
10834
  if (!ArrayIsArray(obj_sourceCriteria)) {
@@ -10516,7 +10868,7 @@ function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
10516
10868
  return v_error === undefined ? null : v_error;
10517
10869
  }
10518
10870
  const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
10519
- const { selections: DecisionTableParameterOutputRepresentation__selections, opaque: DecisionTableParameterOutputRepresentation__opaque, } = select$4();
10871
+ const { selections: EligibilityRuleParameterRepresentation__selections, opaque: EligibilityRuleParameterRepresentation__opaque, } = select$4();
10520
10872
  const { selections: DecisionTableSourceCriteriaOutputRepresentation__selections, opaque: DecisionTableSourceCriteriaOutputRepresentation__opaque, } = select$3();
10521
10873
  return {
10522
10874
  kind: 'Fragment',
@@ -10524,15 +10876,15 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
10524
10876
  private: [],
10525
10877
  selections: [
10526
10878
  {
10527
- name: 'cellLevelCriteriaEnabled',
10879
+ name: 'conditionCriteria',
10528
10880
  kind: 'Scalar'
10529
10881
  },
10530
10882
  {
10531
- name: 'conditionCriteria',
10883
+ name: 'conditionType',
10532
10884
  kind: 'Scalar'
10533
10885
  },
10534
10886
  {
10535
- name: 'conditionType',
10887
+ name: 'createdDate',
10536
10888
  kind: 'Scalar'
10537
10889
  },
10538
10890
  {
@@ -10547,11 +10899,19 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
10547
10899
  name: 'description',
10548
10900
  kind: 'Scalar'
10549
10901
  },
10902
+ {
10903
+ name: 'lastModifiedDate',
10904
+ kind: 'Scalar'
10905
+ },
10550
10906
  {
10551
10907
  name: 'parameters',
10552
10908
  kind: 'Object',
10553
10909
  plural: true,
10554
- selections: DecisionTableParameterOutputRepresentation__selections
10910
+ selections: EligibilityRuleParameterRepresentation__selections
10911
+ },
10912
+ {
10913
+ name: 'rowLevelOverrideType',
10914
+ kind: 'Scalar'
10555
10915
  },
10556
10916
  {
10557
10917
  name: 'sourceCriteria',
@@ -10579,11 +10939,6 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
10579
10939
  };
10580
10940
  };
10581
10941
  function equals$1(existing, incoming) {
10582
- const existing_cellLevelCriteriaEnabled = existing.cellLevelCriteriaEnabled;
10583
- const incoming_cellLevelCriteriaEnabled = incoming.cellLevelCriteriaEnabled;
10584
- if (!(existing_cellLevelCriteriaEnabled === incoming_cellLevelCriteriaEnabled)) {
10585
- return false;
10586
- }
10587
10942
  const existing_conditionCriteria = existing.conditionCriteria;
10588
10943
  const incoming_conditionCriteria = incoming.conditionCriteria;
10589
10944
  if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
@@ -10594,6 +10949,11 @@ function equals$1(existing, incoming) {
10594
10949
  if (!(existing_conditionType === incoming_conditionType)) {
10595
10950
  return false;
10596
10951
  }
10952
+ const existing_createdDate = existing.createdDate;
10953
+ const incoming_createdDate = incoming.createdDate;
10954
+ if (!(existing_createdDate === incoming_createdDate)) {
10955
+ return false;
10956
+ }
10597
10957
  const existing_decisionTableId = existing.decisionTableId;
10598
10958
  const incoming_decisionTableId = incoming.decisionTableId;
10599
10959
  if (!(existing_decisionTableId === incoming_decisionTableId)) {
@@ -10609,6 +10969,16 @@ function equals$1(existing, incoming) {
10609
10969
  if (!(existing_description === incoming_description)) {
10610
10970
  return false;
10611
10971
  }
10972
+ const existing_lastModifiedDate = existing.lastModifiedDate;
10973
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
10974
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
10975
+ return false;
10976
+ }
10977
+ const existing_rowLevelOverrideType = existing.rowLevelOverrideType;
10978
+ const incoming_rowLevelOverrideType = incoming.rowLevelOverrideType;
10979
+ if (!(existing_rowLevelOverrideType === incoming_rowLevelOverrideType)) {
10980
+ return false;
10981
+ }
10612
10982
  const existing_sourceObject = existing.sourceObject;
10613
10983
  const incoming_sourceObject = incoming.sourceObject;
10614
10984
  if (!(existing_sourceObject === incoming_sourceObject)) {