@salesforce/lds-adapters-service-ecm 1.346.0 → 1.347.1
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 +399 -104
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SectionInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +400 -105
- package/src/raml/api.raml +74 -2
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$u(obj, path = 'AgentActionInputRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -214,7 +214,7 @@ function validate$s(obj, path = 'AgentActionInputRepresentation') {
|
|
|
214
214
|
return v_error === undefined ? null : v_error;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
function validate$
|
|
217
|
+
function validate$t(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
218
218
|
const v_error = (() => {
|
|
219
219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
220
220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -307,7 +307,46 @@ function validate$r(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
|
307
307
|
return v_error === undefined ? null : v_error;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
function validate$
|
|
310
|
+
function validate$s(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
311
|
+
const v_error = (() => {
|
|
312
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
313
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
314
|
+
}
|
|
315
|
+
const obj_displayName = obj.displayName;
|
|
316
|
+
const path_displayName = path + '.displayName';
|
|
317
|
+
if (typeof obj_displayName !== 'string') {
|
|
318
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
319
|
+
}
|
|
320
|
+
const obj_id = obj.id;
|
|
321
|
+
const path_id = path + '.id';
|
|
322
|
+
if (typeof obj_id !== 'string') {
|
|
323
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
324
|
+
}
|
|
325
|
+
const obj_isDefault = obj.isDefault;
|
|
326
|
+
const path_isDefault = path + '.isDefault';
|
|
327
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
328
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
329
|
+
}
|
|
330
|
+
const obj_isVisible = obj.isVisible;
|
|
331
|
+
const path_isVisible = path + '.isVisible';
|
|
332
|
+
if (typeof obj_isVisible !== 'boolean') {
|
|
333
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
334
|
+
}
|
|
335
|
+
const obj_name = obj.name;
|
|
336
|
+
const path_name = path + '.name';
|
|
337
|
+
if (typeof obj_name !== 'string') {
|
|
338
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
339
|
+
}
|
|
340
|
+
const obj_sequenceNumber = obj.sequenceNumber;
|
|
341
|
+
const path_sequenceNumber = path + '.sequenceNumber';
|
|
342
|
+
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
343
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
344
|
+
}
|
|
345
|
+
})();
|
|
346
|
+
return v_error === undefined ? null : v_error;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
function validate$r(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
311
350
|
const v_error = (() => {
|
|
312
351
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
313
352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -480,6 +519,11 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
480
519
|
return new TypeError(message);
|
|
481
520
|
}
|
|
482
521
|
}
|
|
522
|
+
const obj_isEditable = obj.isEditable;
|
|
523
|
+
const path_isEditable = path + '.isEditable';
|
|
524
|
+
if (typeof obj_isEditable !== 'boolean') {
|
|
525
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEditable + '" (at "' + path_isEditable + '")');
|
|
526
|
+
}
|
|
483
527
|
if (obj.isHidden !== undefined) {
|
|
484
528
|
const obj_isHidden = obj.isHidden;
|
|
485
529
|
const path_isHidden = path + '.isHidden';
|
|
@@ -536,6 +580,11 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
536
580
|
return new TypeError(message);
|
|
537
581
|
}
|
|
538
582
|
}
|
|
583
|
+
const obj_isMappedAnchorField = obj.isMappedAnchorField;
|
|
584
|
+
const path_isMappedAnchorField = path + '.isMappedAnchorField';
|
|
585
|
+
if (typeof obj_isMappedAnchorField !== 'boolean') {
|
|
586
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMappedAnchorField + '" (at "' + path_isMappedAnchorField + '")');
|
|
587
|
+
}
|
|
539
588
|
if (obj.isReadOnly !== undefined) {
|
|
540
589
|
const obj_isReadOnly = obj.isReadOnly;
|
|
541
590
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -648,6 +697,42 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
648
697
|
return new TypeError(message);
|
|
649
698
|
}
|
|
650
699
|
}
|
|
700
|
+
const obj_picklistOptions = obj.picklistOptions;
|
|
701
|
+
const path_picklistOptions = path + '.picklistOptions';
|
|
702
|
+
if (!ArrayIsArray(obj_picklistOptions)) {
|
|
703
|
+
return new TypeError('Expected "array" but received "' + typeof obj_picklistOptions + '" (at "' + path_picklistOptions + '")');
|
|
704
|
+
}
|
|
705
|
+
for (let i = 0; i < obj_picklistOptions.length; i++) {
|
|
706
|
+
const obj_picklistOptions_item = obj_picklistOptions[i];
|
|
707
|
+
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
708
|
+
let obj_picklistOptions_item_union0 = null;
|
|
709
|
+
const obj_picklistOptions_item_union0_error = (() => {
|
|
710
|
+
const referencepath_picklistOptions_itemValidationError = validate$s(obj_picklistOptions_item, path_picklistOptions_item);
|
|
711
|
+
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
712
|
+
let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
713
|
+
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
714
|
+
return new TypeError(message);
|
|
715
|
+
}
|
|
716
|
+
})();
|
|
717
|
+
if (obj_picklistOptions_item_union0_error != null) {
|
|
718
|
+
obj_picklistOptions_item_union0 = obj_picklistOptions_item_union0_error.message;
|
|
719
|
+
}
|
|
720
|
+
let obj_picklistOptions_item_union1 = null;
|
|
721
|
+
const obj_picklistOptions_item_union1_error = (() => {
|
|
722
|
+
if (obj_picklistOptions_item !== null) {
|
|
723
|
+
return new TypeError('Expected "null" but received "' + typeof obj_picklistOptions_item + '" (at "' + path_picklistOptions_item + '")');
|
|
724
|
+
}
|
|
725
|
+
})();
|
|
726
|
+
if (obj_picklistOptions_item_union1_error != null) {
|
|
727
|
+
obj_picklistOptions_item_union1 = obj_picklistOptions_item_union1_error.message;
|
|
728
|
+
}
|
|
729
|
+
if (obj_picklistOptions_item_union0 && obj_picklistOptions_item_union1) {
|
|
730
|
+
let message = 'Object doesn\'t match union (at "' + path_picklistOptions_item + '")';
|
|
731
|
+
message += '\n' + obj_picklistOptions_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
732
|
+
message += '\n' + obj_picklistOptions_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
733
|
+
return new TypeError(message);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
651
736
|
if (obj.sequence !== undefined) {
|
|
652
737
|
const obj_sequence = obj.sequence;
|
|
653
738
|
const path_sequence = path + '.sequence';
|
|
@@ -680,7 +765,7 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
680
765
|
return v_error === undefined ? null : v_error;
|
|
681
766
|
}
|
|
682
767
|
|
|
683
|
-
function validate$
|
|
768
|
+
function validate$q(obj, path = 'SectionInputRepresentation') {
|
|
684
769
|
const v_error = (() => {
|
|
685
770
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
686
771
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -811,11 +896,16 @@ function validate$p(obj, path = 'SectionInputRepresentation') {
|
|
|
811
896
|
return new TypeError(message);
|
|
812
897
|
}
|
|
813
898
|
}
|
|
899
|
+
const obj_sequence = obj.sequence;
|
|
900
|
+
const path_sequence = path + '.sequence';
|
|
901
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
902
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
903
|
+
}
|
|
814
904
|
})();
|
|
815
905
|
return v_error === undefined ? null : v_error;
|
|
816
906
|
}
|
|
817
907
|
|
|
818
|
-
function validate$
|
|
908
|
+
function validate$p(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
819
909
|
const v_error = (() => {
|
|
820
910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
821
911
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -880,7 +970,7 @@ function validate$o(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
880
970
|
return v_error === undefined ? null : v_error;
|
|
881
971
|
}
|
|
882
972
|
|
|
883
|
-
function validate$
|
|
973
|
+
function validate$o(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
884
974
|
const v_error = (() => {
|
|
885
975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
886
976
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1001,7 +1091,7 @@ function validate$n(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
1001
1091
|
return v_error === undefined ? null : v_error;
|
|
1002
1092
|
}
|
|
1003
1093
|
|
|
1004
|
-
function validate$
|
|
1094
|
+
function validate$n(obj, path = 'IntakeFormInputRepresentation') {
|
|
1005
1095
|
const v_error = (() => {
|
|
1006
1096
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1007
1097
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1122,7 +1212,7 @@ function validate$m(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
1122
1212
|
return v_error === undefined ? null : v_error;
|
|
1123
1213
|
}
|
|
1124
1214
|
|
|
1125
|
-
function validate$
|
|
1215
|
+
function validate$m(obj, path = 'IntegrationDefInputRepresentation') {
|
|
1126
1216
|
const v_error = (() => {
|
|
1127
1217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1128
1218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1215,7 +1305,7 @@ function validate$l(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
1215
1305
|
return v_error === undefined ? null : v_error;
|
|
1216
1306
|
}
|
|
1217
1307
|
|
|
1218
|
-
function validate$
|
|
1308
|
+
function validate$l(obj, path = 'PreprocessorInputRepresentation') {
|
|
1219
1309
|
const v_error = (() => {
|
|
1220
1310
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1221
1311
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1308,7 +1398,7 @@ function validate$k(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1308
1398
|
return v_error === undefined ? null : v_error;
|
|
1309
1399
|
}
|
|
1310
1400
|
|
|
1311
|
-
function validate$
|
|
1401
|
+
function validate$k(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1312
1402
|
const v_error = (() => {
|
|
1313
1403
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1314
1404
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1499,8 +1589,8 @@ function validate$j(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1499
1589
|
return v_error === undefined ? null : v_error;
|
|
1500
1590
|
}
|
|
1501
1591
|
|
|
1502
|
-
const VERSION$
|
|
1503
|
-
function validate$
|
|
1592
|
+
const VERSION$f = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1593
|
+
function validate$j(obj, path = 'AgentActionOutputRepresentation') {
|
|
1504
1594
|
const v_error = (() => {
|
|
1505
1595
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1506
1596
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1592,10 +1682,10 @@ function validate$i(obj, path = 'AgentActionOutputRepresentation') {
|
|
|
1592
1682
|
})();
|
|
1593
1683
|
return v_error === undefined ? null : v_error;
|
|
1594
1684
|
}
|
|
1595
|
-
const select$
|
|
1685
|
+
const select$l = function AgentActionOutputRepresentationSelect() {
|
|
1596
1686
|
return {
|
|
1597
1687
|
kind: 'Fragment',
|
|
1598
|
-
version: VERSION$
|
|
1688
|
+
version: VERSION$f,
|
|
1599
1689
|
private: [],
|
|
1600
1690
|
selections: [
|
|
1601
1691
|
{
|
|
@@ -1616,7 +1706,7 @@ const select$k = function AgentActionOutputRepresentationSelect() {
|
|
|
1616
1706
|
]
|
|
1617
1707
|
};
|
|
1618
1708
|
};
|
|
1619
|
-
function equals$
|
|
1709
|
+
function equals$f(existing, incoming) {
|
|
1620
1710
|
const existing_agentActionId = existing.agentActionId;
|
|
1621
1711
|
const incoming_agentActionId = incoming.agentActionId;
|
|
1622
1712
|
// if at least one of these optionals is defined
|
|
@@ -1659,8 +1749,8 @@ function equals$e(existing, incoming) {
|
|
|
1659
1749
|
return true;
|
|
1660
1750
|
}
|
|
1661
1751
|
|
|
1662
|
-
const VERSION$
|
|
1663
|
-
function validate$
|
|
1752
|
+
const VERSION$e = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
1753
|
+
function validate$i(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1664
1754
|
const v_error = (() => {
|
|
1665
1755
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1666
1756
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1724,10 +1814,10 @@ function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
|
1724
1814
|
})();
|
|
1725
1815
|
return v_error === undefined ? null : v_error;
|
|
1726
1816
|
}
|
|
1727
|
-
const select$
|
|
1817
|
+
const select$k = function AssociatedArticleOutputRepresentationSelect() {
|
|
1728
1818
|
return {
|
|
1729
1819
|
kind: 'Fragment',
|
|
1730
|
-
version: VERSION$
|
|
1820
|
+
version: VERSION$e,
|
|
1731
1821
|
private: [],
|
|
1732
1822
|
selections: [
|
|
1733
1823
|
{
|
|
@@ -1743,7 +1833,7 @@ const select$j = function AssociatedArticleOutputRepresentationSelect() {
|
|
|
1743
1833
|
]
|
|
1744
1834
|
};
|
|
1745
1835
|
};
|
|
1746
|
-
function equals$
|
|
1836
|
+
function equals$e(existing, incoming) {
|
|
1747
1837
|
const existing_id = existing.id;
|
|
1748
1838
|
const incoming_id = incoming.id;
|
|
1749
1839
|
// if at least one of these optionals is defined
|
|
@@ -1773,8 +1863,8 @@ function equals$d(existing, incoming) {
|
|
|
1773
1863
|
return true;
|
|
1774
1864
|
}
|
|
1775
1865
|
|
|
1776
|
-
const VERSION$
|
|
1777
|
-
function validate$
|
|
1866
|
+
const VERSION$d = "6859d872ce6d03f8f07819eb40c43fe6";
|
|
1867
|
+
function validate$h(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
1778
1868
|
const v_error = (() => {
|
|
1779
1869
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1780
1870
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1838,10 +1928,10 @@ function validate$g(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
|
1838
1928
|
})();
|
|
1839
1929
|
return v_error === undefined ? null : v_error;
|
|
1840
1930
|
}
|
|
1841
|
-
const select$
|
|
1931
|
+
const select$j = function EligibilityRuleOutputRepresentationSelect() {
|
|
1842
1932
|
return {
|
|
1843
1933
|
kind: 'Fragment',
|
|
1844
|
-
version: VERSION$
|
|
1934
|
+
version: VERSION$d,
|
|
1845
1935
|
private: [],
|
|
1846
1936
|
selections: [
|
|
1847
1937
|
{
|
|
@@ -1857,7 +1947,7 @@ const select$i = function EligibilityRuleOutputRepresentationSelect() {
|
|
|
1857
1947
|
]
|
|
1858
1948
|
};
|
|
1859
1949
|
};
|
|
1860
|
-
function equals$
|
|
1950
|
+
function equals$d(existing, incoming) {
|
|
1861
1951
|
const existing_eligibilityRuleId = existing.eligibilityRuleId;
|
|
1862
1952
|
const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
|
|
1863
1953
|
// if at least one of these optionals is defined
|
|
@@ -1887,8 +1977,8 @@ function equals$c(existing, incoming) {
|
|
|
1887
1977
|
return true;
|
|
1888
1978
|
}
|
|
1889
1979
|
|
|
1890
|
-
const VERSION$
|
|
1891
|
-
function validate$
|
|
1980
|
+
const VERSION$c = "b5216beece7c04763cff6924e6953f93";
|
|
1981
|
+
function validate$g(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
1892
1982
|
const v_error = (() => {
|
|
1893
1983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1894
1984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1980,10 +2070,10 @@ function validate$f(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
|
1980
2070
|
})();
|
|
1981
2071
|
return v_error === undefined ? null : v_error;
|
|
1982
2072
|
}
|
|
1983
|
-
const select$
|
|
2073
|
+
const select$i = function FulfillmentFlowOutputRepresentationSelect() {
|
|
1984
2074
|
return {
|
|
1985
2075
|
kind: 'Fragment',
|
|
1986
|
-
version: VERSION$
|
|
2076
|
+
version: VERSION$c,
|
|
1987
2077
|
private: [],
|
|
1988
2078
|
selections: [
|
|
1989
2079
|
{
|
|
@@ -2004,7 +2094,7 @@ const select$h = function FulfillmentFlowOutputRepresentationSelect() {
|
|
|
2004
2094
|
]
|
|
2005
2095
|
};
|
|
2006
2096
|
};
|
|
2007
|
-
function equals$
|
|
2097
|
+
function equals$c(existing, incoming) {
|
|
2008
2098
|
const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
|
|
2009
2099
|
const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
|
|
2010
2100
|
// if at least one of these optionals is defined
|
|
@@ -2047,8 +2137,8 @@ function equals$b(existing, incoming) {
|
|
|
2047
2137
|
return true;
|
|
2048
2138
|
}
|
|
2049
2139
|
|
|
2050
|
-
const VERSION$
|
|
2051
|
-
function validate$
|
|
2140
|
+
const VERSION$b = "dc8ba723ca754951db42f9d0e6891a06";
|
|
2141
|
+
function validate$f(obj, path = 'IntakeFormOutputRepresentation') {
|
|
2052
2142
|
const v_error = (() => {
|
|
2053
2143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2054
2144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2280,10 +2370,10 @@ function validate$e(obj, path = 'IntakeFormOutputRepresentation') {
|
|
|
2280
2370
|
})();
|
|
2281
2371
|
return v_error === undefined ? null : v_error;
|
|
2282
2372
|
}
|
|
2283
|
-
const select$
|
|
2373
|
+
const select$h = function IntakeFormOutputRepresentationSelect() {
|
|
2284
2374
|
return {
|
|
2285
2375
|
kind: 'Fragment',
|
|
2286
|
-
version: VERSION$
|
|
2376
|
+
version: VERSION$b,
|
|
2287
2377
|
private: [],
|
|
2288
2378
|
selections: [
|
|
2289
2379
|
{
|
|
@@ -2329,7 +2419,7 @@ const select$g = function IntakeFormOutputRepresentationSelect() {
|
|
|
2329
2419
|
]
|
|
2330
2420
|
};
|
|
2331
2421
|
};
|
|
2332
|
-
function equals$
|
|
2422
|
+
function equals$b(existing, incoming) {
|
|
2333
2423
|
const existing_id = existing.id;
|
|
2334
2424
|
const incoming_id = incoming.id;
|
|
2335
2425
|
// if at least one of these optionals is defined
|
|
@@ -2437,8 +2527,8 @@ function equals$a(existing, incoming) {
|
|
|
2437
2527
|
return true;
|
|
2438
2528
|
}
|
|
2439
2529
|
|
|
2440
|
-
const VERSION$
|
|
2441
|
-
function validate$
|
|
2530
|
+
const VERSION$a = "1006a153c933b8bc4b1d44663893e206";
|
|
2531
|
+
function validate$e(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
2442
2532
|
const v_error = (() => {
|
|
2443
2533
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2444
2534
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2502,10 +2592,10 @@ function validate$d(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
|
2502
2592
|
})();
|
|
2503
2593
|
return v_error === undefined ? null : v_error;
|
|
2504
2594
|
}
|
|
2505
|
-
const select$
|
|
2595
|
+
const select$g = function IntegrationDefinitionOutputPresentationSelect() {
|
|
2506
2596
|
return {
|
|
2507
2597
|
kind: 'Fragment',
|
|
2508
|
-
version: VERSION$
|
|
2598
|
+
version: VERSION$a,
|
|
2509
2599
|
private: [],
|
|
2510
2600
|
selections: [
|
|
2511
2601
|
{
|
|
@@ -2521,7 +2611,7 @@ const select$f = function IntegrationDefinitionOutputPresentationSelect() {
|
|
|
2521
2611
|
]
|
|
2522
2612
|
};
|
|
2523
2613
|
};
|
|
2524
|
-
function equals$
|
|
2614
|
+
function equals$a(existing, incoming) {
|
|
2525
2615
|
const existing_id = existing.id;
|
|
2526
2616
|
const incoming_id = incoming.id;
|
|
2527
2617
|
// if at least one of these optionals is defined
|
|
@@ -2551,8 +2641,8 @@ function equals$9(existing, incoming) {
|
|
|
2551
2641
|
return true;
|
|
2552
2642
|
}
|
|
2553
2643
|
|
|
2554
|
-
const VERSION$
|
|
2555
|
-
function validate$
|
|
2644
|
+
const VERSION$9 = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
2645
|
+
function validate$d(obj, path = 'PreprocessorOutputRepresentation') {
|
|
2556
2646
|
const v_error = (() => {
|
|
2557
2647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2558
2648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2616,10 +2706,10 @@ function validate$c(obj, path = 'PreprocessorOutputRepresentation') {
|
|
|
2616
2706
|
})();
|
|
2617
2707
|
return v_error === undefined ? null : v_error;
|
|
2618
2708
|
}
|
|
2619
|
-
const select$
|
|
2709
|
+
const select$f = function PreprocessorOutputRepresentationSelect() {
|
|
2620
2710
|
return {
|
|
2621
2711
|
kind: 'Fragment',
|
|
2622
|
-
version: VERSION$
|
|
2712
|
+
version: VERSION$9,
|
|
2623
2713
|
private: [],
|
|
2624
2714
|
selections: [
|
|
2625
2715
|
{
|
|
@@ -2635,7 +2725,7 @@ const select$e = function PreprocessorOutputRepresentationSelect() {
|
|
|
2635
2725
|
]
|
|
2636
2726
|
};
|
|
2637
2727
|
};
|
|
2638
|
-
function equals$
|
|
2728
|
+
function equals$9(existing, incoming) {
|
|
2639
2729
|
const existing_id = existing.id;
|
|
2640
2730
|
const incoming_id = incoming.id;
|
|
2641
2731
|
// if at least one of these optionals is defined
|
|
@@ -2665,8 +2755,8 @@ function equals$8(existing, incoming) {
|
|
|
2665
2755
|
return true;
|
|
2666
2756
|
}
|
|
2667
2757
|
|
|
2668
|
-
const VERSION$
|
|
2669
|
-
function validate$
|
|
2758
|
+
const VERSION$8 = "237440975156389e5479f294d3d601de";
|
|
2759
|
+
function validate$c(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
2670
2760
|
const v_error = (() => {
|
|
2671
2761
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2672
2762
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2730,10 +2820,10 @@ function validate$b(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
|
2730
2820
|
})();
|
|
2731
2821
|
return v_error === undefined ? null : v_error;
|
|
2732
2822
|
}
|
|
2733
|
-
const select$
|
|
2823
|
+
const select$e = function ProductDetailsOutputRepresentationSelect() {
|
|
2734
2824
|
return {
|
|
2735
2825
|
kind: 'Fragment',
|
|
2736
|
-
version: VERSION$
|
|
2826
|
+
version: VERSION$8,
|
|
2737
2827
|
private: [],
|
|
2738
2828
|
selections: [
|
|
2739
2829
|
{
|
|
@@ -2749,7 +2839,7 @@ const select$d = function ProductDetailsOutputRepresentationSelect() {
|
|
|
2749
2839
|
]
|
|
2750
2840
|
};
|
|
2751
2841
|
};
|
|
2752
|
-
function equals$
|
|
2842
|
+
function equals$8(existing, incoming) {
|
|
2753
2843
|
const existing_id = existing.id;
|
|
2754
2844
|
const incoming_id = incoming.id;
|
|
2755
2845
|
// if at least one of these optionals is defined
|
|
@@ -2779,8 +2869,8 @@ function equals$7(existing, incoming) {
|
|
|
2779
2869
|
return true;
|
|
2780
2870
|
}
|
|
2781
2871
|
|
|
2782
|
-
const VERSION$
|
|
2783
|
-
function validate$
|
|
2872
|
+
const VERSION$7 = "dc18ee4b99b0510d2c89ddf9261ea1e7";
|
|
2873
|
+
function validate$b(obj, path = 'ProductRequestOutputRepresentation') {
|
|
2784
2874
|
const v_error = (() => {
|
|
2785
2875
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2786
2876
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2794,7 +2884,7 @@ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
2794
2884
|
for (let i = 0; i < obj_productDetails.length; i++) {
|
|
2795
2885
|
const obj_productDetails_item = obj_productDetails[i];
|
|
2796
2886
|
const path_productDetails_item = path_productDetails + '[' + i + ']';
|
|
2797
|
-
const referencepath_productDetails_itemValidationError = validate$
|
|
2887
|
+
const referencepath_productDetails_itemValidationError = validate$c(obj_productDetails_item, path_productDetails_item);
|
|
2798
2888
|
if (referencepath_productDetails_itemValidationError !== null) {
|
|
2799
2889
|
let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
|
|
2800
2890
|
message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2973,11 +3063,11 @@ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
2973
3063
|
})();
|
|
2974
3064
|
return v_error === undefined ? null : v_error;
|
|
2975
3065
|
}
|
|
2976
|
-
const select$
|
|
2977
|
-
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$
|
|
3066
|
+
const select$d = function ProductRequestOutputRepresentationSelect() {
|
|
3067
|
+
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$e();
|
|
2978
3068
|
return {
|
|
2979
3069
|
kind: 'Fragment',
|
|
2980
|
-
version: VERSION$
|
|
3070
|
+
version: VERSION$7,
|
|
2981
3071
|
private: [],
|
|
2982
3072
|
selections: [
|
|
2983
3073
|
{
|
|
@@ -3020,7 +3110,7 @@ const select$c = function ProductRequestOutputRepresentationSelect() {
|
|
|
3020
3110
|
]
|
|
3021
3111
|
};
|
|
3022
3112
|
};
|
|
3023
|
-
function equals$
|
|
3113
|
+
function equals$7(existing, incoming) {
|
|
3024
3114
|
const existing_productDetails = existing.productDetails;
|
|
3025
3115
|
const incoming_productDetails = incoming.productDetails;
|
|
3026
3116
|
// if at least one of these optionals is defined
|
|
@@ -3031,7 +3121,7 @@ function equals$6(existing, incoming) {
|
|
|
3031
3121
|
return false;
|
|
3032
3122
|
}
|
|
3033
3123
|
const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
|
|
3034
|
-
if (!(equals$
|
|
3124
|
+
if (!(equals$8(existing_productDetails_item, incoming_productDetails_item))) {
|
|
3035
3125
|
return false;
|
|
3036
3126
|
}
|
|
3037
3127
|
});
|
|
@@ -3120,7 +3210,113 @@ function equals$6(existing, incoming) {
|
|
|
3120
3210
|
return true;
|
|
3121
3211
|
}
|
|
3122
3212
|
|
|
3123
|
-
const VERSION$
|
|
3213
|
+
const VERSION$6 = "245173b37929c2c5a2ccdf3c005e5ed9";
|
|
3214
|
+
function validate$a(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
|
|
3215
|
+
const v_error = (() => {
|
|
3216
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3217
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3218
|
+
}
|
|
3219
|
+
const obj_displayName = obj.displayName;
|
|
3220
|
+
const path_displayName = path + '.displayName';
|
|
3221
|
+
if (typeof obj_displayName !== 'string') {
|
|
3222
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
3223
|
+
}
|
|
3224
|
+
const obj_id = obj.id;
|
|
3225
|
+
const path_id = path + '.id';
|
|
3226
|
+
if (typeof obj_id !== 'string') {
|
|
3227
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3228
|
+
}
|
|
3229
|
+
const obj_isDefault = obj.isDefault;
|
|
3230
|
+
const path_isDefault = path + '.isDefault';
|
|
3231
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
3232
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
3233
|
+
}
|
|
3234
|
+
const obj_isVisible = obj.isVisible;
|
|
3235
|
+
const path_isVisible = path + '.isVisible';
|
|
3236
|
+
if (typeof obj_isVisible !== 'boolean') {
|
|
3237
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
3238
|
+
}
|
|
3239
|
+
const obj_name = obj.name;
|
|
3240
|
+
const path_name = path + '.name';
|
|
3241
|
+
if (typeof obj_name !== 'string') {
|
|
3242
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3243
|
+
}
|
|
3244
|
+
const obj_sequenceNumber = obj.sequenceNumber;
|
|
3245
|
+
const path_sequenceNumber = path + '.sequenceNumber';
|
|
3246
|
+
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
3247
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
3248
|
+
}
|
|
3249
|
+
})();
|
|
3250
|
+
return v_error === undefined ? null : v_error;
|
|
3251
|
+
}
|
|
3252
|
+
const select$c = function PicklistAttributeTypeOutputRepresentationSelect() {
|
|
3253
|
+
return {
|
|
3254
|
+
kind: 'Fragment',
|
|
3255
|
+
version: VERSION$6,
|
|
3256
|
+
private: [],
|
|
3257
|
+
selections: [
|
|
3258
|
+
{
|
|
3259
|
+
name: 'displayName',
|
|
3260
|
+
kind: 'Scalar'
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
name: 'id',
|
|
3264
|
+
kind: 'Scalar'
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
name: 'isDefault',
|
|
3268
|
+
kind: 'Scalar'
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
name: 'isVisible',
|
|
3272
|
+
kind: 'Scalar'
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
name: 'name',
|
|
3276
|
+
kind: 'Scalar'
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
name: 'sequenceNumber',
|
|
3280
|
+
kind: 'Scalar'
|
|
3281
|
+
}
|
|
3282
|
+
]
|
|
3283
|
+
};
|
|
3284
|
+
};
|
|
3285
|
+
function equals$6(existing, incoming) {
|
|
3286
|
+
const existing_isDefault = existing.isDefault;
|
|
3287
|
+
const incoming_isDefault = incoming.isDefault;
|
|
3288
|
+
if (!(existing_isDefault === incoming_isDefault)) {
|
|
3289
|
+
return false;
|
|
3290
|
+
}
|
|
3291
|
+
const existing_isVisible = existing.isVisible;
|
|
3292
|
+
const incoming_isVisible = incoming.isVisible;
|
|
3293
|
+
if (!(existing_isVisible === incoming_isVisible)) {
|
|
3294
|
+
return false;
|
|
3295
|
+
}
|
|
3296
|
+
const existing_sequenceNumber = existing.sequenceNumber;
|
|
3297
|
+
const incoming_sequenceNumber = incoming.sequenceNumber;
|
|
3298
|
+
if (!(existing_sequenceNumber === incoming_sequenceNumber)) {
|
|
3299
|
+
return false;
|
|
3300
|
+
}
|
|
3301
|
+
const existing_displayName = existing.displayName;
|
|
3302
|
+
const incoming_displayName = incoming.displayName;
|
|
3303
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
3304
|
+
return false;
|
|
3305
|
+
}
|
|
3306
|
+
const existing_id = existing.id;
|
|
3307
|
+
const incoming_id = incoming.id;
|
|
3308
|
+
if (!(existing_id === incoming_id)) {
|
|
3309
|
+
return false;
|
|
3310
|
+
}
|
|
3311
|
+
const existing_name = existing.name;
|
|
3312
|
+
const incoming_name = incoming.name;
|
|
3313
|
+
if (!(existing_name === incoming_name)) {
|
|
3314
|
+
return false;
|
|
3315
|
+
}
|
|
3316
|
+
return true;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
const VERSION$5 = "ded8b1dcf263ca20f8cd782c6237cc7d";
|
|
3124
3320
|
function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
3125
3321
|
const v_error = (() => {
|
|
3126
3322
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3322,6 +3518,11 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3322
3518
|
return new TypeError(message);
|
|
3323
3519
|
}
|
|
3324
3520
|
}
|
|
3521
|
+
const obj_isEditable = obj.isEditable;
|
|
3522
|
+
const path_isEditable = path + '.isEditable';
|
|
3523
|
+
if (typeof obj_isEditable !== 'boolean') {
|
|
3524
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEditable + '" (at "' + path_isEditable + '")');
|
|
3525
|
+
}
|
|
3325
3526
|
if (obj.isHidden !== undefined) {
|
|
3326
3527
|
const obj_isHidden = obj.isHidden;
|
|
3327
3528
|
const path_isHidden = path + '.isHidden';
|
|
@@ -3378,6 +3579,11 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3378
3579
|
return new TypeError(message);
|
|
3379
3580
|
}
|
|
3380
3581
|
}
|
|
3582
|
+
const obj_isMappedAnchorField = obj.isMappedAnchorField;
|
|
3583
|
+
const path_isMappedAnchorField = path + '.isMappedAnchorField';
|
|
3584
|
+
if (typeof obj_isMappedAnchorField !== 'boolean') {
|
|
3585
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMappedAnchorField + '" (at "' + path_isMappedAnchorField + '")');
|
|
3586
|
+
}
|
|
3381
3587
|
if (obj.isReadOnly !== undefined) {
|
|
3382
3588
|
const obj_isReadOnly = obj.isReadOnly;
|
|
3383
3589
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -3490,6 +3696,42 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3490
3696
|
return new TypeError(message);
|
|
3491
3697
|
}
|
|
3492
3698
|
}
|
|
3699
|
+
const obj_picklistOptions = obj.picklistOptions;
|
|
3700
|
+
const path_picklistOptions = path + '.picklistOptions';
|
|
3701
|
+
if (!ArrayIsArray(obj_picklistOptions)) {
|
|
3702
|
+
return new TypeError('Expected "array" but received "' + typeof obj_picklistOptions + '" (at "' + path_picklistOptions + '")');
|
|
3703
|
+
}
|
|
3704
|
+
for (let i = 0; i < obj_picklistOptions.length; i++) {
|
|
3705
|
+
const obj_picklistOptions_item = obj_picklistOptions[i];
|
|
3706
|
+
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
3707
|
+
let obj_picklistOptions_item_union0 = null;
|
|
3708
|
+
const obj_picklistOptions_item_union0_error = (() => {
|
|
3709
|
+
const referencepath_picklistOptions_itemValidationError = validate$a(obj_picklistOptions_item, path_picklistOptions_item);
|
|
3710
|
+
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
3711
|
+
let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
3712
|
+
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3713
|
+
return new TypeError(message);
|
|
3714
|
+
}
|
|
3715
|
+
})();
|
|
3716
|
+
if (obj_picklistOptions_item_union0_error != null) {
|
|
3717
|
+
obj_picklistOptions_item_union0 = obj_picklistOptions_item_union0_error.message;
|
|
3718
|
+
}
|
|
3719
|
+
let obj_picklistOptions_item_union1 = null;
|
|
3720
|
+
const obj_picklistOptions_item_union1_error = (() => {
|
|
3721
|
+
if (obj_picklistOptions_item !== null) {
|
|
3722
|
+
return new TypeError('Expected "null" but received "' + typeof obj_picklistOptions_item + '" (at "' + path_picklistOptions_item + '")');
|
|
3723
|
+
}
|
|
3724
|
+
})();
|
|
3725
|
+
if (obj_picklistOptions_item_union1_error != null) {
|
|
3726
|
+
obj_picklistOptions_item_union1 = obj_picklistOptions_item_union1_error.message;
|
|
3727
|
+
}
|
|
3728
|
+
if (obj_picklistOptions_item_union0 && obj_picklistOptions_item_union1) {
|
|
3729
|
+
let message = 'Object doesn\'t match union (at "' + path_picklistOptions_item + '")';
|
|
3730
|
+
message += '\n' + obj_picklistOptions_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3731
|
+
message += '\n' + obj_picklistOptions_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3732
|
+
return new TypeError(message);
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3493
3735
|
if (obj.sequence !== undefined) {
|
|
3494
3736
|
const obj_sequence = obj.sequence;
|
|
3495
3737
|
const path_sequence = path + '.sequence';
|
|
@@ -3522,6 +3764,7 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3522
3764
|
return v_error === undefined ? null : v_error;
|
|
3523
3765
|
}
|
|
3524
3766
|
const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
3767
|
+
const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$c();
|
|
3525
3768
|
return {
|
|
3526
3769
|
kind: 'Fragment',
|
|
3527
3770
|
version: VERSION$5,
|
|
@@ -3562,6 +3805,10 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3562
3805
|
kind: 'Scalar',
|
|
3563
3806
|
required: false
|
|
3564
3807
|
},
|
|
3808
|
+
{
|
|
3809
|
+
name: 'isEditable',
|
|
3810
|
+
kind: 'Scalar'
|
|
3811
|
+
},
|
|
3565
3812
|
{
|
|
3566
3813
|
name: 'isHidden',
|
|
3567
3814
|
kind: 'Scalar',
|
|
@@ -3572,6 +3819,10 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3572
3819
|
kind: 'Scalar',
|
|
3573
3820
|
required: false
|
|
3574
3821
|
},
|
|
3822
|
+
{
|
|
3823
|
+
name: 'isMappedAnchorField',
|
|
3824
|
+
kind: 'Scalar'
|
|
3825
|
+
},
|
|
3575
3826
|
{
|
|
3576
3827
|
name: 'isReadOnly',
|
|
3577
3828
|
kind: 'Scalar',
|
|
@@ -3592,6 +3843,13 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3592
3843
|
kind: 'Scalar',
|
|
3593
3844
|
required: false
|
|
3594
3845
|
},
|
|
3846
|
+
{
|
|
3847
|
+
name: 'picklistOptions',
|
|
3848
|
+
kind: 'Object',
|
|
3849
|
+
nullable: true,
|
|
3850
|
+
plural: true,
|
|
3851
|
+
selections: PicklistAttributeTypeOutputRepresentation__selections
|
|
3852
|
+
},
|
|
3595
3853
|
{
|
|
3596
3854
|
name: 'sequence',
|
|
3597
3855
|
kind: 'Scalar',
|
|
@@ -3601,6 +3859,16 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3601
3859
|
};
|
|
3602
3860
|
};
|
|
3603
3861
|
function equals$5(existing, incoming) {
|
|
3862
|
+
const existing_isEditable = existing.isEditable;
|
|
3863
|
+
const incoming_isEditable = incoming.isEditable;
|
|
3864
|
+
if (!(existing_isEditable === incoming_isEditable)) {
|
|
3865
|
+
return false;
|
|
3866
|
+
}
|
|
3867
|
+
const existing_isMappedAnchorField = existing.isMappedAnchorField;
|
|
3868
|
+
const incoming_isMappedAnchorField = incoming.isMappedAnchorField;
|
|
3869
|
+
if (!(existing_isMappedAnchorField === incoming_isMappedAnchorField)) {
|
|
3870
|
+
return false;
|
|
3871
|
+
}
|
|
3604
3872
|
const existing_apiName = existing.apiName;
|
|
3605
3873
|
const incoming_apiName = incoming.apiName;
|
|
3606
3874
|
// if at least one of these optionals is defined
|
|
@@ -3770,6 +4038,19 @@ function equals$5(existing, incoming) {
|
|
|
3770
4038
|
return false;
|
|
3771
4039
|
}
|
|
3772
4040
|
}
|
|
4041
|
+
const existing_picklistOptions = existing.picklistOptions;
|
|
4042
|
+
const incoming_picklistOptions = incoming.picklistOptions;
|
|
4043
|
+
const equals_picklistOptions_items = equalsArray(existing_picklistOptions, incoming_picklistOptions, (existing_picklistOptions_item, incoming_picklistOptions_item) => {
|
|
4044
|
+
if (!(existing_picklistOptions_item === incoming_picklistOptions_item
|
|
4045
|
+
|| (existing_picklistOptions_item != null &&
|
|
4046
|
+
incoming_picklistOptions_item != null &&
|
|
4047
|
+
equals$6(existing_picklistOptions_item, incoming_picklistOptions_item)))) {
|
|
4048
|
+
return false;
|
|
4049
|
+
}
|
|
4050
|
+
});
|
|
4051
|
+
if (equals_picklistOptions_items === false) {
|
|
4052
|
+
return false;
|
|
4053
|
+
}
|
|
3773
4054
|
const existing_sequence = existing.sequence;
|
|
3774
4055
|
const incoming_sequence = incoming.sequence;
|
|
3775
4056
|
// if at least one of these optionals is defined
|
|
@@ -3786,7 +4067,7 @@ function equals$5(existing, incoming) {
|
|
|
3786
4067
|
return true;
|
|
3787
4068
|
}
|
|
3788
4069
|
|
|
3789
|
-
const VERSION$4 = "
|
|
4070
|
+
const VERSION$4 = "34826a646bb7b0b7c59bab61234d541a";
|
|
3790
4071
|
function validate$8(obj, path = 'SectionOutputRepresentation') {
|
|
3791
4072
|
const v_error = (() => {
|
|
3792
4073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3914,6 +4195,11 @@ function validate$8(obj, path = 'SectionOutputRepresentation') {
|
|
|
3914
4195
|
return new TypeError(message);
|
|
3915
4196
|
}
|
|
3916
4197
|
}
|
|
4198
|
+
const obj_sequence = obj.sequence;
|
|
4199
|
+
const path_sequence = path + '.sequence';
|
|
4200
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
4201
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
4202
|
+
}
|
|
3917
4203
|
})();
|
|
3918
4204
|
return v_error === undefined ? null : v_error;
|
|
3919
4205
|
}
|
|
@@ -3946,11 +4232,20 @@ const select$a = function SectionOutputRepresentationSelect() {
|
|
|
3946
4232
|
name: 'name',
|
|
3947
4233
|
kind: 'Scalar',
|
|
3948
4234
|
required: false
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
name: 'sequence',
|
|
4238
|
+
kind: 'Scalar'
|
|
3949
4239
|
}
|
|
3950
4240
|
]
|
|
3951
4241
|
};
|
|
3952
4242
|
};
|
|
3953
4243
|
function equals$4(existing, incoming) {
|
|
4244
|
+
const existing_sequence = existing.sequence;
|
|
4245
|
+
const incoming_sequence = incoming.sequence;
|
|
4246
|
+
if (!(existing_sequence === incoming_sequence)) {
|
|
4247
|
+
return false;
|
|
4248
|
+
}
|
|
3954
4249
|
const existing_attributes = existing.attributes;
|
|
3955
4250
|
const incoming_attributes = incoming.attributes;
|
|
3956
4251
|
// if at least one of these optionals is defined
|
|
@@ -4026,7 +4321,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4026
4321
|
const path_agentAction = path + '.agentAction';
|
|
4027
4322
|
let obj_agentAction_union0 = null;
|
|
4028
4323
|
const obj_agentAction_union0_error = (() => {
|
|
4029
|
-
const referencepath_agentActionValidationError = validate$
|
|
4324
|
+
const referencepath_agentActionValidationError = validate$j(obj_agentAction, path_agentAction);
|
|
4030
4325
|
if (referencepath_agentActionValidationError !== null) {
|
|
4031
4326
|
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
4032
4327
|
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4063,7 +4358,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4063
4358
|
const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
|
|
4064
4359
|
let obj_associatedArticles_item_union0 = null;
|
|
4065
4360
|
const obj_associatedArticles_item_union0_error = (() => {
|
|
4066
|
-
const referencepath_associatedArticles_itemValidationError = validate$
|
|
4361
|
+
const referencepath_associatedArticles_itemValidationError = validate$i(obj_associatedArticles_item, path_associatedArticles_item);
|
|
4067
4362
|
if (referencepath_associatedArticles_itemValidationError !== null) {
|
|
4068
4363
|
let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
|
|
4069
4364
|
message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4211,7 +4506,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4211
4506
|
const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
|
|
4212
4507
|
let obj_eligibilityRules_item_union0 = null;
|
|
4213
4508
|
const obj_eligibilityRules_item_union0_error = (() => {
|
|
4214
|
-
const referencepath_eligibilityRules_itemValidationError = validate$
|
|
4509
|
+
const referencepath_eligibilityRules_itemValidationError = validate$h(obj_eligibilityRules_item, path_eligibilityRules_item);
|
|
4215
4510
|
if (referencepath_eligibilityRules_itemValidationError !== null) {
|
|
4216
4511
|
let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
|
|
4217
4512
|
message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4243,7 +4538,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4243
4538
|
const path_fulfillmentFlow = path + '.fulfillmentFlow';
|
|
4244
4539
|
let obj_fulfillmentFlow_union0 = null;
|
|
4245
4540
|
const obj_fulfillmentFlow_union0_error = (() => {
|
|
4246
|
-
const referencepath_fulfillmentFlowValidationError = validate$
|
|
4541
|
+
const referencepath_fulfillmentFlowValidationError = validate$g(obj_fulfillmentFlow, path_fulfillmentFlow);
|
|
4247
4542
|
if (referencepath_fulfillmentFlowValidationError !== null) {
|
|
4248
4543
|
let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
|
|
4249
4544
|
message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4274,7 +4569,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4274
4569
|
const path_intakeForm = path + '.intakeForm';
|
|
4275
4570
|
let obj_intakeForm_union0 = null;
|
|
4276
4571
|
const obj_intakeForm_union0_error = (() => {
|
|
4277
|
-
const referencepath_intakeFormValidationError = validate$
|
|
4572
|
+
const referencepath_intakeFormValidationError = validate$f(obj_intakeForm, path_intakeForm);
|
|
4278
4573
|
if (referencepath_intakeFormValidationError !== null) {
|
|
4279
4574
|
let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
|
|
4280
4575
|
message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4311,7 +4606,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4311
4606
|
const path_integrations_item = path_integrations + '[' + i + ']';
|
|
4312
4607
|
let obj_integrations_item_union0 = null;
|
|
4313
4608
|
const obj_integrations_item_union0_error = (() => {
|
|
4314
|
-
const referencepath_integrations_itemValidationError = validate$
|
|
4609
|
+
const referencepath_integrations_itemValidationError = validate$e(obj_integrations_item, path_integrations_item);
|
|
4315
4610
|
if (referencepath_integrations_itemValidationError !== null) {
|
|
4316
4611
|
let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
|
|
4317
4612
|
message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4405,7 +4700,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4405
4700
|
const path_preProcessors_item = path_preProcessors + '[' + i + ']';
|
|
4406
4701
|
let obj_preProcessors_item_union0 = null;
|
|
4407
4702
|
const obj_preProcessors_item_union0_error = (() => {
|
|
4408
|
-
const referencepath_preProcessors_itemValidationError = validate$
|
|
4703
|
+
const referencepath_preProcessors_itemValidationError = validate$d(obj_preProcessors_item, path_preProcessors_item);
|
|
4409
4704
|
if (referencepath_preProcessors_itemValidationError !== null) {
|
|
4410
4705
|
let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
|
|
4411
4706
|
message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4471,7 +4766,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4471
4766
|
const path_productRequests_item = path_productRequests + '[' + i + ']';
|
|
4472
4767
|
let obj_productRequests_item_union0 = null;
|
|
4473
4768
|
const obj_productRequests_item_union0_error = (() => {
|
|
4474
|
-
const referencepath_productRequests_itemValidationError = validate$
|
|
4769
|
+
const referencepath_productRequests_itemValidationError = validate$b(obj_productRequests_item, path_productRequests_item);
|
|
4475
4770
|
if (referencepath_productRequests_itemValidationError !== null) {
|
|
4476
4771
|
let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
|
|
4477
4772
|
message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4640,14 +4935,14 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
4640
4935
|
return input;
|
|
4641
4936
|
}
|
|
4642
4937
|
const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
4643
|
-
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$
|
|
4644
|
-
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$
|
|
4645
|
-
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$
|
|
4646
|
-
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$
|
|
4647
|
-
const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$
|
|
4648
|
-
const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$
|
|
4649
|
-
const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$
|
|
4650
|
-
const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$
|
|
4938
|
+
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$l();
|
|
4939
|
+
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$k();
|
|
4940
|
+
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$j();
|
|
4941
|
+
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$i();
|
|
4942
|
+
const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$h();
|
|
4943
|
+
const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$g();
|
|
4944
|
+
const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$f();
|
|
4945
|
+
const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$d();
|
|
4651
4946
|
const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$a();
|
|
4652
4947
|
return {
|
|
4653
4948
|
kind: 'Fragment',
|
|
@@ -4790,7 +5085,7 @@ function equals$3(existing, incoming) {
|
|
|
4790
5085
|
if (!(existing_agentAction === incoming_agentAction
|
|
4791
5086
|
|| (existing_agentAction != null &&
|
|
4792
5087
|
incoming_agentAction != null &&
|
|
4793
|
-
equals$
|
|
5088
|
+
equals$f(existing_agentAction, incoming_agentAction)))) {
|
|
4794
5089
|
return false;
|
|
4795
5090
|
}
|
|
4796
5091
|
}
|
|
@@ -4807,7 +5102,7 @@ function equals$3(existing, incoming) {
|
|
|
4807
5102
|
if (!(existing_associatedArticles_item === incoming_associatedArticles_item
|
|
4808
5103
|
|| (existing_associatedArticles_item != null &&
|
|
4809
5104
|
incoming_associatedArticles_item != null &&
|
|
4810
|
-
equals$
|
|
5105
|
+
equals$e(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
|
|
4811
5106
|
return false;
|
|
4812
5107
|
}
|
|
4813
5108
|
});
|
|
@@ -4872,7 +5167,7 @@ function equals$3(existing, incoming) {
|
|
|
4872
5167
|
if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
|
|
4873
5168
|
|| (existing_eligibilityRules_item != null &&
|
|
4874
5169
|
incoming_eligibilityRules_item != null &&
|
|
4875
|
-
equals$
|
|
5170
|
+
equals$d(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
|
|
4876
5171
|
return false;
|
|
4877
5172
|
}
|
|
4878
5173
|
});
|
|
@@ -4892,7 +5187,7 @@ function equals$3(existing, incoming) {
|
|
|
4892
5187
|
if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
|
|
4893
5188
|
|| (existing_fulfillmentFlow != null &&
|
|
4894
5189
|
incoming_fulfillmentFlow != null &&
|
|
4895
|
-
equals$
|
|
5190
|
+
equals$c(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
|
|
4896
5191
|
return false;
|
|
4897
5192
|
}
|
|
4898
5193
|
}
|
|
@@ -4908,7 +5203,7 @@ function equals$3(existing, incoming) {
|
|
|
4908
5203
|
if (!(existing_intakeForm === incoming_intakeForm
|
|
4909
5204
|
|| (existing_intakeForm != null &&
|
|
4910
5205
|
incoming_intakeForm != null &&
|
|
4911
|
-
equals$
|
|
5206
|
+
equals$b(existing_intakeForm, incoming_intakeForm)))) {
|
|
4912
5207
|
return false;
|
|
4913
5208
|
}
|
|
4914
5209
|
}
|
|
@@ -4925,7 +5220,7 @@ function equals$3(existing, incoming) {
|
|
|
4925
5220
|
if (!(existing_integrations_item === incoming_integrations_item
|
|
4926
5221
|
|| (existing_integrations_item != null &&
|
|
4927
5222
|
incoming_integrations_item != null &&
|
|
4928
|
-
equals$
|
|
5223
|
+
equals$a(existing_integrations_item, incoming_integrations_item)))) {
|
|
4929
5224
|
return false;
|
|
4930
5225
|
}
|
|
4931
5226
|
});
|
|
@@ -4972,7 +5267,7 @@ function equals$3(existing, incoming) {
|
|
|
4972
5267
|
if (!(existing_preProcessors_item === incoming_preProcessors_item
|
|
4973
5268
|
|| (existing_preProcessors_item != null &&
|
|
4974
5269
|
incoming_preProcessors_item != null &&
|
|
4975
|
-
equals$
|
|
5270
|
+
equals$9(existing_preProcessors_item, incoming_preProcessors_item)))) {
|
|
4976
5271
|
return false;
|
|
4977
5272
|
}
|
|
4978
5273
|
});
|
|
@@ -5006,7 +5301,7 @@ function equals$3(existing, incoming) {
|
|
|
5006
5301
|
if (!(existing_productRequests_item === incoming_productRequests_item
|
|
5007
5302
|
|| (existing_productRequests_item != null &&
|
|
5008
5303
|
incoming_productRequests_item != null &&
|
|
5009
|
-
equals$
|
|
5304
|
+
equals$7(existing_productRequests_item, incoming_productRequests_item)))) {
|
|
5010
5305
|
return false;
|
|
5011
5306
|
}
|
|
5012
5307
|
});
|
|
@@ -5163,7 +5458,7 @@ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createCatalo
|
|
|
5163
5458
|
function typeCheckConfig$5(untrustedConfig) {
|
|
5164
5459
|
const config = {};
|
|
5165
5460
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5166
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
5461
|
+
const referenceAgentActionInputRepresentationValidationError = validate$u(untrustedConfig_agentAction);
|
|
5167
5462
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5168
5463
|
config.agentAction = untrustedConfig_agentAction;
|
|
5169
5464
|
}
|
|
@@ -5175,7 +5470,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5175
5470
|
const untrustedConfig_associatedArticles_array = [];
|
|
5176
5471
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5177
5472
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5178
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5473
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$t(untrustedConfig_associatedArticles_item);
|
|
5179
5474
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5180
5475
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5181
5476
|
}
|
|
@@ -5190,7 +5485,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5190
5485
|
const untrustedConfig_attributes_array = [];
|
|
5191
5486
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5192
5487
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5193
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5488
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$r(untrustedConfig_attributes_item);
|
|
5194
5489
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5195
5490
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5196
5491
|
}
|
|
@@ -5205,7 +5500,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5205
5500
|
const untrustedConfig_sections_array = [];
|
|
5206
5501
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
5207
5502
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
5208
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
5503
|
+
const referenceSectionInputRepresentationValidationError = validate$q(untrustedConfig_sections_item);
|
|
5209
5504
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
5210
5505
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
5211
5506
|
}
|
|
@@ -5241,7 +5536,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5241
5536
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5242
5537
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5243
5538
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5244
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5539
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$p(untrustedConfig_eligibilityRules_item);
|
|
5245
5540
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5246
5541
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5247
5542
|
}
|
|
@@ -5252,7 +5547,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5252
5547
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5253
5548
|
}
|
|
5254
5549
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5255
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5550
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$o(untrustedConfig_fulfillmentFlow);
|
|
5256
5551
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5257
5552
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5258
5553
|
}
|
|
@@ -5260,7 +5555,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5260
5555
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5261
5556
|
}
|
|
5262
5557
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5263
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5558
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$n(untrustedConfig_intakeForm);
|
|
5264
5559
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5265
5560
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5266
5561
|
}
|
|
@@ -5272,7 +5567,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5272
5567
|
const untrustedConfig_integrations_array = [];
|
|
5273
5568
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5274
5569
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5275
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5570
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$m(untrustedConfig_integrations_item);
|
|
5276
5571
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5277
5572
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5278
5573
|
}
|
|
@@ -5301,7 +5596,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5301
5596
|
const untrustedConfig_preProcessors_array = [];
|
|
5302
5597
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5303
5598
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5304
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5599
|
+
const referencePreprocessorInputRepresentationValidationError = validate$l(untrustedConfig_preProcessors_item);
|
|
5305
5600
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5306
5601
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5307
5602
|
}
|
|
@@ -5316,7 +5611,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5316
5611
|
const untrustedConfig_productRequests_array = [];
|
|
5317
5612
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5318
5613
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5319
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5614
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$k(untrustedConfig_productRequests_item);
|
|
5320
5615
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5321
5616
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5322
5617
|
}
|
|
@@ -5589,7 +5884,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5589
5884
|
const config = {};
|
|
5590
5885
|
typeCheckConfig$6(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
5591
5886
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5592
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
5887
|
+
const referenceAgentActionInputRepresentationValidationError = validate$u(untrustedConfig_agentAction);
|
|
5593
5888
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5594
5889
|
config.agentAction = untrustedConfig_agentAction;
|
|
5595
5890
|
}
|
|
@@ -5608,7 +5903,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5608
5903
|
const untrustedConfig_associatedArticles_array = [];
|
|
5609
5904
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5610
5905
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5611
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5906
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$t(untrustedConfig_associatedArticles_item);
|
|
5612
5907
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5613
5908
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5614
5909
|
}
|
|
@@ -5623,7 +5918,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5623
5918
|
const untrustedConfig_attributes_array = [];
|
|
5624
5919
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5625
5920
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5626
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5921
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$r(untrustedConfig_attributes_item);
|
|
5627
5922
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5628
5923
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5629
5924
|
}
|
|
@@ -5638,7 +5933,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5638
5933
|
const untrustedConfig_sections_array = [];
|
|
5639
5934
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
5640
5935
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
5641
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
5936
|
+
const referenceSectionInputRepresentationValidationError = validate$q(untrustedConfig_sections_item);
|
|
5642
5937
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
5643
5938
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
5644
5939
|
}
|
|
@@ -5674,7 +5969,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5674
5969
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5675
5970
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5676
5971
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5677
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5972
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$p(untrustedConfig_eligibilityRules_item);
|
|
5678
5973
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5679
5974
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5680
5975
|
}
|
|
@@ -5685,7 +5980,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5685
5980
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5686
5981
|
}
|
|
5687
5982
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5688
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5983
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$o(untrustedConfig_fulfillmentFlow);
|
|
5689
5984
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5690
5985
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5691
5986
|
}
|
|
@@ -5693,7 +5988,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5693
5988
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5694
5989
|
}
|
|
5695
5990
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5696
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5991
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$n(untrustedConfig_intakeForm);
|
|
5697
5992
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5698
5993
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5699
5994
|
}
|
|
@@ -5705,7 +6000,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5705
6000
|
const untrustedConfig_integrations_array = [];
|
|
5706
6001
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5707
6002
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5708
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
6003
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$m(untrustedConfig_integrations_item);
|
|
5709
6004
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5710
6005
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5711
6006
|
}
|
|
@@ -5734,7 +6029,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5734
6029
|
const untrustedConfig_preProcessors_array = [];
|
|
5735
6030
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5736
6031
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5737
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
6032
|
+
const referencePreprocessorInputRepresentationValidationError = validate$l(untrustedConfig_preProcessors_item);
|
|
5738
6033
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5739
6034
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5740
6035
|
}
|
|
@@ -5749,7 +6044,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
5749
6044
|
const untrustedConfig_productRequests_array = [];
|
|
5750
6045
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5751
6046
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5752
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
6047
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$k(untrustedConfig_productRequests_item);
|
|
5753
6048
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5754
6049
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5755
6050
|
}
|