@salesforce/lds-adapters-service-ecm 1.346.0 → 1.347.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 +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
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$u(obj, path = 'AgentActionInputRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -224,7 +224,7 @@ function validate$s(obj, path = 'AgentActionInputRepresentation') {
|
|
|
224
224
|
return v_error === undefined ? null : v_error;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
function validate$
|
|
227
|
+
function validate$t(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
228
228
|
const v_error = (() => {
|
|
229
229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
230
230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -317,7 +317,46 @@ function validate$r(obj, path = 'KnowledgeArticleInputRepresentation') {
|
|
|
317
317
|
return v_error === undefined ? null : v_error;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
function validate$
|
|
320
|
+
function validate$s(obj, path = 'PicklistAttributeTypeInputRepresentation') {
|
|
321
|
+
const v_error = (() => {
|
|
322
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
323
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
324
|
+
}
|
|
325
|
+
const obj_displayName = obj.displayName;
|
|
326
|
+
const path_displayName = path + '.displayName';
|
|
327
|
+
if (typeof obj_displayName !== 'string') {
|
|
328
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
329
|
+
}
|
|
330
|
+
const obj_id = obj.id;
|
|
331
|
+
const path_id = path + '.id';
|
|
332
|
+
if (typeof obj_id !== 'string') {
|
|
333
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
334
|
+
}
|
|
335
|
+
const obj_isDefault = obj.isDefault;
|
|
336
|
+
const path_isDefault = path + '.isDefault';
|
|
337
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
338
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
339
|
+
}
|
|
340
|
+
const obj_isVisible = obj.isVisible;
|
|
341
|
+
const path_isVisible = path + '.isVisible';
|
|
342
|
+
if (typeof obj_isVisible !== 'boolean') {
|
|
343
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
344
|
+
}
|
|
345
|
+
const obj_name = obj.name;
|
|
346
|
+
const path_name = path + '.name';
|
|
347
|
+
if (typeof obj_name !== 'string') {
|
|
348
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
349
|
+
}
|
|
350
|
+
const obj_sequenceNumber = obj.sequenceNumber;
|
|
351
|
+
const path_sequenceNumber = path + '.sequenceNumber';
|
|
352
|
+
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
353
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
354
|
+
}
|
|
355
|
+
})();
|
|
356
|
+
return v_error === undefined ? null : v_error;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
function validate$r(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
321
360
|
const v_error = (() => {
|
|
322
361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
323
362
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -490,6 +529,11 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
490
529
|
return new TypeError(message);
|
|
491
530
|
}
|
|
492
531
|
}
|
|
532
|
+
const obj_isEditable = obj.isEditable;
|
|
533
|
+
const path_isEditable = path + '.isEditable';
|
|
534
|
+
if (typeof obj_isEditable !== 'boolean') {
|
|
535
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEditable + '" (at "' + path_isEditable + '")');
|
|
536
|
+
}
|
|
493
537
|
if (obj.isHidden !== undefined) {
|
|
494
538
|
const obj_isHidden = obj.isHidden;
|
|
495
539
|
const path_isHidden = path + '.isHidden';
|
|
@@ -546,6 +590,11 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
546
590
|
return new TypeError(message);
|
|
547
591
|
}
|
|
548
592
|
}
|
|
593
|
+
const obj_isMappedAnchorField = obj.isMappedAnchorField;
|
|
594
|
+
const path_isMappedAnchorField = path + '.isMappedAnchorField';
|
|
595
|
+
if (typeof obj_isMappedAnchorField !== 'boolean') {
|
|
596
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMappedAnchorField + '" (at "' + path_isMappedAnchorField + '")');
|
|
597
|
+
}
|
|
549
598
|
if (obj.isReadOnly !== undefined) {
|
|
550
599
|
const obj_isReadOnly = obj.isReadOnly;
|
|
551
600
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -658,6 +707,42 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
658
707
|
return new TypeError(message);
|
|
659
708
|
}
|
|
660
709
|
}
|
|
710
|
+
const obj_picklistOptions = obj.picklistOptions;
|
|
711
|
+
const path_picklistOptions = path + '.picklistOptions';
|
|
712
|
+
if (!ArrayIsArray(obj_picklistOptions)) {
|
|
713
|
+
return new TypeError('Expected "array" but received "' + typeof obj_picklistOptions + '" (at "' + path_picklistOptions + '")');
|
|
714
|
+
}
|
|
715
|
+
for (let i = 0; i < obj_picklistOptions.length; i++) {
|
|
716
|
+
const obj_picklistOptions_item = obj_picklistOptions[i];
|
|
717
|
+
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
718
|
+
let obj_picklistOptions_item_union0 = null;
|
|
719
|
+
const obj_picklistOptions_item_union0_error = (() => {
|
|
720
|
+
const referencepath_picklistOptions_itemValidationError = validate$s(obj_picklistOptions_item, path_picklistOptions_item);
|
|
721
|
+
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
722
|
+
let message = 'Object doesn\'t match PicklistAttributeTypeInputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
723
|
+
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
724
|
+
return new TypeError(message);
|
|
725
|
+
}
|
|
726
|
+
})();
|
|
727
|
+
if (obj_picklistOptions_item_union0_error != null) {
|
|
728
|
+
obj_picklistOptions_item_union0 = obj_picklistOptions_item_union0_error.message;
|
|
729
|
+
}
|
|
730
|
+
let obj_picklistOptions_item_union1 = null;
|
|
731
|
+
const obj_picklistOptions_item_union1_error = (() => {
|
|
732
|
+
if (obj_picklistOptions_item !== null) {
|
|
733
|
+
return new TypeError('Expected "null" but received "' + typeof obj_picklistOptions_item + '" (at "' + path_picklistOptions_item + '")');
|
|
734
|
+
}
|
|
735
|
+
})();
|
|
736
|
+
if (obj_picklistOptions_item_union1_error != null) {
|
|
737
|
+
obj_picklistOptions_item_union1 = obj_picklistOptions_item_union1_error.message;
|
|
738
|
+
}
|
|
739
|
+
if (obj_picklistOptions_item_union0 && obj_picklistOptions_item_union1) {
|
|
740
|
+
let message = 'Object doesn\'t match union (at "' + path_picklistOptions_item + '")';
|
|
741
|
+
message += '\n' + obj_picklistOptions_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
742
|
+
message += '\n' + obj_picklistOptions_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
743
|
+
return new TypeError(message);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
661
746
|
if (obj.sequence !== undefined) {
|
|
662
747
|
const obj_sequence = obj.sequence;
|
|
663
748
|
const path_sequence = path + '.sequence';
|
|
@@ -690,7 +775,7 @@ function validate$q(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
690
775
|
return v_error === undefined ? null : v_error;
|
|
691
776
|
}
|
|
692
777
|
|
|
693
|
-
function validate$
|
|
778
|
+
function validate$q(obj, path = 'SectionInputRepresentation') {
|
|
694
779
|
const v_error = (() => {
|
|
695
780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
696
781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -821,11 +906,16 @@ function validate$p(obj, path = 'SectionInputRepresentation') {
|
|
|
821
906
|
return new TypeError(message);
|
|
822
907
|
}
|
|
823
908
|
}
|
|
909
|
+
const obj_sequence = obj.sequence;
|
|
910
|
+
const path_sequence = path + '.sequence';
|
|
911
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
912
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
913
|
+
}
|
|
824
914
|
})();
|
|
825
915
|
return v_error === undefined ? null : v_error;
|
|
826
916
|
}
|
|
827
917
|
|
|
828
|
-
function validate$
|
|
918
|
+
function validate$p(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
829
919
|
const v_error = (() => {
|
|
830
920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
831
921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -890,7 +980,7 @@ function validate$o(obj, path = 'EligibilityRulesInputRepresentation') {
|
|
|
890
980
|
return v_error === undefined ? null : v_error;
|
|
891
981
|
}
|
|
892
982
|
|
|
893
|
-
function validate$
|
|
983
|
+
function validate$o(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
894
984
|
const v_error = (() => {
|
|
895
985
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
896
986
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1011,7 +1101,7 @@ function validate$n(obj, path = 'FulfillmentFlowInputRepresentation') {
|
|
|
1011
1101
|
return v_error === undefined ? null : v_error;
|
|
1012
1102
|
}
|
|
1013
1103
|
|
|
1014
|
-
function validate$
|
|
1104
|
+
function validate$n(obj, path = 'IntakeFormInputRepresentation') {
|
|
1015
1105
|
const v_error = (() => {
|
|
1016
1106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1017
1107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1132,7 +1222,7 @@ function validate$m(obj, path = 'IntakeFormInputRepresentation') {
|
|
|
1132
1222
|
return v_error === undefined ? null : v_error;
|
|
1133
1223
|
}
|
|
1134
1224
|
|
|
1135
|
-
function validate$
|
|
1225
|
+
function validate$m(obj, path = 'IntegrationDefInputRepresentation') {
|
|
1136
1226
|
const v_error = (() => {
|
|
1137
1227
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1138
1228
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1225,7 +1315,7 @@ function validate$l(obj, path = 'IntegrationDefInputRepresentation') {
|
|
|
1225
1315
|
return v_error === undefined ? null : v_error;
|
|
1226
1316
|
}
|
|
1227
1317
|
|
|
1228
|
-
function validate$
|
|
1318
|
+
function validate$l(obj, path = 'PreprocessorInputRepresentation') {
|
|
1229
1319
|
const v_error = (() => {
|
|
1230
1320
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1231
1321
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1318,7 +1408,7 @@ function validate$k(obj, path = 'PreprocessorInputRepresentation') {
|
|
|
1318
1408
|
return v_error === undefined ? null : v_error;
|
|
1319
1409
|
}
|
|
1320
1410
|
|
|
1321
|
-
function validate$
|
|
1411
|
+
function validate$k(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
1322
1412
|
const v_error = (() => {
|
|
1323
1413
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1324
1414
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1509,8 +1599,8 @@ function validate$j(obj, path = 'ProductRequestCreateInputRepresentation') {
|
|
|
1509
1599
|
return v_error === undefined ? null : v_error;
|
|
1510
1600
|
}
|
|
1511
1601
|
|
|
1512
|
-
const VERSION$
|
|
1513
|
-
function validate$
|
|
1602
|
+
const VERSION$f = "ac94c0c52190d3f2f063659052e5b46e";
|
|
1603
|
+
function validate$j(obj, path = 'AgentActionOutputRepresentation') {
|
|
1514
1604
|
const v_error = (() => {
|
|
1515
1605
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1516
1606
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1602,10 +1692,10 @@ function validate$i(obj, path = 'AgentActionOutputRepresentation') {
|
|
|
1602
1692
|
})();
|
|
1603
1693
|
return v_error === undefined ? null : v_error;
|
|
1604
1694
|
}
|
|
1605
|
-
const select$
|
|
1695
|
+
const select$l = function AgentActionOutputRepresentationSelect() {
|
|
1606
1696
|
return {
|
|
1607
1697
|
kind: 'Fragment',
|
|
1608
|
-
version: VERSION$
|
|
1698
|
+
version: VERSION$f,
|
|
1609
1699
|
private: [],
|
|
1610
1700
|
selections: [
|
|
1611
1701
|
{
|
|
@@ -1626,7 +1716,7 @@ const select$k = function AgentActionOutputRepresentationSelect() {
|
|
|
1626
1716
|
]
|
|
1627
1717
|
};
|
|
1628
1718
|
};
|
|
1629
|
-
function equals$
|
|
1719
|
+
function equals$f(existing, incoming) {
|
|
1630
1720
|
const existing_agentActionId = existing.agentActionId;
|
|
1631
1721
|
const incoming_agentActionId = incoming.agentActionId;
|
|
1632
1722
|
// if at least one of these optionals is defined
|
|
@@ -1669,8 +1759,8 @@ function equals$e(existing, incoming) {
|
|
|
1669
1759
|
return true;
|
|
1670
1760
|
}
|
|
1671
1761
|
|
|
1672
|
-
const VERSION$
|
|
1673
|
-
function validate$
|
|
1762
|
+
const VERSION$e = "0b2080174fe6d4ee4f4a0de27011fc7d";
|
|
1763
|
+
function validate$i(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
1674
1764
|
const v_error = (() => {
|
|
1675
1765
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1676
1766
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1734,10 +1824,10 @@ function validate$h(obj, path = 'AssociatedArticleOutputRepresentation') {
|
|
|
1734
1824
|
})();
|
|
1735
1825
|
return v_error === undefined ? null : v_error;
|
|
1736
1826
|
}
|
|
1737
|
-
const select$
|
|
1827
|
+
const select$k = function AssociatedArticleOutputRepresentationSelect() {
|
|
1738
1828
|
return {
|
|
1739
1829
|
kind: 'Fragment',
|
|
1740
|
-
version: VERSION$
|
|
1830
|
+
version: VERSION$e,
|
|
1741
1831
|
private: [],
|
|
1742
1832
|
selections: [
|
|
1743
1833
|
{
|
|
@@ -1753,7 +1843,7 @@ const select$j = function AssociatedArticleOutputRepresentationSelect() {
|
|
|
1753
1843
|
]
|
|
1754
1844
|
};
|
|
1755
1845
|
};
|
|
1756
|
-
function equals$
|
|
1846
|
+
function equals$e(existing, incoming) {
|
|
1757
1847
|
const existing_id = existing.id;
|
|
1758
1848
|
const incoming_id = incoming.id;
|
|
1759
1849
|
// if at least one of these optionals is defined
|
|
@@ -1783,8 +1873,8 @@ function equals$d(existing, incoming) {
|
|
|
1783
1873
|
return true;
|
|
1784
1874
|
}
|
|
1785
1875
|
|
|
1786
|
-
const VERSION$
|
|
1787
|
-
function validate$
|
|
1876
|
+
const VERSION$d = "6859d872ce6d03f8f07819eb40c43fe6";
|
|
1877
|
+
function validate$h(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
1788
1878
|
const v_error = (() => {
|
|
1789
1879
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1790
1880
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1848,10 +1938,10 @@ function validate$g(obj, path = 'EligibilityRuleOutputRepresentation') {
|
|
|
1848
1938
|
})();
|
|
1849
1939
|
return v_error === undefined ? null : v_error;
|
|
1850
1940
|
}
|
|
1851
|
-
const select$
|
|
1941
|
+
const select$j = function EligibilityRuleOutputRepresentationSelect() {
|
|
1852
1942
|
return {
|
|
1853
1943
|
kind: 'Fragment',
|
|
1854
|
-
version: VERSION$
|
|
1944
|
+
version: VERSION$d,
|
|
1855
1945
|
private: [],
|
|
1856
1946
|
selections: [
|
|
1857
1947
|
{
|
|
@@ -1867,7 +1957,7 @@ const select$i = function EligibilityRuleOutputRepresentationSelect() {
|
|
|
1867
1957
|
]
|
|
1868
1958
|
};
|
|
1869
1959
|
};
|
|
1870
|
-
function equals$
|
|
1960
|
+
function equals$d(existing, incoming) {
|
|
1871
1961
|
const existing_eligibilityRuleId = existing.eligibilityRuleId;
|
|
1872
1962
|
const incoming_eligibilityRuleId = incoming.eligibilityRuleId;
|
|
1873
1963
|
// if at least one of these optionals is defined
|
|
@@ -1897,8 +1987,8 @@ function equals$c(existing, incoming) {
|
|
|
1897
1987
|
return true;
|
|
1898
1988
|
}
|
|
1899
1989
|
|
|
1900
|
-
const VERSION$
|
|
1901
|
-
function validate$
|
|
1990
|
+
const VERSION$c = "b5216beece7c04763cff6924e6953f93";
|
|
1991
|
+
function validate$g(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
1902
1992
|
const v_error = (() => {
|
|
1903
1993
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1904
1994
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1990,10 +2080,10 @@ function validate$f(obj, path = 'FulfillmentFlowOutputRepresentation') {
|
|
|
1990
2080
|
})();
|
|
1991
2081
|
return v_error === undefined ? null : v_error;
|
|
1992
2082
|
}
|
|
1993
|
-
const select$
|
|
2083
|
+
const select$i = function FulfillmentFlowOutputRepresentationSelect() {
|
|
1994
2084
|
return {
|
|
1995
2085
|
kind: 'Fragment',
|
|
1996
|
-
version: VERSION$
|
|
2086
|
+
version: VERSION$c,
|
|
1997
2087
|
private: [],
|
|
1998
2088
|
selections: [
|
|
1999
2089
|
{
|
|
@@ -2014,7 +2104,7 @@ const select$h = function FulfillmentFlowOutputRepresentationSelect() {
|
|
|
2014
2104
|
]
|
|
2015
2105
|
};
|
|
2016
2106
|
};
|
|
2017
|
-
function equals$
|
|
2107
|
+
function equals$c(existing, incoming) {
|
|
2018
2108
|
const existing_fulFillmentFlowId = existing.fulFillmentFlowId;
|
|
2019
2109
|
const incoming_fulFillmentFlowId = incoming.fulFillmentFlowId;
|
|
2020
2110
|
// if at least one of these optionals is defined
|
|
@@ -2057,8 +2147,8 @@ function equals$b(existing, incoming) {
|
|
|
2057
2147
|
return true;
|
|
2058
2148
|
}
|
|
2059
2149
|
|
|
2060
|
-
const VERSION$
|
|
2061
|
-
function validate$
|
|
2150
|
+
const VERSION$b = "dc8ba723ca754951db42f9d0e6891a06";
|
|
2151
|
+
function validate$f(obj, path = 'IntakeFormOutputRepresentation') {
|
|
2062
2152
|
const v_error = (() => {
|
|
2063
2153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2064
2154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2290,10 +2380,10 @@ function validate$e(obj, path = 'IntakeFormOutputRepresentation') {
|
|
|
2290
2380
|
})();
|
|
2291
2381
|
return v_error === undefined ? null : v_error;
|
|
2292
2382
|
}
|
|
2293
|
-
const select$
|
|
2383
|
+
const select$h = function IntakeFormOutputRepresentationSelect() {
|
|
2294
2384
|
return {
|
|
2295
2385
|
kind: 'Fragment',
|
|
2296
|
-
version: VERSION$
|
|
2386
|
+
version: VERSION$b,
|
|
2297
2387
|
private: [],
|
|
2298
2388
|
selections: [
|
|
2299
2389
|
{
|
|
@@ -2339,7 +2429,7 @@ const select$g = function IntakeFormOutputRepresentationSelect() {
|
|
|
2339
2429
|
]
|
|
2340
2430
|
};
|
|
2341
2431
|
};
|
|
2342
|
-
function equals$
|
|
2432
|
+
function equals$b(existing, incoming) {
|
|
2343
2433
|
const existing_id = existing.id;
|
|
2344
2434
|
const incoming_id = incoming.id;
|
|
2345
2435
|
// if at least one of these optionals is defined
|
|
@@ -2447,8 +2537,8 @@ function equals$a(existing, incoming) {
|
|
|
2447
2537
|
return true;
|
|
2448
2538
|
}
|
|
2449
2539
|
|
|
2450
|
-
const VERSION$
|
|
2451
|
-
function validate$
|
|
2540
|
+
const VERSION$a = "1006a153c933b8bc4b1d44663893e206";
|
|
2541
|
+
function validate$e(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
2452
2542
|
const v_error = (() => {
|
|
2453
2543
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2454
2544
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2512,10 +2602,10 @@ function validate$d(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
|
2512
2602
|
})();
|
|
2513
2603
|
return v_error === undefined ? null : v_error;
|
|
2514
2604
|
}
|
|
2515
|
-
const select$
|
|
2605
|
+
const select$g = function IntegrationDefinitionOutputPresentationSelect() {
|
|
2516
2606
|
return {
|
|
2517
2607
|
kind: 'Fragment',
|
|
2518
|
-
version: VERSION$
|
|
2608
|
+
version: VERSION$a,
|
|
2519
2609
|
private: [],
|
|
2520
2610
|
selections: [
|
|
2521
2611
|
{
|
|
@@ -2531,7 +2621,7 @@ const select$f = function IntegrationDefinitionOutputPresentationSelect() {
|
|
|
2531
2621
|
]
|
|
2532
2622
|
};
|
|
2533
2623
|
};
|
|
2534
|
-
function equals$
|
|
2624
|
+
function equals$a(existing, incoming) {
|
|
2535
2625
|
const existing_id = existing.id;
|
|
2536
2626
|
const incoming_id = incoming.id;
|
|
2537
2627
|
// if at least one of these optionals is defined
|
|
@@ -2561,8 +2651,8 @@ function equals$9(existing, incoming) {
|
|
|
2561
2651
|
return true;
|
|
2562
2652
|
}
|
|
2563
2653
|
|
|
2564
|
-
const VERSION$
|
|
2565
|
-
function validate$
|
|
2654
|
+
const VERSION$9 = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
2655
|
+
function validate$d(obj, path = 'PreprocessorOutputRepresentation') {
|
|
2566
2656
|
const v_error = (() => {
|
|
2567
2657
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2568
2658
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2626,10 +2716,10 @@ function validate$c(obj, path = 'PreprocessorOutputRepresentation') {
|
|
|
2626
2716
|
})();
|
|
2627
2717
|
return v_error === undefined ? null : v_error;
|
|
2628
2718
|
}
|
|
2629
|
-
const select$
|
|
2719
|
+
const select$f = function PreprocessorOutputRepresentationSelect() {
|
|
2630
2720
|
return {
|
|
2631
2721
|
kind: 'Fragment',
|
|
2632
|
-
version: VERSION$
|
|
2722
|
+
version: VERSION$9,
|
|
2633
2723
|
private: [],
|
|
2634
2724
|
selections: [
|
|
2635
2725
|
{
|
|
@@ -2645,7 +2735,7 @@ const select$e = function PreprocessorOutputRepresentationSelect() {
|
|
|
2645
2735
|
]
|
|
2646
2736
|
};
|
|
2647
2737
|
};
|
|
2648
|
-
function equals$
|
|
2738
|
+
function equals$9(existing, incoming) {
|
|
2649
2739
|
const existing_id = existing.id;
|
|
2650
2740
|
const incoming_id = incoming.id;
|
|
2651
2741
|
// if at least one of these optionals is defined
|
|
@@ -2675,8 +2765,8 @@ function equals$8(existing, incoming) {
|
|
|
2675
2765
|
return true;
|
|
2676
2766
|
}
|
|
2677
2767
|
|
|
2678
|
-
const VERSION$
|
|
2679
|
-
function validate$
|
|
2768
|
+
const VERSION$8 = "237440975156389e5479f294d3d601de";
|
|
2769
|
+
function validate$c(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
2680
2770
|
const v_error = (() => {
|
|
2681
2771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2682
2772
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2740,10 +2830,10 @@ function validate$b(obj, path = 'ProductDetailsOutputRepresentation') {
|
|
|
2740
2830
|
})();
|
|
2741
2831
|
return v_error === undefined ? null : v_error;
|
|
2742
2832
|
}
|
|
2743
|
-
const select$
|
|
2833
|
+
const select$e = function ProductDetailsOutputRepresentationSelect() {
|
|
2744
2834
|
return {
|
|
2745
2835
|
kind: 'Fragment',
|
|
2746
|
-
version: VERSION$
|
|
2836
|
+
version: VERSION$8,
|
|
2747
2837
|
private: [],
|
|
2748
2838
|
selections: [
|
|
2749
2839
|
{
|
|
@@ -2759,7 +2849,7 @@ const select$d = function ProductDetailsOutputRepresentationSelect() {
|
|
|
2759
2849
|
]
|
|
2760
2850
|
};
|
|
2761
2851
|
};
|
|
2762
|
-
function equals$
|
|
2852
|
+
function equals$8(existing, incoming) {
|
|
2763
2853
|
const existing_id = existing.id;
|
|
2764
2854
|
const incoming_id = incoming.id;
|
|
2765
2855
|
// if at least one of these optionals is defined
|
|
@@ -2789,8 +2879,8 @@ function equals$7(existing, incoming) {
|
|
|
2789
2879
|
return true;
|
|
2790
2880
|
}
|
|
2791
2881
|
|
|
2792
|
-
const VERSION$
|
|
2793
|
-
function validate$
|
|
2882
|
+
const VERSION$7 = "dc18ee4b99b0510d2c89ddf9261ea1e7";
|
|
2883
|
+
function validate$b(obj, path = 'ProductRequestOutputRepresentation') {
|
|
2794
2884
|
const v_error = (() => {
|
|
2795
2885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2796
2886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2804,7 +2894,7 @@ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
2804
2894
|
for (let i = 0; i < obj_productDetails.length; i++) {
|
|
2805
2895
|
const obj_productDetails_item = obj_productDetails[i];
|
|
2806
2896
|
const path_productDetails_item = path_productDetails + '[' + i + ']';
|
|
2807
|
-
const referencepath_productDetails_itemValidationError = validate$
|
|
2897
|
+
const referencepath_productDetails_itemValidationError = validate$c(obj_productDetails_item, path_productDetails_item);
|
|
2808
2898
|
if (referencepath_productDetails_itemValidationError !== null) {
|
|
2809
2899
|
let message = 'Object doesn\'t match ProductDetailsOutputRepresentation (at "' + path_productDetails_item + '")\n';
|
|
2810
2900
|
message += referencepath_productDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2983,11 +3073,11 @@ function validate$a(obj, path = 'ProductRequestOutputRepresentation') {
|
|
|
2983
3073
|
})();
|
|
2984
3074
|
return v_error === undefined ? null : v_error;
|
|
2985
3075
|
}
|
|
2986
|
-
const select$
|
|
2987
|
-
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$
|
|
3076
|
+
const select$d = function ProductRequestOutputRepresentationSelect() {
|
|
3077
|
+
const { selections: ProductDetailsOutputRepresentation__selections, opaque: ProductDetailsOutputRepresentation__opaque, } = select$e();
|
|
2988
3078
|
return {
|
|
2989
3079
|
kind: 'Fragment',
|
|
2990
|
-
version: VERSION$
|
|
3080
|
+
version: VERSION$7,
|
|
2991
3081
|
private: [],
|
|
2992
3082
|
selections: [
|
|
2993
3083
|
{
|
|
@@ -3030,7 +3120,7 @@ const select$c = function ProductRequestOutputRepresentationSelect() {
|
|
|
3030
3120
|
]
|
|
3031
3121
|
};
|
|
3032
3122
|
};
|
|
3033
|
-
function equals$
|
|
3123
|
+
function equals$7(existing, incoming) {
|
|
3034
3124
|
const existing_productDetails = existing.productDetails;
|
|
3035
3125
|
const incoming_productDetails = incoming.productDetails;
|
|
3036
3126
|
// if at least one of these optionals is defined
|
|
@@ -3041,7 +3131,7 @@ function equals$6(existing, incoming) {
|
|
|
3041
3131
|
return false;
|
|
3042
3132
|
}
|
|
3043
3133
|
const equals_productDetails_items = equalsArray(existing_productDetails, incoming_productDetails, (existing_productDetails_item, incoming_productDetails_item) => {
|
|
3044
|
-
if (!(equals$
|
|
3134
|
+
if (!(equals$8(existing_productDetails_item, incoming_productDetails_item))) {
|
|
3045
3135
|
return false;
|
|
3046
3136
|
}
|
|
3047
3137
|
});
|
|
@@ -3130,7 +3220,113 @@ function equals$6(existing, incoming) {
|
|
|
3130
3220
|
return true;
|
|
3131
3221
|
}
|
|
3132
3222
|
|
|
3133
|
-
const VERSION$
|
|
3223
|
+
const VERSION$6 = "245173b37929c2c5a2ccdf3c005e5ed9";
|
|
3224
|
+
function validate$a(obj, path = 'PicklistAttributeTypeOutputRepresentation') {
|
|
3225
|
+
const v_error = (() => {
|
|
3226
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3227
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3228
|
+
}
|
|
3229
|
+
const obj_displayName = obj.displayName;
|
|
3230
|
+
const path_displayName = path + '.displayName';
|
|
3231
|
+
if (typeof obj_displayName !== 'string') {
|
|
3232
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
3233
|
+
}
|
|
3234
|
+
const obj_id = obj.id;
|
|
3235
|
+
const path_id = path + '.id';
|
|
3236
|
+
if (typeof obj_id !== 'string') {
|
|
3237
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3238
|
+
}
|
|
3239
|
+
const obj_isDefault = obj.isDefault;
|
|
3240
|
+
const path_isDefault = path + '.isDefault';
|
|
3241
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
3242
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
3243
|
+
}
|
|
3244
|
+
const obj_isVisible = obj.isVisible;
|
|
3245
|
+
const path_isVisible = path + '.isVisible';
|
|
3246
|
+
if (typeof obj_isVisible !== 'boolean') {
|
|
3247
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
3248
|
+
}
|
|
3249
|
+
const obj_name = obj.name;
|
|
3250
|
+
const path_name = path + '.name';
|
|
3251
|
+
if (typeof obj_name !== 'string') {
|
|
3252
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3253
|
+
}
|
|
3254
|
+
const obj_sequenceNumber = obj.sequenceNumber;
|
|
3255
|
+
const path_sequenceNumber = path + '.sequenceNumber';
|
|
3256
|
+
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
3257
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
3258
|
+
}
|
|
3259
|
+
})();
|
|
3260
|
+
return v_error === undefined ? null : v_error;
|
|
3261
|
+
}
|
|
3262
|
+
const select$c = function PicklistAttributeTypeOutputRepresentationSelect() {
|
|
3263
|
+
return {
|
|
3264
|
+
kind: 'Fragment',
|
|
3265
|
+
version: VERSION$6,
|
|
3266
|
+
private: [],
|
|
3267
|
+
selections: [
|
|
3268
|
+
{
|
|
3269
|
+
name: 'displayName',
|
|
3270
|
+
kind: 'Scalar'
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
name: 'id',
|
|
3274
|
+
kind: 'Scalar'
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
name: 'isDefault',
|
|
3278
|
+
kind: 'Scalar'
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
name: 'isVisible',
|
|
3282
|
+
kind: 'Scalar'
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
name: 'name',
|
|
3286
|
+
kind: 'Scalar'
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
name: 'sequenceNumber',
|
|
3290
|
+
kind: 'Scalar'
|
|
3291
|
+
}
|
|
3292
|
+
]
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3295
|
+
function equals$6(existing, incoming) {
|
|
3296
|
+
const existing_isDefault = existing.isDefault;
|
|
3297
|
+
const incoming_isDefault = incoming.isDefault;
|
|
3298
|
+
if (!(existing_isDefault === incoming_isDefault)) {
|
|
3299
|
+
return false;
|
|
3300
|
+
}
|
|
3301
|
+
const existing_isVisible = existing.isVisible;
|
|
3302
|
+
const incoming_isVisible = incoming.isVisible;
|
|
3303
|
+
if (!(existing_isVisible === incoming_isVisible)) {
|
|
3304
|
+
return false;
|
|
3305
|
+
}
|
|
3306
|
+
const existing_sequenceNumber = existing.sequenceNumber;
|
|
3307
|
+
const incoming_sequenceNumber = incoming.sequenceNumber;
|
|
3308
|
+
if (!(existing_sequenceNumber === incoming_sequenceNumber)) {
|
|
3309
|
+
return false;
|
|
3310
|
+
}
|
|
3311
|
+
const existing_displayName = existing.displayName;
|
|
3312
|
+
const incoming_displayName = incoming.displayName;
|
|
3313
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
3314
|
+
return false;
|
|
3315
|
+
}
|
|
3316
|
+
const existing_id = existing.id;
|
|
3317
|
+
const incoming_id = incoming.id;
|
|
3318
|
+
if (!(existing_id === incoming_id)) {
|
|
3319
|
+
return false;
|
|
3320
|
+
}
|
|
3321
|
+
const existing_name = existing.name;
|
|
3322
|
+
const incoming_name = incoming.name;
|
|
3323
|
+
if (!(existing_name === incoming_name)) {
|
|
3324
|
+
return false;
|
|
3325
|
+
}
|
|
3326
|
+
return true;
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
const VERSION$5 = "ded8b1dcf263ca20f8cd782c6237cc7d";
|
|
3134
3330
|
function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
3135
3331
|
const v_error = (() => {
|
|
3136
3332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3332,6 +3528,11 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3332
3528
|
return new TypeError(message);
|
|
3333
3529
|
}
|
|
3334
3530
|
}
|
|
3531
|
+
const obj_isEditable = obj.isEditable;
|
|
3532
|
+
const path_isEditable = path + '.isEditable';
|
|
3533
|
+
if (typeof obj_isEditable !== 'boolean') {
|
|
3534
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isEditable + '" (at "' + path_isEditable + '")');
|
|
3535
|
+
}
|
|
3335
3536
|
if (obj.isHidden !== undefined) {
|
|
3336
3537
|
const obj_isHidden = obj.isHidden;
|
|
3337
3538
|
const path_isHidden = path + '.isHidden';
|
|
@@ -3388,6 +3589,11 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3388
3589
|
return new TypeError(message);
|
|
3389
3590
|
}
|
|
3390
3591
|
}
|
|
3592
|
+
const obj_isMappedAnchorField = obj.isMappedAnchorField;
|
|
3593
|
+
const path_isMappedAnchorField = path + '.isMappedAnchorField';
|
|
3594
|
+
if (typeof obj_isMappedAnchorField !== 'boolean') {
|
|
3595
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMappedAnchorField + '" (at "' + path_isMappedAnchorField + '")');
|
|
3596
|
+
}
|
|
3391
3597
|
if (obj.isReadOnly !== undefined) {
|
|
3392
3598
|
const obj_isReadOnly = obj.isReadOnly;
|
|
3393
3599
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -3500,6 +3706,42 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3500
3706
|
return new TypeError(message);
|
|
3501
3707
|
}
|
|
3502
3708
|
}
|
|
3709
|
+
const obj_picklistOptions = obj.picklistOptions;
|
|
3710
|
+
const path_picklistOptions = path + '.picklistOptions';
|
|
3711
|
+
if (!ArrayIsArray(obj_picklistOptions)) {
|
|
3712
|
+
return new TypeError('Expected "array" but received "' + typeof obj_picklistOptions + '" (at "' + path_picklistOptions + '")');
|
|
3713
|
+
}
|
|
3714
|
+
for (let i = 0; i < obj_picklistOptions.length; i++) {
|
|
3715
|
+
const obj_picklistOptions_item = obj_picklistOptions[i];
|
|
3716
|
+
const path_picklistOptions_item = path_picklistOptions + '[' + i + ']';
|
|
3717
|
+
let obj_picklistOptions_item_union0 = null;
|
|
3718
|
+
const obj_picklistOptions_item_union0_error = (() => {
|
|
3719
|
+
const referencepath_picklistOptions_itemValidationError = validate$a(obj_picklistOptions_item, path_picklistOptions_item);
|
|
3720
|
+
if (referencepath_picklistOptions_itemValidationError !== null) {
|
|
3721
|
+
let message = 'Object doesn\'t match PicklistAttributeTypeOutputRepresentation (at "' + path_picklistOptions_item + '")\n';
|
|
3722
|
+
message += referencepath_picklistOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3723
|
+
return new TypeError(message);
|
|
3724
|
+
}
|
|
3725
|
+
})();
|
|
3726
|
+
if (obj_picklistOptions_item_union0_error != null) {
|
|
3727
|
+
obj_picklistOptions_item_union0 = obj_picklistOptions_item_union0_error.message;
|
|
3728
|
+
}
|
|
3729
|
+
let obj_picklistOptions_item_union1 = null;
|
|
3730
|
+
const obj_picklistOptions_item_union1_error = (() => {
|
|
3731
|
+
if (obj_picklistOptions_item !== null) {
|
|
3732
|
+
return new TypeError('Expected "null" but received "' + typeof obj_picklistOptions_item + '" (at "' + path_picklistOptions_item + '")');
|
|
3733
|
+
}
|
|
3734
|
+
})();
|
|
3735
|
+
if (obj_picklistOptions_item_union1_error != null) {
|
|
3736
|
+
obj_picklistOptions_item_union1 = obj_picklistOptions_item_union1_error.message;
|
|
3737
|
+
}
|
|
3738
|
+
if (obj_picklistOptions_item_union0 && obj_picklistOptions_item_union1) {
|
|
3739
|
+
let message = 'Object doesn\'t match union (at "' + path_picklistOptions_item + '")';
|
|
3740
|
+
message += '\n' + obj_picklistOptions_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3741
|
+
message += '\n' + obj_picklistOptions_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3742
|
+
return new TypeError(message);
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3503
3745
|
if (obj.sequence !== undefined) {
|
|
3504
3746
|
const obj_sequence = obj.sequence;
|
|
3505
3747
|
const path_sequence = path + '.sequence';
|
|
@@ -3532,6 +3774,7 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
3532
3774
|
return v_error === undefined ? null : v_error;
|
|
3533
3775
|
}
|
|
3534
3776
|
const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
3777
|
+
const { selections: PicklistAttributeTypeOutputRepresentation__selections, opaque: PicklistAttributeTypeOutputRepresentation__opaque, } = select$c();
|
|
3535
3778
|
return {
|
|
3536
3779
|
kind: 'Fragment',
|
|
3537
3780
|
version: VERSION$5,
|
|
@@ -3572,6 +3815,10 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3572
3815
|
kind: 'Scalar',
|
|
3573
3816
|
required: false
|
|
3574
3817
|
},
|
|
3818
|
+
{
|
|
3819
|
+
name: 'isEditable',
|
|
3820
|
+
kind: 'Scalar'
|
|
3821
|
+
},
|
|
3575
3822
|
{
|
|
3576
3823
|
name: 'isHidden',
|
|
3577
3824
|
kind: 'Scalar',
|
|
@@ -3582,6 +3829,10 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3582
3829
|
kind: 'Scalar',
|
|
3583
3830
|
required: false
|
|
3584
3831
|
},
|
|
3832
|
+
{
|
|
3833
|
+
name: 'isMappedAnchorField',
|
|
3834
|
+
kind: 'Scalar'
|
|
3835
|
+
},
|
|
3585
3836
|
{
|
|
3586
3837
|
name: 'isReadOnly',
|
|
3587
3838
|
kind: 'Scalar',
|
|
@@ -3602,6 +3853,13 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3602
3853
|
kind: 'Scalar',
|
|
3603
3854
|
required: false
|
|
3604
3855
|
},
|
|
3856
|
+
{
|
|
3857
|
+
name: 'picklistOptions',
|
|
3858
|
+
kind: 'Object',
|
|
3859
|
+
nullable: true,
|
|
3860
|
+
plural: true,
|
|
3861
|
+
selections: PicklistAttributeTypeOutputRepresentation__selections
|
|
3862
|
+
},
|
|
3605
3863
|
{
|
|
3606
3864
|
name: 'sequence',
|
|
3607
3865
|
kind: 'Scalar',
|
|
@@ -3611,6 +3869,16 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
3611
3869
|
};
|
|
3612
3870
|
};
|
|
3613
3871
|
function equals$5(existing, incoming) {
|
|
3872
|
+
const existing_isEditable = existing.isEditable;
|
|
3873
|
+
const incoming_isEditable = incoming.isEditable;
|
|
3874
|
+
if (!(existing_isEditable === incoming_isEditable)) {
|
|
3875
|
+
return false;
|
|
3876
|
+
}
|
|
3877
|
+
const existing_isMappedAnchorField = existing.isMappedAnchorField;
|
|
3878
|
+
const incoming_isMappedAnchorField = incoming.isMappedAnchorField;
|
|
3879
|
+
if (!(existing_isMappedAnchorField === incoming_isMappedAnchorField)) {
|
|
3880
|
+
return false;
|
|
3881
|
+
}
|
|
3614
3882
|
const existing_apiName = existing.apiName;
|
|
3615
3883
|
const incoming_apiName = incoming.apiName;
|
|
3616
3884
|
// if at least one of these optionals is defined
|
|
@@ -3780,6 +4048,19 @@ function equals$5(existing, incoming) {
|
|
|
3780
4048
|
return false;
|
|
3781
4049
|
}
|
|
3782
4050
|
}
|
|
4051
|
+
const existing_picklistOptions = existing.picklistOptions;
|
|
4052
|
+
const incoming_picklistOptions = incoming.picklistOptions;
|
|
4053
|
+
const equals_picklistOptions_items = equalsArray(existing_picklistOptions, incoming_picklistOptions, (existing_picklistOptions_item, incoming_picklistOptions_item) => {
|
|
4054
|
+
if (!(existing_picklistOptions_item === incoming_picklistOptions_item
|
|
4055
|
+
|| (existing_picklistOptions_item != null &&
|
|
4056
|
+
incoming_picklistOptions_item != null &&
|
|
4057
|
+
equals$6(existing_picklistOptions_item, incoming_picklistOptions_item)))) {
|
|
4058
|
+
return false;
|
|
4059
|
+
}
|
|
4060
|
+
});
|
|
4061
|
+
if (equals_picklistOptions_items === false) {
|
|
4062
|
+
return false;
|
|
4063
|
+
}
|
|
3783
4064
|
const existing_sequence = existing.sequence;
|
|
3784
4065
|
const incoming_sequence = incoming.sequence;
|
|
3785
4066
|
// if at least one of these optionals is defined
|
|
@@ -3796,7 +4077,7 @@ function equals$5(existing, incoming) {
|
|
|
3796
4077
|
return true;
|
|
3797
4078
|
}
|
|
3798
4079
|
|
|
3799
|
-
const VERSION$4 = "
|
|
4080
|
+
const VERSION$4 = "34826a646bb7b0b7c59bab61234d541a";
|
|
3800
4081
|
function validate$8(obj, path = 'SectionOutputRepresentation') {
|
|
3801
4082
|
const v_error = (() => {
|
|
3802
4083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3924,6 +4205,11 @@ function validate$8(obj, path = 'SectionOutputRepresentation') {
|
|
|
3924
4205
|
return new TypeError(message);
|
|
3925
4206
|
}
|
|
3926
4207
|
}
|
|
4208
|
+
const obj_sequence = obj.sequence;
|
|
4209
|
+
const path_sequence = path + '.sequence';
|
|
4210
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
4211
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
4212
|
+
}
|
|
3927
4213
|
})();
|
|
3928
4214
|
return v_error === undefined ? null : v_error;
|
|
3929
4215
|
}
|
|
@@ -3956,11 +4242,20 @@ const select$a = function SectionOutputRepresentationSelect() {
|
|
|
3956
4242
|
name: 'name',
|
|
3957
4243
|
kind: 'Scalar',
|
|
3958
4244
|
required: false
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
name: 'sequence',
|
|
4248
|
+
kind: 'Scalar'
|
|
3959
4249
|
}
|
|
3960
4250
|
]
|
|
3961
4251
|
};
|
|
3962
4252
|
};
|
|
3963
4253
|
function equals$4(existing, incoming) {
|
|
4254
|
+
const existing_sequence = existing.sequence;
|
|
4255
|
+
const incoming_sequence = incoming.sequence;
|
|
4256
|
+
if (!(existing_sequence === incoming_sequence)) {
|
|
4257
|
+
return false;
|
|
4258
|
+
}
|
|
3964
4259
|
const existing_attributes = existing.attributes;
|
|
3965
4260
|
const incoming_attributes = incoming.attributes;
|
|
3966
4261
|
// if at least one of these optionals is defined
|
|
@@ -4036,7 +4331,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4036
4331
|
const path_agentAction = path + '.agentAction';
|
|
4037
4332
|
let obj_agentAction_union0 = null;
|
|
4038
4333
|
const obj_agentAction_union0_error = (() => {
|
|
4039
|
-
const referencepath_agentActionValidationError = validate$
|
|
4334
|
+
const referencepath_agentActionValidationError = validate$j(obj_agentAction, path_agentAction);
|
|
4040
4335
|
if (referencepath_agentActionValidationError !== null) {
|
|
4041
4336
|
let message = 'Object doesn\'t match AgentActionOutputRepresentation (at "' + path_agentAction + '")\n';
|
|
4042
4337
|
message += referencepath_agentActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4073,7 +4368,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4073
4368
|
const path_associatedArticles_item = path_associatedArticles + '[' + i + ']';
|
|
4074
4369
|
let obj_associatedArticles_item_union0 = null;
|
|
4075
4370
|
const obj_associatedArticles_item_union0_error = (() => {
|
|
4076
|
-
const referencepath_associatedArticles_itemValidationError = validate$
|
|
4371
|
+
const referencepath_associatedArticles_itemValidationError = validate$i(obj_associatedArticles_item, path_associatedArticles_item);
|
|
4077
4372
|
if (referencepath_associatedArticles_itemValidationError !== null) {
|
|
4078
4373
|
let message = 'Object doesn\'t match AssociatedArticleOutputRepresentation (at "' + path_associatedArticles_item + '")\n';
|
|
4079
4374
|
message += referencepath_associatedArticles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4221,7 +4516,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4221
4516
|
const path_eligibilityRules_item = path_eligibilityRules + '[' + i + ']';
|
|
4222
4517
|
let obj_eligibilityRules_item_union0 = null;
|
|
4223
4518
|
const obj_eligibilityRules_item_union0_error = (() => {
|
|
4224
|
-
const referencepath_eligibilityRules_itemValidationError = validate$
|
|
4519
|
+
const referencepath_eligibilityRules_itemValidationError = validate$h(obj_eligibilityRules_item, path_eligibilityRules_item);
|
|
4225
4520
|
if (referencepath_eligibilityRules_itemValidationError !== null) {
|
|
4226
4521
|
let message = 'Object doesn\'t match EligibilityRuleOutputRepresentation (at "' + path_eligibilityRules_item + '")\n';
|
|
4227
4522
|
message += referencepath_eligibilityRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4253,7 +4548,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4253
4548
|
const path_fulfillmentFlow = path + '.fulfillmentFlow';
|
|
4254
4549
|
let obj_fulfillmentFlow_union0 = null;
|
|
4255
4550
|
const obj_fulfillmentFlow_union0_error = (() => {
|
|
4256
|
-
const referencepath_fulfillmentFlowValidationError = validate$
|
|
4551
|
+
const referencepath_fulfillmentFlowValidationError = validate$g(obj_fulfillmentFlow, path_fulfillmentFlow);
|
|
4257
4552
|
if (referencepath_fulfillmentFlowValidationError !== null) {
|
|
4258
4553
|
let message = 'Object doesn\'t match FulfillmentFlowOutputRepresentation (at "' + path_fulfillmentFlow + '")\n';
|
|
4259
4554
|
message += referencepath_fulfillmentFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4284,7 +4579,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4284
4579
|
const path_intakeForm = path + '.intakeForm';
|
|
4285
4580
|
let obj_intakeForm_union0 = null;
|
|
4286
4581
|
const obj_intakeForm_union0_error = (() => {
|
|
4287
|
-
const referencepath_intakeFormValidationError = validate$
|
|
4582
|
+
const referencepath_intakeFormValidationError = validate$f(obj_intakeForm, path_intakeForm);
|
|
4288
4583
|
if (referencepath_intakeFormValidationError !== null) {
|
|
4289
4584
|
let message = 'Object doesn\'t match IntakeFormOutputRepresentation (at "' + path_intakeForm + '")\n';
|
|
4290
4585
|
message += referencepath_intakeFormValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4321,7 +4616,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4321
4616
|
const path_integrations_item = path_integrations + '[' + i + ']';
|
|
4322
4617
|
let obj_integrations_item_union0 = null;
|
|
4323
4618
|
const obj_integrations_item_union0_error = (() => {
|
|
4324
|
-
const referencepath_integrations_itemValidationError = validate$
|
|
4619
|
+
const referencepath_integrations_itemValidationError = validate$e(obj_integrations_item, path_integrations_item);
|
|
4325
4620
|
if (referencepath_integrations_itemValidationError !== null) {
|
|
4326
4621
|
let message = 'Object doesn\'t match IntegrationDefinitionOutputPresentation (at "' + path_integrations_item + '")\n';
|
|
4327
4622
|
message += referencepath_integrations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4415,7 +4710,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4415
4710
|
const path_preProcessors_item = path_preProcessors + '[' + i + ']';
|
|
4416
4711
|
let obj_preProcessors_item_union0 = null;
|
|
4417
4712
|
const obj_preProcessors_item_union0_error = (() => {
|
|
4418
|
-
const referencepath_preProcessors_itemValidationError = validate$
|
|
4713
|
+
const referencepath_preProcessors_itemValidationError = validate$d(obj_preProcessors_item, path_preProcessors_item);
|
|
4419
4714
|
if (referencepath_preProcessors_itemValidationError !== null) {
|
|
4420
4715
|
let message = 'Object doesn\'t match PreprocessorOutputRepresentation (at "' + path_preProcessors_item + '")\n';
|
|
4421
4716
|
message += referencepath_preProcessors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4481,7 +4776,7 @@ function validate$7(obj, path = 'CatalogItemOutputRepresentation') {
|
|
|
4481
4776
|
const path_productRequests_item = path_productRequests + '[' + i + ']';
|
|
4482
4777
|
let obj_productRequests_item_union0 = null;
|
|
4483
4778
|
const obj_productRequests_item_union0_error = (() => {
|
|
4484
|
-
const referencepath_productRequests_itemValidationError = validate$
|
|
4779
|
+
const referencepath_productRequests_itemValidationError = validate$b(obj_productRequests_item, path_productRequests_item);
|
|
4485
4780
|
if (referencepath_productRequests_itemValidationError !== null) {
|
|
4486
4781
|
let message = 'Object doesn\'t match ProductRequestOutputRepresentation (at "' + path_productRequests_item + '")\n';
|
|
4487
4782
|
message += referencepath_productRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4650,14 +4945,14 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
4650
4945
|
return input;
|
|
4651
4946
|
}
|
|
4652
4947
|
const select$9 = function CatalogItemOutputRepresentationSelect() {
|
|
4653
|
-
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$
|
|
4654
|
-
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$
|
|
4655
|
-
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$
|
|
4656
|
-
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$
|
|
4657
|
-
const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$
|
|
4658
|
-
const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$
|
|
4659
|
-
const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$
|
|
4660
|
-
const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$
|
|
4948
|
+
const { selections: AgentActionOutputRepresentation__selections, opaque: AgentActionOutputRepresentation__opaque, } = select$l();
|
|
4949
|
+
const { selections: AssociatedArticleOutputRepresentation__selections, opaque: AssociatedArticleOutputRepresentation__opaque, } = select$k();
|
|
4950
|
+
const { selections: EligibilityRuleOutputRepresentation__selections, opaque: EligibilityRuleOutputRepresentation__opaque, } = select$j();
|
|
4951
|
+
const { selections: FulfillmentFlowOutputRepresentation__selections, opaque: FulfillmentFlowOutputRepresentation__opaque, } = select$i();
|
|
4952
|
+
const { selections: IntakeFormOutputRepresentation__selections, opaque: IntakeFormOutputRepresentation__opaque, } = select$h();
|
|
4953
|
+
const { selections: IntegrationDefinitionOutputPresentation__selections, opaque: IntegrationDefinitionOutputPresentation__opaque, } = select$g();
|
|
4954
|
+
const { selections: PreprocessorOutputRepresentation__selections, opaque: PreprocessorOutputRepresentation__opaque, } = select$f();
|
|
4955
|
+
const { selections: ProductRequestOutputRepresentation__selections, opaque: ProductRequestOutputRepresentation__opaque, } = select$d();
|
|
4661
4956
|
const { selections: SectionOutputRepresentation__selections, opaque: SectionOutputRepresentation__opaque, } = select$a();
|
|
4662
4957
|
return {
|
|
4663
4958
|
kind: 'Fragment',
|
|
@@ -4800,7 +5095,7 @@ function equals$3(existing, incoming) {
|
|
|
4800
5095
|
if (!(existing_agentAction === incoming_agentAction
|
|
4801
5096
|
|| (existing_agentAction != null &&
|
|
4802
5097
|
incoming_agentAction != null &&
|
|
4803
|
-
equals$
|
|
5098
|
+
equals$f(existing_agentAction, incoming_agentAction)))) {
|
|
4804
5099
|
return false;
|
|
4805
5100
|
}
|
|
4806
5101
|
}
|
|
@@ -4817,7 +5112,7 @@ function equals$3(existing, incoming) {
|
|
|
4817
5112
|
if (!(existing_associatedArticles_item === incoming_associatedArticles_item
|
|
4818
5113
|
|| (existing_associatedArticles_item != null &&
|
|
4819
5114
|
incoming_associatedArticles_item != null &&
|
|
4820
|
-
equals$
|
|
5115
|
+
equals$e(existing_associatedArticles_item, incoming_associatedArticles_item)))) {
|
|
4821
5116
|
return false;
|
|
4822
5117
|
}
|
|
4823
5118
|
});
|
|
@@ -4882,7 +5177,7 @@ function equals$3(existing, incoming) {
|
|
|
4882
5177
|
if (!(existing_eligibilityRules_item === incoming_eligibilityRules_item
|
|
4883
5178
|
|| (existing_eligibilityRules_item != null &&
|
|
4884
5179
|
incoming_eligibilityRules_item != null &&
|
|
4885
|
-
equals$
|
|
5180
|
+
equals$d(existing_eligibilityRules_item, incoming_eligibilityRules_item)))) {
|
|
4886
5181
|
return false;
|
|
4887
5182
|
}
|
|
4888
5183
|
});
|
|
@@ -4902,7 +5197,7 @@ function equals$3(existing, incoming) {
|
|
|
4902
5197
|
if (!(existing_fulfillmentFlow === incoming_fulfillmentFlow
|
|
4903
5198
|
|| (existing_fulfillmentFlow != null &&
|
|
4904
5199
|
incoming_fulfillmentFlow != null &&
|
|
4905
|
-
equals$
|
|
5200
|
+
equals$c(existing_fulfillmentFlow, incoming_fulfillmentFlow)))) {
|
|
4906
5201
|
return false;
|
|
4907
5202
|
}
|
|
4908
5203
|
}
|
|
@@ -4918,7 +5213,7 @@ function equals$3(existing, incoming) {
|
|
|
4918
5213
|
if (!(existing_intakeForm === incoming_intakeForm
|
|
4919
5214
|
|| (existing_intakeForm != null &&
|
|
4920
5215
|
incoming_intakeForm != null &&
|
|
4921
|
-
equals$
|
|
5216
|
+
equals$b(existing_intakeForm, incoming_intakeForm)))) {
|
|
4922
5217
|
return false;
|
|
4923
5218
|
}
|
|
4924
5219
|
}
|
|
@@ -4935,7 +5230,7 @@ function equals$3(existing, incoming) {
|
|
|
4935
5230
|
if (!(existing_integrations_item === incoming_integrations_item
|
|
4936
5231
|
|| (existing_integrations_item != null &&
|
|
4937
5232
|
incoming_integrations_item != null &&
|
|
4938
|
-
equals$
|
|
5233
|
+
equals$a(existing_integrations_item, incoming_integrations_item)))) {
|
|
4939
5234
|
return false;
|
|
4940
5235
|
}
|
|
4941
5236
|
});
|
|
@@ -4982,7 +5277,7 @@ function equals$3(existing, incoming) {
|
|
|
4982
5277
|
if (!(existing_preProcessors_item === incoming_preProcessors_item
|
|
4983
5278
|
|| (existing_preProcessors_item != null &&
|
|
4984
5279
|
incoming_preProcessors_item != null &&
|
|
4985
|
-
equals$
|
|
5280
|
+
equals$9(existing_preProcessors_item, incoming_preProcessors_item)))) {
|
|
4986
5281
|
return false;
|
|
4987
5282
|
}
|
|
4988
5283
|
});
|
|
@@ -5016,7 +5311,7 @@ function equals$3(existing, incoming) {
|
|
|
5016
5311
|
if (!(existing_productRequests_item === incoming_productRequests_item
|
|
5017
5312
|
|| (existing_productRequests_item != null &&
|
|
5018
5313
|
incoming_productRequests_item != null &&
|
|
5019
|
-
equals$
|
|
5314
|
+
equals$7(existing_productRequests_item, incoming_productRequests_item)))) {
|
|
5020
5315
|
return false;
|
|
5021
5316
|
}
|
|
5022
5317
|
});
|
|
@@ -5173,7 +5468,7 @@ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$6(createCatalo
|
|
|
5173
5468
|
function typeCheckConfig$5(untrustedConfig) {
|
|
5174
5469
|
const config = {};
|
|
5175
5470
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
5176
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
5471
|
+
const referenceAgentActionInputRepresentationValidationError = validate$u(untrustedConfig_agentAction);
|
|
5177
5472
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
5178
5473
|
config.agentAction = untrustedConfig_agentAction;
|
|
5179
5474
|
}
|
|
@@ -5185,7 +5480,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5185
5480
|
const untrustedConfig_associatedArticles_array = [];
|
|
5186
5481
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
5187
5482
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
5188
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
5483
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$t(untrustedConfig_associatedArticles_item);
|
|
5189
5484
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
5190
5485
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
5191
5486
|
}
|
|
@@ -5200,7 +5495,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5200
5495
|
const untrustedConfig_attributes_array = [];
|
|
5201
5496
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
5202
5497
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
5203
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
5498
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$r(untrustedConfig_attributes_item);
|
|
5204
5499
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
5205
5500
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
5206
5501
|
}
|
|
@@ -5215,7 +5510,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5215
5510
|
const untrustedConfig_sections_array = [];
|
|
5216
5511
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
5217
5512
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
5218
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
5513
|
+
const referenceSectionInputRepresentationValidationError = validate$q(untrustedConfig_sections_item);
|
|
5219
5514
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
5220
5515
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
5221
5516
|
}
|
|
@@ -5251,7 +5546,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5251
5546
|
const untrustedConfig_eligibilityRules_array = [];
|
|
5252
5547
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
5253
5548
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
5254
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
5549
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$p(untrustedConfig_eligibilityRules_item);
|
|
5255
5550
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
5256
5551
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
5257
5552
|
}
|
|
@@ -5262,7 +5557,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5262
5557
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
5263
5558
|
}
|
|
5264
5559
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
5265
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
5560
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$o(untrustedConfig_fulfillmentFlow);
|
|
5266
5561
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
5267
5562
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5268
5563
|
}
|
|
@@ -5270,7 +5565,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5270
5565
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
5271
5566
|
}
|
|
5272
5567
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
5273
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
5568
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$n(untrustedConfig_intakeForm);
|
|
5274
5569
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
5275
5570
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
5276
5571
|
}
|
|
@@ -5282,7 +5577,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5282
5577
|
const untrustedConfig_integrations_array = [];
|
|
5283
5578
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
5284
5579
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
5285
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
5580
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$m(untrustedConfig_integrations_item);
|
|
5286
5581
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
5287
5582
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
5288
5583
|
}
|
|
@@ -5311,7 +5606,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5311
5606
|
const untrustedConfig_preProcessors_array = [];
|
|
5312
5607
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
5313
5608
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
5314
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
5609
|
+
const referencePreprocessorInputRepresentationValidationError = validate$l(untrustedConfig_preProcessors_item);
|
|
5315
5610
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
5316
5611
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
5317
5612
|
}
|
|
@@ -5326,7 +5621,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5326
5621
|
const untrustedConfig_productRequests_array = [];
|
|
5327
5622
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
5328
5623
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
5329
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
5624
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$k(untrustedConfig_productRequests_item);
|
|
5330
5625
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
5331
5626
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
5332
5627
|
}
|
|
@@ -6137,7 +6432,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6137
6432
|
const config = {};
|
|
6138
6433
|
typeCheckConfig$6(untrustedConfig, config, updateCatalogItem_ConfigPropertyMetadata);
|
|
6139
6434
|
const untrustedConfig_agentAction = untrustedConfig.agentAction;
|
|
6140
|
-
const referenceAgentActionInputRepresentationValidationError = validate$
|
|
6435
|
+
const referenceAgentActionInputRepresentationValidationError = validate$u(untrustedConfig_agentAction);
|
|
6141
6436
|
if (referenceAgentActionInputRepresentationValidationError === null) {
|
|
6142
6437
|
config.agentAction = untrustedConfig_agentAction;
|
|
6143
6438
|
}
|
|
@@ -6156,7 +6451,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6156
6451
|
const untrustedConfig_associatedArticles_array = [];
|
|
6157
6452
|
for (let i = 0, arrayLength = untrustedConfig_associatedArticles.length; i < arrayLength; i++) {
|
|
6158
6453
|
const untrustedConfig_associatedArticles_item = untrustedConfig_associatedArticles[i];
|
|
6159
|
-
const referenceKnowledgeArticleInputRepresentationValidationError = validate$
|
|
6454
|
+
const referenceKnowledgeArticleInputRepresentationValidationError = validate$t(untrustedConfig_associatedArticles_item);
|
|
6160
6455
|
if (referenceKnowledgeArticleInputRepresentationValidationError === null) {
|
|
6161
6456
|
untrustedConfig_associatedArticles_array.push(untrustedConfig_associatedArticles_item);
|
|
6162
6457
|
}
|
|
@@ -6171,7 +6466,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6171
6466
|
const untrustedConfig_attributes_array = [];
|
|
6172
6467
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
6173
6468
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
6174
|
-
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$
|
|
6469
|
+
const referenceCatalogItemAttributeInputRepresentationValidationError = validate$r(untrustedConfig_attributes_item);
|
|
6175
6470
|
if (referenceCatalogItemAttributeInputRepresentationValidationError === null) {
|
|
6176
6471
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
6177
6472
|
}
|
|
@@ -6186,7 +6481,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6186
6481
|
const untrustedConfig_sections_array = [];
|
|
6187
6482
|
for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
|
|
6188
6483
|
const untrustedConfig_sections_item = untrustedConfig_sections[i];
|
|
6189
|
-
const referenceSectionInputRepresentationValidationError = validate$
|
|
6484
|
+
const referenceSectionInputRepresentationValidationError = validate$q(untrustedConfig_sections_item);
|
|
6190
6485
|
if (referenceSectionInputRepresentationValidationError === null) {
|
|
6191
6486
|
untrustedConfig_sections_array.push(untrustedConfig_sections_item);
|
|
6192
6487
|
}
|
|
@@ -6222,7 +6517,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6222
6517
|
const untrustedConfig_eligibilityRules_array = [];
|
|
6223
6518
|
for (let i = 0, arrayLength = untrustedConfig_eligibilityRules.length; i < arrayLength; i++) {
|
|
6224
6519
|
const untrustedConfig_eligibilityRules_item = untrustedConfig_eligibilityRules[i];
|
|
6225
|
-
const referenceEligibilityRulesInputRepresentationValidationError = validate$
|
|
6520
|
+
const referenceEligibilityRulesInputRepresentationValidationError = validate$p(untrustedConfig_eligibilityRules_item);
|
|
6226
6521
|
if (referenceEligibilityRulesInputRepresentationValidationError === null) {
|
|
6227
6522
|
untrustedConfig_eligibilityRules_array.push(untrustedConfig_eligibilityRules_item);
|
|
6228
6523
|
}
|
|
@@ -6233,7 +6528,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6233
6528
|
config.eligibilityRules = untrustedConfig_eligibilityRules_array;
|
|
6234
6529
|
}
|
|
6235
6530
|
const untrustedConfig_fulfillmentFlow = untrustedConfig.fulfillmentFlow;
|
|
6236
|
-
const referenceFulfillmentFlowInputRepresentationValidationError = validate$
|
|
6531
|
+
const referenceFulfillmentFlowInputRepresentationValidationError = validate$o(untrustedConfig_fulfillmentFlow);
|
|
6237
6532
|
if (referenceFulfillmentFlowInputRepresentationValidationError === null) {
|
|
6238
6533
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6239
6534
|
}
|
|
@@ -6241,7 +6536,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6241
6536
|
config.fulfillmentFlow = untrustedConfig_fulfillmentFlow;
|
|
6242
6537
|
}
|
|
6243
6538
|
const untrustedConfig_intakeForm = untrustedConfig.intakeForm;
|
|
6244
|
-
const referenceIntakeFormInputRepresentationValidationError = validate$
|
|
6539
|
+
const referenceIntakeFormInputRepresentationValidationError = validate$n(untrustedConfig_intakeForm);
|
|
6245
6540
|
if (referenceIntakeFormInputRepresentationValidationError === null) {
|
|
6246
6541
|
config.intakeForm = untrustedConfig_intakeForm;
|
|
6247
6542
|
}
|
|
@@ -6253,7 +6548,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6253
6548
|
const untrustedConfig_integrations_array = [];
|
|
6254
6549
|
for (let i = 0, arrayLength = untrustedConfig_integrations.length; i < arrayLength; i++) {
|
|
6255
6550
|
const untrustedConfig_integrations_item = untrustedConfig_integrations[i];
|
|
6256
|
-
const referenceIntegrationDefInputRepresentationValidationError = validate$
|
|
6551
|
+
const referenceIntegrationDefInputRepresentationValidationError = validate$m(untrustedConfig_integrations_item);
|
|
6257
6552
|
if (referenceIntegrationDefInputRepresentationValidationError === null) {
|
|
6258
6553
|
untrustedConfig_integrations_array.push(untrustedConfig_integrations_item);
|
|
6259
6554
|
}
|
|
@@ -6282,7 +6577,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6282
6577
|
const untrustedConfig_preProcessors_array = [];
|
|
6283
6578
|
for (let i = 0, arrayLength = untrustedConfig_preProcessors.length; i < arrayLength; i++) {
|
|
6284
6579
|
const untrustedConfig_preProcessors_item = untrustedConfig_preProcessors[i];
|
|
6285
|
-
const referencePreprocessorInputRepresentationValidationError = validate$
|
|
6580
|
+
const referencePreprocessorInputRepresentationValidationError = validate$l(untrustedConfig_preProcessors_item);
|
|
6286
6581
|
if (referencePreprocessorInputRepresentationValidationError === null) {
|
|
6287
6582
|
untrustedConfig_preProcessors_array.push(untrustedConfig_preProcessors_item);
|
|
6288
6583
|
}
|
|
@@ -6297,7 +6592,7 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
6297
6592
|
const untrustedConfig_productRequests_array = [];
|
|
6298
6593
|
for (let i = 0, arrayLength = untrustedConfig_productRequests.length; i < arrayLength; i++) {
|
|
6299
6594
|
const untrustedConfig_productRequests_item = untrustedConfig_productRequests[i];
|
|
6300
|
-
const referenceProductRequestCreateInputRepresentationValidationError = validate$
|
|
6595
|
+
const referenceProductRequestCreateInputRepresentationValidationError = validate$k(untrustedConfig_productRequests_item);
|
|
6301
6596
|
if (referenceProductRequestCreateInputRepresentationValidationError === null) {
|
|
6302
6597
|
untrustedConfig_productRequests_array.push(untrustedConfig_productRequests_item);
|
|
6303
6598
|
}
|
|
@@ -6648,4 +6943,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6648
6943
|
});
|
|
6649
6944
|
|
|
6650
6945
|
export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
|
|
6651
|
-
// version: 1.
|
|
6946
|
+
// version: 1.347.0-31679f40fc
|