@salesforce/lds-adapters-service-ecm 1.342.0 → 1.343.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.
Files changed (18) hide show
  1. package/dist/es/es2018/service-ecm.js +897 -71
  2. package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +3 -0
  3. package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +3 -0
  4. package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +3 -0
  5. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationCatalogCatalogItem.d.ts +3 -0
  6. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +8 -1
  7. package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +8 -1
  8. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +8 -1
  9. package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +34 -0
  10. package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +31 -0
  11. package/dist/es/es2018/types/src/generated/types/ProductRequestCreateInputRepresentation.d.ts +43 -0
  12. package/dist/es/es2018/types/src/generated/types/ProductRequestOutputRepresentation.d.ts +47 -0
  13. package/dist/es/es2018/types/src/generated/types/ProductRequestUpdateInputRepresentation.d.ts +46 -0
  14. package/dist/es/es2018/types/src/generated/types/SectionInputRepresentation.d.ts +40 -0
  15. package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +4 -1
  16. package/package.json +3 -3
  17. package/sfdc/index.js +898 -72
  18. package/src/raml/api.raml +210 -2
package/sfdc/index.js CHANGED
@@ -103,7 +103,7 @@ function createLink(ref) {
103
103
  };
104
104
  }
105
105
 
106
- function validate$m(obj, path = 'KnowledgeArticleInputRepresentation') {
106
+ function validate$p(obj, path = 'KnowledgeArticleInputRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -196,7 +196,7 @@ function validate$m(obj, path = 'KnowledgeArticleInputRepresentation') {
196
196
  return v_error === undefined ? null : v_error;
197
197
  }
198
198
 
199
- function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
199
+ function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
200
200
  const v_error = (() => {
201
201
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
202
202
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -569,7 +569,7 @@ function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
569
569
  return v_error === undefined ? null : v_error;
570
570
  }
571
571
 
572
- function validate$k(obj, path = 'EligibilityRulesInputRepresentation') {
572
+ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
573
573
  const v_error = (() => {
574
574
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
575
575
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -634,7 +634,7 @@ function validate$k(obj, path = 'EligibilityRulesInputRepresentation') {
634
634
  return v_error === undefined ? null : v_error;
635
635
  }
636
636
 
637
- function validate$j(obj, path = 'FulfillmentFlowInputRepresentation') {
637
+ function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
638
638
  const v_error = (() => {
639
639
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
640
640
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -755,7 +755,7 @@ function validate$j(obj, path = 'FulfillmentFlowInputRepresentation') {
755
755
  return v_error === undefined ? null : v_error;
756
756
  }
757
757
 
758
- function validate$i(obj, path = 'IntakeFormInputRepresentation') {
758
+ function validate$l(obj, path = 'IntakeFormInputRepresentation') {
759
759
  const v_error = (() => {
760
760
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
761
761
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -876,7 +876,7 @@ function validate$i(obj, path = 'IntakeFormInputRepresentation') {
876
876
  return v_error === undefined ? null : v_error;
877
877
  }
878
878
 
879
- function validate$h(obj, path = 'IntegrationDefInputRepresentation') {
879
+ function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
880
880
  const v_error = (() => {
881
881
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
882
882
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -969,7 +969,7 @@ function validate$h(obj, path = 'IntegrationDefInputRepresentation') {
969
969
  return v_error === undefined ? null : v_error;
970
970
  }
971
971
 
972
- function validate$g(obj, path = 'PreprocessorInputRepresentation') {
972
+ function validate$j(obj, path = 'PreprocessorInputRepresentation') {
973
973
  const v_error = (() => {
974
974
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
975
975
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1062,8 +1062,171 @@ function validate$g(obj, path = 'PreprocessorInputRepresentation') {
1062
1062
  return v_error === undefined ? null : v_error;
1063
1063
  }
1064
1064
 
1065
- const VERSION$b = "0b2080174fe6d4ee4f4a0de27011fc7d";
1066
- function validate$f(obj, path = 'AssociatedArticleOutputRepresentation') {
1065
+ function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
1066
+ const v_error = (() => {
1067
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1068
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1069
+ }
1070
+ if (obj.productDetails !== undefined) {
1071
+ const obj_productDetails = obj.productDetails;
1072
+ const path_productDetails = path + '.productDetails';
1073
+ if (!ArrayIsArray(obj_productDetails)) {
1074
+ return new TypeError('Expected "array" but received "' + typeof obj_productDetails + '" (at "' + path_productDetails + '")');
1075
+ }
1076
+ for (let i = 0; i < obj_productDetails.length; i++) {
1077
+ const obj_productDetails_item = obj_productDetails[i];
1078
+ const path_productDetails_item = path_productDetails + '[' + i + ']';
1079
+ if (obj_productDetails_item === undefined) {
1080
+ return new TypeError('Expected "defined" but received "' + typeof obj_productDetails_item + '" (at "' + path_productDetails_item + '")');
1081
+ }
1082
+ }
1083
+ }
1084
+ if (obj.sectionDescription !== undefined) {
1085
+ const obj_sectionDescription = obj.sectionDescription;
1086
+ const path_sectionDescription = path + '.sectionDescription';
1087
+ let obj_sectionDescription_union0 = null;
1088
+ const obj_sectionDescription_union0_error = (() => {
1089
+ if (typeof obj_sectionDescription !== 'string') {
1090
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
1091
+ }
1092
+ })();
1093
+ if (obj_sectionDescription_union0_error != null) {
1094
+ obj_sectionDescription_union0 = obj_sectionDescription_union0_error.message;
1095
+ }
1096
+ let obj_sectionDescription_union1 = null;
1097
+ const obj_sectionDescription_union1_error = (() => {
1098
+ if (obj_sectionDescription !== null) {
1099
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
1100
+ }
1101
+ })();
1102
+ if (obj_sectionDescription_union1_error != null) {
1103
+ obj_sectionDescription_union1 = obj_sectionDescription_union1_error.message;
1104
+ }
1105
+ if (obj_sectionDescription_union0 && obj_sectionDescription_union1) {
1106
+ let message = 'Object doesn\'t match union (at "' + path_sectionDescription + '")';
1107
+ message += '\n' + obj_sectionDescription_union0.split('\n').map((line) => '\t' + line).join('\n');
1108
+ message += '\n' + obj_sectionDescription_union1.split('\n').map((line) => '\t' + line).join('\n');
1109
+ return new TypeError(message);
1110
+ }
1111
+ }
1112
+ if (obj.sectionMaxCount !== undefined) {
1113
+ const obj_sectionMaxCount = obj.sectionMaxCount;
1114
+ const path_sectionMaxCount = path + '.sectionMaxCount';
1115
+ let obj_sectionMaxCount_union0 = null;
1116
+ const obj_sectionMaxCount_union0_error = (() => {
1117
+ if (typeof obj_sectionMaxCount !== 'number' || (typeof obj_sectionMaxCount === 'number' && Math.floor(obj_sectionMaxCount) !== obj_sectionMaxCount)) {
1118
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
1119
+ }
1120
+ })();
1121
+ if (obj_sectionMaxCount_union0_error != null) {
1122
+ obj_sectionMaxCount_union0 = obj_sectionMaxCount_union0_error.message;
1123
+ }
1124
+ let obj_sectionMaxCount_union1 = null;
1125
+ const obj_sectionMaxCount_union1_error = (() => {
1126
+ if (obj_sectionMaxCount !== null) {
1127
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
1128
+ }
1129
+ })();
1130
+ if (obj_sectionMaxCount_union1_error != null) {
1131
+ obj_sectionMaxCount_union1 = obj_sectionMaxCount_union1_error.message;
1132
+ }
1133
+ if (obj_sectionMaxCount_union0 && obj_sectionMaxCount_union1) {
1134
+ let message = 'Object doesn\'t match union (at "' + path_sectionMaxCount + '")';
1135
+ message += '\n' + obj_sectionMaxCount_union0.split('\n').map((line) => '\t' + line).join('\n');
1136
+ message += '\n' + obj_sectionMaxCount_union1.split('\n').map((line) => '\t' + line).join('\n');
1137
+ return new TypeError(message);
1138
+ }
1139
+ }
1140
+ if (obj.sectionMinCount !== undefined) {
1141
+ const obj_sectionMinCount = obj.sectionMinCount;
1142
+ const path_sectionMinCount = path + '.sectionMinCount';
1143
+ let obj_sectionMinCount_union0 = null;
1144
+ const obj_sectionMinCount_union0_error = (() => {
1145
+ if (typeof obj_sectionMinCount !== 'number' || (typeof obj_sectionMinCount === 'number' && Math.floor(obj_sectionMinCount) !== obj_sectionMinCount)) {
1146
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
1147
+ }
1148
+ })();
1149
+ if (obj_sectionMinCount_union0_error != null) {
1150
+ obj_sectionMinCount_union0 = obj_sectionMinCount_union0_error.message;
1151
+ }
1152
+ let obj_sectionMinCount_union1 = null;
1153
+ const obj_sectionMinCount_union1_error = (() => {
1154
+ if (obj_sectionMinCount !== null) {
1155
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
1156
+ }
1157
+ })();
1158
+ if (obj_sectionMinCount_union1_error != null) {
1159
+ obj_sectionMinCount_union1 = obj_sectionMinCount_union1_error.message;
1160
+ }
1161
+ if (obj_sectionMinCount_union0 && obj_sectionMinCount_union1) {
1162
+ let message = 'Object doesn\'t match union (at "' + path_sectionMinCount + '")';
1163
+ message += '\n' + obj_sectionMinCount_union0.split('\n').map((line) => '\t' + line).join('\n');
1164
+ message += '\n' + obj_sectionMinCount_union1.split('\n').map((line) => '\t' + line).join('\n');
1165
+ return new TypeError(message);
1166
+ }
1167
+ }
1168
+ if (obj.sectionName !== undefined) {
1169
+ const obj_sectionName = obj.sectionName;
1170
+ const path_sectionName = path + '.sectionName';
1171
+ let obj_sectionName_union0 = null;
1172
+ const obj_sectionName_union0_error = (() => {
1173
+ if (typeof obj_sectionName !== 'string') {
1174
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
1175
+ }
1176
+ })();
1177
+ if (obj_sectionName_union0_error != null) {
1178
+ obj_sectionName_union0 = obj_sectionName_union0_error.message;
1179
+ }
1180
+ let obj_sectionName_union1 = null;
1181
+ const obj_sectionName_union1_error = (() => {
1182
+ if (obj_sectionName !== null) {
1183
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
1184
+ }
1185
+ })();
1186
+ if (obj_sectionName_union1_error != null) {
1187
+ obj_sectionName_union1 = obj_sectionName_union1_error.message;
1188
+ }
1189
+ if (obj_sectionName_union0 && obj_sectionName_union1) {
1190
+ let message = 'Object doesn\'t match union (at "' + path_sectionName + '")';
1191
+ message += '\n' + obj_sectionName_union0.split('\n').map((line) => '\t' + line).join('\n');
1192
+ message += '\n' + obj_sectionName_union1.split('\n').map((line) => '\t' + line).join('\n');
1193
+ return new TypeError(message);
1194
+ }
1195
+ }
1196
+ if (obj.sequence !== undefined) {
1197
+ const obj_sequence = obj.sequence;
1198
+ const path_sequence = path + '.sequence';
1199
+ let obj_sequence_union0 = null;
1200
+ const obj_sequence_union0_error = (() => {
1201
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
1202
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
1203
+ }
1204
+ })();
1205
+ if (obj_sequence_union0_error != null) {
1206
+ obj_sequence_union0 = obj_sequence_union0_error.message;
1207
+ }
1208
+ let obj_sequence_union1 = null;
1209
+ const obj_sequence_union1_error = (() => {
1210
+ if (obj_sequence !== null) {
1211
+ return new TypeError('Expected "null" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
1212
+ }
1213
+ })();
1214
+ if (obj_sequence_union1_error != null) {
1215
+ obj_sequence_union1 = obj_sequence_union1_error.message;
1216
+ }
1217
+ if (obj_sequence_union0 && obj_sequence_union1) {
1218
+ let message = 'Object doesn\'t match union (at "' + path_sequence + '")';
1219
+ message += '\n' + obj_sequence_union0.split('\n').map((line) => '\t' + line).join('\n');
1220
+ message += '\n' + obj_sequence_union1.split('\n').map((line) => '\t' + line).join('\n');
1221
+ return new TypeError(message);
1222
+ }
1223
+ }
1224
+ })();
1225
+ return v_error === undefined ? null : v_error;
1226
+ }
1227
+
1228
+ const VERSION$d = "0b2080174fe6d4ee4f4a0de27011fc7d";
1229
+ function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
1067
1230
  const v_error = (() => {
1068
1231
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1069
1232
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1127,10 +1290,10 @@ function validate$f(obj, path = 'AssociatedArticleOutputRepresentation') {
1127
1290
  })();
1128
1291
  return v_error === undefined ? null : v_error;
1129
1292
  }
1130
- const select$h = function AssociatedArticleOutputRepresentationSelect() {
1293
+ const select$j = function AssociatedArticleOutputRepresentationSelect() {
1131
1294
  return {
1132
1295
  kind: 'Fragment',
1133
- version: VERSION$b,
1296
+ version: VERSION$d,
1134
1297
  private: [],
1135
1298
  selections: [
1136
1299
  {
@@ -1146,7 +1309,7 @@ const select$h = function AssociatedArticleOutputRepresentationSelect() {
1146
1309
  ]
1147
1310
  };
1148
1311
  };
1149
- function equals$b(existing, incoming) {
1312
+ function equals$d(existing, incoming) {
1150
1313
  const existing_id = existing.id;
1151
1314
  const incoming_id = incoming.id;
1152
1315
  // if at least one of these optionals is defined
@@ -1176,8 +1339,8 @@ function equals$b(existing, incoming) {
1176
1339
  return true;
1177
1340
  }
1178
1341
 
1179
- const VERSION$a = "6859d872ce6d03f8f07819eb40c43fe6";
1180
- function validate$e(obj, path = 'EligibilityRuleOutputRepresentation') {
1342
+ const VERSION$c = "6859d872ce6d03f8f07819eb40c43fe6";
1343
+ function validate$g(obj, path = 'EligibilityRuleOutputRepresentation') {
1181
1344
  const v_error = (() => {
1182
1345
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1183
1346
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1241,10 +1404,10 @@ function validate$e(obj, path = 'EligibilityRuleOutputRepresentation') {
1241
1404
  })();
1242
1405
  return v_error === undefined ? null : v_error;
1243
1406
  }
1244
- const select$g = function EligibilityRuleOutputRepresentationSelect() {
1407
+ const select$i = function EligibilityRuleOutputRepresentationSelect() {
1245
1408
  return {
1246
1409
  kind: 'Fragment',
1247
- version: VERSION$a,
1410
+ version: VERSION$c,
1248
1411
  private: [],
1249
1412
  selections: [
1250
1413
  {
@@ -1260,7 +1423,7 @@ const select$g = function EligibilityRuleOutputRepresentationSelect() {
1260
1423
  ]
1261
1424
  };
1262
1425
  };
1263
- function equals$a(existing, incoming) {
1426
+ function equals$c(existing, incoming) {
1264
1427
  const existing_eligibilityRuleId = existing.eligibilityRuleId;
1265
1428
  const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
1266
1429
  // if at least one of these optionals is defined
@@ -1290,8 +1453,8 @@ function equals$a(existing, incoming) {
1290
1453
  return true;
1291
1454
  }
1292
1455
 
1293
- const VERSION$9 = "b5216beece7c04763cff6924e6953f93";
1294
- function validate$d(obj, path = 'FulfillmentFlowOutputRepresentation') {
1456
+ const VERSION$b = "b5216beece7c04763cff6924e6953f93";
1457
+ function validate$f(obj, path = 'FulfillmentFlowOutputRepresentation') {
1295
1458
  const v_error = (() => {
1296
1459
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1297
1460
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1383,10 +1546,10 @@ function validate$d(obj, path = 'FulfillmentFlowOutputRepresentation') {
1383
1546
  })();
1384
1547
  return v_error === undefined ? null : v_error;
1385
1548
  }
1386
- const select$f = function FulfillmentFlowOutputRepresentationSelect() {
1549
+ const select$h = function FulfillmentFlowOutputRepresentationSelect() {
1387
1550
  return {
1388
1551
  kind: 'Fragment',
1389
- version: VERSION$9,
1552
+ version: VERSION$b,
1390
1553
  private: [],
1391
1554
  selections: [
1392
1555
  {
@@ -1407,7 +1570,7 @@ const select$f = function FulfillmentFlowOutputRepresentationSelect() {
1407
1570
  ]
1408
1571
  };
1409
1572
  };
1410
- function equals$9(existing, incoming) {
1573
+ function equals$b(existing, incoming) {
1411
1574
  const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
1412
1575
  const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
1413
1576
  // if at least one of these optionals is defined
@@ -1450,8 +1613,8 @@ function equals$9(existing, incoming) {
1450
1613
  return true;
1451
1614
  }
1452
1615
 
1453
- const VERSION$8 = "dc8ba723ca754951db42f9d0e6891a06";
1454
- function validate$c(obj, path = 'IntakeFormOutputRepresentation') {
1616
+ const VERSION$a = "dc8ba723ca754951db42f9d0e6891a06";
1617
+ function validate$e(obj, path = 'IntakeFormOutputRepresentation') {
1455
1618
  const v_error = (() => {
1456
1619
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1457
1620
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1683,10 +1846,10 @@ function validate$c(obj, path = 'IntakeFormOutputRepresentation') {
1683
1846
  })();
1684
1847
  return v_error === undefined ? null : v_error;
1685
1848
  }
1686
- const select$e = function IntakeFormOutputRepresentationSelect() {
1849
+ const select$g = function IntakeFormOutputRepresentationSelect() {
1687
1850
  return {
1688
1851
  kind: 'Fragment',
1689
- version: VERSION$8,
1852
+ version: VERSION$a,
1690
1853
  private: [],
1691
1854
  selections: [
1692
1855
  {
@@ -1732,7 +1895,7 @@ const select$e = function IntakeFormOutputRepresentationSelect() {
1732
1895
  ]
1733
1896
  };
1734
1897
  };
1735
- function equals$8(existing, incoming) {
1898
+ function equals$a(existing, incoming) {
1736
1899
  const existing_id = existing.id;
1737
1900
  const incoming_id = incoming.id;
1738
1901
  // if at least one of these optionals is defined
@@ -1840,8 +2003,8 @@ function equals$8(existing, incoming) {
1840
2003
  return true;
1841
2004
  }
1842
2005
 
1843
- const VERSION$7 = "1006a153c933b8bc4b1d44663893e206";
1844
- function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
2006
+ const VERSION$9 = "1006a153c933b8bc4b1d44663893e206";
2007
+ function validate$d(obj, path = 'IntegrationDefinitionOutputPresentation') {
1845
2008
  const v_error = (() => {
1846
2009
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1847
2010
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1905,10 +2068,10 @@ function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
1905
2068
  })();
1906
2069
  return v_error === undefined ? null : v_error;
1907
2070
  }
1908
- const select$d = function IntegrationDefinitionOutputPresentationSelect() {
2071
+ const select$f = function IntegrationDefinitionOutputPresentationSelect() {
1909
2072
  return {
1910
2073
  kind: 'Fragment',
1911
- version: VERSION$7,
2074
+ version: VERSION$9,
1912
2075
  private: [],
1913
2076
  selections: [
1914
2077
  {
@@ -1924,7 +2087,7 @@ const select$d = function IntegrationDefinitionOutputPresentationSelect() {
1924
2087
  ]
1925
2088
  };
1926
2089
  };
1927
- function equals$7(existing, incoming) {
2090
+ function equals$9(existing, incoming) {
1928
2091
  const existing_id = existing.id;
1929
2092
  const incoming_id = incoming.id;
1930
2093
  // if at least one of these optionals is defined
@@ -1954,8 +2117,8 @@ function equals$7(existing, incoming) {
1954
2117
  return true;
1955
2118
  }
1956
2119
 
1957
- const VERSION$6 = "2d685b1e467eb8d61276e834ea3b74a3";
1958
- function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
2120
+ const VERSION$8 = "2d685b1e467eb8d61276e834ea3b74a3";
2121
+ function validate$c(obj, path = 'PreprocessorOutputRepresentation') {
1959
2122
  const v_error = (() => {
1960
2123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1961
2124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2019,10 +2182,10 @@ function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
2019
2182
  })();
2020
2183
  return v_error === undefined ? null : v_error;
2021
2184
  }
2022
- const select$c = function PreprocessorOutputRepresentationSelect() {
2185
+ const select$e = function PreprocessorOutputRepresentationSelect() {
2023
2186
  return {
2024
2187
  kind: 'Fragment',
2025
- version: VERSION$6,
2188
+ version: VERSION$8,
2026
2189
  private: [],
2027
2190
  selections: [
2028
2191
  {
@@ -2038,7 +2201,7 @@ const select$c = function PreprocessorOutputRepresentationSelect() {
2038
2201
  ]
2039
2202
  };
2040
2203
  };
2041
- function equals$6(existing, incoming) {
2204
+ function equals$8(existing, incoming) {
2042
2205
  const existing_id = existing.id;
2043
2206
  const incoming_id = incoming.id;
2044
2207
  // if at least one of these optionals is defined
@@ -2068,6 +2231,461 @@ function equals$6(existing, incoming) {
2068
2231
  return true;
2069
2232
  }
2070
2233
 
2234
+ const VERSION$7 = "237440975156389e5479f294d3d601de";
2235
+ function validate$b(obj, path = 'ProductDetailsOutputRepresentation') {
2236
+ const v_error = (() => {
2237
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2238
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2239
+ }
2240
+ if (obj.id !== undefined) {
2241
+ const obj_id = obj.id;
2242
+ const path_id = path + '.id';
2243
+ let obj_id_union0 = null;
2244
+ const obj_id_union0_error = (() => {
2245
+ if (typeof obj_id !== 'string') {
2246
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2247
+ }
2248
+ })();
2249
+ if (obj_id_union0_error != null) {
2250
+ obj_id_union0 = obj_id_union0_error.message;
2251
+ }
2252
+ let obj_id_union1 = null;
2253
+ const obj_id_union1_error = (() => {
2254
+ if (obj_id !== null) {
2255
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2256
+ }
2257
+ })();
2258
+ if (obj_id_union1_error != null) {
2259
+ obj_id_union1 = obj_id_union1_error.message;
2260
+ }
2261
+ if (obj_id_union0 && obj_id_union1) {
2262
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
2263
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
2264
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
2265
+ return new TypeError(message);
2266
+ }
2267
+ }
2268
+ if (obj.productId !== undefined) {
2269
+ const obj_productId = obj.productId;
2270
+ const path_productId = path + '.productId';
2271
+ let obj_productId_union0 = null;
2272
+ const obj_productId_union0_error = (() => {
2273
+ if (typeof obj_productId !== 'string') {
2274
+ return new TypeError('Expected "string" but received "' + typeof obj_productId + '" (at "' + path_productId + '")');
2275
+ }
2276
+ })();
2277
+ if (obj_productId_union0_error != null) {
2278
+ obj_productId_union0 = obj_productId_union0_error.message;
2279
+ }
2280
+ let obj_productId_union1 = null;
2281
+ const obj_productId_union1_error = (() => {
2282
+ if (obj_productId !== null) {
2283
+ return new TypeError('Expected "null" but received "' + typeof obj_productId + '" (at "' + path_productId + '")');
2284
+ }
2285
+ })();
2286
+ if (obj_productId_union1_error != null) {
2287
+ obj_productId_union1 = obj_productId_union1_error.message;
2288
+ }
2289
+ if (obj_productId_union0 && obj_productId_union1) {
2290
+ let message = 'Object doesn\'t match union (at "' + path_productId + '")';
2291
+ message += '\n' + obj_productId_union0.split('\n').map((line) => '\t' + line).join('\n');
2292
+ message += '\n' + obj_productId_union1.split('\n').map((line) => '\t' + line).join('\n');
2293
+ return new TypeError(message);
2294
+ }
2295
+ }
2296
+ })();
2297
+ return v_error === undefined ? null : v_error;
2298
+ }
2299
+ const select$d = function ProductDetailsOutputRepresentationSelect() {
2300
+ return {
2301
+ kind: 'Fragment',
2302
+ version: VERSION$7,
2303
+ private: [],
2304
+ selections: [
2305
+ {
2306
+ name: 'id',
2307
+ kind: 'Scalar',
2308
+ required: false
2309
+ },
2310
+ {
2311
+ name: 'productId',
2312
+ kind: 'Scalar',
2313
+ required: false
2314
+ }
2315
+ ]
2316
+ };
2317
+ };
2318
+ function equals$7(existing, incoming) {
2319
+ const existing_id = existing.id;
2320
+ const incoming_id = incoming.id;
2321
+ // if at least one of these optionals is defined
2322
+ if (existing_id !== undefined || incoming_id !== undefined) {
2323
+ // if one of these is not defined we know the other is defined and therefore
2324
+ // not equal
2325
+ if (existing_id === undefined || incoming_id === undefined) {
2326
+ return false;
2327
+ }
2328
+ if (!(existing_id === incoming_id)) {
2329
+ return false;
2330
+ }
2331
+ }
2332
+ const existing_productId = existing.productId;
2333
+ const incoming_productId = incoming.productId;
2334
+ // if at least one of these optionals is defined
2335
+ if (existing_productId !== undefined || incoming_productId !== undefined) {
2336
+ // if one of these is not defined we know the other is defined and therefore
2337
+ // not equal
2338
+ if (existing_productId === undefined || incoming_productId === undefined) {
2339
+ return false;
2340
+ }
2341
+ if (!(existing_productId === incoming_productId)) {
2342
+ return false;
2343
+ }
2344
+ }
2345
+ return true;
2346
+ }
2347
+
2348
+ const VERSION$6 = "dc18ee4b99b0510d2c89ddf9261ea1e7";
2349
+ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
2350
+ const v_error = (() => {
2351
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2352
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2353
+ }
2354
+ if (obj.productDetails !== undefined) {
2355
+ const obj_productDetails = obj.productDetails;
2356
+ const path_productDetails = path + '.productDetails';
2357
+ if (!ArrayIsArray(obj_productDetails)) {
2358
+ return new TypeError('Expected "array" but received "' + typeof obj_productDetails + '" (at "' + path_productDetails + '")');
2359
+ }
2360
+ for (let i = 0; i < obj_productDetails.length; i++) {
2361
+ const obj_productDetails_item = obj_productDetails[i];
2362
+ const path_productDetails_item = path_productDetails + '[' + i + ']';
2363
+ const referencepath_productDetails_itemValidationError = validate$b(obj_productDetails_item, path_productDetails_item);
2364
+ if (referencepath_productDetails_itemValidationError !== null) {
2365
+ let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
2366
+ message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2367
+ return new TypeError(message);
2368
+ }
2369
+ }
2370
+ }
2371
+ if (obj.sectionDescription !== undefined) {
2372
+ const obj_sectionDescription = obj.sectionDescription;
2373
+ const path_sectionDescription = path + '.sectionDescription';
2374
+ let obj_sectionDescription_union0 = null;
2375
+ const obj_sectionDescription_union0_error = (() => {
2376
+ if (typeof obj_sectionDescription !== 'string') {
2377
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
2378
+ }
2379
+ })();
2380
+ if (obj_sectionDescription_union0_error != null) {
2381
+ obj_sectionDescription_union0 = obj_sectionDescription_union0_error.message;
2382
+ }
2383
+ let obj_sectionDescription_union1 = null;
2384
+ const obj_sectionDescription_union1_error = (() => {
2385
+ if (obj_sectionDescription !== null) {
2386
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
2387
+ }
2388
+ })();
2389
+ if (obj_sectionDescription_union1_error != null) {
2390
+ obj_sectionDescription_union1 = obj_sectionDescription_union1_error.message;
2391
+ }
2392
+ if (obj_sectionDescription_union0 && obj_sectionDescription_union1) {
2393
+ let message = 'Object doesn\'t match union (at "' + path_sectionDescription + '")';
2394
+ message += '\n' + obj_sectionDescription_union0.split('\n').map((line) => '\t' + line).join('\n');
2395
+ message += '\n' + obj_sectionDescription_union1.split('\n').map((line) => '\t' + line).join('\n');
2396
+ return new TypeError(message);
2397
+ }
2398
+ }
2399
+ if (obj.sectionId !== undefined) {
2400
+ const obj_sectionId = obj.sectionId;
2401
+ const path_sectionId = path + '.sectionId';
2402
+ let obj_sectionId_union0 = null;
2403
+ const obj_sectionId_union0_error = (() => {
2404
+ if (typeof obj_sectionId !== 'string') {
2405
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionId + '" (at "' + path_sectionId + '")');
2406
+ }
2407
+ })();
2408
+ if (obj_sectionId_union0_error != null) {
2409
+ obj_sectionId_union0 = obj_sectionId_union0_error.message;
2410
+ }
2411
+ let obj_sectionId_union1 = null;
2412
+ const obj_sectionId_union1_error = (() => {
2413
+ if (obj_sectionId !== null) {
2414
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionId + '" (at "' + path_sectionId + '")');
2415
+ }
2416
+ })();
2417
+ if (obj_sectionId_union1_error != null) {
2418
+ obj_sectionId_union1 = obj_sectionId_union1_error.message;
2419
+ }
2420
+ if (obj_sectionId_union0 && obj_sectionId_union1) {
2421
+ let message = 'Object doesn\'t match union (at "' + path_sectionId + '")';
2422
+ message += '\n' + obj_sectionId_union0.split('\n').map((line) => '\t' + line).join('\n');
2423
+ message += '\n' + obj_sectionId_union1.split('\n').map((line) => '\t' + line).join('\n');
2424
+ return new TypeError(message);
2425
+ }
2426
+ }
2427
+ if (obj.sectionMaxCount !== undefined) {
2428
+ const obj_sectionMaxCount = obj.sectionMaxCount;
2429
+ const path_sectionMaxCount = path + '.sectionMaxCount';
2430
+ let obj_sectionMaxCount_union0 = null;
2431
+ const obj_sectionMaxCount_union0_error = (() => {
2432
+ if (typeof obj_sectionMaxCount !== 'number' || (typeof obj_sectionMaxCount === 'number' && Math.floor(obj_sectionMaxCount) !== obj_sectionMaxCount)) {
2433
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
2434
+ }
2435
+ })();
2436
+ if (obj_sectionMaxCount_union0_error != null) {
2437
+ obj_sectionMaxCount_union0 = obj_sectionMaxCount_union0_error.message;
2438
+ }
2439
+ let obj_sectionMaxCount_union1 = null;
2440
+ const obj_sectionMaxCount_union1_error = (() => {
2441
+ if (obj_sectionMaxCount !== null) {
2442
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
2443
+ }
2444
+ })();
2445
+ if (obj_sectionMaxCount_union1_error != null) {
2446
+ obj_sectionMaxCount_union1 = obj_sectionMaxCount_union1_error.message;
2447
+ }
2448
+ if (obj_sectionMaxCount_union0 && obj_sectionMaxCount_union1) {
2449
+ let message = 'Object doesn\'t match union (at "' + path_sectionMaxCount + '")';
2450
+ message += '\n' + obj_sectionMaxCount_union0.split('\n').map((line) => '\t' + line).join('\n');
2451
+ message += '\n' + obj_sectionMaxCount_union1.split('\n').map((line) => '\t' + line).join('\n');
2452
+ return new TypeError(message);
2453
+ }
2454
+ }
2455
+ if (obj.sectionMinCount !== undefined) {
2456
+ const obj_sectionMinCount = obj.sectionMinCount;
2457
+ const path_sectionMinCount = path + '.sectionMinCount';
2458
+ let obj_sectionMinCount_union0 = null;
2459
+ const obj_sectionMinCount_union0_error = (() => {
2460
+ if (typeof obj_sectionMinCount !== 'number' || (typeof obj_sectionMinCount === 'number' && Math.floor(obj_sectionMinCount) !== obj_sectionMinCount)) {
2461
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
2462
+ }
2463
+ })();
2464
+ if (obj_sectionMinCount_union0_error != null) {
2465
+ obj_sectionMinCount_union0 = obj_sectionMinCount_union0_error.message;
2466
+ }
2467
+ let obj_sectionMinCount_union1 = null;
2468
+ const obj_sectionMinCount_union1_error = (() => {
2469
+ if (obj_sectionMinCount !== null) {
2470
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
2471
+ }
2472
+ })();
2473
+ if (obj_sectionMinCount_union1_error != null) {
2474
+ obj_sectionMinCount_union1 = obj_sectionMinCount_union1_error.message;
2475
+ }
2476
+ if (obj_sectionMinCount_union0 && obj_sectionMinCount_union1) {
2477
+ let message = 'Object doesn\'t match union (at "' + path_sectionMinCount + '")';
2478
+ message += '\n' + obj_sectionMinCount_union0.split('\n').map((line) => '\t' + line).join('\n');
2479
+ message += '\n' + obj_sectionMinCount_union1.split('\n').map((line) => '\t' + line).join('\n');
2480
+ return new TypeError(message);
2481
+ }
2482
+ }
2483
+ if (obj.sectionName !== undefined) {
2484
+ const obj_sectionName = obj.sectionName;
2485
+ const path_sectionName = path + '.sectionName';
2486
+ let obj_sectionName_union0 = null;
2487
+ const obj_sectionName_union0_error = (() => {
2488
+ if (typeof obj_sectionName !== 'string') {
2489
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
2490
+ }
2491
+ })();
2492
+ if (obj_sectionName_union0_error != null) {
2493
+ obj_sectionName_union0 = obj_sectionName_union0_error.message;
2494
+ }
2495
+ let obj_sectionName_union1 = null;
2496
+ const obj_sectionName_union1_error = (() => {
2497
+ if (obj_sectionName !== null) {
2498
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
2499
+ }
2500
+ })();
2501
+ if (obj_sectionName_union1_error != null) {
2502
+ obj_sectionName_union1 = obj_sectionName_union1_error.message;
2503
+ }
2504
+ if (obj_sectionName_union0 && obj_sectionName_union1) {
2505
+ let message = 'Object doesn\'t match union (at "' + path_sectionName + '")';
2506
+ message += '\n' + obj_sectionName_union0.split('\n').map((line) => '\t' + line).join('\n');
2507
+ message += '\n' + obj_sectionName_union1.split('\n').map((line) => '\t' + line).join('\n');
2508
+ return new TypeError(message);
2509
+ }
2510
+ }
2511
+ if (obj.sequence !== undefined) {
2512
+ const obj_sequence = obj.sequence;
2513
+ const path_sequence = path + '.sequence';
2514
+ let obj_sequence_union0 = null;
2515
+ const obj_sequence_union0_error = (() => {
2516
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
2517
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
2518
+ }
2519
+ })();
2520
+ if (obj_sequence_union0_error != null) {
2521
+ obj_sequence_union0 = obj_sequence_union0_error.message;
2522
+ }
2523
+ let obj_sequence_union1 = null;
2524
+ const obj_sequence_union1_error = (() => {
2525
+ if (obj_sequence !== null) {
2526
+ return new TypeError('Expected "null" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
2527
+ }
2528
+ })();
2529
+ if (obj_sequence_union1_error != null) {
2530
+ obj_sequence_union1 = obj_sequence_union1_error.message;
2531
+ }
2532
+ if (obj_sequence_union0 && obj_sequence_union1) {
2533
+ let message = 'Object doesn\'t match union (at "' + path_sequence + '")';
2534
+ message += '\n' + obj_sequence_union0.split('\n').map((line) => '\t' + line).join('\n');
2535
+ message += '\n' + obj_sequence_union1.split('\n').map((line) => '\t' + line).join('\n');
2536
+ return new TypeError(message);
2537
+ }
2538
+ }
2539
+ })();
2540
+ return v_error === undefined ? null : v_error;
2541
+ }
2542
+ const select$c = function ProductRequestOutputRepresentationSelect() {
2543
+ const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$d();
2544
+ return {
2545
+ kind: 'Fragment',
2546
+ version: VERSION$6,
2547
+ private: [],
2548
+ selections: [
2549
+ {
2550
+ name: 'productDetails',
2551
+ kind: 'Object',
2552
+ plural: true,
2553
+ selections: ProductDetailsOutputRepresentation__selections,
2554
+ required: false
2555
+ },
2556
+ {
2557
+ name: 'sectionDescription',
2558
+ kind: 'Scalar',
2559
+ required: false
2560
+ },
2561
+ {
2562
+ name: 'sectionId',
2563
+ kind: 'Scalar',
2564
+ required: false
2565
+ },
2566
+ {
2567
+ name: 'sectionMaxCount',
2568
+ kind: 'Scalar',
2569
+ required: false
2570
+ },
2571
+ {
2572
+ name: 'sectionMinCount',
2573
+ kind: 'Scalar',
2574
+ required: false
2575
+ },
2576
+ {
2577
+ name: 'sectionName',
2578
+ kind: 'Scalar',
2579
+ required: false
2580
+ },
2581
+ {
2582
+ name: 'sequence',
2583
+ kind: 'Scalar',
2584
+ required: false
2585
+ }
2586
+ ]
2587
+ };
2588
+ };
2589
+ function equals$6(existing, incoming) {
2590
+ const existing_productDetails = existing.productDetails;
2591
+ const incoming_productDetails = incoming.productDetails;
2592
+ // if at least one of these optionals is defined
2593
+ if (existing_productDetails !== undefined || incoming_productDetails !== undefined) {
2594
+ // if one of these is not defined we know the other is defined and therefore
2595
+ // not equal
2596
+ if (existing_productDetails === undefined || incoming_productDetails === undefined) {
2597
+ return false;
2598
+ }
2599
+ const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
2600
+ if (!(equals$7(existing_productDetails_item, incoming_productDetails_item))) {
2601
+ return false;
2602
+ }
2603
+ });
2604
+ if (equals_productDetails_items === false) {
2605
+ return false;
2606
+ }
2607
+ }
2608
+ const existing_sectionDescription = existing.sectionDescription;
2609
+ const incoming_sectionDescription = incoming.sectionDescription;
2610
+ // if at least one of these optionals is defined
2611
+ if (existing_sectionDescription !== undefined || incoming_sectionDescription !== undefined) {
2612
+ // if one of these is not defined we know the other is defined and therefore
2613
+ // not equal
2614
+ if (existing_sectionDescription === undefined || incoming_sectionDescription === undefined) {
2615
+ return false;
2616
+ }
2617
+ if (!(existing_sectionDescription === incoming_sectionDescription)) {
2618
+ return false;
2619
+ }
2620
+ }
2621
+ const existing_sectionId = existing.sectionId;
2622
+ const incoming_sectionId = incoming.sectionId;
2623
+ // if at least one of these optionals is defined
2624
+ if (existing_sectionId !== undefined || incoming_sectionId !== undefined) {
2625
+ // if one of these is not defined we know the other is defined and therefore
2626
+ // not equal
2627
+ if (existing_sectionId === undefined || incoming_sectionId === undefined) {
2628
+ return false;
2629
+ }
2630
+ if (!(existing_sectionId === incoming_sectionId)) {
2631
+ return false;
2632
+ }
2633
+ }
2634
+ const existing_sectionMaxCount = existing.sectionMaxCount;
2635
+ const incoming_sectionMaxCount = incoming.sectionMaxCount;
2636
+ // if at least one of these optionals is defined
2637
+ if (existing_sectionMaxCount !== undefined || incoming_sectionMaxCount !== undefined) {
2638
+ // if one of these is not defined we know the other is defined and therefore
2639
+ // not equal
2640
+ if (existing_sectionMaxCount === undefined || incoming_sectionMaxCount === undefined) {
2641
+ return false;
2642
+ }
2643
+ if (!(existing_sectionMaxCount === incoming_sectionMaxCount)) {
2644
+ return false;
2645
+ }
2646
+ }
2647
+ const existing_sectionMinCount = existing.sectionMinCount;
2648
+ const incoming_sectionMinCount = incoming.sectionMinCount;
2649
+ // if at least one of these optionals is defined
2650
+ if (existing_sectionMinCount !== undefined || incoming_sectionMinCount !== undefined) {
2651
+ // if one of these is not defined we know the other is defined and therefore
2652
+ // not equal
2653
+ if (existing_sectionMinCount === undefined || incoming_sectionMinCount === undefined) {
2654
+ return false;
2655
+ }
2656
+ if (!(existing_sectionMinCount === incoming_sectionMinCount)) {
2657
+ return false;
2658
+ }
2659
+ }
2660
+ const existing_sectionName = existing.sectionName;
2661
+ const incoming_sectionName = incoming.sectionName;
2662
+ // if at least one of these optionals is defined
2663
+ if (existing_sectionName !== undefined || incoming_sectionName !== undefined) {
2664
+ // if one of these is not defined we know the other is defined and therefore
2665
+ // not equal
2666
+ if (existing_sectionName === undefined || incoming_sectionName === undefined) {
2667
+ return false;
2668
+ }
2669
+ if (!(existing_sectionName === incoming_sectionName)) {
2670
+ return false;
2671
+ }
2672
+ }
2673
+ const existing_sequence = existing.sequence;
2674
+ const incoming_sequence = incoming.sequence;
2675
+ // if at least one of these optionals is defined
2676
+ if (existing_sequence !== undefined || incoming_sequence !== undefined) {
2677
+ // if one of these is not defined we know the other is defined and therefore
2678
+ // not equal
2679
+ if (existing_sequence === undefined || incoming_sequence === undefined) {
2680
+ return false;
2681
+ }
2682
+ if (!(existing_sequence === incoming_sequence)) {
2683
+ return false;
2684
+ }
2685
+ }
2686
+ return true;
2687
+ }
2688
+
2071
2689
  const VERSION$5 = "3cd028b0271b2b713a35bff16169d246";
2072
2690
  function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
2073
2691
  const v_error = (() => {
@@ -2734,7 +3352,7 @@ function equals$5(existing, incoming) {
2734
3352
  return true;
2735
3353
  }
2736
3354
 
2737
- const VERSION$4 = "565c268d87174a64724649689f92d403";
3355
+ const VERSION$4 = "f3d73b2bf4e29668882933f95c798ea8";
2738
3356
  function validate$8(obj, path = 'SectionOutputRepresentation') {
2739
3357
  const v_error = (() => {
2740
3358
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2806,6 +3424,34 @@ function validate$8(obj, path = 'SectionOutputRepresentation') {
2806
3424
  return new TypeError(message);
2807
3425
  }
2808
3426
  }
3427
+ if (obj.id !== undefined) {
3428
+ const obj_id = obj.id;
3429
+ const path_id = path + '.id';
3430
+ let obj_id_union0 = null;
3431
+ const obj_id_union0_error = (() => {
3432
+ if (typeof obj_id !== 'string') {
3433
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3434
+ }
3435
+ })();
3436
+ if (obj_id_union0_error != null) {
3437
+ obj_id_union0 = obj_id_union0_error.message;
3438
+ }
3439
+ let obj_id_union1 = null;
3440
+ const obj_id_union1_error = (() => {
3441
+ if (obj_id !== null) {
3442
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3443
+ }
3444
+ })();
3445
+ if (obj_id_union1_error != null) {
3446
+ obj_id_union1 = obj_id_union1_error.message;
3447
+ }
3448
+ if (obj_id_union0 && obj_id_union1) {
3449
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
3450
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3451
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3452
+ return new TypeError(message);
3453
+ }
3454
+ }
2809
3455
  if (obj.name !== undefined) {
2810
3456
  const obj_name = obj.name;
2811
3457
  const path_name = path + '.name';
@@ -2857,6 +3503,11 @@ const select$a = function SectionOutputRepresentationSelect() {
2857
3503
  kind: 'Scalar',
2858
3504
  required: false
2859
3505
  },
3506
+ {
3507
+ name: 'id',
3508
+ kind: 'Scalar',
3509
+ required: false
3510
+ },
2860
3511
  {
2861
3512
  name: 'name',
2862
3513
  kind: 'Scalar',
@@ -2900,6 +3551,19 @@ function equals$4(existing, incoming) {
2900
3551
  return false;
2901
3552
  }
2902
3553
  }
3554
+ const existing_id = existing.id;
3555
+ const incoming_id = incoming.id;
3556
+ // if at least one of these optionals is defined
3557
+ if (existing_id !== undefined || incoming_id !== undefined) {
3558
+ // if one of these is not defined we know the other is defined and therefore
3559
+ // not equal
3560
+ if (existing_id === undefined || incoming_id === undefined) {
3561
+ return false;
3562
+ }
3563
+ if (!(existing_id === incoming_id)) {
3564
+ return false;
3565
+ }
3566
+ }
2903
3567
  const existing_name = existing.name;
2904
3568
  const incoming_name = incoming.name;
2905
3569
  // if at least one of these optionals is defined
@@ -2917,7 +3581,7 @@ function equals$4(existing, incoming) {
2917
3581
  }
2918
3582
 
2919
3583
  const TTL$3 = 6000;
2920
- const VERSION$3 = "91c1f80fbd4a4186dfe055728a447aa8";
3584
+ const VERSION$3 = "ee62476ce2bfdf8efe1a4acdb6b957f3";
2921
3585
  function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
2922
3586
  const v_error = (() => {
2923
3587
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2934,7 +3598,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
2934
3598
  const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
2935
3599
  let obj_associatedArticles_item_union0 = null;
2936
3600
  const obj_associatedArticles_item_union0_error = (() => {
2937
- const referencepath_associatedArticles_itemValidationError = validate$f(obj_associatedArticles_item, path_associatedArticles_item);
3601
+ const referencepath_associatedArticles_itemValidationError = validate$h(obj_associatedArticles_item, path_associatedArticles_item);
2938
3602
  if (referencepath_associatedArticles_itemValidationError !== null) {
2939
3603
  let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
2940
3604
  message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3082,7 +3746,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3082
3746
  const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
3083
3747
  let obj_eligibilityRules_item_union0 = null;
3084
3748
  const obj_eligibilityRules_item_union0_error = (() => {
3085
- const referencepath_eligibilityRules_itemValidationError = validate$e(obj_eligibilityRules_item, path_eligibilityRules_item);
3749
+ const referencepath_eligibilityRules_itemValidationError = validate$g(obj_eligibilityRules_item, path_eligibilityRules_item);
3086
3750
  if (referencepath_eligibilityRules_itemValidationError !== null) {
3087
3751
  let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
3088
3752
  message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3114,7 +3778,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3114
3778
  const path_fulfillmentFlow = path + '.fulfillmentFlow';
3115
3779
  let obj_fulfillmentFlow_union0 = null;
3116
3780
  const obj_fulfillmentFlow_union0_error = (() => {
3117
- const referencepath_fulfillmentFlowValidationError = validate$d(obj_fulfillmentFlow, path_fulfillmentFlow);
3781
+ const referencepath_fulfillmentFlowValidationError = validate$f(obj_fulfillmentFlow, path_fulfillmentFlow);
3118
3782
  if (referencepath_fulfillmentFlowValidationError !== null) {
3119
3783
  let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
3120
3784
  message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3145,7 +3809,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3145
3809
  const path_intakeForm = path + '.intakeForm';
3146
3810
  let obj_intakeForm_union0 = null;
3147
3811
  const obj_intakeForm_union0_error = (() => {
3148
- const referencepath_intakeFormValidationError = validate$c(obj_intakeForm, path_intakeForm);
3812
+ const referencepath_intakeFormValidationError = validate$e(obj_intakeForm, path_intakeForm);
3149
3813
  if (referencepath_intakeFormValidationError !== null) {
3150
3814
  let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
3151
3815
  message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3182,7 +3846,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3182
3846
  const path_integrations_item = path_integrations + '[' + i + ']';
3183
3847
  let obj_integrations_item_union0 = null;
3184
3848
  const obj_integrations_item_union0_error = (() => {
3185
- const referencepath_integrations_itemValidationError = validate$b(obj_integrations_item, path_integrations_item);
3849
+ const referencepath_integrations_itemValidationError = validate$d(obj_integrations_item, path_integrations_item);
3186
3850
  if (referencepath_integrations_itemValidationError !== null) {
3187
3851
  let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
3188
3852
  message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3276,7 +3940,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3276
3940
  const path_preProcessors_item = path_preProcessors + '[' + i + ']';
3277
3941
  let obj_preProcessors_item_union0 = null;
3278
3942
  const obj_preProcessors_item_union0_error = (() => {
3279
- const referencepath_preProcessors_itemValidationError = validate$a(obj_preProcessors_item, path_preProcessors_item);
3943
+ const referencepath_preProcessors_itemValidationError = validate$c(obj_preProcessors_item, path_preProcessors_item);
3280
3944
  if (referencepath_preProcessors_itemValidationError !== null) {
3281
3945
  let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
3282
3946
  message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3331,6 +3995,44 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3331
3995
  return new TypeError(message);
3332
3996
  }
3333
3997
  }
3998
+ if (obj.productRequests !== undefined) {
3999
+ const obj_productRequests = obj.productRequests;
4000
+ const path_productRequests = path + '.productRequests';
4001
+ if (!ArrayIsArray(obj_productRequests)) {
4002
+ return new TypeError('Expected "array" but received "' + typeof obj_productRequests + '" (at "' + path_productRequests + '")');
4003
+ }
4004
+ for (let i = 0; i < obj_productRequests.length; i++) {
4005
+ const obj_productRequests_item = obj_productRequests[i];
4006
+ const path_productRequests_item = path_productRequests + '[' + i + ']';
4007
+ let obj_productRequests_item_union0 = null;
4008
+ const obj_productRequests_item_union0_error = (() => {
4009
+ const referencepath_productRequests_itemValidationError = validate$a(obj_productRequests_item, path_productRequests_item);
4010
+ if (referencepath_productRequests_itemValidationError !== null) {
4011
+ let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
4012
+ message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4013
+ return new TypeError(message);
4014
+ }
4015
+ })();
4016
+ if (obj_productRequests_item_union0_error != null) {
4017
+ obj_productRequests_item_union0 = obj_productRequests_item_union0_error.message;
4018
+ }
4019
+ let obj_productRequests_item_union1 = null;
4020
+ const obj_productRequests_item_union1_error = (() => {
4021
+ if (obj_productRequests_item !== null) {
4022
+ return new TypeError('Expected "null" but received "' + typeof obj_productRequests_item + '" (at "' + path_productRequests_item + '")');
4023
+ }
4024
+ })();
4025
+ if (obj_productRequests_item_union1_error != null) {
4026
+ obj_productRequests_item_union1 = obj_productRequests_item_union1_error.message;
4027
+ }
4028
+ if (obj_productRequests_item_union0 && obj_productRequests_item_union1) {
4029
+ let message = 'Object doesn\'t match union (at "' + path_productRequests_item + '")';
4030
+ message += '\n' + obj_productRequests_item_union0.split('\n').map((line) => '\t' + line).join('\n');
4031
+ message += '\n' + obj_productRequests_item_union1.split('\n').map((line) => '\t' + line).join('\n');
4032
+ return new TypeError(message);
4033
+ }
4034
+ }
4035
+ }
3334
4036
  if (obj.section !== undefined) {
3335
4037
  const obj_section = obj.section;
3336
4038
  const path_section = path + '.section';
@@ -3362,6 +4064,34 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3362
4064
  return new TypeError(message);
3363
4065
  }
3364
4066
  }
4067
+ if (obj.targetObject !== undefined) {
4068
+ const obj_targetObject = obj.targetObject;
4069
+ const path_targetObject = path + '.targetObject';
4070
+ let obj_targetObject_union0 = null;
4071
+ const obj_targetObject_union0_error = (() => {
4072
+ if (typeof obj_targetObject !== 'string') {
4073
+ return new TypeError('Expected "string" but received "' + typeof obj_targetObject + '" (at "' + path_targetObject + '")');
4074
+ }
4075
+ })();
4076
+ if (obj_targetObject_union0_error != null) {
4077
+ obj_targetObject_union0 = obj_targetObject_union0_error.message;
4078
+ }
4079
+ let obj_targetObject_union1 = null;
4080
+ const obj_targetObject_union1_error = (() => {
4081
+ if (obj_targetObject !== null) {
4082
+ return new TypeError('Expected "null" but received "' + typeof obj_targetObject + '" (at "' + path_targetObject + '")');
4083
+ }
4084
+ })();
4085
+ if (obj_targetObject_union1_error != null) {
4086
+ obj_targetObject_union1 = obj_targetObject_union1_error.message;
4087
+ }
4088
+ if (obj_targetObject_union0 && obj_targetObject_union1) {
4089
+ let message = 'Object doesn\'t match union (at "' + path_targetObject + '")';
4090
+ message += '\n' + obj_targetObject_union0.split('\n').map((line) => '\t' + line).join('\n');
4091
+ message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
4092
+ return new TypeError(message);
4093
+ }
4094
+ }
3365
4095
  if (obj.usedFor !== undefined) {
3366
4096
  const obj_usedFor = obj.usedFor;
3367
4097
  const path_usedFor = path + '.usedFor';
@@ -3407,12 +4137,13 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
3407
4137
  return input;
3408
4138
  }
3409
4139
  const select$9 = function CatalogItemOutputRepresentationSelect() {
3410
- const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$h();
3411
- const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$g();
3412
- const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$f();
3413
- const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$e();
3414
- const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$d();
3415
- const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$c();
4140
+ const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$j();
4141
+ const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$i();
4142
+ const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$h();
4143
+ const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$g();
4144
+ const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$f();
4145
+ const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$e();
4146
+ const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$c();
3416
4147
  const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$a();
3417
4148
  return {
3418
4149
  kind: 'Fragment',
@@ -3499,6 +4230,14 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
3499
4230
  kind: 'Scalar',
3500
4231
  required: false
3501
4232
  },
4233
+ {
4234
+ name: 'productRequests',
4235
+ kind: 'Object',
4236
+ nullable: true,
4237
+ plural: true,
4238
+ selections: ProductRequestOutputRepresentation__selections,
4239
+ required: false
4240
+ },
3502
4241
  {
3503
4242
  name: 'section',
3504
4243
  kind: 'Object',
@@ -3506,6 +4245,11 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
3506
4245
  selections: SectionOutputRepresentation__selections,
3507
4246
  required: false
3508
4247
  },
4248
+ {
4249
+ name: 'targetObject',
4250
+ kind: 'Scalar',
4251
+ required: false
4252
+ },
3509
4253
  {
3510
4254
  name: 'usedFor',
3511
4255
  kind: 'Scalar',
@@ -3528,7 +4272,7 @@ function equals$3(existing, incoming) {
3528
4272
  if (!(existing_associatedArticles_item === incoming_associatedArticles_item
3529
4273
  || (existing_associatedArticles_item != null &&
3530
4274
  incoming_associatedArticles_item != null &&
3531
- equals$b(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
4275
+ equals$d(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
3532
4276
  return false;
3533
4277
  }
3534
4278
  });
@@ -3593,7 +4337,7 @@ function equals$3(existing, incoming) {
3593
4337
  if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
3594
4338
  || (existing_eligibilityRules_item != null &&
3595
4339
  incoming_eligibilityRules_item != null &&
3596
- equals$a(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
4340
+ equals$c(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
3597
4341
  return false;
3598
4342
  }
3599
4343
  });
@@ -3613,7 +4357,7 @@ function equals$3(existing, incoming) {
3613
4357
  if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
3614
4358
  || (existing_fulfillmentFlow != null &&
3615
4359
  incoming_fulfillmentFlow != null &&
3616
- equals$9(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
4360
+ equals$b(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
3617
4361
  return false;
3618
4362
  }
3619
4363
  }
@@ -3629,7 +4373,7 @@ function equals$3(existing, incoming) {
3629
4373
  if (!(existing_intakeForm === incoming_intakeForm
3630
4374
  || (existing_intakeForm != null &&
3631
4375
  incoming_intakeForm != null &&
3632
- equals$8(existing_intakeForm, incoming_intakeForm)))) {
4376
+ equals$a(existing_intakeForm, incoming_intakeForm)))) {
3633
4377
  return false;
3634
4378
  }
3635
4379
  }
@@ -3646,7 +4390,7 @@ function equals$3(existing, incoming) {
3646
4390
  if (!(existing_integrations_item === incoming_integrations_item
3647
4391
  || (existing_integrations_item != null &&
3648
4392
  incoming_integrations_item != null &&
3649
- equals$7(existing_integrations_item, incoming_integrations_item)))) {
4393
+ equals$9(existing_integrations_item, incoming_integrations_item)))) {
3650
4394
  return false;
3651
4395
  }
3652
4396
  });
@@ -3693,7 +4437,7 @@ function equals$3(existing, incoming) {
3693
4437
  if (!(existing_preProcessors_item === incoming_preProcessors_item
3694
4438
  || (existing_preProcessors_item != null &&
3695
4439
  incoming_preProcessors_item != null &&
3696
- equals$6(existing_preProcessors_item, incoming_preProcessors_item)))) {
4440
+ equals$8(existing_preProcessors_item, incoming_preProcessors_item)))) {
3697
4441
  return false;
3698
4442
  }
3699
4443
  });
@@ -3714,6 +4458,27 @@ function equals$3(existing, incoming) {
3714
4458
  return false;
3715
4459
  }
3716
4460
  }
4461
+ const existing_productRequests = existing.productRequests;
4462
+ const incoming_productRequests = incoming.productRequests;
4463
+ // if at least one of these optionals is defined
4464
+ if (existing_productRequests !== undefined || incoming_productRequests !== undefined) {
4465
+ // if one of these is not defined we know the other is defined and therefore
4466
+ // not equal
4467
+ if (existing_productRequests === undefined || incoming_productRequests === undefined) {
4468
+ return false;
4469
+ }
4470
+ const equals_productRequests_items = equalsArray(existing_productRequests, incoming_productRequests, (existing_productRequests_item, incoming_productRequests_item) => {
4471
+ if (!(existing_productRequests_item === incoming_productRequests_item
4472
+ || (existing_productRequests_item != null &&
4473
+ incoming_productRequests_item != null &&
4474
+ equals$6(existing_productRequests_item, incoming_productRequests_item)))) {
4475
+ return false;
4476
+ }
4477
+ });
4478
+ if (equals_productRequests_items === false) {
4479
+ return false;
4480
+ }
4481
+ }
3717
4482
  const existing_section = existing.section;
3718
4483
  const incoming_section = incoming.section;
3719
4484
  // if at least one of these optionals is defined
@@ -3730,6 +4495,19 @@ function equals$3(existing, incoming) {
3730
4495
  return false;
3731
4496
  }
3732
4497
  }
4498
+ const existing_targetObject = existing.targetObject;
4499
+ const incoming_targetObject = incoming.targetObject;
4500
+ // if at least one of these optionals is defined
4501
+ if (existing_targetObject !== undefined || incoming_targetObject !== undefined) {
4502
+ // if one of these is not defined we know the other is defined and therefore
4503
+ // not equal
4504
+ if (existing_targetObject === undefined || incoming_targetObject === undefined) {
4505
+ return false;
4506
+ }
4507
+ if (!(existing_targetObject === incoming_targetObject)) {
4508
+ return false;
4509
+ }
4510
+ }
3733
4511
  const existing_usedFor = existing.usedFor;
3734
4512
  const incoming_usedFor = incoming.usedFor;
3735
4513
  // if at least one of these optionals is defined
@@ -3818,6 +4596,8 @@ const createCatalogItem_ConfigPropertyMetadata = [
3818
4596
  generateParamConfigMetadata('isActive', false, 2 /* Body */, 4 /* Unsupported */),
3819
4597
  generateParamConfigMetadata('name', false, 2 /* Body */, 4 /* Unsupported */),
3820
4598
  generateParamConfigMetadata('preProcessors', false, 2 /* Body */, 4 /* Unsupported */, true),
4599
+ generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
4600
+ generateParamConfigMetadata('targetObject', true, 2 /* Body */, 4 /* Unsupported */),
3821
4601
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
3822
4602
  ];
3823
4603
  const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createCatalogItem_ConfigPropertyMetadata);
@@ -3829,7 +4609,7 @@ function typeCheckConfig$5(untrustedConfig) {
3829
4609
  const untrustedConfig_associatedArticles_array = [];
3830
4610
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
3831
4611
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
3832
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$m(untrustedConfig_associatedArticles_item);
4612
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
3833
4613
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
3834
4614
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
3835
4615
  }
@@ -3844,7 +4624,7 @@ function typeCheckConfig$5(untrustedConfig) {
3844
4624
  const untrustedConfig_attributes_array = [];
3845
4625
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
3846
4626
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
3847
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$l(untrustedConfig_attributes_item);
4627
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
3848
4628
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
3849
4629
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
3850
4630
  }
@@ -3880,7 +4660,7 @@ function typeCheckConfig$5(untrustedConfig) {
3880
4660
  const untrustedConfig_eligibilityRules_array = [];
3881
4661
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
3882
4662
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
3883
- const referenceEligibilityRulesInputRepresentationValidationError = validate$k(untrustedConfig_eligibilityRules_item);
4663
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
3884
4664
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
3885
4665
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
3886
4666
  }
@@ -3891,7 +4671,7 @@ function typeCheckConfig$5(untrustedConfig) {
3891
4671
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
3892
4672
  }
3893
4673
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
3894
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$j(untrustedConfig_fulfillmentFlow);
4674
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
3895
4675
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
3896
4676
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
3897
4677
  }
@@ -3899,7 +4679,7 @@ function typeCheckConfig$5(untrustedConfig) {
3899
4679
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
3900
4680
  }
3901
4681
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
3902
- const referenceIntakeFormInputRepresentationValidationError = validate$i(untrustedConfig_intakeForm);
4682
+ const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
3903
4683
  if (referenceIntakeFormInputRepresentationValidationError === null) {
3904
4684
  config.intakeForm = untrustedConfig_intakeForm;
3905
4685
  }
@@ -3911,7 +4691,7 @@ function typeCheckConfig$5(untrustedConfig) {
3911
4691
  const untrustedConfig_integrations_array = [];
3912
4692
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
3913
4693
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
3914
- const referenceIntegrationDefInputRepresentationValidationError = validate$h(untrustedConfig_integrations_item);
4694
+ const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
3915
4695
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
3916
4696
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
3917
4697
  }
@@ -3940,7 +4720,7 @@ function typeCheckConfig$5(untrustedConfig) {
3940
4720
  const untrustedConfig_preProcessors_array = [];
3941
4721
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
3942
4722
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
3943
- const referencePreprocessorInputRepresentationValidationError = validate$g(untrustedConfig_preProcessors_item);
4723
+ const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
3944
4724
  if (referencePreprocessorInputRepresentationValidationError === null) {
3945
4725
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
3946
4726
  }
@@ -3950,6 +4730,28 @@ function typeCheckConfig$5(untrustedConfig) {
3950
4730
  }
3951
4731
  config.preProcessors = untrustedConfig_preProcessors_array;
3952
4732
  }
4733
+ const untrustedConfig_productRequests = untrustedConfig.productRequests;
4734
+ if (ArrayIsArray$1(untrustedConfig_productRequests)) {
4735
+ const untrustedConfig_productRequests_array = [];
4736
+ for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
4737
+ const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
4738
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
4739
+ if (referenceProductRequestCreateInputRepresentationValidationError === null) {
4740
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
4741
+ }
4742
+ if (untrustedConfig_productRequests_item === null) {
4743
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
4744
+ }
4745
+ }
4746
+ config.productRequests = untrustedConfig_productRequests_array;
4747
+ }
4748
+ const untrustedConfig_targetObject = untrustedConfig.targetObject;
4749
+ if (typeof untrustedConfig_targetObject === 'string') {
4750
+ config.targetObject = untrustedConfig_targetObject;
4751
+ }
4752
+ if (untrustedConfig_targetObject === null) {
4753
+ config.targetObject = untrustedConfig_targetObject;
4754
+ }
3953
4755
  const untrustedConfig_usedFor = untrustedConfig.usedFor;
3954
4756
  if (typeof untrustedConfig_usedFor === 'string') {
3955
4757
  config.usedFor = untrustedConfig_usedFor;
@@ -4732,6 +5534,8 @@ const updateCatalogItem_ConfigPropertyMetadata = [
4732
5534
  generateParamConfigMetadata('isActive', false, 2 /* Body */, 4 /* Unsupported */),
4733
5535
  generateParamConfigMetadata('name', false, 2 /* Body */, 4 /* Unsupported */),
4734
5536
  generateParamConfigMetadata('preProcessors', false, 2 /* Body */, 4 /* Unsupported */, true),
5537
+ generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
5538
+ generateParamConfigMetadata('targetObject', false, 2 /* Body */, 4 /* Unsupported */),
4735
5539
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
4736
5540
  ];
4737
5541
  const updateCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateCatalogItem_ConfigPropertyMetadata);
@@ -4751,7 +5555,7 @@ function typeCheckConfig$1(untrustedConfig) {
4751
5555
  const untrustedConfig_associatedArticles_array = [];
4752
5556
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
4753
5557
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
4754
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$m(untrustedConfig_associatedArticles_item);
5558
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
4755
5559
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
4756
5560
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
4757
5561
  }
@@ -4766,7 +5570,7 @@ function typeCheckConfig$1(untrustedConfig) {
4766
5570
  const untrustedConfig_attributes_array = [];
4767
5571
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
4768
5572
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
4769
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$l(untrustedConfig_attributes_item);
5573
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
4770
5574
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
4771
5575
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
4772
5576
  }
@@ -4802,7 +5606,7 @@ function typeCheckConfig$1(untrustedConfig) {
4802
5606
  const untrustedConfig_eligibilityRules_array = [];
4803
5607
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
4804
5608
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
4805
- const referenceEligibilityRulesInputRepresentationValidationError = validate$k(untrustedConfig_eligibilityRules_item);
5609
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
4806
5610
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
4807
5611
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
4808
5612
  }
@@ -4813,7 +5617,7 @@ function typeCheckConfig$1(untrustedConfig) {
4813
5617
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
4814
5618
  }
4815
5619
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
4816
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$j(untrustedConfig_fulfillmentFlow);
5620
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
4817
5621
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
4818
5622
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4819
5623
  }
@@ -4821,7 +5625,7 @@ function typeCheckConfig$1(untrustedConfig) {
4821
5625
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4822
5626
  }
4823
5627
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
4824
- const referenceIntakeFormInputRepresentationValidationError = validate$i(untrustedConfig_intakeForm);
5628
+ const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
4825
5629
  if (referenceIntakeFormInputRepresentationValidationError === null) {
4826
5630
  config.intakeForm = untrustedConfig_intakeForm;
4827
5631
  }
@@ -4833,7 +5637,7 @@ function typeCheckConfig$1(untrustedConfig) {
4833
5637
  const untrustedConfig_integrations_array = [];
4834
5638
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
4835
5639
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
4836
- const referenceIntegrationDefInputRepresentationValidationError = validate$h(untrustedConfig_integrations_item);
5640
+ const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
4837
5641
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
4838
5642
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
4839
5643
  }
@@ -4862,7 +5666,7 @@ function typeCheckConfig$1(untrustedConfig) {
4862
5666
  const untrustedConfig_preProcessors_array = [];
4863
5667
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
4864
5668
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
4865
- const referencePreprocessorInputRepresentationValidationError = validate$g(untrustedConfig_preProcessors_item);
5669
+ const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
4866
5670
  if (referencePreprocessorInputRepresentationValidationError === null) {
4867
5671
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
4868
5672
  }
@@ -4872,6 +5676,28 @@ function typeCheckConfig$1(untrustedConfig) {
4872
5676
  }
4873
5677
  config.preProcessors = untrustedConfig_preProcessors_array;
4874
5678
  }
5679
+ const untrustedConfig_productRequests = untrustedConfig.productRequests;
5680
+ if (ArrayIsArray$1(untrustedConfig_productRequests)) {
5681
+ const untrustedConfig_productRequests_array = [];
5682
+ for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
5683
+ const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
5684
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
5685
+ if (referenceProductRequestCreateInputRepresentationValidationError === null) {
5686
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5687
+ }
5688
+ if (untrustedConfig_productRequests_item === null) {
5689
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5690
+ }
5691
+ }
5692
+ config.productRequests = untrustedConfig_productRequests_array;
5693
+ }
5694
+ const untrustedConfig_targetObject = untrustedConfig.targetObject;
5695
+ if (typeof untrustedConfig_targetObject === 'string') {
5696
+ config.targetObject = untrustedConfig_targetObject;
5697
+ }
5698
+ if (untrustedConfig_targetObject === null) {
5699
+ config.targetObject = untrustedConfig_targetObject;
5700
+ }
4875
5701
  const untrustedConfig_usedFor = untrustedConfig.usedFor;
4876
5702
  if (typeof untrustedConfig_usedFor === 'string') {
4877
5703
  config.usedFor = untrustedConfig_usedFor;
@@ -5206,4 +6032,4 @@ withDefaultLuvio((luvio) => {
5206
6032
  });
5207
6033
 
5208
6034
  export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
5209
- // version: 1.342.0-f478af8b93
6035
+ // version: 1.343.0-823df4356c