@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.
package/sfdc/index.js CHANGED
@@ -123,7 +123,7 @@ function createLink(ref) {
123
123
  }
124
124
 
125
125
  const VERSION$u = "5df1d4fd0e2e95371d19680f89716ea9";
126
- function validate$M(obj, path = 'AgentActionAttributeOutputRepresentation') {
126
+ function validate$N(obj, path = 'AgentActionAttributeOutputRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -405,7 +405,7 @@ function equals$u(existing, incoming) {
405
405
 
406
406
  const TTL$b = 500;
407
407
  const VERSION$t = "0a5a9a38d481c4e8bad16be490eacce9";
408
- function validate$L(obj, path = 'EinsteinAgentActionOutputRepresentation') {
408
+ function validate$M(obj, path = 'EinsteinAgentActionOutputRepresentation') {
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 + '")');
@@ -418,7 +418,7 @@ function validate$L(obj, path = 'EinsteinAgentActionOutputRepresentation') {
418
418
  for (let i = 0; i < obj_attributes.length; i++) {
419
419
  const obj_attributes_item = obj_attributes[i];
420
420
  const path_attributes_item = path_attributes + '[' + i + ']';
421
- const referencepath_attributes_itemValidationError = validate$M(obj_attributes_item, path_attributes_item);
421
+ const referencepath_attributes_itemValidationError = validate$N(obj_attributes_item, path_attributes_item);
422
422
  if (referencepath_attributes_itemValidationError !== null) {
423
423
  let message = 'Object doesn\'t match AgentActionAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
424
424
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -692,7 +692,7 @@ function equals$t(existing, incoming) {
692
692
  }
693
693
  const ingest$d = function EinsteinAgentActionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
694
694
  if (process.env.NODE_ENV !== 'production') {
695
- const validateError = validate$L(input);
695
+ const validateError = validate$M(input);
696
696
  if (validateError !== null) {
697
697
  throw validateError;
698
698
  }
@@ -808,7 +808,7 @@ const createAgentActionAdapterFactory = (luvio) => {
808
808
  };
809
809
 
810
810
  const VERSION$s = "18356685b1dcb3cf1226dcc54a7465de";
811
- function validate$K(obj, path = 'AgentAutolaunchedFlowStatusRepresentation') {
811
+ function validate$L(obj, path = 'AgentAutolaunchedFlowStatusRepresentation') {
812
812
  const v_error = (() => {
813
813
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
814
814
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -859,7 +859,7 @@ function equals$s(existing, incoming) {
859
859
 
860
860
  const TTL$a = 500;
861
861
  const VERSION$r = "9a585247768eba0bf6edb1791e738701";
862
- function validate$J(obj, path = 'AgentAutolaunchedFlowRepresentation') {
862
+ function validate$K(obj, path = 'AgentAutolaunchedFlowRepresentation') {
863
863
  const v_error = (() => {
864
864
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
865
865
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -944,7 +944,7 @@ function validate$J(obj, path = 'AgentAutolaunchedFlowRepresentation') {
944
944
  }
945
945
  const obj_status = obj.status;
946
946
  const path_status = path + '.status';
947
- const referencepath_statusValidationError = validate$K(obj_status, path_status);
947
+ const referencepath_statusValidationError = validate$L(obj_status, path_status);
948
948
  if (referencepath_statusValidationError !== null) {
949
949
  let message = 'Object doesn\'t match AgentAutolaunchedFlowStatusRepresentation (at "' + path_status + '")\n';
950
950
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1018,7 +1018,7 @@ function equals$r(existing, incoming) {
1018
1018
  }
1019
1019
  const ingest$c = function AgentAutolaunchedFlowRepresentationIngest(input, path, luvio, store, timestamp) {
1020
1020
  if (process.env.NODE_ENV !== 'production') {
1021
- const validateError = validate$J(input);
1021
+ const validateError = validate$K(input);
1022
1022
  if (validateError !== null) {
1023
1023
  throw validateError;
1024
1024
  }
@@ -1131,7 +1131,7 @@ const createAgentFlowAdapterFactory = (luvio) => {
1131
1131
  };
1132
1132
  };
1133
1133
 
1134
- function validate$I(obj, path = 'AgentActionInputRepresentation') {
1134
+ function validate$J(obj, path = 'AgentActionInputRepresentation') {
1135
1135
  const v_error = (() => {
1136
1136
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1137
1137
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1252,7 +1252,7 @@ function validate$I(obj, path = 'AgentActionInputRepresentation') {
1252
1252
  return v_error === undefined ? null : v_error;
1253
1253
  }
1254
1254
 
1255
- function validate$H(obj, path = 'KnowledgeArticleInputRepresentation') {
1255
+ function validate$I(obj, path = 'KnowledgeArticleInputRepresentation') {
1256
1256
  const v_error = (() => {
1257
1257
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1258
1258
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1345,7 +1345,7 @@ function validate$H(obj, path = 'KnowledgeArticleInputRepresentation') {
1345
1345
  return v_error === undefined ? null : v_error;
1346
1346
  }
1347
1347
 
1348
- function validate$G(obj, path = 'PicklistAttributeTypeInputRepresentation') {
1348
+ function validate$H(obj, path = 'PicklistAttributeTypeInputRepresentation') {
1349
1349
  const v_error = (() => {
1350
1350
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1351
1351
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1424,7 +1424,7 @@ function validate$G(obj, path = 'PicklistAttributeTypeInputRepresentation') {
1424
1424
  return v_error === undefined ? null : v_error;
1425
1425
  }
1426
1426
 
1427
- function validate$F(obj, path = 'CatalogItemAttributeInputRepresentation') {
1427
+ function validate$G(obj, path = 'CatalogItemAttributeInputRepresentation') {
1428
1428
  const v_error = (() => {
1429
1429
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1430
1430
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1457,6 +1457,34 @@ function validate$F(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';
@@ -1790,7 +1818,7 @@ function validate$F(obj, path = 'CatalogItemAttributeInputRepresentation') {
1790
1818
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
1791
1819
  let obj_picklistOptions_item_union0 = null;
1792
1820
  const obj_picklistOptions_item_union0_error = (() => {
1793
- const referencepath_picklistOptions_itemValidationError = validate$G(obj_picklistOptions_item, path_picklistOptions_item);
1821
+ const referencepath_picklistOptions_itemValidationError = validate$H(obj_picklistOptions_item, path_picklistOptions_item);
1794
1822
  if (referencepath_picklistOptions_itemValidationError !== null) {
1795
1823
  let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
1796
1824
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1817,6 +1845,62 @@ function validate$F(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';
@@ -1849,7 +1933,7 @@ function validate$F(obj, path = 'CatalogItemAttributeInputRepresentation') {
1849
1933
  return v_error === undefined ? null : v_error;
1850
1934
  }
1851
1935
 
1852
- function validate$E(obj, path = 'SectionInputRepresentation') {
1936
+ function validate$F(obj, path = 'SectionInputRepresentation') {
1853
1937
  const v_error = (() => {
1854
1938
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1855
1939
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1991,7 +2075,7 @@ function validate$E(obj, path = 'SectionInputRepresentation') {
1991
2075
  return v_error === undefined ? null : v_error;
1992
2076
  }
1993
2077
 
1994
- function validate$D(obj, path = 'EligibilityRulesInputRepresentation') {
2078
+ function validate$E(obj, path = 'EligibilityRulesInputRepresentation') {
1995
2079
  const v_error = (() => {
1996
2080
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1997
2081
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2056,7 +2140,7 @@ function validate$D(obj, path = 'EligibilityRulesInputRepresentation') {
2056
2140
  return v_error === undefined ? null : v_error;
2057
2141
  }
2058
2142
 
2059
- function validate$C(obj, path = 'FulfillmentFlowInputRepresentation') {
2143
+ function validate$D(obj, path = 'FulfillmentFlowInputRepresentation') {
2060
2144
  const v_error = (() => {
2061
2145
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2062
2146
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2177,7 +2261,7 @@ function validate$C(obj, path = 'FulfillmentFlowInputRepresentation') {
2177
2261
  return v_error === undefined ? null : v_error;
2178
2262
  }
2179
2263
 
2180
- function validate$B(obj, path = 'IntakeFormInputRepresentation') {
2264
+ function validate$C(obj, path = 'IntakeFormInputRepresentation') {
2181
2265
  const v_error = (() => {
2182
2266
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2183
2267
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2298,7 +2382,7 @@ function validate$B(obj, path = 'IntakeFormInputRepresentation') {
2298
2382
  return v_error === undefined ? null : v_error;
2299
2383
  }
2300
2384
 
2301
- function validate$A(obj, path = 'IntegrationDefInputRepresentation') {
2385
+ function validate$B(obj, path = 'IntegrationDefInputRepresentation') {
2302
2386
  const v_error = (() => {
2303
2387
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2304
2388
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2391,7 +2475,7 @@ function validate$A(obj, path = 'IntegrationDefInputRepresentation') {
2391
2475
  return v_error === undefined ? null : v_error;
2392
2476
  }
2393
2477
 
2394
- function validate$z(obj, path = 'PreprocessorInputRepresentation') {
2478
+ function validate$A(obj, path = 'PreprocessorInputRepresentation') {
2395
2479
  const v_error = (() => {
2396
2480
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2397
2481
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2484,7 +2568,7 @@ function validate$z(obj, path = 'PreprocessorInputRepresentation') {
2484
2568
  return v_error === undefined ? null : v_error;
2485
2569
  }
2486
2570
 
2487
- function validate$y(obj, path = 'ProductRequestCreateInputRepresentation') {
2571
+ function validate$z(obj, path = 'ProductRequestCreateInputRepresentation') {
2488
2572
  const v_error = (() => {
2489
2573
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2490
2574
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2676,7 +2760,7 @@ function validate$y(obj, path = 'ProductRequestCreateInputRepresentation') {
2676
2760
  }
2677
2761
 
2678
2762
  const VERSION$q = "ac94c0c52190d3f2f063659052e5b46e";
2679
- function validate$x(obj, path = 'AgentActionOutputRepresentation') {
2763
+ function validate$y(obj, path = 'AgentActionOutputRepresentation') {
2680
2764
  const v_error = (() => {
2681
2765
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2682
2766
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2836,7 +2920,7 @@ function equals$q(existing, incoming) {
2836
2920
  }
2837
2921
 
2838
2922
  const VERSION$p = "0b2080174fe6d4ee4f4a0de27011fc7d";
2839
- function validate$w(obj, path = 'AssociatedArticleOutputRepresentation') {
2923
+ function validate$x(obj, path = 'AssociatedArticleOutputRepresentation') {
2840
2924
  const v_error = (() => {
2841
2925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2842
2926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2950,7 +3034,7 @@ function equals$p(existing, incoming) {
2950
3034
  }
2951
3035
 
2952
3036
  const VERSION$o = "6859d872ce6d03f8f07819eb40c43fe6";
2953
- function validate$v(obj, path = 'EligibilityRuleOutputRepresentation') {
3037
+ function validate$w(obj, path = 'EligibilityRuleOutputRepresentation') {
2954
3038
  const v_error = (() => {
2955
3039
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2956
3040
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3064,7 +3148,7 @@ function equals$o(existing, incoming) {
3064
3148
  }
3065
3149
 
3066
3150
  const VERSION$n = "b5216beece7c04763cff6924e6953f93";
3067
- function validate$u(obj, path = 'FulfillmentFlowOutputRepresentation') {
3151
+ function validate$v(obj, path = 'FulfillmentFlowOutputRepresentation') {
3068
3152
  const v_error = (() => {
3069
3153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3070
3154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3224,7 +3308,7 @@ function equals$n(existing, incoming) {
3224
3308
  }
3225
3309
 
3226
3310
  const VERSION$m = "dc8ba723ca754951db42f9d0e6891a06";
3227
- function validate$t(obj, path = 'IntakeFormOutputRepresentation') {
3311
+ function validate$u(obj, path = 'IntakeFormOutputRepresentation') {
3228
3312
  const v_error = (() => {
3229
3313
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3230
3314
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3614,7 +3698,7 @@ function equals$m(existing, incoming) {
3614
3698
  }
3615
3699
 
3616
3700
  const VERSION$l = "1006a153c933b8bc4b1d44663893e206";
3617
- function validate$s(obj, path = 'IntegrationDefinitionOutputPresentation') {
3701
+ function validate$t(obj, path = 'IntegrationDefinitionOutputPresentation') {
3618
3702
  const v_error = (() => {
3619
3703
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3620
3704
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3728,7 +3812,7 @@ function equals$l(existing, incoming) {
3728
3812
  }
3729
3813
 
3730
3814
  const VERSION$k = "2d685b1e467eb8d61276e834ea3b74a3";
3731
- function validate$r(obj, path = 'PreprocessorOutputRepresentation') {
3815
+ function validate$s(obj, path = 'PreprocessorOutputRepresentation') {
3732
3816
  const v_error = (() => {
3733
3817
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3734
3818
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3842,7 +3926,7 @@ function equals$k(existing, incoming) {
3842
3926
  }
3843
3927
 
3844
3928
  const VERSION$j = "bb9dde3a26e01fbcb2b943119fcb279a";
3845
- function validate$q(obj, path = 'ProductDetailsOutputRepresentation') {
3929
+ function validate$r(obj, path = 'ProductDetailsOutputRepresentation') {
3846
3930
  const v_error = (() => {
3847
3931
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3848
3932
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4140,7 +4224,7 @@ function equals$j(existing, incoming) {
4140
4224
  }
4141
4225
 
4142
4226
  const VERSION$i = "dc18ee4b99b0510d2c89ddf9261ea1e7";
4143
- function validate$p(obj, path = 'ProductRequestOutputRepresentation') {
4227
+ function validate$q(obj, path = 'ProductRequestOutputRepresentation') {
4144
4228
  const v_error = (() => {
4145
4229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4146
4230
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4154,7 +4238,7 @@ function validate$p(obj, path = 'ProductRequestOutputRepresentation') {
4154
4238
  for (let i = 0; i < obj_productDetails.length; i++) {
4155
4239
  const obj_productDetails_item = obj_productDetails[i];
4156
4240
  const path_productDetails_item = path_productDetails + '[' + i + ']';
4157
- const referencepath_productDetails_itemValidationError = validate$q(obj_productDetails_item, path_productDetails_item);
4241
+ const referencepath_productDetails_itemValidationError = validate$r(obj_productDetails_item, path_productDetails_item);
4158
4242
  if (referencepath_productDetails_itemValidationError !== null) {
4159
4243
  let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
4160
4244
  message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4481,7 +4565,7 @@ function equals$i(existing, incoming) {
4481
4565
  }
4482
4566
 
4483
4567
  const VERSION$h = "96012ee7981543ddc90b7a4d3e505ffb";
4484
- function validate$o(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
4568
+ function validate$p(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
4485
4569
  const v_error = (() => {
4486
4570
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4487
4571
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4652,8 +4736,8 @@ function equals$h(existing, incoming) {
4652
4736
  return true;
4653
4737
  }
4654
4738
 
4655
- const VERSION$g = "564fd7f64d997ab6ecc936f5787a27f9";
4656
- function validate$n(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4739
+ const VERSION$g = "56047c3264f6e0d4375d956b121d1947";
4740
+ function validate$o(obj, path = 'CatalogItemAttributeOutputRepresentation') {
4657
4741
  const v_error = (() => {
4658
4742
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4659
4743
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4686,6 +4770,34 @@ function validate$n(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$n(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';
@@ -5047,7 +5187,7 @@ function validate$n(obj, path = 'CatalogItemAttributeOutputRepresentation') {
5047
5187
  const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
5048
5188
  let obj_picklistOptions_item_union0 = null;
5049
5189
  const obj_picklistOptions_item_union0_error = (() => {
5050
- const referencepath_picklistOptions_itemValidationError = validate$o(obj_picklistOptions_item, path_picklistOptions_item);
5190
+ const referencepath_picklistOptions_itemValidationError = validate$p(obj_picklistOptions_item, path_picklistOptions_item);
5051
5191
  if (referencepath_picklistOptions_itemValidationError !== null) {
5052
5192
  let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
5053
5193
  message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5074,6 +5214,62 @@ function validate$n(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
@@ -5437,7 +5705,7 @@ function equals$g(existing, incoming) {
5437
5705
  }
5438
5706
 
5439
5707
  const VERSION$f = "eed5c7a2ef3082b1059e48f5742cd44f";
5440
- function validate$m(obj, path = 'SectionOutputRepresentation') {
5708
+ function validate$n(obj, path = 'SectionOutputRepresentation') {
5441
5709
  const v_error = (() => {
5442
5710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5443
5711
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5453,7 +5721,7 @@ function validate$m(obj, path = 'SectionOutputRepresentation') {
5453
5721
  const path_attributes_item = path_attributes + '[' + i + ']';
5454
5722
  let obj_attributes_item_union0 = null;
5455
5723
  const obj_attributes_item_union0_error = (() => {
5456
- const referencepath_attributes_itemValidationError = validate$n(obj_attributes_item, path_attributes_item);
5724
+ const referencepath_attributes_itemValidationError = validate$o(obj_attributes_item, path_attributes_item);
5457
5725
  if (referencepath_attributes_itemValidationError !== null) {
5458
5726
  let message = 'Object doesn\'t match CatalogItemAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
5459
5727
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5691,7 +5959,7 @@ function equals$f(existing, incoming) {
5691
5959
 
5692
5960
  const TTL$9 = 6000;
5693
5961
  const VERSION$e = "9cce3c8a5131820b99e02e05c1d95d43";
5694
- function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5962
+ function validate$m(obj, path = 'CatalogItemOutputRepresentation') {
5695
5963
  const v_error = (() => {
5696
5964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5697
5965
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5701,7 +5969,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5701
5969
  const path_agentAction = path + '.agentAction';
5702
5970
  let obj_agentAction_union0 = null;
5703
5971
  const obj_agentAction_union0_error = (() => {
5704
- const referencepath_agentActionValidationError = validate$x(obj_agentAction, path_agentAction);
5972
+ const referencepath_agentActionValidationError = validate$y(obj_agentAction, path_agentAction);
5705
5973
  if (referencepath_agentActionValidationError !== null) {
5706
5974
  let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
5707
5975
  message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5738,7 +6006,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5738
6006
  const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
5739
6007
  let obj_associatedArticles_item_union0 = null;
5740
6008
  const obj_associatedArticles_item_union0_error = (() => {
5741
- const referencepath_associatedArticles_itemValidationError = validate$w(obj_associatedArticles_item, path_associatedArticles_item);
6009
+ const referencepath_associatedArticles_itemValidationError = validate$x(obj_associatedArticles_item, path_associatedArticles_item);
5742
6010
  if (referencepath_associatedArticles_itemValidationError !== null) {
5743
6011
  let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
5744
6012
  message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5886,7 +6154,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5886
6154
  const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
5887
6155
  let obj_eligibilityRules_item_union0 = null;
5888
6156
  const obj_eligibilityRules_item_union0_error = (() => {
5889
- const referencepath_eligibilityRules_itemValidationError = validate$v(obj_eligibilityRules_item, path_eligibilityRules_item);
6157
+ const referencepath_eligibilityRules_itemValidationError = validate$w(obj_eligibilityRules_item, path_eligibilityRules_item);
5890
6158
  if (referencepath_eligibilityRules_itemValidationError !== null) {
5891
6159
  let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
5892
6160
  message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5918,7 +6186,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5918
6186
  const path_fulfillmentFlow = path + '.fulfillmentFlow';
5919
6187
  let obj_fulfillmentFlow_union0 = null;
5920
6188
  const obj_fulfillmentFlow_union0_error = (() => {
5921
- const referencepath_fulfillmentFlowValidationError = validate$u(obj_fulfillmentFlow, path_fulfillmentFlow);
6189
+ const referencepath_fulfillmentFlowValidationError = validate$v(obj_fulfillmentFlow, path_fulfillmentFlow);
5922
6190
  if (referencepath_fulfillmentFlowValidationError !== null) {
5923
6191
  let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
5924
6192
  message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5949,7 +6217,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5949
6217
  const path_intakeForm = path + '.intakeForm';
5950
6218
  let obj_intakeForm_union0 = null;
5951
6219
  const obj_intakeForm_union0_error = (() => {
5952
- const referencepath_intakeFormValidationError = validate$t(obj_intakeForm, path_intakeForm);
6220
+ const referencepath_intakeFormValidationError = validate$u(obj_intakeForm, path_intakeForm);
5953
6221
  if (referencepath_intakeFormValidationError !== null) {
5954
6222
  let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
5955
6223
  message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5986,7 +6254,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
5986
6254
  const path_integrations_item = path_integrations + '[' + i + ']';
5987
6255
  let obj_integrations_item_union0 = null;
5988
6256
  const obj_integrations_item_union0_error = (() => {
5989
- const referencepath_integrations_itemValidationError = validate$s(obj_integrations_item, path_integrations_item);
6257
+ const referencepath_integrations_itemValidationError = validate$t(obj_integrations_item, path_integrations_item);
5990
6258
  if (referencepath_integrations_itemValidationError !== null) {
5991
6259
  let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
5992
6260
  message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6080,7 +6348,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
6080
6348
  const path_preProcessors_item = path_preProcessors + '[' + i + ']';
6081
6349
  let obj_preProcessors_item_union0 = null;
6082
6350
  const obj_preProcessors_item_union0_error = (() => {
6083
- const referencepath_preProcessors_itemValidationError = validate$r(obj_preProcessors_item, path_preProcessors_item);
6351
+ const referencepath_preProcessors_itemValidationError = validate$s(obj_preProcessors_item, path_preProcessors_item);
6084
6352
  if (referencepath_preProcessors_itemValidationError !== null) {
6085
6353
  let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
6086
6354
  message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6146,7 +6414,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
6146
6414
  const path_productRequests_item = path_productRequests + '[' + i + ']';
6147
6415
  let obj_productRequests_item_union0 = null;
6148
6416
  const obj_productRequests_item_union0_error = (() => {
6149
- const referencepath_productRequests_itemValidationError = validate$p(obj_productRequests_item, path_productRequests_item);
6417
+ const referencepath_productRequests_itemValidationError = validate$q(obj_productRequests_item, path_productRequests_item);
6150
6418
  if (referencepath_productRequests_itemValidationError !== null) {
6151
6419
  let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
6152
6420
  message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6178,7 +6446,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
6178
6446
  const path_section = path + '.section';
6179
6447
  let obj_section_union0 = null;
6180
6448
  const obj_section_union0_error = (() => {
6181
- const referencepath_sectionValidationError = validate$m(obj_section, path_section);
6449
+ const referencepath_sectionValidationError = validate$n(obj_section, path_section);
6182
6450
  if (referencepath_sectionValidationError !== null) {
6183
6451
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_section + '")\n';
6184
6452
  message += referencepath_sectionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6215,7 +6483,7 @@ function validate$l(obj, path = 'CatalogItemOutputRepresentation') {
6215
6483
  const path_sections_item = path_sections + '[' + i + ']';
6216
6484
  let obj_sections_item_union0 = null;
6217
6485
  const obj_sections_item_union0_error = (() => {
6218
- const referencepath_sections_itemValidationError = validate$m(obj_sections_item, path_sections_item);
6486
+ const referencepath_sections_itemValidationError = validate$n(obj_sections_item, path_sections_item);
6219
6487
  if (referencepath_sections_itemValidationError !== null) {
6220
6488
  let message = 'Object doesn\'t match SectionOutputRepresentation (at "' + path_sections_item + '")\n';
6221
6489
  message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6756,7 +7024,7 @@ function equals$e(existing, incoming) {
6756
7024
  }
6757
7025
  const ingest$b = function CatalogItemOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6758
7026
  if (process.env.NODE_ENV !== 'production') {
6759
- const validateError = validate$l(input);
7027
+ const validateError = validate$m(input);
6760
7028
  if (validateError !== null) {
6761
7029
  throw validateError;
6762
7030
  }
@@ -6838,7 +7106,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(createCatalo
6838
7106
  function typeCheckConfig$d(untrustedConfig) {
6839
7107
  const config = {};
6840
7108
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
6841
- const referenceAgentActionInputRepresentationValidationError = validate$I(untrustedConfig_agentAction);
7109
+ const referenceAgentActionInputRepresentationValidationError = validate$J(untrustedConfig_agentAction);
6842
7110
  if (referenceAgentActionInputRepresentationValidationError === null) {
6843
7111
  config.agentAction = untrustedConfig_agentAction;
6844
7112
  }
@@ -6850,7 +7118,7 @@ function typeCheckConfig$d(untrustedConfig) {
6850
7118
  const untrustedConfig_associatedArticles_array = [];
6851
7119
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
6852
7120
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
6853
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$H(untrustedConfig_associatedArticles_item);
7121
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$I(untrustedConfig_associatedArticles_item);
6854
7122
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
6855
7123
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
6856
7124
  }
@@ -6865,7 +7133,7 @@ function typeCheckConfig$d(untrustedConfig) {
6865
7133
  const untrustedConfig_attributes_array = [];
6866
7134
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
6867
7135
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
6868
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$F(untrustedConfig_attributes_item);
7136
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$G(untrustedConfig_attributes_item);
6869
7137
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
6870
7138
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
6871
7139
  }
@@ -6880,7 +7148,7 @@ function typeCheckConfig$d(untrustedConfig) {
6880
7148
  const untrustedConfig_sections_array = [];
6881
7149
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
6882
7150
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
6883
- const referenceSectionInputRepresentationValidationError = validate$E(untrustedConfig_sections_item);
7151
+ const referenceSectionInputRepresentationValidationError = validate$F(untrustedConfig_sections_item);
6884
7152
  if (referenceSectionInputRepresentationValidationError === null) {
6885
7153
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
6886
7154
  }
@@ -6916,7 +7184,7 @@ function typeCheckConfig$d(untrustedConfig) {
6916
7184
  const untrustedConfig_eligibilityRules_array = [];
6917
7185
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
6918
7186
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
6919
- const referenceEligibilityRulesInputRepresentationValidationError = validate$D(untrustedConfig_eligibilityRules_item);
7187
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$E(untrustedConfig_eligibilityRules_item);
6920
7188
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
6921
7189
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
6922
7190
  }
@@ -6927,7 +7195,7 @@ function typeCheckConfig$d(untrustedConfig) {
6927
7195
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
6928
7196
  }
6929
7197
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
6930
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$C(untrustedConfig_fulfillmentFlow);
7198
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$D(untrustedConfig_fulfillmentFlow);
6931
7199
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
6932
7200
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6933
7201
  }
@@ -6935,7 +7203,7 @@ function typeCheckConfig$d(untrustedConfig) {
6935
7203
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
6936
7204
  }
6937
7205
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
6938
- const referenceIntakeFormInputRepresentationValidationError = validate$B(untrustedConfig_intakeForm);
7206
+ const referenceIntakeFormInputRepresentationValidationError = validate$C(untrustedConfig_intakeForm);
6939
7207
  if (referenceIntakeFormInputRepresentationValidationError === null) {
6940
7208
  config.intakeForm = untrustedConfig_intakeForm;
6941
7209
  }
@@ -6947,7 +7215,7 @@ function typeCheckConfig$d(untrustedConfig) {
6947
7215
  const untrustedConfig_integrations_array = [];
6948
7216
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
6949
7217
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
6950
- const referenceIntegrationDefInputRepresentationValidationError = validate$A(untrustedConfig_integrations_item);
7218
+ const referenceIntegrationDefInputRepresentationValidationError = validate$B(untrustedConfig_integrations_item);
6951
7219
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
6952
7220
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
6953
7221
  }
@@ -6976,7 +7244,7 @@ function typeCheckConfig$d(untrustedConfig) {
6976
7244
  const untrustedConfig_preProcessors_array = [];
6977
7245
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
6978
7246
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
6979
- const referencePreprocessorInputRepresentationValidationError = validate$z(untrustedConfig_preProcessors_item);
7247
+ const referencePreprocessorInputRepresentationValidationError = validate$A(untrustedConfig_preProcessors_item);
6980
7248
  if (referencePreprocessorInputRepresentationValidationError === null) {
6981
7249
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
6982
7250
  }
@@ -6991,7 +7259,7 @@ function typeCheckConfig$d(untrustedConfig) {
6991
7259
  const untrustedConfig_productRequests_array = [];
6992
7260
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
6993
7261
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
6994
- const referenceProductRequestCreateInputRepresentationValidationError = validate$y(untrustedConfig_productRequests_item);
7262
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$z(untrustedConfig_productRequests_item);
6995
7263
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
6996
7264
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
6997
7265
  }
@@ -7059,11 +7327,16 @@ const createCatalogItemAdapterFactory = (luvio) => {
7059
7327
  };
7060
7328
  };
7061
7329
 
7062
- function validate$k(obj, path = 'TemplateDependencyConfiguration') {
7330
+ function validate$l(obj, path = 'TemplateDependencyConfiguration') {
7063
7331
  const v_error = (() => {
7064
7332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7065
7333
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7066
7334
  }
7335
+ const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
7336
+ const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
7337
+ if (typeof obj_dependencyDeploymentMedium !== 'string') {
7338
+ return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
7339
+ }
7067
7340
  const obj_templateApiName = obj.templateApiName;
7068
7341
  const path_templateApiName = path + '.templateApiName';
7069
7342
  if (typeof obj_templateApiName !== 'string') {
@@ -7103,7 +7376,7 @@ function validate$k(obj, path = 'TemplateDependencyConfiguration') {
7103
7376
 
7104
7377
  const TTL$8 = 6000;
7105
7378
  const VERSION$d = "86e4694b8895fc704a6e48475634556a";
7106
- function validate$j(obj, path = 'DeploymentOutputRepresentation') {
7379
+ function validate$k(obj, path = 'DeploymentOutputRepresentation') {
7107
7380
  const v_error = (() => {
7108
7381
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7109
7382
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7180,7 +7453,7 @@ function equals$d(existing, incoming) {
7180
7453
  }
7181
7454
  const ingest$a = function DeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7182
7455
  if (process.env.NODE_ENV !== 'production') {
7183
- const validateError = validate$j(input);
7456
+ const validateError = validate$k(input);
7184
7457
  if (validateError !== null) {
7185
7458
  throw validateError;
7186
7459
  }
@@ -7240,7 +7513,7 @@ function createResourceRequest$c(config) {
7240
7513
  const adapterName$c = 'deployTemplate';
7241
7514
  const deployTemplate_ConfigPropertyMetadata = [
7242
7515
  generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
7243
- generateParamConfigMetadata('flowTemplates', true, 2 /* Body */, 4 /* Unsupported */, true),
7516
+ generateParamConfigMetadata('flowTemplates', false, 2 /* Body */, 4 /* Unsupported */, true),
7244
7517
  ];
7245
7518
  const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deployTemplate_ConfigPropertyMetadata);
7246
7519
  const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(deployTemplate_ConfigPropertyMetadata);
@@ -7252,7 +7525,7 @@ function typeCheckConfig$c(untrustedConfig) {
7252
7525
  const untrustedConfig_flowTemplates_array = [];
7253
7526
  for (let i = 0, arrayLength = untrustedConfig_flowTemplates.length; i < arrayLength; i++) {
7254
7527
  const untrustedConfig_flowTemplates_item = untrustedConfig_flowTemplates[i];
7255
- const referenceTemplateDependencyConfigurationValidationError = validate$k(untrustedConfig_flowTemplates_item);
7528
+ const referenceTemplateDependencyConfigurationValidationError = validate$l(untrustedConfig_flowTemplates_item);
7256
7529
  if (referenceTemplateDependencyConfigurationValidationError === null) {
7257
7530
  untrustedConfig_flowTemplates_array.push(untrustedConfig_flowTemplates_item);
7258
7531
  }
@@ -7305,7 +7578,7 @@ const deployTemplateAdapterFactory = (luvio) => {
7305
7578
 
7306
7579
  const TTL$7 = 6000;
7307
7580
  const VERSION$c = "2ae2759347becfbc75aebc8851b6d848";
7308
- function validate$i(obj, path = 'ServiceProcessTemplateDownloadOutputRepresentation') {
7581
+ function validate$j(obj, path = 'ServiceProcessTemplateDownloadOutputRepresentation') {
7309
7582
  const v_error = (() => {
7310
7583
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7311
7584
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7348,7 +7621,7 @@ function equals$c(existing, incoming) {
7348
7621
  }
7349
7622
  const ingest$9 = function ServiceProcessTemplateDownloadOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7350
7623
  if (process.env.NODE_ENV !== 'production') {
7351
- const validateError = validate$i(input);
7624
+ const validateError = validate$j(input);
7352
7625
  if (validateError !== null) {
7353
7626
  throw validateError;
7354
7627
  }
@@ -7508,7 +7781,7 @@ const downloadServiceProcessTemplateAdapterFactory = (luvio) => function ecm__do
7508
7781
 
7509
7782
  const TTL$6 = 6000;
7510
7783
  const VERSION$b = "74ef82117094ebb002efc271969896bd";
7511
- function validate$h(obj, path = 'GenerateIntakeFormOutputRepresentation') {
7784
+ function validate$i(obj, path = 'GenerateIntakeFormOutputRepresentation') {
7512
7785
  const v_error = (() => {
7513
7786
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7514
7787
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7632,7 +7905,7 @@ function equals$b(existing, incoming) {
7632
7905
  }
7633
7906
  const ingest$8 = function GenerateIntakeFormOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7634
7907
  if (process.env.NODE_ENV !== 'production') {
7635
- const validateError = validate$h(input);
7908
+ const validateError = validate$i(input);
7636
7909
  if (validateError !== null) {
7637
7910
  throw validateError;
7638
7911
  }
@@ -7747,7 +8020,7 @@ const generateIntakeFormAdapterFactory = (luvio) => {
7747
8020
 
7748
8021
  const TTL$5 = 6000;
7749
8022
  const VERSION$a = "b593e197e57b5cb5b7531e71073daefa";
7750
- function validate$g(obj, path = 'OmniIntakeOutputRepresentation') {
8023
+ function validate$h(obj, path = 'OmniIntakeOutputRepresentation') {
7751
8024
  const v_error = (() => {
7752
8025
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7753
8026
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7894,7 +8167,7 @@ function equals$a(existing, incoming) {
7894
8167
  }
7895
8168
  const ingest$7 = function OmniIntakeOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7896
8169
  if (process.env.NODE_ENV !== 'production') {
7897
- const validateError = validate$g(input);
8170
+ const validateError = validate$h(input);
7898
8171
  if (validateError !== null) {
7899
8172
  throw validateError;
7900
8173
  }
@@ -8008,7 +8281,7 @@ const generateOmniScriptAdapterFactory = (luvio) => {
8008
8281
 
8009
8282
  const TTL$4 = 600000;
8010
8283
  const VERSION$9 = "1cea7e031c1a82331a586394e722ad24";
8011
- function validate$f(obj, path = 'EinsteinAgentActionsOutputRepresentation') {
8284
+ function validate$g(obj, path = 'EinsteinAgentActionsOutputRepresentation') {
8012
8285
  const v_error = (() => {
8013
8286
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8014
8287
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8021,7 +8294,7 @@ function validate$f(obj, path = 'EinsteinAgentActionsOutputRepresentation') {
8021
8294
  for (let i = 0; i < obj_actions.length; i++) {
8022
8295
  const obj_actions_item = obj_actions[i];
8023
8296
  const path_actions_item = path_actions + '[' + i + ']';
8024
- const referencepath_actions_itemValidationError = validate$L(obj_actions_item, path_actions_item);
8297
+ const referencepath_actions_itemValidationError = validate$M(obj_actions_item, path_actions_item);
8025
8298
  if (referencepath_actions_itemValidationError !== null) {
8026
8299
  let message = 'Object doesn\'t match EinsteinAgentActionOutputRepresentation (at "' + path_actions_item + '")\n';
8027
8300
  message += referencepath_actions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8051,7 +8324,7 @@ function equals$9(existing, incoming) {
8051
8324
  }
8052
8325
  const ingest$6 = function EinsteinAgentActionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8053
8326
  if (process.env.NODE_ENV !== 'production') {
8054
- const validateError = validate$f(input);
8327
+ const validateError = validate$g(input);
8055
8328
  if (validateError !== null) {
8056
8329
  throw validateError;
8057
8330
  }
@@ -8210,7 +8483,7 @@ const getAgentActionsAdapterFactory = (luvio) => function ecm__getAgentActions(u
8210
8483
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
8211
8484
  };
8212
8485
 
8213
- function validate$e(obj, path = 'FilterInputRepresentation') {
8486
+ function validate$f(obj, path = 'FilterInputRepresentation') {
8214
8487
  const v_error = (() => {
8215
8488
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8216
8489
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8234,7 +8507,7 @@ function validate$e(obj, path = 'FilterInputRepresentation') {
8234
8507
  return v_error === undefined ? null : v_error;
8235
8508
  }
8236
8509
 
8237
- function validate$d(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
8510
+ function validate$e(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
8238
8511
  const v_error = (() => {
8239
8512
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8240
8513
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8259,7 +8532,7 @@ function validate$d(obj, path = 'ServiceAutomationOutputRecordRepresentation') {
8259
8532
 
8260
8533
  const TTL$3 = 6000;
8261
8534
  const VERSION$8 = "7860ae260a600243129acb4ea01e75be";
8262
- function validate$c(obj, path = 'ServiceAutomationDepOutputRepresentation') {
8535
+ function validate$d(obj, path = 'ServiceAutomationDepOutputRepresentation') {
8263
8536
  const v_error = (() => {
8264
8537
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8265
8538
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8277,7 +8550,7 @@ function validate$c(obj, path = 'ServiceAutomationDepOutputRepresentation') {
8277
8550
  for (let i = 0; i < obj_records.length; i++) {
8278
8551
  const obj_records_item = obj_records[i];
8279
8552
  const path_records_item = path_records + '[' + i + ']';
8280
- const referencepath_records_itemValidationError = validate$d(obj_records_item, path_records_item);
8553
+ const referencepath_records_itemValidationError = validate$e(obj_records_item, path_records_item);
8281
8554
  if (referencepath_records_itemValidationError !== null) {
8282
8555
  let message = 'Object doesn\'t match ServiceAutomationOutputRecordRepresentation (at "' + path_records_item + '")\n';
8283
8556
  message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8307,7 +8580,7 @@ function equals$8(existing, incoming) {
8307
8580
  }
8308
8581
  const ingest$5 = function ServiceAutomationDepOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8309
8582
  if (process.env.NODE_ENV !== 'production') {
8310
- const validateError = validate$c(input);
8583
+ const validateError = validate$d(input);
8311
8584
  if (validateError !== null) {
8312
8585
  throw validateError;
8313
8586
  }
@@ -8400,7 +8673,7 @@ function typeCheckConfig$7(untrustedConfig) {
8400
8673
  const untrustedConfig_filters_array = [];
8401
8674
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
8402
8675
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
8403
- const referenceFilterInputRepresentationValidationError = validate$e(untrustedConfig_filters_item);
8676
+ const referenceFilterInputRepresentationValidationError = validate$f(untrustedConfig_filters_item);
8404
8677
  if (referenceFilterInputRepresentationValidationError === null) {
8405
8678
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
8406
8679
  }
@@ -8487,6 +8760,35 @@ const getAllServiceAutomationDepAdapterFactory = (luvio) => function ecm__getAll
8487
8760
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
8488
8761
  };
8489
8762
 
8763
+ function validate$c(obj, path = 'DependencyDetails') {
8764
+ const v_error = (() => {
8765
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8766
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8767
+ }
8768
+ const obj_dependencyDeploymentMedium = obj.dependencyDeploymentMedium;
8769
+ const path_dependencyDeploymentMedium = path + '.dependencyDeploymentMedium';
8770
+ if (typeof obj_dependencyDeploymentMedium !== 'string') {
8771
+ return new TypeError('Expected "string" but received "' + typeof obj_dependencyDeploymentMedium + '" (at "' + path_dependencyDeploymentMedium + '")');
8772
+ }
8773
+ const obj_templateApiName = obj.templateApiName;
8774
+ const path_templateApiName = path + '.templateApiName';
8775
+ if (typeof obj_templateApiName !== 'string') {
8776
+ return new TypeError('Expected "string" but received "' + typeof obj_templateApiName + '" (at "' + path_templateApiName + '")');
8777
+ }
8778
+ const obj_templateDependencyType = obj.templateDependencyType;
8779
+ const path_templateDependencyType = path + '.templateDependencyType';
8780
+ if (typeof obj_templateDependencyType !== 'string') {
8781
+ return new TypeError('Expected "string" but received "' + typeof obj_templateDependencyType + '" (at "' + path_templateDependencyType + '")');
8782
+ }
8783
+ const obj_templateType = obj.templateType;
8784
+ const path_templateType = path + '.templateType';
8785
+ if (typeof obj_templateType !== 'string') {
8786
+ return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
8787
+ }
8788
+ })();
8789
+ return v_error === undefined ? null : v_error;
8790
+ }
8791
+
8490
8792
  function validate$b(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
8491
8793
  const v_error = (() => {
8492
8794
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8517,6 +8819,21 @@ function validate$b(obj, path = 'ServiceProcessTemplateOutputRepresentation') {
8517
8819
  if (typeof obj_name !== 'string') {
8518
8820
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
8519
8821
  }
8822
+ const obj_templateDependencyMetadata = obj.templateDependencyMetadata;
8823
+ const path_templateDependencyMetadata = path + '.templateDependencyMetadata';
8824
+ if (!ArrayIsArray(obj_templateDependencyMetadata)) {
8825
+ return new TypeError('Expected "array" but received "' + typeof obj_templateDependencyMetadata + '" (at "' + path_templateDependencyMetadata + '")');
8826
+ }
8827
+ for (let i = 0; i < obj_templateDependencyMetadata.length; i++) {
8828
+ const obj_templateDependencyMetadata_item = obj_templateDependencyMetadata[i];
8829
+ const path_templateDependencyMetadata_item = path_templateDependencyMetadata + '[' + i + ']';
8830
+ const referencepath_templateDependencyMetadata_itemValidationError = validate$c(obj_templateDependencyMetadata_item, path_templateDependencyMetadata_item);
8831
+ if (referencepath_templateDependencyMetadata_itemValidationError !== null) {
8832
+ let message = 'Object doesn\'t match DependencyDetails (at "' + path_templateDependencyMetadata_item + '")\n';
8833
+ message += referencepath_templateDependencyMetadata_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8834
+ return new TypeError(message);
8835
+ }
8836
+ }
8520
8837
  const obj_type = obj.type;
8521
8838
  const path_type = path + '.type';
8522
8839
  if (typeof obj_type !== 'string') {
@@ -8867,12 +9184,19 @@ const getCatalogItemAdapterFactory = (luvio) => function ecm__getCatalogItem(unt
8867
9184
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
8868
9185
  };
8869
9186
 
8870
- const VERSION$6 = "8da8a9539ab11c385bafdc5028d51ad1";
8871
- function validate$9(obj, path = 'DecisionTableParameterOutputRepresentation') {
9187
+ const VERSION$6 = "16a21367b1c0bba3e8f0ed1efce35f85";
9188
+ function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
8872
9189
  const v_error = (() => {
8873
9190
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8874
9191
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8875
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
+ }
8876
9200
  if (obj.columnMapping !== undefined) {
8877
9201
  const obj_columnMapping = obj.columnMapping;
8878
9202
  const path_columnMapping = path + '.columnMapping';
@@ -8967,12 +9291,17 @@ function validate$9(obj, path = 'DecisionTableParameterOutputRepresentation') {
8967
9291
  })();
8968
9292
  return v_error === undefined ? null : v_error;
8969
9293
  }
8970
- const select$b = function DecisionTableParameterOutputRepresentationSelect() {
9294
+ const select$b = function EligibilityRuleParameterRepresentationSelect() {
8971
9295
  return {
8972
9296
  kind: 'Fragment',
8973
9297
  version: VERSION$6,
8974
9298
  private: [],
8975
9299
  selections: [
9300
+ {
9301
+ name: 'columnDataType',
9302
+ kind: 'Scalar',
9303
+ required: false
9304
+ },
8976
9305
  {
8977
9306
  name: 'columnMapping',
8978
9307
  kind: 'Scalar',
@@ -9120,6 +9449,19 @@ function equals$6(existing, incoming) {
9120
9449
  return false;
9121
9450
  }
9122
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
+ }
9123
9465
  const existing_columnMapping = existing.columnMapping;
9124
9466
  const incoming_columnMapping = incoming.columnMapping;
9125
9467
  // if at least one of these optionals is defined
@@ -9361,17 +9703,12 @@ function equals$5(existing, incoming) {
9361
9703
  return true;
9362
9704
  }
9363
9705
 
9364
- const VERSION$4 = "53a2c9a83f2af963d29b270a557a29ab";
9706
+ const VERSION$4 = "95c6a3da04e0fcc9db2a92b64485382c";
9365
9707
  function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9366
9708
  const v_error = (() => {
9367
9709
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9368
9710
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9369
9711
  }
9370
- const obj_cellLevelCriteriaEnabled = obj.cellLevelCriteriaEnabled;
9371
- const path_cellLevelCriteriaEnabled = path + '.cellLevelCriteriaEnabled';
9372
- if (typeof obj_cellLevelCriteriaEnabled !== 'boolean') {
9373
- return new TypeError('Expected "boolean" but received "' + typeof obj_cellLevelCriteriaEnabled + '" (at "' + path_cellLevelCriteriaEnabled + '")');
9374
- }
9375
9712
  const obj_conditionCriteria = obj.conditionCriteria;
9376
9713
  const path_conditionCriteria = path + '.conditionCriteria';
9377
9714
  if (typeof obj_conditionCriteria !== 'string') {
@@ -9382,6 +9719,11 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9382
9719
  if (typeof obj_conditionType !== 'string') {
9383
9720
  return new TypeError('Expected "string" but received "' + typeof obj_conditionType + '" (at "' + path_conditionType + '")');
9384
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
+ }
9385
9727
  const obj_decisionTableId = obj.decisionTableId;
9386
9728
  const path_decisionTableId = path + '.decisionTableId';
9387
9729
  if (typeof obj_decisionTableId !== 'string') {
@@ -9397,6 +9739,11 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9397
9739
  if (typeof obj_description !== 'string') {
9398
9740
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
9399
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
+ }
9400
9747
  const obj_parameters = obj.parameters;
9401
9748
  const path_parameters = path + '.parameters';
9402
9749
  if (!ArrayIsArray(obj_parameters)) {
@@ -9407,11 +9754,16 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9407
9754
  const path_parameters_item = path_parameters + '[' + i + ']';
9408
9755
  const referencepath_parameters_itemValidationError = validate$9(obj_parameters_item, path_parameters_item);
9409
9756
  if (referencepath_parameters_itemValidationError !== null) {
9410
- 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';
9411
9758
  message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
9412
9759
  return new TypeError(message);
9413
9760
  }
9414
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
+ }
9415
9767
  const obj_sourceCriteria = obj.sourceCriteria;
9416
9768
  const path_sourceCriteria = path + '.sourceCriteria';
9417
9769
  if (!ArrayIsArray(obj_sourceCriteria)) {
@@ -9451,7 +9803,7 @@ function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
9451
9803
  return v_error === undefined ? null : v_error;
9452
9804
  }
9453
9805
  const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9454
- const { selections: DecisionTableParameterOutputRepresentation__selections, opaque: DecisionTableParameterOutputRepresentation__opaque, } = select$b();
9806
+ const { selections: EligibilityRuleParameterRepresentation__selections, opaque: EligibilityRuleParameterRepresentation__opaque, } = select$b();
9455
9807
  const { selections: DecisionTableSourceCriteriaOutputRepresentation__selections, opaque: DecisionTableSourceCriteriaOutputRepresentation__opaque, } = select$a();
9456
9808
  return {
9457
9809
  kind: 'Fragment',
@@ -9459,15 +9811,15 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9459
9811
  private: [],
9460
9812
  selections: [
9461
9813
  {
9462
- name: 'cellLevelCriteriaEnabled',
9814
+ name: 'conditionCriteria',
9463
9815
  kind: 'Scalar'
9464
9816
  },
9465
9817
  {
9466
- name: 'conditionCriteria',
9818
+ name: 'conditionType',
9467
9819
  kind: 'Scalar'
9468
9820
  },
9469
9821
  {
9470
- name: 'conditionType',
9822
+ name: 'createdDate',
9471
9823
  kind: 'Scalar'
9472
9824
  },
9473
9825
  {
@@ -9482,11 +9834,19 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9482
9834
  name: 'description',
9483
9835
  kind: 'Scalar'
9484
9836
  },
9837
+ {
9838
+ name: 'lastModifiedDate',
9839
+ kind: 'Scalar'
9840
+ },
9485
9841
  {
9486
9842
  name: 'parameters',
9487
9843
  kind: 'Object',
9488
9844
  plural: true,
9489
- selections: DecisionTableParameterOutputRepresentation__selections
9845
+ selections: EligibilityRuleParameterRepresentation__selections
9846
+ },
9847
+ {
9848
+ name: 'rowLevelOverrideType',
9849
+ kind: 'Scalar'
9490
9850
  },
9491
9851
  {
9492
9852
  name: 'sourceCriteria',
@@ -9514,11 +9874,6 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
9514
9874
  };
9515
9875
  };
9516
9876
  function equals$4(existing, incoming) {
9517
- const existing_cellLevelCriteriaEnabled = existing.cellLevelCriteriaEnabled;
9518
- const incoming_cellLevelCriteriaEnabled = incoming.cellLevelCriteriaEnabled;
9519
- if (!(existing_cellLevelCriteriaEnabled === incoming_cellLevelCriteriaEnabled)) {
9520
- return false;
9521
- }
9522
9877
  const existing_conditionCriteria = existing.conditionCriteria;
9523
9878
  const incoming_conditionCriteria = incoming.conditionCriteria;
9524
9879
  if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
@@ -9529,6 +9884,11 @@ function equals$4(existing, incoming) {
9529
9884
  if (!(existing_conditionType === incoming_conditionType)) {
9530
9885
  return false;
9531
9886
  }
9887
+ const existing_createdDate = existing.createdDate;
9888
+ const incoming_createdDate = incoming.createdDate;
9889
+ if (!(existing_createdDate === incoming_createdDate)) {
9890
+ return false;
9891
+ }
9532
9892
  const existing_decisionTableId = existing.decisionTableId;
9533
9893
  const incoming_decisionTableId = incoming.decisionTableId;
9534
9894
  if (!(existing_decisionTableId === incoming_decisionTableId)) {
@@ -9544,6 +9904,16 @@ function equals$4(existing, incoming) {
9544
9904
  if (!(existing_description === incoming_description)) {
9545
9905
  return false;
9546
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
+ }
9547
9917
  const existing_sourceObject = existing.sourceObject;
9548
9918
  const incoming_sourceObject = incoming.sourceObject;
9549
9919
  if (!(existing_sourceObject === incoming_sourceObject)) {
@@ -10475,7 +10845,7 @@ function typeCheckConfig$1(untrustedConfig) {
10475
10845
  const config = {};
10476
10846
  typeCheckConfig$g(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
10477
10847
  const untrustedConfig_agentAction = untrustedConfig.agentAction;
10478
- const referenceAgentActionInputRepresentationValidationError = validate$I(untrustedConfig_agentAction);
10848
+ const referenceAgentActionInputRepresentationValidationError = validate$J(untrustedConfig_agentAction);
10479
10849
  if (referenceAgentActionInputRepresentationValidationError === null) {
10480
10850
  config.agentAction = untrustedConfig_agentAction;
10481
10851
  }
@@ -10494,7 +10864,7 @@ function typeCheckConfig$1(untrustedConfig) {
10494
10864
  const untrustedConfig_associatedArticles_array = [];
10495
10865
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
10496
10866
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
10497
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$H(untrustedConfig_associatedArticles_item);
10867
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$I(untrustedConfig_associatedArticles_item);
10498
10868
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
10499
10869
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
10500
10870
  }
@@ -10509,7 +10879,7 @@ function typeCheckConfig$1(untrustedConfig) {
10509
10879
  const untrustedConfig_attributes_array = [];
10510
10880
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
10511
10881
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
10512
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$F(untrustedConfig_attributes_item);
10882
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$G(untrustedConfig_attributes_item);
10513
10883
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
10514
10884
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
10515
10885
  }
@@ -10524,7 +10894,7 @@ function typeCheckConfig$1(untrustedConfig) {
10524
10894
  const untrustedConfig_sections_array = [];
10525
10895
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
10526
10896
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
10527
- const referenceSectionInputRepresentationValidationError = validate$E(untrustedConfig_sections_item);
10897
+ const referenceSectionInputRepresentationValidationError = validate$F(untrustedConfig_sections_item);
10528
10898
  if (referenceSectionInputRepresentationValidationError === null) {
10529
10899
  untrustedConfig_sections_array.push(untrustedConfig_sections_item);
10530
10900
  }
@@ -10560,7 +10930,7 @@ function typeCheckConfig$1(untrustedConfig) {
10560
10930
  const untrustedConfig_eligibilityRules_array = [];
10561
10931
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
10562
10932
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
10563
- const referenceEligibilityRulesInputRepresentationValidationError = validate$D(untrustedConfig_eligibilityRules_item);
10933
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$E(untrustedConfig_eligibilityRules_item);
10564
10934
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
10565
10935
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
10566
10936
  }
@@ -10571,7 +10941,7 @@ function typeCheckConfig$1(untrustedConfig) {
10571
10941
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
10572
10942
  }
10573
10943
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
10574
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$C(untrustedConfig_fulfillmentFlow);
10944
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$D(untrustedConfig_fulfillmentFlow);
10575
10945
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
10576
10946
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
10577
10947
  }
@@ -10579,7 +10949,7 @@ function typeCheckConfig$1(untrustedConfig) {
10579
10949
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
10580
10950
  }
10581
10951
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
10582
- const referenceIntakeFormInputRepresentationValidationError = validate$B(untrustedConfig_intakeForm);
10952
+ const referenceIntakeFormInputRepresentationValidationError = validate$C(untrustedConfig_intakeForm);
10583
10953
  if (referenceIntakeFormInputRepresentationValidationError === null) {
10584
10954
  config.intakeForm = untrustedConfig_intakeForm;
10585
10955
  }
@@ -10591,7 +10961,7 @@ function typeCheckConfig$1(untrustedConfig) {
10591
10961
  const untrustedConfig_integrations_array = [];
10592
10962
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
10593
10963
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
10594
- const referenceIntegrationDefInputRepresentationValidationError = validate$A(untrustedConfig_integrations_item);
10964
+ const referenceIntegrationDefInputRepresentationValidationError = validate$B(untrustedConfig_integrations_item);
10595
10965
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
10596
10966
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
10597
10967
  }
@@ -10620,7 +10990,7 @@ function typeCheckConfig$1(untrustedConfig) {
10620
10990
  const untrustedConfig_preProcessors_array = [];
10621
10991
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
10622
10992
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
10623
- const referencePreprocessorInputRepresentationValidationError = validate$z(untrustedConfig_preProcessors_item);
10993
+ const referencePreprocessorInputRepresentationValidationError = validate$A(untrustedConfig_preProcessors_item);
10624
10994
  if (referencePreprocessorInputRepresentationValidationError === null) {
10625
10995
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
10626
10996
  }
@@ -10635,7 +11005,7 @@ function typeCheckConfig$1(untrustedConfig) {
10635
11005
  const untrustedConfig_productRequests_array = [];
10636
11006
  for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
10637
11007
  const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
10638
- const referenceProductRequestCreateInputRepresentationValidationError = validate$y(untrustedConfig_productRequests_item);
11008
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$z(untrustedConfig_productRequests_item);
10639
11009
  if (referenceProductRequestCreateInputRepresentationValidationError === null) {
10640
11010
  untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
10641
11011
  }
@@ -11049,4 +11419,4 @@ withDefaultLuvio((luvio) => {
11049
11419
  });
11050
11420
 
11051
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 };
11052
- // version: 1.391.0-763f006296
11422
+ // version: 1.393.0-94e6d2aef3