@salesforce/lds-adapters-service-ecm 1.449.0 → 1.450.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/service-ecm.js +758 -114
- package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationCatalogCatalogItem.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeUpdateSettingInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeUpdateSettingOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +15 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +15 -1
- package/dist/es/es2018/types/src/generated/types/EligibilityRulesSourceObjectToFieldsMapOutputRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +796 -152
- package/src/raml/api.raml +114 -0
|
@@ -112,7 +112,7 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$Q(obj, path = 'AgentActionInputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -233,7 +233,7 @@ function validate$N(obj, path = 'AgentActionInputRepresentation') {
|
|
|
233
233
|
return v_error === undefined ? null : v_error;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
function validate$
|
|
236
|
+
function validate$P(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
237
237
|
const v_error = (() => {
|
|
238
238
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
239
239
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -326,7 +326,7 @@ function validate$M(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
|
326
326
|
return v_error === undefined ? null : v_error;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
function validate$
|
|
329
|
+
function validate$O(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
330
330
|
const v_error = (() => {
|
|
331
331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
332
332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -405,7 +405,114 @@ function validate$L(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
|
405
405
|
return v_error === undefined ? null : v_error;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
function validate$
|
|
408
|
+
function validate$N(obj, path = 'CatalogItemAttributeUpdateSettingInputRepresentation') {
|
|
409
|
+
const v_error = (() => {
|
|
410
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
411
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
412
|
+
}
|
|
413
|
+
if (obj.attributeEditableStatuses !== undefined) {
|
|
414
|
+
const obj_attributeEditableStatuses = obj.attributeEditableStatuses;
|
|
415
|
+
const path_attributeEditableStatuses = path + '.attributeEditableStatuses';
|
|
416
|
+
if (!ArrayIsArray(obj_attributeEditableStatuses)) {
|
|
417
|
+
return new TypeError('Expected "array" but received "' + typeof obj_attributeEditableStatuses + '" (at "' + path_attributeEditableStatuses + '")');
|
|
418
|
+
}
|
|
419
|
+
for (let i = 0; i < obj_attributeEditableStatuses.length; i++) {
|
|
420
|
+
const obj_attributeEditableStatuses_item = obj_attributeEditableStatuses[i];
|
|
421
|
+
const path_attributeEditableStatuses_item = path_attributeEditableStatuses + '[' + i + ']';
|
|
422
|
+
if (typeof obj_attributeEditableStatuses_item !== 'string') {
|
|
423
|
+
return new TypeError('Expected "string" but received "' + typeof obj_attributeEditableStatuses_item + '" (at "' + path_attributeEditableStatuses_item + '")');
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
if (obj.isAttributeEditable !== undefined) {
|
|
428
|
+
const obj_isAttributeEditable = obj.isAttributeEditable;
|
|
429
|
+
const path_isAttributeEditable = path + '.isAttributeEditable';
|
|
430
|
+
let obj_isAttributeEditable_union0 = null;
|
|
431
|
+
const obj_isAttributeEditable_union0_error = (() => {
|
|
432
|
+
if (typeof obj_isAttributeEditable !== 'boolean') {
|
|
433
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAttributeEditable + '" (at "' + path_isAttributeEditable + '")');
|
|
434
|
+
}
|
|
435
|
+
})();
|
|
436
|
+
if (obj_isAttributeEditable_union0_error != null) {
|
|
437
|
+
obj_isAttributeEditable_union0 = obj_isAttributeEditable_union0_error.message;
|
|
438
|
+
}
|
|
439
|
+
let obj_isAttributeEditable_union1 = null;
|
|
440
|
+
const obj_isAttributeEditable_union1_error = (() => {
|
|
441
|
+
if (obj_isAttributeEditable !== null) {
|
|
442
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isAttributeEditable + '" (at "' + path_isAttributeEditable + '")');
|
|
443
|
+
}
|
|
444
|
+
})();
|
|
445
|
+
if (obj_isAttributeEditable_union1_error != null) {
|
|
446
|
+
obj_isAttributeEditable_union1 = obj_isAttributeEditable_union1_error.message;
|
|
447
|
+
}
|
|
448
|
+
if (obj_isAttributeEditable_union0 && obj_isAttributeEditable_union1) {
|
|
449
|
+
let message = 'Object doesn\'t match union (at "' + path_isAttributeEditable + '")';
|
|
450
|
+
message += '\n' + obj_isAttributeEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
451
|
+
message += '\n' + obj_isAttributeEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
452
|
+
return new TypeError(message);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
if (obj.isFulfillerEditable !== undefined) {
|
|
456
|
+
const obj_isFulfillerEditable = obj.isFulfillerEditable;
|
|
457
|
+
const path_isFulfillerEditable = path + '.isFulfillerEditable';
|
|
458
|
+
let obj_isFulfillerEditable_union0 = null;
|
|
459
|
+
const obj_isFulfillerEditable_union0_error = (() => {
|
|
460
|
+
if (typeof obj_isFulfillerEditable !== 'boolean') {
|
|
461
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFulfillerEditable + '" (at "' + path_isFulfillerEditable + '")');
|
|
462
|
+
}
|
|
463
|
+
})();
|
|
464
|
+
if (obj_isFulfillerEditable_union0_error != null) {
|
|
465
|
+
obj_isFulfillerEditable_union0 = obj_isFulfillerEditable_union0_error.message;
|
|
466
|
+
}
|
|
467
|
+
let obj_isFulfillerEditable_union1 = null;
|
|
468
|
+
const obj_isFulfillerEditable_union1_error = (() => {
|
|
469
|
+
if (obj_isFulfillerEditable !== null) {
|
|
470
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isFulfillerEditable + '" (at "' + path_isFulfillerEditable + '")');
|
|
471
|
+
}
|
|
472
|
+
})();
|
|
473
|
+
if (obj_isFulfillerEditable_union1_error != null) {
|
|
474
|
+
obj_isFulfillerEditable_union1 = obj_isFulfillerEditable_union1_error.message;
|
|
475
|
+
}
|
|
476
|
+
if (obj_isFulfillerEditable_union0 && obj_isFulfillerEditable_union1) {
|
|
477
|
+
let message = 'Object doesn\'t match union (at "' + path_isFulfillerEditable + '")';
|
|
478
|
+
message += '\n' + obj_isFulfillerEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
479
|
+
message += '\n' + obj_isFulfillerEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
480
|
+
return new TypeError(message);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
if (obj.isRequestorEditable !== undefined) {
|
|
484
|
+
const obj_isRequestorEditable = obj.isRequestorEditable;
|
|
485
|
+
const path_isRequestorEditable = path + '.isRequestorEditable';
|
|
486
|
+
let obj_isRequestorEditable_union0 = null;
|
|
487
|
+
const obj_isRequestorEditable_union0_error = (() => {
|
|
488
|
+
if (typeof obj_isRequestorEditable !== 'boolean') {
|
|
489
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isRequestorEditable + '" (at "' + path_isRequestorEditable + '")');
|
|
490
|
+
}
|
|
491
|
+
})();
|
|
492
|
+
if (obj_isRequestorEditable_union0_error != null) {
|
|
493
|
+
obj_isRequestorEditable_union0 = obj_isRequestorEditable_union0_error.message;
|
|
494
|
+
}
|
|
495
|
+
let obj_isRequestorEditable_union1 = null;
|
|
496
|
+
const obj_isRequestorEditable_union1_error = (() => {
|
|
497
|
+
if (obj_isRequestorEditable !== null) {
|
|
498
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isRequestorEditable + '" (at "' + path_isRequestorEditable + '")');
|
|
499
|
+
}
|
|
500
|
+
})();
|
|
501
|
+
if (obj_isRequestorEditable_union1_error != null) {
|
|
502
|
+
obj_isRequestorEditable_union1 = obj_isRequestorEditable_union1_error.message;
|
|
503
|
+
}
|
|
504
|
+
if (obj_isRequestorEditable_union0 && obj_isRequestorEditable_union1) {
|
|
505
|
+
let message = 'Object doesn\'t match union (at "' + path_isRequestorEditable + '")';
|
|
506
|
+
message += '\n' + obj_isRequestorEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
507
|
+
message += '\n' + obj_isRequestorEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
508
|
+
return new TypeError(message);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
})();
|
|
512
|
+
return v_error === undefined ? null : v_error;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function validate$M(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
409
516
|
const v_error = (() => {
|
|
410
517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
411
518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -827,7 +934,7 @@ function validate$K(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
827
934
|
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
828
935
|
let obj_picklistOptions_item_union0 = null;
|
|
829
936
|
const obj_picklistOptions_item_union0_error = (() => {
|
|
830
|
-
const referencepath_picklistOptions_itemValidationError = validate$
|
|
937
|
+
const referencepath_picklistOptions_itemValidationError = validate$O(obj_picklistOptions_item, path_picklistOptions_item);
|
|
831
938
|
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
832
939
|
let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
833
940
|
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -938,11 +1045,42 @@ function validate$K(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
938
1045
|
return new TypeError(message);
|
|
939
1046
|
}
|
|
940
1047
|
}
|
|
1048
|
+
if (obj.updateSettings !== undefined) {
|
|
1049
|
+
const obj_updateSettings = obj.updateSettings;
|
|
1050
|
+
const path_updateSettings = path + '.updateSettings';
|
|
1051
|
+
let obj_updateSettings_union0 = null;
|
|
1052
|
+
const obj_updateSettings_union0_error = (() => {
|
|
1053
|
+
const referencepath_updateSettingsValidationError = validate$N(obj_updateSettings, path_updateSettings);
|
|
1054
|
+
if (referencepath_updateSettingsValidationError !== null) {
|
|
1055
|
+
let message = 'Object doesn\'t match CatalogItemAttributeUpdateSettingInputRepresentation (at "' + path_updateSettings + '")\n';
|
|
1056
|
+
message += referencepath_updateSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1057
|
+
return new TypeError(message);
|
|
1058
|
+
}
|
|
1059
|
+
})();
|
|
1060
|
+
if (obj_updateSettings_union0_error != null) {
|
|
1061
|
+
obj_updateSettings_union0 = obj_updateSettings_union0_error.message;
|
|
1062
|
+
}
|
|
1063
|
+
let obj_updateSettings_union1 = null;
|
|
1064
|
+
const obj_updateSettings_union1_error = (() => {
|
|
1065
|
+
if (obj_updateSettings !== null) {
|
|
1066
|
+
return new TypeError('Expected "null" but received "' + typeof obj_updateSettings + '" (at "' + path_updateSettings + '")');
|
|
1067
|
+
}
|
|
1068
|
+
})();
|
|
1069
|
+
if (obj_updateSettings_union1_error != null) {
|
|
1070
|
+
obj_updateSettings_union1 = obj_updateSettings_union1_error.message;
|
|
1071
|
+
}
|
|
1072
|
+
if (obj_updateSettings_union0 && obj_updateSettings_union1) {
|
|
1073
|
+
let message = 'Object doesn\'t match union (at "' + path_updateSettings + '")';
|
|
1074
|
+
message += '\n' + obj_updateSettings_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1075
|
+
message += '\n' + obj_updateSettings_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1076
|
+
return new TypeError(message);
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
941
1079
|
})();
|
|
942
1080
|
return v_error === undefined ? null : v_error;
|
|
943
1081
|
}
|
|
944
1082
|
|
|
945
|
-
function validate$
|
|
1083
|
+
function validate$L(obj, path = 'SectionInputRepresentation') {
|
|
946
1084
|
const v_error = (() => {
|
|
947
1085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
948
1086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1112,7 +1250,7 @@ function validate$J(obj, path = 'SectionInputRepresentation') {
|
|
|
1112
1250
|
return v_error === undefined ? null : v_error;
|
|
1113
1251
|
}
|
|
1114
1252
|
|
|
1115
|
-
function validate$
|
|
1253
|
+
function validate$K(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
1116
1254
|
const v_error = (() => {
|
|
1117
1255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1118
1256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1177,7 +1315,7 @@ function validate$I(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
1177
1315
|
return v_error === undefined ? null : v_error;
|
|
1178
1316
|
}
|
|
1179
1317
|
|
|
1180
|
-
function validate$
|
|
1318
|
+
function validate$J(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
1181
1319
|
const v_error = (() => {
|
|
1182
1320
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1183
1321
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1298,7 +1436,7 @@ function validate$H(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
1298
1436
|
return v_error === undefined ? null : v_error;
|
|
1299
1437
|
}
|
|
1300
1438
|
|
|
1301
|
-
function validate$
|
|
1439
|
+
function validate$I(obj, path = 'IntakeFormInputRepresentation') {
|
|
1302
1440
|
const v_error = (() => {
|
|
1303
1441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1304
1442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1419,7 +1557,7 @@ function validate$G(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
1419
1557
|
return v_error === undefined ? null : v_error;
|
|
1420
1558
|
}
|
|
1421
1559
|
|
|
1422
|
-
function validate$
|
|
1560
|
+
function validate$H(obj, path = 'IntegrationDefInputRepresentation') {
|
|
1423
1561
|
const v_error = (() => {
|
|
1424
1562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1425
1563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1512,7 +1650,7 @@ function validate$F(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
1512
1650
|
return v_error === undefined ? null : v_error;
|
|
1513
1651
|
}
|
|
1514
1652
|
|
|
1515
|
-
function validate$
|
|
1653
|
+
function validate$G(obj, path = 'PreprocessorInputRepresentation') {
|
|
1516
1654
|
const v_error = (() => {
|
|
1517
1655
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1518
1656
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1605,7 +1743,7 @@ function validate$E(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1605
1743
|
return v_error === undefined ? null : v_error;
|
|
1606
1744
|
}
|
|
1607
1745
|
|
|
1608
|
-
function validate$
|
|
1746
|
+
function validate$F(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1609
1747
|
const v_error = (() => {
|
|
1610
1748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1611
1749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1796,8 +1934,8 @@ function validate$D(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1796
1934
|
return v_error === undefined ? null : v_error;
|
|
1797
1935
|
}
|
|
1798
1936
|
|
|
1799
|
-
const VERSION$
|
|
1800
|
-
function validate$
|
|
1937
|
+
const VERSION$w = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1938
|
+
function validate$E(obj, path = 'AgentActionOutputRepresentation') {
|
|
1801
1939
|
const v_error = (() => {
|
|
1802
1940
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1803
1941
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1889,10 +2027,10 @@ function validate$C(obj, path = 'AgentActionOutputRepresentation') {
|
|
|
1889
2027
|
})();
|
|
1890
2028
|
return v_error === undefined ? null : v_error;
|
|
1891
2029
|
}
|
|
1892
|
-
const select$
|
|
2030
|
+
const select$M = function AgentActionOutputRepresentationSelect() {
|
|
1893
2031
|
return {
|
|
1894
2032
|
kind: 'Fragment',
|
|
1895
|
-
version: VERSION$
|
|
2033
|
+
version: VERSION$w,
|
|
1896
2034
|
private: [],
|
|
1897
2035
|
selections: [
|
|
1898
2036
|
{
|
|
@@ -1913,7 +2051,7 @@ const select$K = function AgentActionOutputRepresentationSelect() {
|
|
|
1913
2051
|
]
|
|
1914
2052
|
};
|
|
1915
2053
|
};
|
|
1916
|
-
function equals$
|
|
2054
|
+
function equals$w(existing, incoming) {
|
|
1917
2055
|
const existing_agentActionId = existing.agentActionId;
|
|
1918
2056
|
const incoming_agentActionId = incoming.agentActionId;
|
|
1919
2057
|
// if at least one of these optionals is defined
|
|
@@ -1956,8 +2094,8 @@ function equals$u(existing, incoming) {
|
|
|
1956
2094
|
return true;
|
|
1957
2095
|
}
|
|
1958
2096
|
|
|
1959
|
-
const VERSION$
|
|
1960
|
-
function validate$
|
|
2097
|
+
const VERSION$v = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
2098
|
+
function validate$D(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1961
2099
|
const v_error = (() => {
|
|
1962
2100
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1963
2101
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2021,10 +2159,10 @@ function validate$B(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
|
2021
2159
|
})();
|
|
2022
2160
|
return v_error === undefined ? null : v_error;
|
|
2023
2161
|
}
|
|
2024
|
-
const select$
|
|
2162
|
+
const select$L = function AssociatedArticleOutputRepresentationSelect() {
|
|
2025
2163
|
return {
|
|
2026
2164
|
kind: 'Fragment',
|
|
2027
|
-
version: VERSION$
|
|
2165
|
+
version: VERSION$v,
|
|
2028
2166
|
private: [],
|
|
2029
2167
|
selections: [
|
|
2030
2168
|
{
|
|
@@ -2040,7 +2178,7 @@ const select$J = function AssociatedArticleOutputRepresentationSelect() {
|
|
|
2040
2178
|
]
|
|
2041
2179
|
};
|
|
2042
2180
|
};
|
|
2043
|
-
function equals$
|
|
2181
|
+
function equals$v(existing, incoming) {
|
|
2044
2182
|
const existing_id = existing.id;
|
|
2045
2183
|
const incoming_id = incoming.id;
|
|
2046
2184
|
// if at least one of these optionals is defined
|
|
@@ -2070,8 +2208,8 @@ function equals$t(existing, incoming) {
|
|
|
2070
2208
|
return true;
|
|
2071
2209
|
}
|
|
2072
2210
|
|
|
2073
|
-
const VERSION$
|
|
2074
|
-
function validate$
|
|
2211
|
+
const VERSION$u = "6859d872ce6d03f8f07819eb40c43fe6";
|
|
2212
|
+
function validate$C(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
2075
2213
|
const v_error = (() => {
|
|
2076
2214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2077
2215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2135,10 +2273,10 @@ function validate$A(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
|
2135
2273
|
})();
|
|
2136
2274
|
return v_error === undefined ? null : v_error;
|
|
2137
2275
|
}
|
|
2138
|
-
const select$
|
|
2276
|
+
const select$K = function EligibilityRuleOutputRepresentationSelect() {
|
|
2139
2277
|
return {
|
|
2140
2278
|
kind: 'Fragment',
|
|
2141
|
-
version: VERSION$
|
|
2279
|
+
version: VERSION$u,
|
|
2142
2280
|
private: [],
|
|
2143
2281
|
selections: [
|
|
2144
2282
|
{
|
|
@@ -2154,7 +2292,7 @@ const select$I = function EligibilityRuleOutputRepresentationSelect() {
|
|
|
2154
2292
|
]
|
|
2155
2293
|
};
|
|
2156
2294
|
};
|
|
2157
|
-
function equals$
|
|
2295
|
+
function equals$u(existing, incoming) {
|
|
2158
2296
|
const existing_eligibilityRuleId = existing.eligibilityRuleId;
|
|
2159
2297
|
const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
|
|
2160
2298
|
// if at least one of these optionals is defined
|
|
@@ -2184,8 +2322,72 @@ function equals$s(existing, incoming) {
|
|
|
2184
2322
|
return true;
|
|
2185
2323
|
}
|
|
2186
2324
|
|
|
2187
|
-
const VERSION$
|
|
2188
|
-
function validate$
|
|
2325
|
+
const VERSION$t = "f7607d66b57a2d767204c3fb31dcef99";
|
|
2326
|
+
function validate$B(obj, path = 'EligibilityRulesSourceObjectToFieldsMapOutputRepresentation') {
|
|
2327
|
+
const v_error = (() => {
|
|
2328
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2329
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2330
|
+
}
|
|
2331
|
+
const obj_keys = ObjectKeys(obj);
|
|
2332
|
+
for (let i = 0; i < obj_keys.length; i++) {
|
|
2333
|
+
const key = obj_keys[i];
|
|
2334
|
+
const obj_prop = obj[key];
|
|
2335
|
+
const path_prop = path + '["' + key + '"]';
|
|
2336
|
+
if (!ArrayIsArray(obj_prop)) {
|
|
2337
|
+
return new TypeError('Expected "array" but received "' + typeof obj_prop + '" (at "' + path_prop + '")');
|
|
2338
|
+
}
|
|
2339
|
+
for (let i = 0; i < obj_prop.length; i++) {
|
|
2340
|
+
const obj_prop_item = obj_prop[i];
|
|
2341
|
+
const path_prop_item = path_prop + '[' + i + ']';
|
|
2342
|
+
if (typeof obj_prop_item !== 'object' || ArrayIsArray(obj_prop_item) || obj_prop_item === null) {
|
|
2343
|
+
return new TypeError('Expected "object" but received "' + typeof obj_prop_item + '" (at "' + path_prop_item + '")');
|
|
2344
|
+
}
|
|
2345
|
+
const obj_prop_item_keys = ObjectKeys(obj_prop_item);
|
|
2346
|
+
for (let i = 0; i < obj_prop_item_keys.length; i++) {
|
|
2347
|
+
const key = obj_prop_item_keys[i];
|
|
2348
|
+
const obj_prop_item_prop = obj_prop_item[key];
|
|
2349
|
+
const path_prop_item_prop = path_prop_item + '["' + key + '"]';
|
|
2350
|
+
if (obj_prop_item_prop === undefined) {
|
|
2351
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_prop_item_prop + '" (at "' + path_prop_item_prop + '")');
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
})();
|
|
2357
|
+
return v_error === undefined ? null : v_error;
|
|
2358
|
+
}
|
|
2359
|
+
const select$J = function EligibilityRulesSourceObjectToFieldsMapOutputRepresentationSelect() {
|
|
2360
|
+
return {
|
|
2361
|
+
kind: 'Fragment',
|
|
2362
|
+
version: VERSION$t,
|
|
2363
|
+
private: [],
|
|
2364
|
+
selections: []
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
function equals$t(existing, incoming) {
|
|
2368
|
+
const equals_props = equalsObject(existing, incoming, (existing_prop, incoming_prop) => {
|
|
2369
|
+
const equals_items = equalsArray(existing_prop, incoming_prop, (existing_prop_item, incoming_prop_item) => {
|
|
2370
|
+
const equals_items_props = equalsObject(existing_prop_item, incoming_prop_item, (existing_prop_item_prop, incoming_prop_item_prop) => {
|
|
2371
|
+
if (JSONStringify(incoming_prop_item_prop) !== JSONStringify(existing_prop_item_prop)) {
|
|
2372
|
+
return false;
|
|
2373
|
+
}
|
|
2374
|
+
});
|
|
2375
|
+
if (equals_items_props === false) {
|
|
2376
|
+
return false;
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
if (equals_items === false) {
|
|
2380
|
+
return false;
|
|
2381
|
+
}
|
|
2382
|
+
});
|
|
2383
|
+
if (equals_props === false) {
|
|
2384
|
+
return false;
|
|
2385
|
+
}
|
|
2386
|
+
return true;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
const VERSION$s = "b5216beece7c04763cff6924e6953f93";
|
|
2390
|
+
function validate$A(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
2189
2391
|
const v_error = (() => {
|
|
2190
2392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2191
2393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2277,10 +2479,10 @@ function validate$z(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
|
2277
2479
|
})();
|
|
2278
2480
|
return v_error === undefined ? null : v_error;
|
|
2279
2481
|
}
|
|
2280
|
-
const select$
|
|
2482
|
+
const select$I = function FulfillmentFlowOutputRepresentationSelect() {
|
|
2281
2483
|
return {
|
|
2282
2484
|
kind: 'Fragment',
|
|
2283
|
-
version: VERSION$
|
|
2485
|
+
version: VERSION$s,
|
|
2284
2486
|
private: [],
|
|
2285
2487
|
selections: [
|
|
2286
2488
|
{
|
|
@@ -2301,7 +2503,7 @@ const select$H = function FulfillmentFlowOutputRepresentationSelect() {
|
|
|
2301
2503
|
]
|
|
2302
2504
|
};
|
|
2303
2505
|
};
|
|
2304
|
-
function equals$
|
|
2506
|
+
function equals$s(existing, incoming) {
|
|
2305
2507
|
const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
|
|
2306
2508
|
const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
|
|
2307
2509
|
// if at least one of these optionals is defined
|
|
@@ -2344,8 +2546,8 @@ function equals$r(existing, incoming) {
|
|
|
2344
2546
|
return true;
|
|
2345
2547
|
}
|
|
2346
2548
|
|
|
2347
|
-
const VERSION$
|
|
2348
|
-
function validate$
|
|
2549
|
+
const VERSION$r = "dc8ba723ca754951db42f9d0e6891a06";
|
|
2550
|
+
function validate$z(obj, path = 'IntakeFormOutputRepresentation') {
|
|
2349
2551
|
const v_error = (() => {
|
|
2350
2552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2351
2553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2577,10 +2779,10 @@ function validate$y(obj, path = 'IntakeFormOutputRepresentation') {
|
|
|
2577
2779
|
})();
|
|
2578
2780
|
return v_error === undefined ? null : v_error;
|
|
2579
2781
|
}
|
|
2580
|
-
const select$
|
|
2782
|
+
const select$H = function IntakeFormOutputRepresentationSelect() {
|
|
2581
2783
|
return {
|
|
2582
2784
|
kind: 'Fragment',
|
|
2583
|
-
version: VERSION$
|
|
2785
|
+
version: VERSION$r,
|
|
2584
2786
|
private: [],
|
|
2585
2787
|
selections: [
|
|
2586
2788
|
{
|
|
@@ -2626,7 +2828,7 @@ const select$G = function IntakeFormOutputRepresentationSelect() {
|
|
|
2626
2828
|
]
|
|
2627
2829
|
};
|
|
2628
2830
|
};
|
|
2629
|
-
function equals$
|
|
2831
|
+
function equals$r(existing, incoming) {
|
|
2630
2832
|
const existing_id = existing.id;
|
|
2631
2833
|
const incoming_id = incoming.id;
|
|
2632
2834
|
// if at least one of these optionals is defined
|
|
@@ -2734,8 +2936,8 @@ function equals$q(existing, incoming) {
|
|
|
2734
2936
|
return true;
|
|
2735
2937
|
}
|
|
2736
2938
|
|
|
2737
|
-
const VERSION$
|
|
2738
|
-
function validate$
|
|
2939
|
+
const VERSION$q = "1006a153c933b8bc4b1d44663893e206";
|
|
2940
|
+
function validate$y(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
2739
2941
|
const v_error = (() => {
|
|
2740
2942
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2741
2943
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2799,10 +3001,10 @@ function validate$x(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
|
2799
3001
|
})();
|
|
2800
3002
|
return v_error === undefined ? null : v_error;
|
|
2801
3003
|
}
|
|
2802
|
-
const select$
|
|
3004
|
+
const select$G = function IntegrationDefinitionOutputPresentationSelect() {
|
|
2803
3005
|
return {
|
|
2804
3006
|
kind: 'Fragment',
|
|
2805
|
-
version: VERSION$
|
|
3007
|
+
version: VERSION$q,
|
|
2806
3008
|
private: [],
|
|
2807
3009
|
selections: [
|
|
2808
3010
|
{
|
|
@@ -2818,7 +3020,7 @@ const select$F = function IntegrationDefinitionOutputPresentationSelect() {
|
|
|
2818
3020
|
]
|
|
2819
3021
|
};
|
|
2820
3022
|
};
|
|
2821
|
-
function equals$
|
|
3023
|
+
function equals$q(existing, incoming) {
|
|
2822
3024
|
const existing_id = existing.id;
|
|
2823
3025
|
const incoming_id = incoming.id;
|
|
2824
3026
|
// if at least one of these optionals is defined
|
|
@@ -2848,8 +3050,8 @@ function equals$p(existing, incoming) {
|
|
|
2848
3050
|
return true;
|
|
2849
3051
|
}
|
|
2850
3052
|
|
|
2851
|
-
const VERSION$
|
|
2852
|
-
function validate$
|
|
3053
|
+
const VERSION$p = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
3054
|
+
function validate$x(obj, path = 'PreprocessorOutputRepresentation') {
|
|
2853
3055
|
const v_error = (() => {
|
|
2854
3056
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2855
3057
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2913,10 +3115,10 @@ function validate$w(obj, path = 'PreprocessorOutputRepresentation') {
|
|
|
2913
3115
|
})();
|
|
2914
3116
|
return v_error === undefined ? null : v_error;
|
|
2915
3117
|
}
|
|
2916
|
-
const select$
|
|
3118
|
+
const select$F = function PreprocessorOutputRepresentationSelect() {
|
|
2917
3119
|
return {
|
|
2918
3120
|
kind: 'Fragment',
|
|
2919
|
-
version: VERSION$
|
|
3121
|
+
version: VERSION$p,
|
|
2920
3122
|
private: [],
|
|
2921
3123
|
selections: [
|
|
2922
3124
|
{
|
|
@@ -2932,7 +3134,7 @@ const select$E = function PreprocessorOutputRepresentationSelect() {
|
|
|
2932
3134
|
]
|
|
2933
3135
|
};
|
|
2934
3136
|
};
|
|
2935
|
-
function equals$
|
|
3137
|
+
function equals$p(existing, incoming) {
|
|
2936
3138
|
const existing_id = existing.id;
|
|
2937
3139
|
const incoming_id = incoming.id;
|
|
2938
3140
|
// if at least one of these optionals is defined
|
|
@@ -2962,8 +3164,8 @@ function equals$o(existing, incoming) {
|
|
|
2962
3164
|
return true;
|
|
2963
3165
|
}
|
|
2964
3166
|
|
|
2965
|
-
const VERSION$
|
|
2966
|
-
function validate$
|
|
3167
|
+
const VERSION$o = "bb9dde3a26e01fbcb2b943119fcb279a";
|
|
3168
|
+
function validate$w(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
2967
3169
|
const v_error = (() => {
|
|
2968
3170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2969
3171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3139,10 +3341,10 @@ function validate$v(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
|
3139
3341
|
})();
|
|
3140
3342
|
return v_error === undefined ? null : v_error;
|
|
3141
3343
|
}
|
|
3142
|
-
const select$
|
|
3344
|
+
const select$E = function ProductDetailsOutputRepresentationSelect() {
|
|
3143
3345
|
return {
|
|
3144
3346
|
kind: 'Fragment',
|
|
3145
|
-
version: VERSION$
|
|
3347
|
+
version: VERSION$o,
|
|
3146
3348
|
private: [],
|
|
3147
3349
|
selections: [
|
|
3148
3350
|
{
|
|
@@ -3178,7 +3380,7 @@ const select$D = function ProductDetailsOutputRepresentationSelect() {
|
|
|
3178
3380
|
]
|
|
3179
3381
|
};
|
|
3180
3382
|
};
|
|
3181
|
-
function equals$
|
|
3383
|
+
function equals$o(existing, incoming) {
|
|
3182
3384
|
const existing_description = existing.description;
|
|
3183
3385
|
const incoming_description = incoming.description;
|
|
3184
3386
|
// if at least one of these optionals is defined
|
|
@@ -3260,8 +3462,8 @@ function equals$n(existing, incoming) {
|
|
|
3260
3462
|
return true;
|
|
3261
3463
|
}
|
|
3262
3464
|
|
|
3263
|
-
const VERSION$
|
|
3264
|
-
function validate$
|
|
3465
|
+
const VERSION$n = "a2dd4f323f5e0ea65e9932d59d8527b0";
|
|
3466
|
+
function validate$v(obj, path = 'ProductRequestOutputRepresentation') {
|
|
3265
3467
|
const v_error = (() => {
|
|
3266
3468
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3267
3469
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3275,7 +3477,7 @@ function validate$u(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
3275
3477
|
for (let i = 0; i < obj_productDetails.length; i++) {
|
|
3276
3478
|
const obj_productDetails_item = obj_productDetails[i];
|
|
3277
3479
|
const path_productDetails_item = path_productDetails + '[' + i + ']';
|
|
3278
|
-
const referencepath_productDetails_itemValidationError = validate$
|
|
3480
|
+
const referencepath_productDetails_itemValidationError = validate$w(obj_productDetails_item, path_productDetails_item);
|
|
3279
3481
|
if (referencepath_productDetails_itemValidationError !== null) {
|
|
3280
3482
|
let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
|
|
3281
3483
|
message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3482,11 +3684,11 @@ function validate$u(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
3482
3684
|
})();
|
|
3483
3685
|
return v_error === undefined ? null : v_error;
|
|
3484
3686
|
}
|
|
3485
|
-
const select$
|
|
3486
|
-
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$
|
|
3687
|
+
const select$D = function ProductRequestOutputRepresentationSelect() {
|
|
3688
|
+
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$E();
|
|
3487
3689
|
return {
|
|
3488
3690
|
kind: 'Fragment',
|
|
3489
|
-
version: VERSION$
|
|
3691
|
+
version: VERSION$n,
|
|
3490
3692
|
private: [],
|
|
3491
3693
|
selections: [
|
|
3492
3694
|
{
|
|
@@ -3534,7 +3736,7 @@ const select$C = function ProductRequestOutputRepresentationSelect() {
|
|
|
3534
3736
|
]
|
|
3535
3737
|
};
|
|
3536
3738
|
};
|
|
3537
|
-
function equals$
|
|
3739
|
+
function equals$n(existing, incoming) {
|
|
3538
3740
|
const existing_productDetails = existing.productDetails;
|
|
3539
3741
|
const incoming_productDetails = incoming.productDetails;
|
|
3540
3742
|
// if at least one of these optionals is defined
|
|
@@ -3545,7 +3747,7 @@ function equals$m(existing, incoming) {
|
|
|
3545
3747
|
return false;
|
|
3546
3748
|
}
|
|
3547
3749
|
const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
|
|
3548
|
-
if (!(equals$
|
|
3750
|
+
if (!(equals$o(existing_productDetails_item, incoming_productDetails_item))) {
|
|
3549
3751
|
return false;
|
|
3550
3752
|
}
|
|
3551
3753
|
});
|
|
@@ -3647,8 +3849,8 @@ function equals$m(existing, incoming) {
|
|
|
3647
3849
|
return true;
|
|
3648
3850
|
}
|
|
3649
3851
|
|
|
3650
|
-
const VERSION$
|
|
3651
|
-
function validate$
|
|
3852
|
+
const VERSION$m = "96012ee7981543ddc90b7a4d3e505ffb";
|
|
3853
|
+
function validate$u(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
|
|
3652
3854
|
const v_error = (() => {
|
|
3653
3855
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3654
3856
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3698,10 +3900,10 @@ function validate$t(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
|
|
|
3698
3900
|
})();
|
|
3699
3901
|
return v_error === undefined ? null : v_error;
|
|
3700
3902
|
}
|
|
3701
|
-
const select$
|
|
3903
|
+
const select$C = function PicklistAttributeTypeOutputRepresentationSelect() {
|
|
3702
3904
|
return {
|
|
3703
3905
|
kind: 'Fragment',
|
|
3704
|
-
version: VERSION$
|
|
3906
|
+
version: VERSION$m,
|
|
3705
3907
|
private: [],
|
|
3706
3908
|
selections: [
|
|
3707
3909
|
{
|
|
@@ -3737,7 +3939,7 @@ const select$B = function PicklistAttributeTypeOutputRepresentationSelect() {
|
|
|
3737
3939
|
]
|
|
3738
3940
|
};
|
|
3739
3941
|
};
|
|
3740
|
-
function equals$
|
|
3942
|
+
function equals$m(existing, incoming) {
|
|
3741
3943
|
const existing_isDefault = existing.isDefault;
|
|
3742
3944
|
const incoming_isDefault = incoming.isDefault;
|
|
3743
3945
|
// if at least one of these optionals is defined
|
|
@@ -3819,7 +4021,205 @@ function equals$l(existing, incoming) {
|
|
|
3819
4021
|
return true;
|
|
3820
4022
|
}
|
|
3821
4023
|
|
|
3822
|
-
const VERSION$
|
|
4024
|
+
const VERSION$l = "6757313f2b4f9ef27398ee8677572500";
|
|
4025
|
+
function validate$t(obj, path = 'CatalogItemAttributeUpdateSettingOutputRepresentation') {
|
|
4026
|
+
const v_error = (() => {
|
|
4027
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4028
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4029
|
+
}
|
|
4030
|
+
if (obj.attributeEditableStatuses !== undefined) {
|
|
4031
|
+
const obj_attributeEditableStatuses = obj.attributeEditableStatuses;
|
|
4032
|
+
const path_attributeEditableStatuses = path + '.attributeEditableStatuses';
|
|
4033
|
+
if (!ArrayIsArray(obj_attributeEditableStatuses)) {
|
|
4034
|
+
return new TypeError('Expected "array" but received "' + typeof obj_attributeEditableStatuses + '" (at "' + path_attributeEditableStatuses + '")');
|
|
4035
|
+
}
|
|
4036
|
+
for (let i = 0; i < obj_attributeEditableStatuses.length; i++) {
|
|
4037
|
+
const obj_attributeEditableStatuses_item = obj_attributeEditableStatuses[i];
|
|
4038
|
+
const path_attributeEditableStatuses_item = path_attributeEditableStatuses + '[' + i + ']';
|
|
4039
|
+
if (typeof obj_attributeEditableStatuses_item !== 'string') {
|
|
4040
|
+
return new TypeError('Expected "string" but received "' + typeof obj_attributeEditableStatuses_item + '" (at "' + path_attributeEditableStatuses_item + '")');
|
|
4041
|
+
}
|
|
4042
|
+
}
|
|
4043
|
+
}
|
|
4044
|
+
if (obj.isAttributeEditable !== undefined) {
|
|
4045
|
+
const obj_isAttributeEditable = obj.isAttributeEditable;
|
|
4046
|
+
const path_isAttributeEditable = path + '.isAttributeEditable';
|
|
4047
|
+
let obj_isAttributeEditable_union0 = null;
|
|
4048
|
+
const obj_isAttributeEditable_union0_error = (() => {
|
|
4049
|
+
if (typeof obj_isAttributeEditable !== 'boolean') {
|
|
4050
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAttributeEditable + '" (at "' + path_isAttributeEditable + '")');
|
|
4051
|
+
}
|
|
4052
|
+
})();
|
|
4053
|
+
if (obj_isAttributeEditable_union0_error != null) {
|
|
4054
|
+
obj_isAttributeEditable_union0 = obj_isAttributeEditable_union0_error.message;
|
|
4055
|
+
}
|
|
4056
|
+
let obj_isAttributeEditable_union1 = null;
|
|
4057
|
+
const obj_isAttributeEditable_union1_error = (() => {
|
|
4058
|
+
if (obj_isAttributeEditable !== null) {
|
|
4059
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isAttributeEditable + '" (at "' + path_isAttributeEditable + '")');
|
|
4060
|
+
}
|
|
4061
|
+
})();
|
|
4062
|
+
if (obj_isAttributeEditable_union1_error != null) {
|
|
4063
|
+
obj_isAttributeEditable_union1 = obj_isAttributeEditable_union1_error.message;
|
|
4064
|
+
}
|
|
4065
|
+
if (obj_isAttributeEditable_union0 && obj_isAttributeEditable_union1) {
|
|
4066
|
+
let message = 'Object doesn\'t match union (at "' + path_isAttributeEditable + '")';
|
|
4067
|
+
message += '\n' + obj_isAttributeEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4068
|
+
message += '\n' + obj_isAttributeEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4069
|
+
return new TypeError(message);
|
|
4070
|
+
}
|
|
4071
|
+
}
|
|
4072
|
+
if (obj.isFulfillerEditable !== undefined) {
|
|
4073
|
+
const obj_isFulfillerEditable = obj.isFulfillerEditable;
|
|
4074
|
+
const path_isFulfillerEditable = path + '.isFulfillerEditable';
|
|
4075
|
+
let obj_isFulfillerEditable_union0 = null;
|
|
4076
|
+
const obj_isFulfillerEditable_union0_error = (() => {
|
|
4077
|
+
if (typeof obj_isFulfillerEditable !== 'boolean') {
|
|
4078
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFulfillerEditable + '" (at "' + path_isFulfillerEditable + '")');
|
|
4079
|
+
}
|
|
4080
|
+
})();
|
|
4081
|
+
if (obj_isFulfillerEditable_union0_error != null) {
|
|
4082
|
+
obj_isFulfillerEditable_union0 = obj_isFulfillerEditable_union0_error.message;
|
|
4083
|
+
}
|
|
4084
|
+
let obj_isFulfillerEditable_union1 = null;
|
|
4085
|
+
const obj_isFulfillerEditable_union1_error = (() => {
|
|
4086
|
+
if (obj_isFulfillerEditable !== null) {
|
|
4087
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isFulfillerEditable + '" (at "' + path_isFulfillerEditable + '")');
|
|
4088
|
+
}
|
|
4089
|
+
})();
|
|
4090
|
+
if (obj_isFulfillerEditable_union1_error != null) {
|
|
4091
|
+
obj_isFulfillerEditable_union1 = obj_isFulfillerEditable_union1_error.message;
|
|
4092
|
+
}
|
|
4093
|
+
if (obj_isFulfillerEditable_union0 && obj_isFulfillerEditable_union1) {
|
|
4094
|
+
let message = 'Object doesn\'t match union (at "' + path_isFulfillerEditable + '")';
|
|
4095
|
+
message += '\n' + obj_isFulfillerEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4096
|
+
message += '\n' + obj_isFulfillerEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4097
|
+
return new TypeError(message);
|
|
4098
|
+
}
|
|
4099
|
+
}
|
|
4100
|
+
if (obj.isRequestorEditable !== undefined) {
|
|
4101
|
+
const obj_isRequestorEditable = obj.isRequestorEditable;
|
|
4102
|
+
const path_isRequestorEditable = path + '.isRequestorEditable';
|
|
4103
|
+
let obj_isRequestorEditable_union0 = null;
|
|
4104
|
+
const obj_isRequestorEditable_union0_error = (() => {
|
|
4105
|
+
if (typeof obj_isRequestorEditable !== 'boolean') {
|
|
4106
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isRequestorEditable + '" (at "' + path_isRequestorEditable + '")');
|
|
4107
|
+
}
|
|
4108
|
+
})();
|
|
4109
|
+
if (obj_isRequestorEditable_union0_error != null) {
|
|
4110
|
+
obj_isRequestorEditable_union0 = obj_isRequestorEditable_union0_error.message;
|
|
4111
|
+
}
|
|
4112
|
+
let obj_isRequestorEditable_union1 = null;
|
|
4113
|
+
const obj_isRequestorEditable_union1_error = (() => {
|
|
4114
|
+
if (obj_isRequestorEditable !== null) {
|
|
4115
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isRequestorEditable + '" (at "' + path_isRequestorEditable + '")');
|
|
4116
|
+
}
|
|
4117
|
+
})();
|
|
4118
|
+
if (obj_isRequestorEditable_union1_error != null) {
|
|
4119
|
+
obj_isRequestorEditable_union1 = obj_isRequestorEditable_union1_error.message;
|
|
4120
|
+
}
|
|
4121
|
+
if (obj_isRequestorEditable_union0 && obj_isRequestorEditable_union1) {
|
|
4122
|
+
let message = 'Object doesn\'t match union (at "' + path_isRequestorEditable + '")';
|
|
4123
|
+
message += '\n' + obj_isRequestorEditable_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4124
|
+
message += '\n' + obj_isRequestorEditable_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4125
|
+
return new TypeError(message);
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
4128
|
+
})();
|
|
4129
|
+
return v_error === undefined ? null : v_error;
|
|
4130
|
+
}
|
|
4131
|
+
const select$B = function CatalogItemAttributeUpdateSettingOutputRepresentationSelect() {
|
|
4132
|
+
return {
|
|
4133
|
+
kind: 'Fragment',
|
|
4134
|
+
version: VERSION$l,
|
|
4135
|
+
private: [],
|
|
4136
|
+
selections: [
|
|
4137
|
+
{
|
|
4138
|
+
name: 'attributeEditableStatuses',
|
|
4139
|
+
kind: 'Scalar',
|
|
4140
|
+
plural: true,
|
|
4141
|
+
required: false
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
name: 'isAttributeEditable',
|
|
4145
|
+
kind: 'Scalar',
|
|
4146
|
+
required: false
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
name: 'isFulfillerEditable',
|
|
4150
|
+
kind: 'Scalar',
|
|
4151
|
+
required: false
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
name: 'isRequestorEditable',
|
|
4155
|
+
kind: 'Scalar',
|
|
4156
|
+
required: false
|
|
4157
|
+
}
|
|
4158
|
+
]
|
|
4159
|
+
};
|
|
4160
|
+
};
|
|
4161
|
+
function equals$l(existing, incoming) {
|
|
4162
|
+
const existing_attributeEditableStatuses = existing.attributeEditableStatuses;
|
|
4163
|
+
const incoming_attributeEditableStatuses = incoming.attributeEditableStatuses;
|
|
4164
|
+
// if at least one of these optionals is defined
|
|
4165
|
+
if (existing_attributeEditableStatuses !== undefined || incoming_attributeEditableStatuses !== undefined) {
|
|
4166
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4167
|
+
// not equal
|
|
4168
|
+
if (existing_attributeEditableStatuses === undefined || incoming_attributeEditableStatuses === undefined) {
|
|
4169
|
+
return false;
|
|
4170
|
+
}
|
|
4171
|
+
const equals_attributeEditableStatuses_items = equalsArray(existing_attributeEditableStatuses, incoming_attributeEditableStatuses, (existing_attributeEditableStatuses_item, incoming_attributeEditableStatuses_item) => {
|
|
4172
|
+
if (!(existing_attributeEditableStatuses_item === incoming_attributeEditableStatuses_item)) {
|
|
4173
|
+
return false;
|
|
4174
|
+
}
|
|
4175
|
+
});
|
|
4176
|
+
if (equals_attributeEditableStatuses_items === false) {
|
|
4177
|
+
return false;
|
|
4178
|
+
}
|
|
4179
|
+
}
|
|
4180
|
+
const existing_isAttributeEditable = existing.isAttributeEditable;
|
|
4181
|
+
const incoming_isAttributeEditable = incoming.isAttributeEditable;
|
|
4182
|
+
// if at least one of these optionals is defined
|
|
4183
|
+
if (existing_isAttributeEditable !== undefined || incoming_isAttributeEditable !== undefined) {
|
|
4184
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4185
|
+
// not equal
|
|
4186
|
+
if (existing_isAttributeEditable === undefined || incoming_isAttributeEditable === undefined) {
|
|
4187
|
+
return false;
|
|
4188
|
+
}
|
|
4189
|
+
if (!(existing_isAttributeEditable === incoming_isAttributeEditable)) {
|
|
4190
|
+
return false;
|
|
4191
|
+
}
|
|
4192
|
+
}
|
|
4193
|
+
const existing_isFulfillerEditable = existing.isFulfillerEditable;
|
|
4194
|
+
const incoming_isFulfillerEditable = incoming.isFulfillerEditable;
|
|
4195
|
+
// if at least one of these optionals is defined
|
|
4196
|
+
if (existing_isFulfillerEditable !== undefined || incoming_isFulfillerEditable !== undefined) {
|
|
4197
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4198
|
+
// not equal
|
|
4199
|
+
if (existing_isFulfillerEditable === undefined || incoming_isFulfillerEditable === undefined) {
|
|
4200
|
+
return false;
|
|
4201
|
+
}
|
|
4202
|
+
if (!(existing_isFulfillerEditable === incoming_isFulfillerEditable)) {
|
|
4203
|
+
return false;
|
|
4204
|
+
}
|
|
4205
|
+
}
|
|
4206
|
+
const existing_isRequestorEditable = existing.isRequestorEditable;
|
|
4207
|
+
const incoming_isRequestorEditable = incoming.isRequestorEditable;
|
|
4208
|
+
// if at least one of these optionals is defined
|
|
4209
|
+
if (existing_isRequestorEditable !== undefined || incoming_isRequestorEditable !== undefined) {
|
|
4210
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4211
|
+
// not equal
|
|
4212
|
+
if (existing_isRequestorEditable === undefined || incoming_isRequestorEditable === undefined) {
|
|
4213
|
+
return false;
|
|
4214
|
+
}
|
|
4215
|
+
if (!(existing_isRequestorEditable === incoming_isRequestorEditable)) {
|
|
4216
|
+
return false;
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
4219
|
+
return true;
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
const VERSION$k = "fff48711ca4234170f5d8bdb7e21a72a";
|
|
3823
4223
|
function validate$s(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
3824
4224
|
const v_error = (() => {
|
|
3825
4225
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4298,7 +4698,7 @@ function validate$s(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
4298
4698
|
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
4299
4699
|
let obj_picklistOptions_item_union0 = null;
|
|
4300
4700
|
const obj_picklistOptions_item_union0_error = (() => {
|
|
4301
|
-
const referencepath_picklistOptions_itemValidationError = validate$
|
|
4701
|
+
const referencepath_picklistOptions_itemValidationError = validate$u(obj_picklistOptions_item, path_picklistOptions_item);
|
|
4302
4702
|
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
4303
4703
|
let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
4304
4704
|
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4409,11 +4809,43 @@ function validate$s(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
4409
4809
|
return new TypeError(message);
|
|
4410
4810
|
}
|
|
4411
4811
|
}
|
|
4812
|
+
if (obj.updateSettings !== undefined) {
|
|
4813
|
+
const obj_updateSettings = obj.updateSettings;
|
|
4814
|
+
const path_updateSettings = path + '.updateSettings';
|
|
4815
|
+
let obj_updateSettings_union0 = null;
|
|
4816
|
+
const obj_updateSettings_union0_error = (() => {
|
|
4817
|
+
const referencepath_updateSettingsValidationError = validate$t(obj_updateSettings, path_updateSettings);
|
|
4818
|
+
if (referencepath_updateSettingsValidationError !== null) {
|
|
4819
|
+
let message = 'Object doesn\'t match CatalogItemAttributeUpdateSettingOutputRepresentation (at "' + path_updateSettings + '")\n';
|
|
4820
|
+
message += referencepath_updateSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4821
|
+
return new TypeError(message);
|
|
4822
|
+
}
|
|
4823
|
+
})();
|
|
4824
|
+
if (obj_updateSettings_union0_error != null) {
|
|
4825
|
+
obj_updateSettings_union0 = obj_updateSettings_union0_error.message;
|
|
4826
|
+
}
|
|
4827
|
+
let obj_updateSettings_union1 = null;
|
|
4828
|
+
const obj_updateSettings_union1_error = (() => {
|
|
4829
|
+
if (obj_updateSettings !== null) {
|
|
4830
|
+
return new TypeError('Expected "null" but received "' + typeof obj_updateSettings + '" (at "' + path_updateSettings + '")');
|
|
4831
|
+
}
|
|
4832
|
+
})();
|
|
4833
|
+
if (obj_updateSettings_union1_error != null) {
|
|
4834
|
+
obj_updateSettings_union1 = obj_updateSettings_union1_error.message;
|
|
4835
|
+
}
|
|
4836
|
+
if (obj_updateSettings_union0 && obj_updateSettings_union1) {
|
|
4837
|
+
let message = 'Object doesn\'t match union (at "' + path_updateSettings + '")';
|
|
4838
|
+
message += '\n' + obj_updateSettings_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4839
|
+
message += '\n' + obj_updateSettings_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4840
|
+
return new TypeError(message);
|
|
4841
|
+
}
|
|
4842
|
+
}
|
|
4412
4843
|
})();
|
|
4413
4844
|
return v_error === undefined ? null : v_error;
|
|
4414
4845
|
}
|
|
4415
4846
|
const select$A = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
4416
|
-
const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$
|
|
4847
|
+
const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$C();
|
|
4848
|
+
const { selections: CatalogItemAttributeUpdateSettingOutputRepresentation__selections, opaque: CatalogItemAttributeUpdateSettingOutputRepresentation__opaque, } = select$B();
|
|
4417
4849
|
return {
|
|
4418
4850
|
kind: 'Fragment',
|
|
4419
4851
|
version: VERSION$k,
|
|
@@ -4531,6 +4963,13 @@ const select$A = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
4531
4963
|
name: 'sequence',
|
|
4532
4964
|
kind: 'Scalar',
|
|
4533
4965
|
required: false
|
|
4966
|
+
},
|
|
4967
|
+
{
|
|
4968
|
+
name: 'updateSettings',
|
|
4969
|
+
kind: 'Object',
|
|
4970
|
+
nullable: true,
|
|
4971
|
+
selections: CatalogItemAttributeUpdateSettingOutputRepresentation__selections,
|
|
4972
|
+
required: false
|
|
4534
4973
|
}
|
|
4535
4974
|
]
|
|
4536
4975
|
};
|
|
@@ -4783,7 +5222,7 @@ function equals$k(existing, incoming) {
|
|
|
4783
5222
|
if (!(existing_picklistOptions_item === incoming_picklistOptions_item
|
|
4784
5223
|
|| (existing_picklistOptions_item != null &&
|
|
4785
5224
|
incoming_picklistOptions_item != null &&
|
|
4786
|
-
equals$
|
|
5225
|
+
equals$m(existing_picklistOptions_item, incoming_picklistOptions_item)))) {
|
|
4787
5226
|
return false;
|
|
4788
5227
|
}
|
|
4789
5228
|
});
|
|
@@ -4830,6 +5269,22 @@ function equals$k(existing, incoming) {
|
|
|
4830
5269
|
return false;
|
|
4831
5270
|
}
|
|
4832
5271
|
}
|
|
5272
|
+
const existing_updateSettings = existing.updateSettings;
|
|
5273
|
+
const incoming_updateSettings = incoming.updateSettings;
|
|
5274
|
+
// if at least one of these optionals is defined
|
|
5275
|
+
if (existing_updateSettings !== undefined || incoming_updateSettings !== undefined) {
|
|
5276
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5277
|
+
// not equal
|
|
5278
|
+
if (existing_updateSettings === undefined || incoming_updateSettings === undefined) {
|
|
5279
|
+
return false;
|
|
5280
|
+
}
|
|
5281
|
+
if (!(existing_updateSettings === incoming_updateSettings
|
|
5282
|
+
|| (existing_updateSettings != null &&
|
|
5283
|
+
incoming_updateSettings != null &&
|
|
5284
|
+
equals$l(existing_updateSettings, incoming_updateSettings)))) {
|
|
5285
|
+
return false;
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
4833
5288
|
return true;
|
|
4834
5289
|
}
|
|
4835
5290
|
|
|
@@ -5087,7 +5542,7 @@ function equals$j(existing, incoming) {
|
|
|
5087
5542
|
}
|
|
5088
5543
|
|
|
5089
5544
|
const TTL$b = 6000;
|
|
5090
|
-
const VERSION$i = "
|
|
5545
|
+
const VERSION$i = "f2699205be88d180c65ed9273c3eec67";
|
|
5091
5546
|
function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
5092
5547
|
const v_error = (() => {
|
|
5093
5548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5098,7 +5553,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5098
5553
|
const path_agentAction = path + '.agentAction';
|
|
5099
5554
|
let obj_agentAction_union0 = null;
|
|
5100
5555
|
const obj_agentAction_union0_error = (() => {
|
|
5101
|
-
const referencepath_agentActionValidationError = validate$
|
|
5556
|
+
const referencepath_agentActionValidationError = validate$E(obj_agentAction, path_agentAction);
|
|
5102
5557
|
if (referencepath_agentActionValidationError !== null) {
|
|
5103
5558
|
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
5104
5559
|
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5124,6 +5579,34 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5124
5579
|
return new TypeError(message);
|
|
5125
5580
|
}
|
|
5126
5581
|
}
|
|
5582
|
+
if (obj.allowsUpdate !== undefined) {
|
|
5583
|
+
const obj_allowsUpdate = obj.allowsUpdate;
|
|
5584
|
+
const path_allowsUpdate = path + '.allowsUpdate';
|
|
5585
|
+
let obj_allowsUpdate_union0 = null;
|
|
5586
|
+
const obj_allowsUpdate_union0_error = (() => {
|
|
5587
|
+
if (typeof obj_allowsUpdate !== 'boolean') {
|
|
5588
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowsUpdate + '" (at "' + path_allowsUpdate + '")');
|
|
5589
|
+
}
|
|
5590
|
+
})();
|
|
5591
|
+
if (obj_allowsUpdate_union0_error != null) {
|
|
5592
|
+
obj_allowsUpdate_union0 = obj_allowsUpdate_union0_error.message;
|
|
5593
|
+
}
|
|
5594
|
+
let obj_allowsUpdate_union1 = null;
|
|
5595
|
+
const obj_allowsUpdate_union1_error = (() => {
|
|
5596
|
+
if (obj_allowsUpdate !== null) {
|
|
5597
|
+
return new TypeError('Expected "null" but received "' + typeof obj_allowsUpdate + '" (at "' + path_allowsUpdate + '")');
|
|
5598
|
+
}
|
|
5599
|
+
})();
|
|
5600
|
+
if (obj_allowsUpdate_union1_error != null) {
|
|
5601
|
+
obj_allowsUpdate_union1 = obj_allowsUpdate_union1_error.message;
|
|
5602
|
+
}
|
|
5603
|
+
if (obj_allowsUpdate_union0 && obj_allowsUpdate_union1) {
|
|
5604
|
+
let message = 'Object doesn\'t match union (at "' + path_allowsUpdate + '")';
|
|
5605
|
+
message += '\n' + obj_allowsUpdate_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5606
|
+
message += '\n' + obj_allowsUpdate_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5607
|
+
return new TypeError(message);
|
|
5608
|
+
}
|
|
5609
|
+
}
|
|
5127
5610
|
if (obj.associatedArticles !== undefined) {
|
|
5128
5611
|
const obj_associatedArticles = obj.associatedArticles;
|
|
5129
5612
|
const path_associatedArticles = path + '.associatedArticles';
|
|
@@ -5135,7 +5618,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5135
5618
|
const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
|
|
5136
5619
|
let obj_associatedArticles_item_union0 = null;
|
|
5137
5620
|
const obj_associatedArticles_item_union0_error = (() => {
|
|
5138
|
-
const referencepath_associatedArticles_itemValidationError = validate$
|
|
5621
|
+
const referencepath_associatedArticles_itemValidationError = validate$D(obj_associatedArticles_item, path_associatedArticles_item);
|
|
5139
5622
|
if (referencepath_associatedArticles_itemValidationError !== null) {
|
|
5140
5623
|
let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
|
|
5141
5624
|
message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5283,7 +5766,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5283
5766
|
const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
|
|
5284
5767
|
let obj_eligibilityRules_item_union0 = null;
|
|
5285
5768
|
const obj_eligibilityRules_item_union0_error = (() => {
|
|
5286
|
-
const referencepath_eligibilityRules_itemValidationError = validate$
|
|
5769
|
+
const referencepath_eligibilityRules_itemValidationError = validate$C(obj_eligibilityRules_item, path_eligibilityRules_item);
|
|
5287
5770
|
if (referencepath_eligibilityRules_itemValidationError !== null) {
|
|
5288
5771
|
let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
|
|
5289
5772
|
message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5310,12 +5793,43 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5310
5793
|
}
|
|
5311
5794
|
}
|
|
5312
5795
|
}
|
|
5796
|
+
if (obj.eligibilityRulesSourceObjectToFieldsMap !== undefined) {
|
|
5797
|
+
const obj_eligibilityRulesSourceObjectToFieldsMap = obj.eligibilityRulesSourceObjectToFieldsMap;
|
|
5798
|
+
const path_eligibilityRulesSourceObjectToFieldsMap = path + '.eligibilityRulesSourceObjectToFieldsMap';
|
|
5799
|
+
let obj_eligibilityRulesSourceObjectToFieldsMap_union0 = null;
|
|
5800
|
+
const obj_eligibilityRulesSourceObjectToFieldsMap_union0_error = (() => {
|
|
5801
|
+
const referencepath_eligibilityRulesSourceObjectToFieldsMapValidationError = validate$B(obj_eligibilityRulesSourceObjectToFieldsMap, path_eligibilityRulesSourceObjectToFieldsMap);
|
|
5802
|
+
if (referencepath_eligibilityRulesSourceObjectToFieldsMapValidationError !== null) {
|
|
5803
|
+
let message = 'Object doesn\'t match EligibilityRulesSourceObjectToFieldsMapOutputRepresentation (at "' + path_eligibilityRulesSourceObjectToFieldsMap + '")\n';
|
|
5804
|
+
message += referencepath_eligibilityRulesSourceObjectToFieldsMapValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5805
|
+
return new TypeError(message);
|
|
5806
|
+
}
|
|
5807
|
+
})();
|
|
5808
|
+
if (obj_eligibilityRulesSourceObjectToFieldsMap_union0_error != null) {
|
|
5809
|
+
obj_eligibilityRulesSourceObjectToFieldsMap_union0 = obj_eligibilityRulesSourceObjectToFieldsMap_union0_error.message;
|
|
5810
|
+
}
|
|
5811
|
+
let obj_eligibilityRulesSourceObjectToFieldsMap_union1 = null;
|
|
5812
|
+
const obj_eligibilityRulesSourceObjectToFieldsMap_union1_error = (() => {
|
|
5813
|
+
if (obj_eligibilityRulesSourceObjectToFieldsMap !== null) {
|
|
5814
|
+
return new TypeError('Expected "null" but received "' + typeof obj_eligibilityRulesSourceObjectToFieldsMap + '" (at "' + path_eligibilityRulesSourceObjectToFieldsMap + '")');
|
|
5815
|
+
}
|
|
5816
|
+
})();
|
|
5817
|
+
if (obj_eligibilityRulesSourceObjectToFieldsMap_union1_error != null) {
|
|
5818
|
+
obj_eligibilityRulesSourceObjectToFieldsMap_union1 = obj_eligibilityRulesSourceObjectToFieldsMap_union1_error.message;
|
|
5819
|
+
}
|
|
5820
|
+
if (obj_eligibilityRulesSourceObjectToFieldsMap_union0 && obj_eligibilityRulesSourceObjectToFieldsMap_union1) {
|
|
5821
|
+
let message = 'Object doesn\'t match union (at "' + path_eligibilityRulesSourceObjectToFieldsMap + '")';
|
|
5822
|
+
message += '\n' + obj_eligibilityRulesSourceObjectToFieldsMap_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5823
|
+
message += '\n' + obj_eligibilityRulesSourceObjectToFieldsMap_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5824
|
+
return new TypeError(message);
|
|
5825
|
+
}
|
|
5826
|
+
}
|
|
5313
5827
|
if (obj.fulfillmentFlow !== undefined) {
|
|
5314
5828
|
const obj_fulfillmentFlow = obj.fulfillmentFlow;
|
|
5315
5829
|
const path_fulfillmentFlow = path + '.fulfillmentFlow';
|
|
5316
5830
|
let obj_fulfillmentFlow_union0 = null;
|
|
5317
5831
|
const obj_fulfillmentFlow_union0_error = (() => {
|
|
5318
|
-
const referencepath_fulfillmentFlowValidationError = validate$
|
|
5832
|
+
const referencepath_fulfillmentFlowValidationError = validate$A(obj_fulfillmentFlow, path_fulfillmentFlow);
|
|
5319
5833
|
if (referencepath_fulfillmentFlowValidationError !== null) {
|
|
5320
5834
|
let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
|
|
5321
5835
|
message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5346,7 +5860,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5346
5860
|
const path_intakeForm = path + '.intakeForm';
|
|
5347
5861
|
let obj_intakeForm_union0 = null;
|
|
5348
5862
|
const obj_intakeForm_union0_error = (() => {
|
|
5349
|
-
const referencepath_intakeFormValidationError = validate$
|
|
5863
|
+
const referencepath_intakeFormValidationError = validate$z(obj_intakeForm, path_intakeForm);
|
|
5350
5864
|
if (referencepath_intakeFormValidationError !== null) {
|
|
5351
5865
|
let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
|
|
5352
5866
|
message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5383,7 +5897,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5383
5897
|
const path_integrations_item = path_integrations + '[' + i + ']';
|
|
5384
5898
|
let obj_integrations_item_union0 = null;
|
|
5385
5899
|
const obj_integrations_item_union0_error = (() => {
|
|
5386
|
-
const referencepath_integrations_itemValidationError = validate$
|
|
5900
|
+
const referencepath_integrations_itemValidationError = validate$y(obj_integrations_item, path_integrations_item);
|
|
5387
5901
|
if (referencepath_integrations_itemValidationError !== null) {
|
|
5388
5902
|
let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
|
|
5389
5903
|
message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5477,7 +5991,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5477
5991
|
const path_preProcessors_item = path_preProcessors + '[' + i + ']';
|
|
5478
5992
|
let obj_preProcessors_item_union0 = null;
|
|
5479
5993
|
const obj_preProcessors_item_union0_error = (() => {
|
|
5480
|
-
const referencepath_preProcessors_itemValidationError = validate$
|
|
5994
|
+
const referencepath_preProcessors_itemValidationError = validate$x(obj_preProcessors_item, path_preProcessors_item);
|
|
5481
5995
|
if (referencepath_preProcessors_itemValidationError !== null) {
|
|
5482
5996
|
let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
|
|
5483
5997
|
message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5543,7 +6057,7 @@ function validate$q(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
5543
6057
|
const path_productRequests_item = path_productRequests + '[' + i + ']';
|
|
5544
6058
|
let obj_productRequests_item_union0 = null;
|
|
5545
6059
|
const obj_productRequests_item_union0_error = (() => {
|
|
5546
|
-
const referencepath_productRequests_itemValidationError = validate$
|
|
6060
|
+
const referencepath_productRequests_itemValidationError = validate$v(obj_productRequests_item, path_productRequests_item);
|
|
5547
6061
|
if (referencepath_productRequests_itemValidationError !== null) {
|
|
5548
6062
|
let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
|
|
5549
6063
|
message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5712,14 +6226,15 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5712
6226
|
return input;
|
|
5713
6227
|
}
|
|
5714
6228
|
const select$y = function CatalogItemOutputRepresentationSelect() {
|
|
5715
|
-
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$
|
|
5716
|
-
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$
|
|
5717
|
-
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$
|
|
5718
|
-
const { selections:
|
|
5719
|
-
const { selections:
|
|
5720
|
-
const { selections:
|
|
5721
|
-
const { selections:
|
|
5722
|
-
const { selections:
|
|
6229
|
+
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$M();
|
|
6230
|
+
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$L();
|
|
6231
|
+
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$K();
|
|
6232
|
+
const { selections: EligibilityRulesSourceObjectToFieldsMapOutputRepresentation__selections, opaque: EligibilityRulesSourceObjectToFieldsMapOutputRepresentation__opaque, } = select$J();
|
|
6233
|
+
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$I();
|
|
6234
|
+
const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$H();
|
|
6235
|
+
const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$G();
|
|
6236
|
+
const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$F();
|
|
6237
|
+
const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$D();
|
|
5723
6238
|
const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$z();
|
|
5724
6239
|
return {
|
|
5725
6240
|
kind: 'Fragment',
|
|
@@ -5733,6 +6248,11 @@ const select$y = function CatalogItemOutputRepresentationSelect() {
|
|
|
5733
6248
|
selections: AgentActionOutputRepresentation__selections,
|
|
5734
6249
|
required: false
|
|
5735
6250
|
},
|
|
6251
|
+
{
|
|
6252
|
+
name: 'allowsUpdate',
|
|
6253
|
+
kind: 'Scalar',
|
|
6254
|
+
required: false
|
|
6255
|
+
},
|
|
5736
6256
|
{
|
|
5737
6257
|
name: 'associatedArticles',
|
|
5738
6258
|
kind: 'Object',
|
|
@@ -5768,6 +6288,13 @@ const select$y = function CatalogItemOutputRepresentationSelect() {
|
|
|
5768
6288
|
selections: EligibilityRuleOutputRepresentation__selections,
|
|
5769
6289
|
required: false
|
|
5770
6290
|
},
|
|
6291
|
+
{
|
|
6292
|
+
name: 'eligibilityRulesSourceObjectToFieldsMap',
|
|
6293
|
+
kind: 'Object',
|
|
6294
|
+
nullable: true,
|
|
6295
|
+
selections: EligibilityRulesSourceObjectToFieldsMapOutputRepresentation__selections,
|
|
6296
|
+
required: false
|
|
6297
|
+
},
|
|
5771
6298
|
{
|
|
5772
6299
|
name: 'fulfillmentFlow',
|
|
5773
6300
|
kind: 'Object',
|
|
@@ -5862,7 +6389,20 @@ function equals$i(existing, incoming) {
|
|
|
5862
6389
|
if (!(existing_agentAction === incoming_agentAction
|
|
5863
6390
|
|| (existing_agentAction != null &&
|
|
5864
6391
|
incoming_agentAction != null &&
|
|
5865
|
-
equals$
|
|
6392
|
+
equals$w(existing_agentAction, incoming_agentAction)))) {
|
|
6393
|
+
return false;
|
|
6394
|
+
}
|
|
6395
|
+
}
|
|
6396
|
+
const existing_allowsUpdate = existing.allowsUpdate;
|
|
6397
|
+
const incoming_allowsUpdate = incoming.allowsUpdate;
|
|
6398
|
+
// if at least one of these optionals is defined
|
|
6399
|
+
if (existing_allowsUpdate !== undefined || incoming_allowsUpdate !== undefined) {
|
|
6400
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6401
|
+
// not equal
|
|
6402
|
+
if (existing_allowsUpdate === undefined || incoming_allowsUpdate === undefined) {
|
|
6403
|
+
return false;
|
|
6404
|
+
}
|
|
6405
|
+
if (!(existing_allowsUpdate === incoming_allowsUpdate)) {
|
|
5866
6406
|
return false;
|
|
5867
6407
|
}
|
|
5868
6408
|
}
|
|
@@ -5879,7 +6419,7 @@ function equals$i(existing, incoming) {
|
|
|
5879
6419
|
if (!(existing_associatedArticles_item === incoming_associatedArticles_item
|
|
5880
6420
|
|| (existing_associatedArticles_item != null &&
|
|
5881
6421
|
incoming_associatedArticles_item != null &&
|
|
5882
|
-
equals$
|
|
6422
|
+
equals$v(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
|
|
5883
6423
|
return false;
|
|
5884
6424
|
}
|
|
5885
6425
|
});
|
|
@@ -5944,7 +6484,7 @@ function equals$i(existing, incoming) {
|
|
|
5944
6484
|
if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
|
|
5945
6485
|
|| (existing_eligibilityRules_item != null &&
|
|
5946
6486
|
incoming_eligibilityRules_item != null &&
|
|
5947
|
-
equals$
|
|
6487
|
+
equals$u(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
|
|
5948
6488
|
return false;
|
|
5949
6489
|
}
|
|
5950
6490
|
});
|
|
@@ -5952,6 +6492,22 @@ function equals$i(existing, incoming) {
|
|
|
5952
6492
|
return false;
|
|
5953
6493
|
}
|
|
5954
6494
|
}
|
|
6495
|
+
const existing_eligibilityRulesSourceObjectToFieldsMap = existing.eligibilityRulesSourceObjectToFieldsMap;
|
|
6496
|
+
const incoming_eligibilityRulesSourceObjectToFieldsMap = incoming.eligibilityRulesSourceObjectToFieldsMap;
|
|
6497
|
+
// if at least one of these optionals is defined
|
|
6498
|
+
if (existing_eligibilityRulesSourceObjectToFieldsMap !== undefined || incoming_eligibilityRulesSourceObjectToFieldsMap !== undefined) {
|
|
6499
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6500
|
+
// not equal
|
|
6501
|
+
if (existing_eligibilityRulesSourceObjectToFieldsMap === undefined || incoming_eligibilityRulesSourceObjectToFieldsMap === undefined) {
|
|
6502
|
+
return false;
|
|
6503
|
+
}
|
|
6504
|
+
if (!(existing_eligibilityRulesSourceObjectToFieldsMap === incoming_eligibilityRulesSourceObjectToFieldsMap
|
|
6505
|
+
|| (existing_eligibilityRulesSourceObjectToFieldsMap != null &&
|
|
6506
|
+
incoming_eligibilityRulesSourceObjectToFieldsMap != null &&
|
|
6507
|
+
equals$t(existing_eligibilityRulesSourceObjectToFieldsMap, incoming_eligibilityRulesSourceObjectToFieldsMap)))) {
|
|
6508
|
+
return false;
|
|
6509
|
+
}
|
|
6510
|
+
}
|
|
5955
6511
|
const existing_fulfillmentFlow = existing.fulfillmentFlow;
|
|
5956
6512
|
const incoming_fulfillmentFlow = incoming.fulfillmentFlow;
|
|
5957
6513
|
// if at least one of these optionals is defined
|
|
@@ -5964,7 +6520,7 @@ function equals$i(existing, incoming) {
|
|
|
5964
6520
|
if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
|
|
5965
6521
|
|| (existing_fulfillmentFlow != null &&
|
|
5966
6522
|
incoming_fulfillmentFlow != null &&
|
|
5967
|
-
equals$
|
|
6523
|
+
equals$s(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
|
|
5968
6524
|
return false;
|
|
5969
6525
|
}
|
|
5970
6526
|
}
|
|
@@ -5980,7 +6536,7 @@ function equals$i(existing, incoming) {
|
|
|
5980
6536
|
if (!(existing_intakeForm === incoming_intakeForm
|
|
5981
6537
|
|| (existing_intakeForm != null &&
|
|
5982
6538
|
incoming_intakeForm != null &&
|
|
5983
|
-
equals$
|
|
6539
|
+
equals$r(existing_intakeForm, incoming_intakeForm)))) {
|
|
5984
6540
|
return false;
|
|
5985
6541
|
}
|
|
5986
6542
|
}
|
|
@@ -5997,7 +6553,7 @@ function equals$i(existing, incoming) {
|
|
|
5997
6553
|
if (!(existing_integrations_item === incoming_integrations_item
|
|
5998
6554
|
|| (existing_integrations_item != null &&
|
|
5999
6555
|
incoming_integrations_item != null &&
|
|
6000
|
-
equals$
|
|
6556
|
+
equals$q(existing_integrations_item, incoming_integrations_item)))) {
|
|
6001
6557
|
return false;
|
|
6002
6558
|
}
|
|
6003
6559
|
});
|
|
@@ -6044,7 +6600,7 @@ function equals$i(existing, incoming) {
|
|
|
6044
6600
|
if (!(existing_preProcessors_item === incoming_preProcessors_item
|
|
6045
6601
|
|| (existing_preProcessors_item != null &&
|
|
6046
6602
|
incoming_preProcessors_item != null &&
|
|
6047
|
-
equals$
|
|
6603
|
+
equals$p(existing_preProcessors_item, incoming_preProcessors_item)))) {
|
|
6048
6604
|
return false;
|
|
6049
6605
|
}
|
|
6050
6606
|
});
|
|
@@ -6078,7 +6634,7 @@ function equals$i(existing, incoming) {
|
|
|
6078
6634
|
if (!(existing_productRequests_item === incoming_productRequests_item
|
|
6079
6635
|
|| (existing_productRequests_item != null &&
|
|
6080
6636
|
incoming_productRequests_item != null &&
|
|
6081
|
-
equals$
|
|
6637
|
+
equals$n(existing_productRequests_item, incoming_productRequests_item)))) {
|
|
6082
6638
|
return false;
|
|
6083
6639
|
}
|
|
6084
6640
|
});
|
|
@@ -6229,13 +6785,15 @@ const createCatalogItem_ConfigPropertyMetadata = [
|
|
|
6229
6785
|
generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
6230
6786
|
generateParamConfigMetadata('targetObject', true, 2 /* Body */, 4 /* Unsupported */),
|
|
6231
6787
|
generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
|
|
6788
|
+
generateParamConfigMetadata('eligibilityRulesSourceObjectToFieldsMap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
6789
|
+
generateParamConfigMetadata('allowsUpdate', false, 2 /* Body */, 4 /* Unsupported */),
|
|
6232
6790
|
];
|
|
6233
6791
|
const createCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createCatalogItem_ConfigPropertyMetadata);
|
|
6234
6792
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(createCatalogItem_ConfigPropertyMetadata);
|
|
6235
6793
|
function typeCheckConfig$f(untrustedConfig) {
|
|
6236
6794
|
const config = {};
|
|
6237
6795
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
6238
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
6796
|
+
const referenceAgentActionInputRepresentationValidationError = validate$Q(untrustedConfig_agentAction);
|
|
6239
6797
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
6240
6798
|
config.agentAction = untrustedConfig_agentAction;
|
|
6241
6799
|
}
|
|
@@ -6247,7 +6805,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6247
6805
|
const untrustedConfig_associatedArticles_array = [];
|
|
6248
6806
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
6249
6807
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
6250
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
6808
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$P(untrustedConfig_associatedArticles_item);
|
|
6251
6809
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
6252
6810
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
6253
6811
|
}
|
|
@@ -6262,7 +6820,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6262
6820
|
const untrustedConfig_attributes_array = [];
|
|
6263
6821
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
6264
6822
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
6265
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
6823
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$M(untrustedConfig_attributes_item);
|
|
6266
6824
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
6267
6825
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
6268
6826
|
}
|
|
@@ -6277,7 +6835,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6277
6835
|
const untrustedConfig_sections_array = [];
|
|
6278
6836
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
6279
6837
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
6280
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
6838
|
+
const referenceSectionInputRepresentationValidationError = validate$L(untrustedConfig_sections_item);
|
|
6281
6839
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
6282
6840
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
6283
6841
|
}
|
|
@@ -6313,7 +6871,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6313
6871
|
const untrustedConfig_eligibilityRules_array = [];
|
|
6314
6872
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
6315
6873
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
6316
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
6874
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$K(untrustedConfig_eligibilityRules_item);
|
|
6317
6875
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
6318
6876
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
6319
6877
|
}
|
|
@@ -6324,7 +6882,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6324
6882
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
6325
6883
|
}
|
|
6326
6884
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
6327
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
6885
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$J(untrustedConfig_fulfillmentFlow);
|
|
6328
6886
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
6329
6887
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6330
6888
|
}
|
|
@@ -6332,7 +6890,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6332
6890
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6333
6891
|
}
|
|
6334
6892
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
6335
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
6893
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$I(untrustedConfig_intakeForm);
|
|
6336
6894
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
6337
6895
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
6338
6896
|
}
|
|
@@ -6344,7 +6902,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6344
6902
|
const untrustedConfig_integrations_array = [];
|
|
6345
6903
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
6346
6904
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
6347
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
6905
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$H(untrustedConfig_integrations_item);
|
|
6348
6906
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
6349
6907
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
6350
6908
|
}
|
|
@@ -6373,7 +6931,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6373
6931
|
const untrustedConfig_preProcessors_array = [];
|
|
6374
6932
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
6375
6933
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
6376
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
6934
|
+
const referencePreprocessorInputRepresentationValidationError = validate$G(untrustedConfig_preProcessors_item);
|
|
6377
6935
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
6378
6936
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
6379
6937
|
}
|
|
@@ -6388,7 +6946,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6388
6946
|
const untrustedConfig_productRequests_array = [];
|
|
6389
6947
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
6390
6948
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
6391
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
6949
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$F(untrustedConfig_productRequests_item);
|
|
6392
6950
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
6393
6951
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
6394
6952
|
}
|
|
@@ -6412,6 +6970,48 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
6412
6970
|
if (untrustedConfig_usedFor === null) {
|
|
6413
6971
|
config.usedFor = untrustedConfig_usedFor;
|
|
6414
6972
|
}
|
|
6973
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap = untrustedConfig.eligibilityRulesSourceObjectToFieldsMap;
|
|
6974
|
+
if (untrustedIsObject(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap)) {
|
|
6975
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object = {};
|
|
6976
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys = Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap);
|
|
6977
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys.length; i < arrayLength; i++) {
|
|
6978
|
+
const key = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys[i];
|
|
6979
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap[key];
|
|
6980
|
+
if (ArrayIsArray$1(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop)) {
|
|
6981
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array = [];
|
|
6982
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop.length; i < arrayLength; i++) {
|
|
6983
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop[i];
|
|
6984
|
+
if (untrustedIsObject(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item)) {
|
|
6985
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object = {};
|
|
6986
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys = Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item);
|
|
6987
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys.length; i < arrayLength; i++) {
|
|
6988
|
+
const key = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys[i];
|
|
6989
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_prop = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item[key];
|
|
6990
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object !== undefined) {
|
|
6991
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object[key] = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_prop;
|
|
6992
|
+
}
|
|
6993
|
+
}
|
|
6994
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object !== undefined && Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object).length >= 0) {
|
|
6995
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array.push(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object);
|
|
6996
|
+
}
|
|
6997
|
+
}
|
|
6998
|
+
}
|
|
6999
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object !== undefined) {
|
|
7000
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object[key] = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array;
|
|
7001
|
+
}
|
|
7002
|
+
}
|
|
7003
|
+
}
|
|
7004
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object !== undefined && Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object).length >= 0) {
|
|
7005
|
+
config.eligibilityRulesSourceObjectToFieldsMap = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object;
|
|
7006
|
+
}
|
|
7007
|
+
}
|
|
7008
|
+
const untrustedConfig_allowsUpdate = untrustedConfig.allowsUpdate;
|
|
7009
|
+
if (typeof untrustedConfig_allowsUpdate === 'boolean') {
|
|
7010
|
+
config.allowsUpdate = untrustedConfig_allowsUpdate;
|
|
7011
|
+
}
|
|
7012
|
+
if (untrustedConfig_allowsUpdate === null) {
|
|
7013
|
+
config.allowsUpdate = untrustedConfig_allowsUpdate;
|
|
7014
|
+
}
|
|
6415
7015
|
return config;
|
|
6416
7016
|
}
|
|
6417
7017
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -6655,6 +7255,8 @@ const updateCatalogItem_ConfigPropertyMetadata = [
|
|
|
6655
7255
|
generateParamConfigMetadata('productRequests', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
6656
7256
|
generateParamConfigMetadata('targetObject', false, 2 /* Body */, 4 /* Unsupported */),
|
|
6657
7257
|
generateParamConfigMetadata('usedFor', false, 2 /* Body */, 4 /* Unsupported */),
|
|
7258
|
+
generateParamConfigMetadata('eligibilityRulesSourceObjectToFieldsMap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
7259
|
+
generateParamConfigMetadata('allowsUpdate', false, 2 /* Body */, 4 /* Unsupported */),
|
|
6658
7260
|
];
|
|
6659
7261
|
const updateCatalogItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, updateCatalogItem_ConfigPropertyMetadata);
|
|
6660
7262
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(updateCatalogItem_ConfigPropertyMetadata);
|
|
@@ -6662,7 +7264,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6662
7264
|
const config = {};
|
|
6663
7265
|
typeCheckConfig$g(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
6664
7266
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
6665
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
7267
|
+
const referenceAgentActionInputRepresentationValidationError = validate$Q(untrustedConfig_agentAction);
|
|
6666
7268
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
6667
7269
|
config.agentAction = untrustedConfig_agentAction;
|
|
6668
7270
|
}
|
|
@@ -6681,7 +7283,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6681
7283
|
const untrustedConfig_associatedArticles_array = [];
|
|
6682
7284
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
6683
7285
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
6684
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
7286
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$P(untrustedConfig_associatedArticles_item);
|
|
6685
7287
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
6686
7288
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
6687
7289
|
}
|
|
@@ -6696,7 +7298,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6696
7298
|
const untrustedConfig_attributes_array = [];
|
|
6697
7299
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
6698
7300
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
6699
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
7301
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$M(untrustedConfig_attributes_item);
|
|
6700
7302
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
6701
7303
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
6702
7304
|
}
|
|
@@ -6711,7 +7313,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6711
7313
|
const untrustedConfig_sections_array = [];
|
|
6712
7314
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
6713
7315
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
6714
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
7316
|
+
const referenceSectionInputRepresentationValidationError = validate$L(untrustedConfig_sections_item);
|
|
6715
7317
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
6716
7318
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
6717
7319
|
}
|
|
@@ -6747,7 +7349,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6747
7349
|
const untrustedConfig_eligibilityRules_array = [];
|
|
6748
7350
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
6749
7351
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
6750
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
7352
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$K(untrustedConfig_eligibilityRules_item);
|
|
6751
7353
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
6752
7354
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
6753
7355
|
}
|
|
@@ -6758,7 +7360,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6758
7360
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
6759
7361
|
}
|
|
6760
7362
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
6761
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
7363
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$J(untrustedConfig_fulfillmentFlow);
|
|
6762
7364
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
6763
7365
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6764
7366
|
}
|
|
@@ -6766,7 +7368,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6766
7368
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6767
7369
|
}
|
|
6768
7370
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
6769
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
7371
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$I(untrustedConfig_intakeForm);
|
|
6770
7372
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
6771
7373
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
6772
7374
|
}
|
|
@@ -6778,7 +7380,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6778
7380
|
const untrustedConfig_integrations_array = [];
|
|
6779
7381
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
6780
7382
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
6781
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
7383
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$H(untrustedConfig_integrations_item);
|
|
6782
7384
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
6783
7385
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
6784
7386
|
}
|
|
@@ -6807,7 +7409,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6807
7409
|
const untrustedConfig_preProcessors_array = [];
|
|
6808
7410
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
6809
7411
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
6810
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
7412
|
+
const referencePreprocessorInputRepresentationValidationError = validate$G(untrustedConfig_preProcessors_item);
|
|
6811
7413
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
6812
7414
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
6813
7415
|
}
|
|
@@ -6822,7 +7424,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6822
7424
|
const untrustedConfig_productRequests_array = [];
|
|
6823
7425
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
6824
7426
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
6825
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
7427
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$F(untrustedConfig_productRequests_item);
|
|
6826
7428
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
6827
7429
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
6828
7430
|
}
|
|
@@ -6846,6 +7448,48 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
6846
7448
|
if (untrustedConfig_usedFor === null) {
|
|
6847
7449
|
config.usedFor = untrustedConfig_usedFor;
|
|
6848
7450
|
}
|
|
7451
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap = untrustedConfig.eligibilityRulesSourceObjectToFieldsMap;
|
|
7452
|
+
if (untrustedIsObject(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap)) {
|
|
7453
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object = {};
|
|
7454
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys = Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap);
|
|
7455
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys.length; i < arrayLength; i++) {
|
|
7456
|
+
const key = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_keys[i];
|
|
7457
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap[key];
|
|
7458
|
+
if (ArrayIsArray$1(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop)) {
|
|
7459
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array = [];
|
|
7460
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop.length; i < arrayLength; i++) {
|
|
7461
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop[i];
|
|
7462
|
+
if (untrustedIsObject(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item)) {
|
|
7463
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object = {};
|
|
7464
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys = Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item);
|
|
7465
|
+
for (let i = 0, arrayLength = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys.length; i < arrayLength; i++) {
|
|
7466
|
+
const key = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_keys[i];
|
|
7467
|
+
const untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_prop = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item[key];
|
|
7468
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object !== undefined) {
|
|
7469
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object[key] = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_prop;
|
|
7470
|
+
}
|
|
7471
|
+
}
|
|
7472
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object !== undefined && Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object).length >= 0) {
|
|
7473
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array.push(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_item_object);
|
|
7474
|
+
}
|
|
7475
|
+
}
|
|
7476
|
+
}
|
|
7477
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object !== undefined) {
|
|
7478
|
+
untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object[key] = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_prop_array;
|
|
7479
|
+
}
|
|
7480
|
+
}
|
|
7481
|
+
}
|
|
7482
|
+
if (untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object !== undefined && Object.keys(untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object).length >= 0) {
|
|
7483
|
+
config.eligibilityRulesSourceObjectToFieldsMap = untrustedConfig_eligibilityRulesSourceObjectToFieldsMap_object;
|
|
7484
|
+
}
|
|
7485
|
+
}
|
|
7486
|
+
const untrustedConfig_allowsUpdate = untrustedConfig.allowsUpdate;
|
|
7487
|
+
if (typeof untrustedConfig_allowsUpdate === 'boolean') {
|
|
7488
|
+
config.allowsUpdate = untrustedConfig_allowsUpdate;
|
|
7489
|
+
}
|
|
7490
|
+
if (untrustedConfig_allowsUpdate === null) {
|
|
7491
|
+
config.allowsUpdate = untrustedConfig_allowsUpdate;
|
|
7492
|
+
}
|
|
6849
7493
|
return config;
|
|
6850
7494
|
}
|
|
6851
7495
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|