@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
@@ -93,7 +93,7 @@ function createLink(ref) {
93
93
  };
94
94
  }
95
95
 
96
- function validate$m(obj, path = 'KnowledgeArticleInputRepresentation') {
96
+ function validate$p(obj, path = 'KnowledgeArticleInputRepresentation') {
97
97
  const v_error = (() => {
98
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
99
99
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -186,7 +186,7 @@ function validate$m(obj, path = 'KnowledgeArticleInputRepresentation') {
186
186
  return v_error === undefined ? null : v_error;
187
187
  }
188
188
 
189
- function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
189
+ function validate$o(obj, path = 'CatalogItemAttributeInputRepresentation') {
190
190
  const v_error = (() => {
191
191
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
192
192
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -559,7 +559,7 @@ function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
559
559
  return v_error === undefined ? null : v_error;
560
560
  }
561
561
 
562
- function validate$k(obj, path = 'EligibilityRulesInputRepresentation') {
562
+ function validate$n(obj, path = 'EligibilityRulesInputRepresentation') {
563
563
  const v_error = (() => {
564
564
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
565
565
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -624,7 +624,7 @@ function validate$k(obj, path = 'EligibilityRulesInputRepresentation') {
624
624
  return v_error === undefined ? null : v_error;
625
625
  }
626
626
 
627
- function validate$j(obj, path = 'FulfillmentFlowInputRepresentation') {
627
+ function validate$m(obj, path = 'FulfillmentFlowInputRepresentation') {
628
628
  const v_error = (() => {
629
629
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
630
630
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -745,7 +745,7 @@ function validate$j(obj, path = 'FulfillmentFlowInputRepresentation') {
745
745
  return v_error === undefined ? null : v_error;
746
746
  }
747
747
 
748
- function validate$i(obj, path = 'IntakeFormInputRepresentation') {
748
+ function validate$l(obj, path = 'IntakeFormInputRepresentation') {
749
749
  const v_error = (() => {
750
750
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
751
751
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -866,7 +866,7 @@ function validate$i(obj, path = 'IntakeFormInputRepresentation') {
866
866
  return v_error === undefined ? null : v_error;
867
867
  }
868
868
 
869
- function validate$h(obj, path = 'IntegrationDefInputRepresentation') {
869
+ function validate$k(obj, path = 'IntegrationDefInputRepresentation') {
870
870
  const v_error = (() => {
871
871
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
872
872
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -959,7 +959,7 @@ function validate$h(obj, path = 'IntegrationDefInputRepresentation') {
959
959
  return v_error === undefined ? null : v_error;
960
960
  }
961
961
 
962
- function validate$g(obj, path = 'PreprocessorInputRepresentation') {
962
+ function validate$j(obj, path = 'PreprocessorInputRepresentation') {
963
963
  const v_error = (() => {
964
964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
965
965
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1052,8 +1052,171 @@ function validate$g(obj, path = 'PreprocessorInputRepresentation') {
1052
1052
  return v_error === undefined ? null : v_error;
1053
1053
  }
1054
1054
 
1055
- const VERSION$b = "0b2080174fe6d4ee4f4a0de27011fc7d";
1056
- function validate$f(obj, path = 'AssociatedArticleOutputRepresentation') {
1055
+ function validate$i(obj, path = 'ProductRequestCreateInputRepresentation') {
1056
+ const v_error = (() => {
1057
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1058
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1059
+ }
1060
+ if (obj.productDetails !== undefined) {
1061
+ const obj_productDetails = obj.productDetails;
1062
+ const path_productDetails = path + '.productDetails';
1063
+ if (!ArrayIsArray(obj_productDetails)) {
1064
+ return new TypeError('Expected "array" but received "' + typeof obj_productDetails + '" (at "' + path_productDetails + '")');
1065
+ }
1066
+ for (let i = 0; i < obj_productDetails.length; i++) {
1067
+ const obj_productDetails_item = obj_productDetails[i];
1068
+ const path_productDetails_item = path_productDetails + '[' + i + ']';
1069
+ if (obj_productDetails_item === undefined) {
1070
+ return new TypeError('Expected "defined" but received "' + typeof obj_productDetails_item + '" (at "' + path_productDetails_item + '")');
1071
+ }
1072
+ }
1073
+ }
1074
+ if (obj.sectionDescription !== undefined) {
1075
+ const obj_sectionDescription = obj.sectionDescription;
1076
+ const path_sectionDescription = path + '.sectionDescription';
1077
+ let obj_sectionDescription_union0 = null;
1078
+ const obj_sectionDescription_union0_error = (() => {
1079
+ if (typeof obj_sectionDescription !== 'string') {
1080
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
1081
+ }
1082
+ })();
1083
+ if (obj_sectionDescription_union0_error != null) {
1084
+ obj_sectionDescription_union0 = obj_sectionDescription_union0_error.message;
1085
+ }
1086
+ let obj_sectionDescription_union1 = null;
1087
+ const obj_sectionDescription_union1_error = (() => {
1088
+ if (obj_sectionDescription !== null) {
1089
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
1090
+ }
1091
+ })();
1092
+ if (obj_sectionDescription_union1_error != null) {
1093
+ obj_sectionDescription_union1 = obj_sectionDescription_union1_error.message;
1094
+ }
1095
+ if (obj_sectionDescription_union0 && obj_sectionDescription_union1) {
1096
+ let message = 'Object doesn\'t match union (at "' + path_sectionDescription + '")';
1097
+ message += '\n' + obj_sectionDescription_union0.split('\n').map((line) => '\t' + line).join('\n');
1098
+ message += '\n' + obj_sectionDescription_union1.split('\n').map((line) => '\t' + line).join('\n');
1099
+ return new TypeError(message);
1100
+ }
1101
+ }
1102
+ if (obj.sectionMaxCount !== undefined) {
1103
+ const obj_sectionMaxCount = obj.sectionMaxCount;
1104
+ const path_sectionMaxCount = path + '.sectionMaxCount';
1105
+ let obj_sectionMaxCount_union0 = null;
1106
+ const obj_sectionMaxCount_union0_error = (() => {
1107
+ if (typeof obj_sectionMaxCount !== 'number' || (typeof obj_sectionMaxCount === 'number' && Math.floor(obj_sectionMaxCount) !== obj_sectionMaxCount)) {
1108
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
1109
+ }
1110
+ })();
1111
+ if (obj_sectionMaxCount_union0_error != null) {
1112
+ obj_sectionMaxCount_union0 = obj_sectionMaxCount_union0_error.message;
1113
+ }
1114
+ let obj_sectionMaxCount_union1 = null;
1115
+ const obj_sectionMaxCount_union1_error = (() => {
1116
+ if (obj_sectionMaxCount !== null) {
1117
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
1118
+ }
1119
+ })();
1120
+ if (obj_sectionMaxCount_union1_error != null) {
1121
+ obj_sectionMaxCount_union1 = obj_sectionMaxCount_union1_error.message;
1122
+ }
1123
+ if (obj_sectionMaxCount_union0 && obj_sectionMaxCount_union1) {
1124
+ let message = 'Object doesn\'t match union (at "' + path_sectionMaxCount + '")';
1125
+ message += '\n' + obj_sectionMaxCount_union0.split('\n').map((line) => '\t' + line).join('\n');
1126
+ message += '\n' + obj_sectionMaxCount_union1.split('\n').map((line) => '\t' + line).join('\n');
1127
+ return new TypeError(message);
1128
+ }
1129
+ }
1130
+ if (obj.sectionMinCount !== undefined) {
1131
+ const obj_sectionMinCount = obj.sectionMinCount;
1132
+ const path_sectionMinCount = path + '.sectionMinCount';
1133
+ let obj_sectionMinCount_union0 = null;
1134
+ const obj_sectionMinCount_union0_error = (() => {
1135
+ if (typeof obj_sectionMinCount !== 'number' || (typeof obj_sectionMinCount === 'number' && Math.floor(obj_sectionMinCount) !== obj_sectionMinCount)) {
1136
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
1137
+ }
1138
+ })();
1139
+ if (obj_sectionMinCount_union0_error != null) {
1140
+ obj_sectionMinCount_union0 = obj_sectionMinCount_union0_error.message;
1141
+ }
1142
+ let obj_sectionMinCount_union1 = null;
1143
+ const obj_sectionMinCount_union1_error = (() => {
1144
+ if (obj_sectionMinCount !== null) {
1145
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
1146
+ }
1147
+ })();
1148
+ if (obj_sectionMinCount_union1_error != null) {
1149
+ obj_sectionMinCount_union1 = obj_sectionMinCount_union1_error.message;
1150
+ }
1151
+ if (obj_sectionMinCount_union0 && obj_sectionMinCount_union1) {
1152
+ let message = 'Object doesn\'t match union (at "' + path_sectionMinCount + '")';
1153
+ message += '\n' + obj_sectionMinCount_union0.split('\n').map((line) => '\t' + line).join('\n');
1154
+ message += '\n' + obj_sectionMinCount_union1.split('\n').map((line) => '\t' + line).join('\n');
1155
+ return new TypeError(message);
1156
+ }
1157
+ }
1158
+ if (obj.sectionName !== undefined) {
1159
+ const obj_sectionName = obj.sectionName;
1160
+ const path_sectionName = path + '.sectionName';
1161
+ let obj_sectionName_union0 = null;
1162
+ const obj_sectionName_union0_error = (() => {
1163
+ if (typeof obj_sectionName !== 'string') {
1164
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
1165
+ }
1166
+ })();
1167
+ if (obj_sectionName_union0_error != null) {
1168
+ obj_sectionName_union0 = obj_sectionName_union0_error.message;
1169
+ }
1170
+ let obj_sectionName_union1 = null;
1171
+ const obj_sectionName_union1_error = (() => {
1172
+ if (obj_sectionName !== null) {
1173
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
1174
+ }
1175
+ })();
1176
+ if (obj_sectionName_union1_error != null) {
1177
+ obj_sectionName_union1 = obj_sectionName_union1_error.message;
1178
+ }
1179
+ if (obj_sectionName_union0 && obj_sectionName_union1) {
1180
+ let message = 'Object doesn\'t match union (at "' + path_sectionName + '")';
1181
+ message += '\n' + obj_sectionName_union0.split('\n').map((line) => '\t' + line).join('\n');
1182
+ message += '\n' + obj_sectionName_union1.split('\n').map((line) => '\t' + line).join('\n');
1183
+ return new TypeError(message);
1184
+ }
1185
+ }
1186
+ if (obj.sequence !== undefined) {
1187
+ const obj_sequence = obj.sequence;
1188
+ const path_sequence = path + '.sequence';
1189
+ let obj_sequence_union0 = null;
1190
+ const obj_sequence_union0_error = (() => {
1191
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
1192
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
1193
+ }
1194
+ })();
1195
+ if (obj_sequence_union0_error != null) {
1196
+ obj_sequence_union0 = obj_sequence_union0_error.message;
1197
+ }
1198
+ let obj_sequence_union1 = null;
1199
+ const obj_sequence_union1_error = (() => {
1200
+ if (obj_sequence !== null) {
1201
+ return new TypeError('Expected "null" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
1202
+ }
1203
+ })();
1204
+ if (obj_sequence_union1_error != null) {
1205
+ obj_sequence_union1 = obj_sequence_union1_error.message;
1206
+ }
1207
+ if (obj_sequence_union0 && obj_sequence_union1) {
1208
+ let message = 'Object doesn\'t match union (at "' + path_sequence + '")';
1209
+ message += '\n' + obj_sequence_union0.split('\n').map((line) => '\t' + line).join('\n');
1210
+ message += '\n' + obj_sequence_union1.split('\n').map((line) => '\t' + line).join('\n');
1211
+ return new TypeError(message);
1212
+ }
1213
+ }
1214
+ })();
1215
+ return v_error === undefined ? null : v_error;
1216
+ }
1217
+
1218
+ const VERSION$d = "0b2080174fe6d4ee4f4a0de27011fc7d";
1219
+ function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
1057
1220
  const v_error = (() => {
1058
1221
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1059
1222
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1117,10 +1280,10 @@ function validate$f(obj, path = 'AssociatedArticleOutputRepresentation') {
1117
1280
  })();
1118
1281
  return v_error === undefined ? null : v_error;
1119
1282
  }
1120
- const select$h = function AssociatedArticleOutputRepresentationSelect() {
1283
+ const select$j = function AssociatedArticleOutputRepresentationSelect() {
1121
1284
  return {
1122
1285
  kind: 'Fragment',
1123
- version: VERSION$b,
1286
+ version: VERSION$d,
1124
1287
  private: [],
1125
1288
  selections: [
1126
1289
  {
@@ -1136,7 +1299,7 @@ const select$h = function AssociatedArticleOutputRepresentationSelect() {
1136
1299
  ]
1137
1300
  };
1138
1301
  };
1139
- function equals$b(existing, incoming) {
1302
+ function equals$d(existing, incoming) {
1140
1303
  const existing_id = existing.id;
1141
1304
  const incoming_id = incoming.id;
1142
1305
  // if at least one of these optionals is defined
@@ -1166,8 +1329,8 @@ function equals$b(existing, incoming) {
1166
1329
  return true;
1167
1330
  }
1168
1331
 
1169
- const VERSION$a = "6859d872ce6d03f8f07819eb40c43fe6";
1170
- function validate$e(obj, path = 'EligibilityRuleOutputRepresentation') {
1332
+ const VERSION$c = "6859d872ce6d03f8f07819eb40c43fe6";
1333
+ function validate$g(obj, path = 'EligibilityRuleOutputRepresentation') {
1171
1334
  const v_error = (() => {
1172
1335
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1173
1336
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1231,10 +1394,10 @@ function validate$e(obj, path = 'EligibilityRuleOutputRepresentation') {
1231
1394
  })();
1232
1395
  return v_error === undefined ? null : v_error;
1233
1396
  }
1234
- const select$g = function EligibilityRuleOutputRepresentationSelect() {
1397
+ const select$i = function EligibilityRuleOutputRepresentationSelect() {
1235
1398
  return {
1236
1399
  kind: 'Fragment',
1237
- version: VERSION$a,
1400
+ version: VERSION$c,
1238
1401
  private: [],
1239
1402
  selections: [
1240
1403
  {
@@ -1250,7 +1413,7 @@ const select$g = function EligibilityRuleOutputRepresentationSelect() {
1250
1413
  ]
1251
1414
  };
1252
1415
  };
1253
- function equals$a(existing, incoming) {
1416
+ function equals$c(existing, incoming) {
1254
1417
  const existing_eligibilityRuleId = existing.eligibilityRuleId;
1255
1418
  const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
1256
1419
  // if at least one of these optionals is defined
@@ -1280,8 +1443,8 @@ function equals$a(existing, incoming) {
1280
1443
  return true;
1281
1444
  }
1282
1445
 
1283
- const VERSION$9 = "b5216beece7c04763cff6924e6953f93";
1284
- function validate$d(obj, path = 'FulfillmentFlowOutputRepresentation') {
1446
+ const VERSION$b = "b5216beece7c04763cff6924e6953f93";
1447
+ function validate$f(obj, path = 'FulfillmentFlowOutputRepresentation') {
1285
1448
  const v_error = (() => {
1286
1449
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1287
1450
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1373,10 +1536,10 @@ function validate$d(obj, path = 'FulfillmentFlowOutputRepresentation') {
1373
1536
  })();
1374
1537
  return v_error === undefined ? null : v_error;
1375
1538
  }
1376
- const select$f = function FulfillmentFlowOutputRepresentationSelect() {
1539
+ const select$h = function FulfillmentFlowOutputRepresentationSelect() {
1377
1540
  return {
1378
1541
  kind: 'Fragment',
1379
- version: VERSION$9,
1542
+ version: VERSION$b,
1380
1543
  private: [],
1381
1544
  selections: [
1382
1545
  {
@@ -1397,7 +1560,7 @@ const select$f = function FulfillmentFlowOutputRepresentationSelect() {
1397
1560
  ]
1398
1561
  };
1399
1562
  };
1400
- function equals$9(existing, incoming) {
1563
+ function equals$b(existing, incoming) {
1401
1564
  const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
1402
1565
  const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
1403
1566
  // if at least one of these optionals is defined
@@ -1440,8 +1603,8 @@ function equals$9(existing, incoming) {
1440
1603
  return true;
1441
1604
  }
1442
1605
 
1443
- const VERSION$8 = "dc8ba723ca754951db42f9d0e6891a06";
1444
- function validate$c(obj, path = 'IntakeFormOutputRepresentation') {
1606
+ const VERSION$a = "dc8ba723ca754951db42f9d0e6891a06";
1607
+ function validate$e(obj, path = 'IntakeFormOutputRepresentation') {
1445
1608
  const v_error = (() => {
1446
1609
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1447
1610
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1673,10 +1836,10 @@ function validate$c(obj, path = 'IntakeFormOutputRepresentation') {
1673
1836
  })();
1674
1837
  return v_error === undefined ? null : v_error;
1675
1838
  }
1676
- const select$e = function IntakeFormOutputRepresentationSelect() {
1839
+ const select$g = function IntakeFormOutputRepresentationSelect() {
1677
1840
  return {
1678
1841
  kind: 'Fragment',
1679
- version: VERSION$8,
1842
+ version: VERSION$a,
1680
1843
  private: [],
1681
1844
  selections: [
1682
1845
  {
@@ -1722,7 +1885,7 @@ const select$e = function IntakeFormOutputRepresentationSelect() {
1722
1885
  ]
1723
1886
  };
1724
1887
  };
1725
- function equals$8(existing, incoming) {
1888
+ function equals$a(existing, incoming) {
1726
1889
  const existing_id = existing.id;
1727
1890
  const incoming_id = incoming.id;
1728
1891
  // if at least one of these optionals is defined
@@ -1830,8 +1993,8 @@ function equals$8(existing, incoming) {
1830
1993
  return true;
1831
1994
  }
1832
1995
 
1833
- const VERSION$7 = "1006a153c933b8bc4b1d44663893e206";
1834
- function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
1996
+ const VERSION$9 = "1006a153c933b8bc4b1d44663893e206";
1997
+ function validate$d(obj, path = 'IntegrationDefinitionOutputPresentation') {
1835
1998
  const v_error = (() => {
1836
1999
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1837
2000
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1895,10 +2058,10 @@ function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
1895
2058
  })();
1896
2059
  return v_error === undefined ? null : v_error;
1897
2060
  }
1898
- const select$d = function IntegrationDefinitionOutputPresentationSelect() {
2061
+ const select$f = function IntegrationDefinitionOutputPresentationSelect() {
1899
2062
  return {
1900
2063
  kind: 'Fragment',
1901
- version: VERSION$7,
2064
+ version: VERSION$9,
1902
2065
  private: [],
1903
2066
  selections: [
1904
2067
  {
@@ -1914,7 +2077,7 @@ const select$d = function IntegrationDefinitionOutputPresentationSelect() {
1914
2077
  ]
1915
2078
  };
1916
2079
  };
1917
- function equals$7(existing, incoming) {
2080
+ function equals$9(existing, incoming) {
1918
2081
  const existing_id = existing.id;
1919
2082
  const incoming_id = incoming.id;
1920
2083
  // if at least one of these optionals is defined
@@ -1944,8 +2107,8 @@ function equals$7(existing, incoming) {
1944
2107
  return true;
1945
2108
  }
1946
2109
 
1947
- const VERSION$6 = "2d685b1e467eb8d61276e834ea3b74a3";
1948
- function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
2110
+ const VERSION$8 = "2d685b1e467eb8d61276e834ea3b74a3";
2111
+ function validate$c(obj, path = 'PreprocessorOutputRepresentation') {
1949
2112
  const v_error = (() => {
1950
2113
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1951
2114
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2009,10 +2172,10 @@ function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
2009
2172
  })();
2010
2173
  return v_error === undefined ? null : v_error;
2011
2174
  }
2012
- const select$c = function PreprocessorOutputRepresentationSelect() {
2175
+ const select$e = function PreprocessorOutputRepresentationSelect() {
2013
2176
  return {
2014
2177
  kind: 'Fragment',
2015
- version: VERSION$6,
2178
+ version: VERSION$8,
2016
2179
  private: [],
2017
2180
  selections: [
2018
2181
  {
@@ -2028,7 +2191,7 @@ const select$c = function PreprocessorOutputRepresentationSelect() {
2028
2191
  ]
2029
2192
  };
2030
2193
  };
2031
- function equals$6(existing, incoming) {
2194
+ function equals$8(existing, incoming) {
2032
2195
  const existing_id = existing.id;
2033
2196
  const incoming_id = incoming.id;
2034
2197
  // if at least one of these optionals is defined
@@ -2058,6 +2221,461 @@ function equals$6(existing, incoming) {
2058
2221
  return true;
2059
2222
  }
2060
2223
 
2224
+ const VERSION$7 = "237440975156389e5479f294d3d601de";
2225
+ function validate$b(obj, path = 'ProductDetailsOutputRepresentation') {
2226
+ const v_error = (() => {
2227
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2228
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2229
+ }
2230
+ if (obj.id !== undefined) {
2231
+ const obj_id = obj.id;
2232
+ const path_id = path + '.id';
2233
+ let obj_id_union0 = null;
2234
+ const obj_id_union0_error = (() => {
2235
+ if (typeof obj_id !== 'string') {
2236
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2237
+ }
2238
+ })();
2239
+ if (obj_id_union0_error != null) {
2240
+ obj_id_union0 = obj_id_union0_error.message;
2241
+ }
2242
+ let obj_id_union1 = null;
2243
+ const obj_id_union1_error = (() => {
2244
+ if (obj_id !== null) {
2245
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2246
+ }
2247
+ })();
2248
+ if (obj_id_union1_error != null) {
2249
+ obj_id_union1 = obj_id_union1_error.message;
2250
+ }
2251
+ if (obj_id_union0 && obj_id_union1) {
2252
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
2253
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
2254
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
2255
+ return new TypeError(message);
2256
+ }
2257
+ }
2258
+ if (obj.productId !== undefined) {
2259
+ const obj_productId = obj.productId;
2260
+ const path_productId = path + '.productId';
2261
+ let obj_productId_union0 = null;
2262
+ const obj_productId_union0_error = (() => {
2263
+ if (typeof obj_productId !== 'string') {
2264
+ return new TypeError('Expected "string" but received "' + typeof obj_productId + '" (at "' + path_productId + '")');
2265
+ }
2266
+ })();
2267
+ if (obj_productId_union0_error != null) {
2268
+ obj_productId_union0 = obj_productId_union0_error.message;
2269
+ }
2270
+ let obj_productId_union1 = null;
2271
+ const obj_productId_union1_error = (() => {
2272
+ if (obj_productId !== null) {
2273
+ return new TypeError('Expected "null" but received "' + typeof obj_productId + '" (at "' + path_productId + '")');
2274
+ }
2275
+ })();
2276
+ if (obj_productId_union1_error != null) {
2277
+ obj_productId_union1 = obj_productId_union1_error.message;
2278
+ }
2279
+ if (obj_productId_union0 && obj_productId_union1) {
2280
+ let message = 'Object doesn\'t match union (at "' + path_productId + '")';
2281
+ message += '\n' + obj_productId_union0.split('\n').map((line) => '\t' + line).join('\n');
2282
+ message += '\n' + obj_productId_union1.split('\n').map((line) => '\t' + line).join('\n');
2283
+ return new TypeError(message);
2284
+ }
2285
+ }
2286
+ })();
2287
+ return v_error === undefined ? null : v_error;
2288
+ }
2289
+ const select$d = function ProductDetailsOutputRepresentationSelect() {
2290
+ return {
2291
+ kind: 'Fragment',
2292
+ version: VERSION$7,
2293
+ private: [],
2294
+ selections: [
2295
+ {
2296
+ name: 'id',
2297
+ kind: 'Scalar',
2298
+ required: false
2299
+ },
2300
+ {
2301
+ name: 'productId',
2302
+ kind: 'Scalar',
2303
+ required: false
2304
+ }
2305
+ ]
2306
+ };
2307
+ };
2308
+ function equals$7(existing, incoming) {
2309
+ const existing_id = existing.id;
2310
+ const incoming_id = incoming.id;
2311
+ // if at least one of these optionals is defined
2312
+ if (existing_id !== undefined || incoming_id !== undefined) {
2313
+ // if one of these is not defined we know the other is defined and therefore
2314
+ // not equal
2315
+ if (existing_id === undefined || incoming_id === undefined) {
2316
+ return false;
2317
+ }
2318
+ if (!(existing_id === incoming_id)) {
2319
+ return false;
2320
+ }
2321
+ }
2322
+ const existing_productId = existing.productId;
2323
+ const incoming_productId = incoming.productId;
2324
+ // if at least one of these optionals is defined
2325
+ if (existing_productId !== undefined || incoming_productId !== undefined) {
2326
+ // if one of these is not defined we know the other is defined and therefore
2327
+ // not equal
2328
+ if (existing_productId === undefined || incoming_productId === undefined) {
2329
+ return false;
2330
+ }
2331
+ if (!(existing_productId === incoming_productId)) {
2332
+ return false;
2333
+ }
2334
+ }
2335
+ return true;
2336
+ }
2337
+
2338
+ const VERSION$6 = "dc18ee4b99b0510d2c89ddf9261ea1e7";
2339
+ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
2340
+ const v_error = (() => {
2341
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2342
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2343
+ }
2344
+ if (obj.productDetails !== undefined) {
2345
+ const obj_productDetails = obj.productDetails;
2346
+ const path_productDetails = path + '.productDetails';
2347
+ if (!ArrayIsArray(obj_productDetails)) {
2348
+ return new TypeError('Expected "array" but received "' + typeof obj_productDetails + '" (at "' + path_productDetails + '")');
2349
+ }
2350
+ for (let i = 0; i < obj_productDetails.length; i++) {
2351
+ const obj_productDetails_item = obj_productDetails[i];
2352
+ const path_productDetails_item = path_productDetails + '[' + i + ']';
2353
+ const referencepath_productDetails_itemValidationError = validate$b(obj_productDetails_item, path_productDetails_item);
2354
+ if (referencepath_productDetails_itemValidationError !== null) {
2355
+ let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
2356
+ message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2357
+ return new TypeError(message);
2358
+ }
2359
+ }
2360
+ }
2361
+ if (obj.sectionDescription !== undefined) {
2362
+ const obj_sectionDescription = obj.sectionDescription;
2363
+ const path_sectionDescription = path + '.sectionDescription';
2364
+ let obj_sectionDescription_union0 = null;
2365
+ const obj_sectionDescription_union0_error = (() => {
2366
+ if (typeof obj_sectionDescription !== 'string') {
2367
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
2368
+ }
2369
+ })();
2370
+ if (obj_sectionDescription_union0_error != null) {
2371
+ obj_sectionDescription_union0 = obj_sectionDescription_union0_error.message;
2372
+ }
2373
+ let obj_sectionDescription_union1 = null;
2374
+ const obj_sectionDescription_union1_error = (() => {
2375
+ if (obj_sectionDescription !== null) {
2376
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionDescription + '" (at "' + path_sectionDescription + '")');
2377
+ }
2378
+ })();
2379
+ if (obj_sectionDescription_union1_error != null) {
2380
+ obj_sectionDescription_union1 = obj_sectionDescription_union1_error.message;
2381
+ }
2382
+ if (obj_sectionDescription_union0 && obj_sectionDescription_union1) {
2383
+ let message = 'Object doesn\'t match union (at "' + path_sectionDescription + '")';
2384
+ message += '\n' + obj_sectionDescription_union0.split('\n').map((line) => '\t' + line).join('\n');
2385
+ message += '\n' + obj_sectionDescription_union1.split('\n').map((line) => '\t' + line).join('\n');
2386
+ return new TypeError(message);
2387
+ }
2388
+ }
2389
+ if (obj.sectionId !== undefined) {
2390
+ const obj_sectionId = obj.sectionId;
2391
+ const path_sectionId = path + '.sectionId';
2392
+ let obj_sectionId_union0 = null;
2393
+ const obj_sectionId_union0_error = (() => {
2394
+ if (typeof obj_sectionId !== 'string') {
2395
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionId + '" (at "' + path_sectionId + '")');
2396
+ }
2397
+ })();
2398
+ if (obj_sectionId_union0_error != null) {
2399
+ obj_sectionId_union0 = obj_sectionId_union0_error.message;
2400
+ }
2401
+ let obj_sectionId_union1 = null;
2402
+ const obj_sectionId_union1_error = (() => {
2403
+ if (obj_sectionId !== null) {
2404
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionId + '" (at "' + path_sectionId + '")');
2405
+ }
2406
+ })();
2407
+ if (obj_sectionId_union1_error != null) {
2408
+ obj_sectionId_union1 = obj_sectionId_union1_error.message;
2409
+ }
2410
+ if (obj_sectionId_union0 && obj_sectionId_union1) {
2411
+ let message = 'Object doesn\'t match union (at "' + path_sectionId + '")';
2412
+ message += '\n' + obj_sectionId_union0.split('\n').map((line) => '\t' + line).join('\n');
2413
+ message += '\n' + obj_sectionId_union1.split('\n').map((line) => '\t' + line).join('\n');
2414
+ return new TypeError(message);
2415
+ }
2416
+ }
2417
+ if (obj.sectionMaxCount !== undefined) {
2418
+ const obj_sectionMaxCount = obj.sectionMaxCount;
2419
+ const path_sectionMaxCount = path + '.sectionMaxCount';
2420
+ let obj_sectionMaxCount_union0 = null;
2421
+ const obj_sectionMaxCount_union0_error = (() => {
2422
+ if (typeof obj_sectionMaxCount !== 'number' || (typeof obj_sectionMaxCount === 'number' && Math.floor(obj_sectionMaxCount) !== obj_sectionMaxCount)) {
2423
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
2424
+ }
2425
+ })();
2426
+ if (obj_sectionMaxCount_union0_error != null) {
2427
+ obj_sectionMaxCount_union0 = obj_sectionMaxCount_union0_error.message;
2428
+ }
2429
+ let obj_sectionMaxCount_union1 = null;
2430
+ const obj_sectionMaxCount_union1_error = (() => {
2431
+ if (obj_sectionMaxCount !== null) {
2432
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMaxCount + '" (at "' + path_sectionMaxCount + '")');
2433
+ }
2434
+ })();
2435
+ if (obj_sectionMaxCount_union1_error != null) {
2436
+ obj_sectionMaxCount_union1 = obj_sectionMaxCount_union1_error.message;
2437
+ }
2438
+ if (obj_sectionMaxCount_union0 && obj_sectionMaxCount_union1) {
2439
+ let message = 'Object doesn\'t match union (at "' + path_sectionMaxCount + '")';
2440
+ message += '\n' + obj_sectionMaxCount_union0.split('\n').map((line) => '\t' + line).join('\n');
2441
+ message += '\n' + obj_sectionMaxCount_union1.split('\n').map((line) => '\t' + line).join('\n');
2442
+ return new TypeError(message);
2443
+ }
2444
+ }
2445
+ if (obj.sectionMinCount !== undefined) {
2446
+ const obj_sectionMinCount = obj.sectionMinCount;
2447
+ const path_sectionMinCount = path + '.sectionMinCount';
2448
+ let obj_sectionMinCount_union0 = null;
2449
+ const obj_sectionMinCount_union0_error = (() => {
2450
+ if (typeof obj_sectionMinCount !== 'number' || (typeof obj_sectionMinCount === 'number' && Math.floor(obj_sectionMinCount) !== obj_sectionMinCount)) {
2451
+ return new TypeError('Expected "integer" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
2452
+ }
2453
+ })();
2454
+ if (obj_sectionMinCount_union0_error != null) {
2455
+ obj_sectionMinCount_union0 = obj_sectionMinCount_union0_error.message;
2456
+ }
2457
+ let obj_sectionMinCount_union1 = null;
2458
+ const obj_sectionMinCount_union1_error = (() => {
2459
+ if (obj_sectionMinCount !== null) {
2460
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionMinCount + '" (at "' + path_sectionMinCount + '")');
2461
+ }
2462
+ })();
2463
+ if (obj_sectionMinCount_union1_error != null) {
2464
+ obj_sectionMinCount_union1 = obj_sectionMinCount_union1_error.message;
2465
+ }
2466
+ if (obj_sectionMinCount_union0 && obj_sectionMinCount_union1) {
2467
+ let message = 'Object doesn\'t match union (at "' + path_sectionMinCount + '")';
2468
+ message += '\n' + obj_sectionMinCount_union0.split('\n').map((line) => '\t' + line).join('\n');
2469
+ message += '\n' + obj_sectionMinCount_union1.split('\n').map((line) => '\t' + line).join('\n');
2470
+ return new TypeError(message);
2471
+ }
2472
+ }
2473
+ if (obj.sectionName !== undefined) {
2474
+ const obj_sectionName = obj.sectionName;
2475
+ const path_sectionName = path + '.sectionName';
2476
+ let obj_sectionName_union0 = null;
2477
+ const obj_sectionName_union0_error = (() => {
2478
+ if (typeof obj_sectionName !== 'string') {
2479
+ return new TypeError('Expected "string" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
2480
+ }
2481
+ })();
2482
+ if (obj_sectionName_union0_error != null) {
2483
+ obj_sectionName_union0 = obj_sectionName_union0_error.message;
2484
+ }
2485
+ let obj_sectionName_union1 = null;
2486
+ const obj_sectionName_union1_error = (() => {
2487
+ if (obj_sectionName !== null) {
2488
+ return new TypeError('Expected "null" but received "' + typeof obj_sectionName + '" (at "' + path_sectionName + '")');
2489
+ }
2490
+ })();
2491
+ if (obj_sectionName_union1_error != null) {
2492
+ obj_sectionName_union1 = obj_sectionName_union1_error.message;
2493
+ }
2494
+ if (obj_sectionName_union0 && obj_sectionName_union1) {
2495
+ let message = 'Object doesn\'t match union (at "' + path_sectionName + '")';
2496
+ message += '\n' + obj_sectionName_union0.split('\n').map((line) => '\t' + line).join('\n');
2497
+ message += '\n' + obj_sectionName_union1.split('\n').map((line) => '\t' + line).join('\n');
2498
+ return new TypeError(message);
2499
+ }
2500
+ }
2501
+ if (obj.sequence !== undefined) {
2502
+ const obj_sequence = obj.sequence;
2503
+ const path_sequence = path + '.sequence';
2504
+ let obj_sequence_union0 = null;
2505
+ const obj_sequence_union0_error = (() => {
2506
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
2507
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
2508
+ }
2509
+ })();
2510
+ if (obj_sequence_union0_error != null) {
2511
+ obj_sequence_union0 = obj_sequence_union0_error.message;
2512
+ }
2513
+ let obj_sequence_union1 = null;
2514
+ const obj_sequence_union1_error = (() => {
2515
+ if (obj_sequence !== null) {
2516
+ return new TypeError('Expected "null" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
2517
+ }
2518
+ })();
2519
+ if (obj_sequence_union1_error != null) {
2520
+ obj_sequence_union1 = obj_sequence_union1_error.message;
2521
+ }
2522
+ if (obj_sequence_union0 && obj_sequence_union1) {
2523
+ let message = 'Object doesn\'t match union (at "' + path_sequence + '")';
2524
+ message += '\n' + obj_sequence_union0.split('\n').map((line) => '\t' + line).join('\n');
2525
+ message += '\n' + obj_sequence_union1.split('\n').map((line) => '\t' + line).join('\n');
2526
+ return new TypeError(message);
2527
+ }
2528
+ }
2529
+ })();
2530
+ return v_error === undefined ? null : v_error;
2531
+ }
2532
+ const select$c = function ProductRequestOutputRepresentationSelect() {
2533
+ const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$d();
2534
+ return {
2535
+ kind: 'Fragment',
2536
+ version: VERSION$6,
2537
+ private: [],
2538
+ selections: [
2539
+ {
2540
+ name: 'productDetails',
2541
+ kind: 'Object',
2542
+ plural: true,
2543
+ selections: ProductDetailsOutputRepresentation__selections,
2544
+ required: false
2545
+ },
2546
+ {
2547
+ name: 'sectionDescription',
2548
+ kind: 'Scalar',
2549
+ required: false
2550
+ },
2551
+ {
2552
+ name: 'sectionId',
2553
+ kind: 'Scalar',
2554
+ required: false
2555
+ },
2556
+ {
2557
+ name: 'sectionMaxCount',
2558
+ kind: 'Scalar',
2559
+ required: false
2560
+ },
2561
+ {
2562
+ name: 'sectionMinCount',
2563
+ kind: 'Scalar',
2564
+ required: false
2565
+ },
2566
+ {
2567
+ name: 'sectionName',
2568
+ kind: 'Scalar',
2569
+ required: false
2570
+ },
2571
+ {
2572
+ name: 'sequence',
2573
+ kind: 'Scalar',
2574
+ required: false
2575
+ }
2576
+ ]
2577
+ };
2578
+ };
2579
+ function equals$6(existing, incoming) {
2580
+ const existing_productDetails = existing.productDetails;
2581
+ const incoming_productDetails = incoming.productDetails;
2582
+ // if at least one of these optionals is defined
2583
+ if (existing_productDetails !== undefined || incoming_productDetails !== undefined) {
2584
+ // if one of these is not defined we know the other is defined and therefore
2585
+ // not equal
2586
+ if (existing_productDetails === undefined || incoming_productDetails === undefined) {
2587
+ return false;
2588
+ }
2589
+ const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
2590
+ if (!(equals$7(existing_productDetails_item, incoming_productDetails_item))) {
2591
+ return false;
2592
+ }
2593
+ });
2594
+ if (equals_productDetails_items === false) {
2595
+ return false;
2596
+ }
2597
+ }
2598
+ const existing_sectionDescription = existing.sectionDescription;
2599
+ const incoming_sectionDescription = incoming.sectionDescription;
2600
+ // if at least one of these optionals is defined
2601
+ if (existing_sectionDescription !== undefined || incoming_sectionDescription !== undefined) {
2602
+ // if one of these is not defined we know the other is defined and therefore
2603
+ // not equal
2604
+ if (existing_sectionDescription === undefined || incoming_sectionDescription === undefined) {
2605
+ return false;
2606
+ }
2607
+ if (!(existing_sectionDescription === incoming_sectionDescription)) {
2608
+ return false;
2609
+ }
2610
+ }
2611
+ const existing_sectionId = existing.sectionId;
2612
+ const incoming_sectionId = incoming.sectionId;
2613
+ // if at least one of these optionals is defined
2614
+ if (existing_sectionId !== undefined || incoming_sectionId !== undefined) {
2615
+ // if one of these is not defined we know the other is defined and therefore
2616
+ // not equal
2617
+ if (existing_sectionId === undefined || incoming_sectionId === undefined) {
2618
+ return false;
2619
+ }
2620
+ if (!(existing_sectionId === incoming_sectionId)) {
2621
+ return false;
2622
+ }
2623
+ }
2624
+ const existing_sectionMaxCount = existing.sectionMaxCount;
2625
+ const incoming_sectionMaxCount = incoming.sectionMaxCount;
2626
+ // if at least one of these optionals is defined
2627
+ if (existing_sectionMaxCount !== undefined || incoming_sectionMaxCount !== undefined) {
2628
+ // if one of these is not defined we know the other is defined and therefore
2629
+ // not equal
2630
+ if (existing_sectionMaxCount === undefined || incoming_sectionMaxCount === undefined) {
2631
+ return false;
2632
+ }
2633
+ if (!(existing_sectionMaxCount === incoming_sectionMaxCount)) {
2634
+ return false;
2635
+ }
2636
+ }
2637
+ const existing_sectionMinCount = existing.sectionMinCount;
2638
+ const incoming_sectionMinCount = incoming.sectionMinCount;
2639
+ // if at least one of these optionals is defined
2640
+ if (existing_sectionMinCount !== undefined || incoming_sectionMinCount !== undefined) {
2641
+ // if one of these is not defined we know the other is defined and therefore
2642
+ // not equal
2643
+ if (existing_sectionMinCount === undefined || incoming_sectionMinCount === undefined) {
2644
+ return false;
2645
+ }
2646
+ if (!(existing_sectionMinCount === incoming_sectionMinCount)) {
2647
+ return false;
2648
+ }
2649
+ }
2650
+ const existing_sectionName = existing.sectionName;
2651
+ const incoming_sectionName = incoming.sectionName;
2652
+ // if at least one of these optionals is defined
2653
+ if (existing_sectionName !== undefined || incoming_sectionName !== undefined) {
2654
+ // if one of these is not defined we know the other is defined and therefore
2655
+ // not equal
2656
+ if (existing_sectionName === undefined || incoming_sectionName === undefined) {
2657
+ return false;
2658
+ }
2659
+ if (!(existing_sectionName === incoming_sectionName)) {
2660
+ return false;
2661
+ }
2662
+ }
2663
+ const existing_sequence = existing.sequence;
2664
+ const incoming_sequence = incoming.sequence;
2665
+ // if at least one of these optionals is defined
2666
+ if (existing_sequence !== undefined || incoming_sequence !== undefined) {
2667
+ // if one of these is not defined we know the other is defined and therefore
2668
+ // not equal
2669
+ if (existing_sequence === undefined || incoming_sequence === undefined) {
2670
+ return false;
2671
+ }
2672
+ if (!(existing_sequence === incoming_sequence)) {
2673
+ return false;
2674
+ }
2675
+ }
2676
+ return true;
2677
+ }
2678
+
2061
2679
  const VERSION$5 = "3cd028b0271b2b713a35bff16169d246";
2062
2680
  function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
2063
2681
  const v_error = (() => {
@@ -2724,7 +3342,7 @@ function equals$5(existing, incoming) {
2724
3342
  return true;
2725
3343
  }
2726
3344
 
2727
- const VERSION$4 = "565c268d87174a64724649689f92d403";
3345
+ const VERSION$4 = "f3d73b2bf4e29668882933f95c798ea8";
2728
3346
  function validate$8(obj, path = 'SectionOutputRepresentation') {
2729
3347
  const v_error = (() => {
2730
3348
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2796,6 +3414,34 @@ function validate$8(obj, path = 'SectionOutputRepresentation') {
2796
3414
  return new TypeError(message);
2797
3415
  }
2798
3416
  }
3417
+ if (obj.id !== undefined) {
3418
+ const obj_id = obj.id;
3419
+ const path_id = path + '.id';
3420
+ let obj_id_union0 = null;
3421
+ const obj_id_union0_error = (() => {
3422
+ if (typeof obj_id !== 'string') {
3423
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3424
+ }
3425
+ })();
3426
+ if (obj_id_union0_error != null) {
3427
+ obj_id_union0 = obj_id_union0_error.message;
3428
+ }
3429
+ let obj_id_union1 = null;
3430
+ const obj_id_union1_error = (() => {
3431
+ if (obj_id !== null) {
3432
+ return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3433
+ }
3434
+ })();
3435
+ if (obj_id_union1_error != null) {
3436
+ obj_id_union1 = obj_id_union1_error.message;
3437
+ }
3438
+ if (obj_id_union0 && obj_id_union1) {
3439
+ let message = 'Object doesn\'t match union (at "' + path_id + '")';
3440
+ message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
3441
+ message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
3442
+ return new TypeError(message);
3443
+ }
3444
+ }
2799
3445
  if (obj.name !== undefined) {
2800
3446
  const obj_name = obj.name;
2801
3447
  const path_name = path + '.name';
@@ -2847,6 +3493,11 @@ const select$a = function SectionOutputRepresentationSelect() {
2847
3493
  kind: 'Scalar',
2848
3494
  required: false
2849
3495
  },
3496
+ {
3497
+ name: 'id',
3498
+ kind: 'Scalar',
3499
+ required: false
3500
+ },
2850
3501
  {
2851
3502
  name: 'name',
2852
3503
  kind: 'Scalar',
@@ -2890,6 +3541,19 @@ function equals$4(existing, incoming) {
2890
3541
  return false;
2891
3542
  }
2892
3543
  }
3544
+ const existing_id = existing.id;
3545
+ const incoming_id = incoming.id;
3546
+ // if at least one of these optionals is defined
3547
+ if (existing_id !== undefined || incoming_id !== undefined) {
3548
+ // if one of these is not defined we know the other is defined and therefore
3549
+ // not equal
3550
+ if (existing_id === undefined || incoming_id === undefined) {
3551
+ return false;
3552
+ }
3553
+ if (!(existing_id === incoming_id)) {
3554
+ return false;
3555
+ }
3556
+ }
2893
3557
  const existing_name = existing.name;
2894
3558
  const incoming_name = incoming.name;
2895
3559
  // if at least one of these optionals is defined
@@ -2907,7 +3571,7 @@ function equals$4(existing, incoming) {
2907
3571
  }
2908
3572
 
2909
3573
  const TTL$3 = 6000;
2910
- const VERSION$3 = "91c1f80fbd4a4186dfe055728a447aa8";
3574
+ const VERSION$3 = "ee62476ce2bfdf8efe1a4acdb6b957f3";
2911
3575
  function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
2912
3576
  const v_error = (() => {
2913
3577
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2924,7 +3588,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
2924
3588
  const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
2925
3589
  let obj_associatedArticles_item_union0 = null;
2926
3590
  const obj_associatedArticles_item_union0_error = (() => {
2927
- const referencepath_associatedArticles_itemValidationError = validate$f(obj_associatedArticles_item, path_associatedArticles_item);
3591
+ const referencepath_associatedArticles_itemValidationError = validate$h(obj_associatedArticles_item, path_associatedArticles_item);
2928
3592
  if (referencepath_associatedArticles_itemValidationError !== null) {
2929
3593
  let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
2930
3594
  message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3072,7 +3736,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3072
3736
  const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
3073
3737
  let obj_eligibilityRules_item_union0 = null;
3074
3738
  const obj_eligibilityRules_item_union0_error = (() => {
3075
- const referencepath_eligibilityRules_itemValidationError = validate$e(obj_eligibilityRules_item, path_eligibilityRules_item);
3739
+ const referencepath_eligibilityRules_itemValidationError = validate$g(obj_eligibilityRules_item, path_eligibilityRules_item);
3076
3740
  if (referencepath_eligibilityRules_itemValidationError !== null) {
3077
3741
  let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
3078
3742
  message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3104,7 +3768,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3104
3768
  const path_fulfillmentFlow = path + '.fulfillmentFlow';
3105
3769
  let obj_fulfillmentFlow_union0 = null;
3106
3770
  const obj_fulfillmentFlow_union0_error = (() => {
3107
- const referencepath_fulfillmentFlowValidationError = validate$d(obj_fulfillmentFlow, path_fulfillmentFlow);
3771
+ const referencepath_fulfillmentFlowValidationError = validate$f(obj_fulfillmentFlow, path_fulfillmentFlow);
3108
3772
  if (referencepath_fulfillmentFlowValidationError !== null) {
3109
3773
  let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
3110
3774
  message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3135,7 +3799,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3135
3799
  const path_intakeForm = path + '.intakeForm';
3136
3800
  let obj_intakeForm_union0 = null;
3137
3801
  const obj_intakeForm_union0_error = (() => {
3138
- const referencepath_intakeFormValidationError = validate$c(obj_intakeForm, path_intakeForm);
3802
+ const referencepath_intakeFormValidationError = validate$e(obj_intakeForm, path_intakeForm);
3139
3803
  if (referencepath_intakeFormValidationError !== null) {
3140
3804
  let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
3141
3805
  message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3172,7 +3836,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3172
3836
  const path_integrations_item = path_integrations + '[' + i + ']';
3173
3837
  let obj_integrations_item_union0 = null;
3174
3838
  const obj_integrations_item_union0_error = (() => {
3175
- const referencepath_integrations_itemValidationError = validate$b(obj_integrations_item, path_integrations_item);
3839
+ const referencepath_integrations_itemValidationError = validate$d(obj_integrations_item, path_integrations_item);
3176
3840
  if (referencepath_integrations_itemValidationError !== null) {
3177
3841
  let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
3178
3842
  message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3266,7 +3930,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3266
3930
  const path_preProcessors_item = path_preProcessors + '[' + i + ']';
3267
3931
  let obj_preProcessors_item_union0 = null;
3268
3932
  const obj_preProcessors_item_union0_error = (() => {
3269
- const referencepath_preProcessors_itemValidationError = validate$a(obj_preProcessors_item, path_preProcessors_item);
3933
+ const referencepath_preProcessors_itemValidationError = validate$c(obj_preProcessors_item, path_preProcessors_item);
3270
3934
  if (referencepath_preProcessors_itemValidationError !== null) {
3271
3935
  let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
3272
3936
  message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3321,6 +3985,44 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3321
3985
  return new TypeError(message);
3322
3986
  }
3323
3987
  }
3988
+ if (obj.productRequests !== undefined) {
3989
+ const obj_productRequests = obj.productRequests;
3990
+ const path_productRequests = path + '.productRequests';
3991
+ if (!ArrayIsArray(obj_productRequests)) {
3992
+ return new TypeError('Expected "array" but received "' + typeof obj_productRequests + '" (at "' + path_productRequests + '")');
3993
+ }
3994
+ for (let i = 0; i < obj_productRequests.length; i++) {
3995
+ const obj_productRequests_item = obj_productRequests[i];
3996
+ const path_productRequests_item = path_productRequests + '[' + i + ']';
3997
+ let obj_productRequests_item_union0 = null;
3998
+ const obj_productRequests_item_union0_error = (() => {
3999
+ const referencepath_productRequests_itemValidationError = validate$a(obj_productRequests_item, path_productRequests_item);
4000
+ if (referencepath_productRequests_itemValidationError !== null) {
4001
+ let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
4002
+ message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4003
+ return new TypeError(message);
4004
+ }
4005
+ })();
4006
+ if (obj_productRequests_item_union0_error != null) {
4007
+ obj_productRequests_item_union0 = obj_productRequests_item_union0_error.message;
4008
+ }
4009
+ let obj_productRequests_item_union1 = null;
4010
+ const obj_productRequests_item_union1_error = (() => {
4011
+ if (obj_productRequests_item !== null) {
4012
+ return new TypeError('Expected "null" but received "' + typeof obj_productRequests_item + '" (at "' + path_productRequests_item + '")');
4013
+ }
4014
+ })();
4015
+ if (obj_productRequests_item_union1_error != null) {
4016
+ obj_productRequests_item_union1 = obj_productRequests_item_union1_error.message;
4017
+ }
4018
+ if (obj_productRequests_item_union0 && obj_productRequests_item_union1) {
4019
+ let message = 'Object doesn\'t match union (at "' + path_productRequests_item + '")';
4020
+ message += '\n' + obj_productRequests_item_union0.split('\n').map((line) => '\t' + line).join('\n');
4021
+ message += '\n' + obj_productRequests_item_union1.split('\n').map((line) => '\t' + line).join('\n');
4022
+ return new TypeError(message);
4023
+ }
4024
+ }
4025
+ }
3324
4026
  if (obj.section !== undefined) {
3325
4027
  const obj_section = obj.section;
3326
4028
  const path_section = path + '.section';
@@ -3352,6 +4054,34 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
3352
4054
  return new TypeError(message);
3353
4055
  }
3354
4056
  }
4057
+ if (obj.targetObject !== undefined) {
4058
+ const obj_targetObject = obj.targetObject;
4059
+ const path_targetObject = path + '.targetObject';
4060
+ let obj_targetObject_union0 = null;
4061
+ const obj_targetObject_union0_error = (() => {
4062
+ if (typeof obj_targetObject !== 'string') {
4063
+ return new TypeError('Expected "string" but received "' + typeof obj_targetObject + '" (at "' + path_targetObject + '")');
4064
+ }
4065
+ })();
4066
+ if (obj_targetObject_union0_error != null) {
4067
+ obj_targetObject_union0 = obj_targetObject_union0_error.message;
4068
+ }
4069
+ let obj_targetObject_union1 = null;
4070
+ const obj_targetObject_union1_error = (() => {
4071
+ if (obj_targetObject !== null) {
4072
+ return new TypeError('Expected "null" but received "' + typeof obj_targetObject + '" (at "' + path_targetObject + '")');
4073
+ }
4074
+ })();
4075
+ if (obj_targetObject_union1_error != null) {
4076
+ obj_targetObject_union1 = obj_targetObject_union1_error.message;
4077
+ }
4078
+ if (obj_targetObject_union0 && obj_targetObject_union1) {
4079
+ let message = 'Object doesn\'t match union (at "' + path_targetObject + '")';
4080
+ message += '\n' + obj_targetObject_union0.split('\n').map((line) => '\t' + line).join('\n');
4081
+ message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
4082
+ return new TypeError(message);
4083
+ }
4084
+ }
3355
4085
  if (obj.usedFor !== undefined) {
3356
4086
  const obj_usedFor = obj.usedFor;
3357
4087
  const path_usedFor = path + '.usedFor';
@@ -3397,12 +4127,13 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
3397
4127
  return input;
3398
4128
  }
3399
4129
  const select$9 = function CatalogItemOutputRepresentationSelect() {
3400
- const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$h();
3401
- const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$g();
3402
- const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$f();
3403
- const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$e();
3404
- const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$d();
3405
- const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$c();
4130
+ const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$j();
4131
+ const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$i();
4132
+ const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$h();
4133
+ const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$g();
4134
+ const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$f();
4135
+ const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$e();
4136
+ const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$c();
3406
4137
  const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$a();
3407
4138
  return {
3408
4139
  kind: 'Fragment',
@@ -3489,6 +4220,14 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
3489
4220
  kind: 'Scalar',
3490
4221
  required: false
3491
4222
  },
4223
+ {
4224
+ name: 'productRequests',
4225
+ kind: 'Object',
4226
+ nullable: true,
4227
+ plural: true,
4228
+ selections: ProductRequestOutputRepresentation__selections,
4229
+ required: false
4230
+ },
3492
4231
  {
3493
4232
  name: 'section',
3494
4233
  kind: 'Object',
@@ -3496,6 +4235,11 @@ const select$9 = function CatalogItemOutputRepresentationSelect() {
3496
4235
  selections: SectionOutputRepresentation__selections,
3497
4236
  required: false
3498
4237
  },
4238
+ {
4239
+ name: 'targetObject',
4240
+ kind: 'Scalar',
4241
+ required: false
4242
+ },
3499
4243
  {
3500
4244
  name: 'usedFor',
3501
4245
  kind: 'Scalar',
@@ -3518,7 +4262,7 @@ function equals$3(existing, incoming) {
3518
4262
  if (!(existing_associatedArticles_item === incoming_associatedArticles_item
3519
4263
  || (existing_associatedArticles_item != null &&
3520
4264
  incoming_associatedArticles_item != null &&
3521
- equals$b(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
4265
+ equals$d(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
3522
4266
  return false;
3523
4267
  }
3524
4268
  });
@@ -3583,7 +4327,7 @@ function equals$3(existing, incoming) {
3583
4327
  if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
3584
4328
  || (existing_eligibilityRules_item != null &&
3585
4329
  incoming_eligibilityRules_item != null &&
3586
- equals$a(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
4330
+ equals$c(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
3587
4331
  return false;
3588
4332
  }
3589
4333
  });
@@ -3603,7 +4347,7 @@ function equals$3(existing, incoming) {
3603
4347
  if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
3604
4348
  || (existing_fulfillmentFlow != null &&
3605
4349
  incoming_fulfillmentFlow != null &&
3606
- equals$9(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
4350
+ equals$b(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
3607
4351
  return false;
3608
4352
  }
3609
4353
  }
@@ -3619,7 +4363,7 @@ function equals$3(existing, incoming) {
3619
4363
  if (!(existing_intakeForm === incoming_intakeForm
3620
4364
  || (existing_intakeForm != null &&
3621
4365
  incoming_intakeForm != null &&
3622
- equals$8(existing_intakeForm, incoming_intakeForm)))) {
4366
+ equals$a(existing_intakeForm, incoming_intakeForm)))) {
3623
4367
  return false;
3624
4368
  }
3625
4369
  }
@@ -3636,7 +4380,7 @@ function equals$3(existing, incoming) {
3636
4380
  if (!(existing_integrations_item === incoming_integrations_item
3637
4381
  || (existing_integrations_item != null &&
3638
4382
  incoming_integrations_item != null &&
3639
- equals$7(existing_integrations_item, incoming_integrations_item)))) {
4383
+ equals$9(existing_integrations_item, incoming_integrations_item)))) {
3640
4384
  return false;
3641
4385
  }
3642
4386
  });
@@ -3683,7 +4427,7 @@ function equals$3(existing, incoming) {
3683
4427
  if (!(existing_preProcessors_item === incoming_preProcessors_item
3684
4428
  || (existing_preProcessors_item != null &&
3685
4429
  incoming_preProcessors_item != null &&
3686
- equals$6(existing_preProcessors_item, incoming_preProcessors_item)))) {
4430
+ equals$8(existing_preProcessors_item, incoming_preProcessors_item)))) {
3687
4431
  return false;
3688
4432
  }
3689
4433
  });
@@ -3704,6 +4448,27 @@ function equals$3(existing, incoming) {
3704
4448
  return false;
3705
4449
  }
3706
4450
  }
4451
+ const existing_productRequests = existing.productRequests;
4452
+ const incoming_productRequests = incoming.productRequests;
4453
+ // if at least one of these optionals is defined
4454
+ if (existing_productRequests !== undefined || incoming_productRequests !== undefined) {
4455
+ // if one of these is not defined we know the other is defined and therefore
4456
+ // not equal
4457
+ if (existing_productRequests === undefined || incoming_productRequests === undefined) {
4458
+ return false;
4459
+ }
4460
+ const equals_productRequests_items = equalsArray(existing_productRequests, incoming_productRequests, (existing_productRequests_item, incoming_productRequests_item) => {
4461
+ if (!(existing_productRequests_item === incoming_productRequests_item
4462
+ || (existing_productRequests_item != null &&
4463
+ incoming_productRequests_item != null &&
4464
+ equals$6(existing_productRequests_item, incoming_productRequests_item)))) {
4465
+ return false;
4466
+ }
4467
+ });
4468
+ if (equals_productRequests_items === false) {
4469
+ return false;
4470
+ }
4471
+ }
3707
4472
  const existing_section = existing.section;
3708
4473
  const incoming_section = incoming.section;
3709
4474
  // if at least one of these optionals is defined
@@ -3720,6 +4485,19 @@ function equals$3(existing, incoming) {
3720
4485
  return false;
3721
4486
  }
3722
4487
  }
4488
+ const existing_targetObject = existing.targetObject;
4489
+ const incoming_targetObject = incoming.targetObject;
4490
+ // if at least one of these optionals is defined
4491
+ if (existing_targetObject !== undefined || incoming_targetObject !== undefined) {
4492
+ // if one of these is not defined we know the other is defined and therefore
4493
+ // not equal
4494
+ if (existing_targetObject === undefined || incoming_targetObject === undefined) {
4495
+ return false;
4496
+ }
4497
+ if (!(existing_targetObject === incoming_targetObject)) {
4498
+ return false;
4499
+ }
4500
+ }
3723
4501
  const existing_usedFor = existing.usedFor;
3724
4502
  const incoming_usedFor = incoming.usedFor;
3725
4503
  // if at least one of these optionals is defined
@@ -3808,6 +4586,8 @@ const createCatalogItem_ConfigPropertyMetadata = [
3808
4586
  generateParamConfigMetadata('isActive', false, 2 /* Body */, 4 /* Unsupported */),
3809
4587
  generateParamConfigMetadata('name', false, 2 /* Body */, 4 /* Unsupported */),
3810
4588
  generateParamConfigMetadata('preProcessors', false, 2 /* Body */, 4 /* Unsupported */, true),
4589
+ generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
4590
+ generateParamConfigMetadata('targetObject', true, 2 /* Body */, 4 /* Unsupported */),
3811
4591
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
3812
4592
  ];
3813
4593
  const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createCatalogItem_ConfigPropertyMetadata);
@@ -3819,7 +4599,7 @@ function typeCheckConfig$5(untrustedConfig) {
3819
4599
  const untrustedConfig_associatedArticles_array = [];
3820
4600
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
3821
4601
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
3822
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$m(untrustedConfig_associatedArticles_item);
4602
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
3823
4603
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
3824
4604
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
3825
4605
  }
@@ -3834,7 +4614,7 @@ function typeCheckConfig$5(untrustedConfig) {
3834
4614
  const untrustedConfig_attributes_array = [];
3835
4615
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
3836
4616
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
3837
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$l(untrustedConfig_attributes_item);
4617
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
3838
4618
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
3839
4619
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
3840
4620
  }
@@ -3870,7 +4650,7 @@ function typeCheckConfig$5(untrustedConfig) {
3870
4650
  const untrustedConfig_eligibilityRules_array = [];
3871
4651
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
3872
4652
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
3873
- const referenceEligibilityRulesInputRepresentationValidationError = validate$k(untrustedConfig_eligibilityRules_item);
4653
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
3874
4654
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
3875
4655
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
3876
4656
  }
@@ -3881,7 +4661,7 @@ function typeCheckConfig$5(untrustedConfig) {
3881
4661
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
3882
4662
  }
3883
4663
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
3884
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$j(untrustedConfig_fulfillmentFlow);
4664
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
3885
4665
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
3886
4666
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
3887
4667
  }
@@ -3889,7 +4669,7 @@ function typeCheckConfig$5(untrustedConfig) {
3889
4669
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
3890
4670
  }
3891
4671
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
3892
- const referenceIntakeFormInputRepresentationValidationError = validate$i(untrustedConfig_intakeForm);
4672
+ const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
3893
4673
  if (referenceIntakeFormInputRepresentationValidationError === null) {
3894
4674
  config.intakeForm = untrustedConfig_intakeForm;
3895
4675
  }
@@ -3901,7 +4681,7 @@ function typeCheckConfig$5(untrustedConfig) {
3901
4681
  const untrustedConfig_integrations_array = [];
3902
4682
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
3903
4683
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
3904
- const referenceIntegrationDefInputRepresentationValidationError = validate$h(untrustedConfig_integrations_item);
4684
+ const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
3905
4685
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
3906
4686
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
3907
4687
  }
@@ -3930,7 +4710,7 @@ function typeCheckConfig$5(untrustedConfig) {
3930
4710
  const untrustedConfig_preProcessors_array = [];
3931
4711
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
3932
4712
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
3933
- const referencePreprocessorInputRepresentationValidationError = validate$g(untrustedConfig_preProcessors_item);
4713
+ const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
3934
4714
  if (referencePreprocessorInputRepresentationValidationError === null) {
3935
4715
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
3936
4716
  }
@@ -3940,6 +4720,28 @@ function typeCheckConfig$5(untrustedConfig) {
3940
4720
  }
3941
4721
  config.preProcessors = untrustedConfig_preProcessors_array;
3942
4722
  }
4723
+ const untrustedConfig_productRequests = untrustedConfig.productRequests;
4724
+ if (ArrayIsArray$1(untrustedConfig_productRequests)) {
4725
+ const untrustedConfig_productRequests_array = [];
4726
+ for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
4727
+ const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
4728
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
4729
+ if (referenceProductRequestCreateInputRepresentationValidationError === null) {
4730
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
4731
+ }
4732
+ if (untrustedConfig_productRequests_item === null) {
4733
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
4734
+ }
4735
+ }
4736
+ config.productRequests = untrustedConfig_productRequests_array;
4737
+ }
4738
+ const untrustedConfig_targetObject = untrustedConfig.targetObject;
4739
+ if (typeof untrustedConfig_targetObject === 'string') {
4740
+ config.targetObject = untrustedConfig_targetObject;
4741
+ }
4742
+ if (untrustedConfig_targetObject === null) {
4743
+ config.targetObject = untrustedConfig_targetObject;
4744
+ }
3943
4745
  const untrustedConfig_usedFor = untrustedConfig.usedFor;
3944
4746
  if (typeof untrustedConfig_usedFor === 'string') {
3945
4747
  config.usedFor = untrustedConfig_usedFor;
@@ -4184,6 +4986,8 @@ const updateCatalogItem_ConfigPropertyMetadata = [
4184
4986
  generateParamConfigMetadata('isActive', false, 2 /* Body */, 4 /* Unsupported */),
4185
4987
  generateParamConfigMetadata('name', false, 2 /* Body */, 4 /* Unsupported */),
4186
4988
  generateParamConfigMetadata('preProcessors', false, 2 /* Body */, 4 /* Unsupported */, true),
4989
+ generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
4990
+ generateParamConfigMetadata('targetObject', false, 2 /* Body */, 4 /* Unsupported */),
4187
4991
  generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
4188
4992
  ];
4189
4993
  const updateCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updateCatalogItem_ConfigPropertyMetadata);
@@ -4203,7 +5007,7 @@ function typeCheckConfig$3(untrustedConfig) {
4203
5007
  const untrustedConfig_associatedArticles_array = [];
4204
5008
  for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
4205
5009
  const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
4206
- const referenceKnowledgeArticleInputRepresentationValidationError = validate$m(untrustedConfig_associatedArticles_item);
5010
+ const referenceKnowledgeArticleInputRepresentationValidationError = validate$p(untrustedConfig_associatedArticles_item);
4207
5011
  if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
4208
5012
  untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
4209
5013
  }
@@ -4218,7 +5022,7 @@ function typeCheckConfig$3(untrustedConfig) {
4218
5022
  const untrustedConfig_attributes_array = [];
4219
5023
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
4220
5024
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
4221
- const referenceCatalogItemAttributeInputRepresentationValidationError = validate$l(untrustedConfig_attributes_item);
5025
+ const referenceCatalogItemAttributeInputRepresentationValidationError = validate$o(untrustedConfig_attributes_item);
4222
5026
  if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
4223
5027
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
4224
5028
  }
@@ -4254,7 +5058,7 @@ function typeCheckConfig$3(untrustedConfig) {
4254
5058
  const untrustedConfig_eligibilityRules_array = [];
4255
5059
  for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
4256
5060
  const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
4257
- const referenceEligibilityRulesInputRepresentationValidationError = validate$k(untrustedConfig_eligibilityRules_item);
5061
+ const referenceEligibilityRulesInputRepresentationValidationError = validate$n(untrustedConfig_eligibilityRules_item);
4258
5062
  if (referenceEligibilityRulesInputRepresentationValidationError === null) {
4259
5063
  untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
4260
5064
  }
@@ -4265,7 +5069,7 @@ function typeCheckConfig$3(untrustedConfig) {
4265
5069
  config.eligibilityRules = untrustedConfig_eligibilityRules_array;
4266
5070
  }
4267
5071
  const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
4268
- const referenceFulfillmentFlowInputRepresentationValidationError = validate$j(untrustedConfig_fulfillmentFlow);
5072
+ const referenceFulfillmentFlowInputRepresentationValidationError = validate$m(untrustedConfig_fulfillmentFlow);
4269
5073
  if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
4270
5074
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4271
5075
  }
@@ -4273,7 +5077,7 @@ function typeCheckConfig$3(untrustedConfig) {
4273
5077
  config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
4274
5078
  }
4275
5079
  const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
4276
- const referenceIntakeFormInputRepresentationValidationError = validate$i(untrustedConfig_intakeForm);
5080
+ const referenceIntakeFormInputRepresentationValidationError = validate$l(untrustedConfig_intakeForm);
4277
5081
  if (referenceIntakeFormInputRepresentationValidationError === null) {
4278
5082
  config.intakeForm = untrustedConfig_intakeForm;
4279
5083
  }
@@ -4285,7 +5089,7 @@ function typeCheckConfig$3(untrustedConfig) {
4285
5089
  const untrustedConfig_integrations_array = [];
4286
5090
  for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
4287
5091
  const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
4288
- const referenceIntegrationDefInputRepresentationValidationError = validate$h(untrustedConfig_integrations_item);
5092
+ const referenceIntegrationDefInputRepresentationValidationError = validate$k(untrustedConfig_integrations_item);
4289
5093
  if (referenceIntegrationDefInputRepresentationValidationError === null) {
4290
5094
  untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
4291
5095
  }
@@ -4314,7 +5118,7 @@ function typeCheckConfig$3(untrustedConfig) {
4314
5118
  const untrustedConfig_preProcessors_array = [];
4315
5119
  for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
4316
5120
  const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
4317
- const referencePreprocessorInputRepresentationValidationError = validate$g(untrustedConfig_preProcessors_item);
5121
+ const referencePreprocessorInputRepresentationValidationError = validate$j(untrustedConfig_preProcessors_item);
4318
5122
  if (referencePreprocessorInputRepresentationValidationError === null) {
4319
5123
  untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
4320
5124
  }
@@ -4324,6 +5128,28 @@ function typeCheckConfig$3(untrustedConfig) {
4324
5128
  }
4325
5129
  config.preProcessors = untrustedConfig_preProcessors_array;
4326
5130
  }
5131
+ const untrustedConfig_productRequests = untrustedConfig.productRequests;
5132
+ if (ArrayIsArray$1(untrustedConfig_productRequests)) {
5133
+ const untrustedConfig_productRequests_array = [];
5134
+ for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
5135
+ const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
5136
+ const referenceProductRequestCreateInputRepresentationValidationError = validate$i(untrustedConfig_productRequests_item);
5137
+ if (referenceProductRequestCreateInputRepresentationValidationError === null) {
5138
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5139
+ }
5140
+ if (untrustedConfig_productRequests_item === null) {
5141
+ untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
5142
+ }
5143
+ }
5144
+ config.productRequests = untrustedConfig_productRequests_array;
5145
+ }
5146
+ const untrustedConfig_targetObject = untrustedConfig.targetObject;
5147
+ if (typeof untrustedConfig_targetObject === 'string') {
5148
+ config.targetObject = untrustedConfig_targetObject;
5149
+ }
5150
+ if (untrustedConfig_targetObject === null) {
5151
+ config.targetObject = untrustedConfig_targetObject;
5152
+ }
4327
5153
  const untrustedConfig_usedFor = untrustedConfig.usedFor;
4328
5154
  if (typeof untrustedConfig_usedFor === 'string') {
4329
5155
  config.usedFor = untrustedConfig_usedFor;