@salesforce/lds-adapters-uiapi 1.266.0-dev2 → 1.266.0-dev21
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/types/src/generated/graphql/types/type-util.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/AppliedSearchFilterOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SearchFilterOutputRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/main.d.ts +1 -0
- package/dist/es/es2018/types/src/primitives/FieldId/coerce.d.ts +2 -1
- package/dist/es/es2018/types/src/primitives/FieldIdArray/coerce.d.ts +4 -1
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +551 -403
- package/package.json +7 -7
- package/sfdc/graphqlAdapters.js +210 -138
- package/sfdc/index.js +354 -272
- package/sfdc/uiapi-static-functions.js +6 -4
- package/src/raml/api.raml +23 -3
package/sfdc/index.js
CHANGED
|
@@ -564,15 +564,17 @@ function splitQualifiedFieldApiName(fieldApiName) {
|
|
|
564
564
|
/**
|
|
565
565
|
* Returns the field API name, qualified with an object name if possible.
|
|
566
566
|
* @param value The value from which to get the qualified field API name.
|
|
567
|
+
* @param onlyQualifiedFieldNames - Whether or not this function should skip fieldApiName that do not include the delimiter '.'
|
|
567
568
|
* @return The qualified field API name.
|
|
568
569
|
*/
|
|
569
|
-
function getFieldApiName(value) {
|
|
570
|
+
function getFieldApiName(value, onlyQualifiedFieldNames = false) {
|
|
570
571
|
// Note: tightening validation logic changes behavior from userland getting
|
|
571
572
|
// a server-provided error to the adapter noop'ing. In 224 we decided to not
|
|
572
|
-
// change the behavior.
|
|
573
|
+
// change the behavior. In 250 we decided to add the 'onlyQualifiedFieldName' flag to tighten the logic
|
|
574
|
+
// optionally to avoid issues with persisted invalid field names.
|
|
573
575
|
if (isString(value)) {
|
|
574
576
|
const trimmed = value.trim();
|
|
575
|
-
if (trimmed.length > 0) {
|
|
577
|
+
if (trimmed.length > 0 && (onlyQualifiedFieldNames ? trimmed.indexOf('.') > -1 : true)) {
|
|
576
578
|
return trimmed;
|
|
577
579
|
}
|
|
578
580
|
}
|
|
@@ -585,15 +587,19 @@ function getFieldApiName(value) {
|
|
|
585
587
|
/**
|
|
586
588
|
* Returns the field API name.
|
|
587
589
|
* @param value The value from which to get the field API name.
|
|
590
|
+
* @param options Option bag. onlyQualifiedFieldNames is a boolean that allows this function to skip returning invalid FieldApiNames.
|
|
588
591
|
* @returns The field API name.
|
|
589
592
|
*/
|
|
590
|
-
function getFieldApiNamesArray(value) {
|
|
593
|
+
function getFieldApiNamesArray(value, options = { onlyQualifiedFieldNames: false }) {
|
|
591
594
|
const valueArray = isArray(value) ? value : [value];
|
|
592
595
|
const array = [];
|
|
593
596
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
594
597
|
const item = valueArray[i];
|
|
595
|
-
const apiName = getFieldApiName(item);
|
|
598
|
+
const apiName = getFieldApiName(item, options.onlyQualifiedFieldNames);
|
|
596
599
|
if (apiName === undefined) {
|
|
600
|
+
if (options.onlyQualifiedFieldNames) {
|
|
601
|
+
continue; // Just skips invalid field names rather than failing to return an array at all
|
|
602
|
+
}
|
|
597
603
|
return undefined;
|
|
598
604
|
}
|
|
599
605
|
push.call(array, apiName);
|
|
@@ -649,7 +655,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
649
655
|
}
|
|
650
656
|
|
|
651
657
|
const VERSION$1n = "623aa9ce3a11031e35faf5671a41746e";
|
|
652
|
-
function validate$
|
|
658
|
+
function validate$1$(obj, path = 'ListFilterByInfoRepresentation') {
|
|
653
659
|
const v_error = (() => {
|
|
654
660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
655
661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -712,7 +718,7 @@ const select$1Z = function ListFilterByInfoRepresentationSelect() {
|
|
|
712
718
|
};
|
|
713
719
|
|
|
714
720
|
const VERSION$1m = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
715
|
-
function validate$
|
|
721
|
+
function validate$1_(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
716
722
|
const v_error = (() => {
|
|
717
723
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
718
724
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -791,7 +797,7 @@ const select$1Y = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
791
797
|
};
|
|
792
798
|
|
|
793
799
|
const VERSION$1l = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
794
|
-
function validate$
|
|
800
|
+
function validate$1Z(obj, path = 'ListReferenceRepresentation') {
|
|
795
801
|
const v_error = (() => {
|
|
796
802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
797
803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -911,7 +917,7 @@ function equals$14(existing, incoming) {
|
|
|
911
917
|
}
|
|
912
918
|
|
|
913
919
|
const VERSION$1k = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
914
|
-
function validate$
|
|
920
|
+
function validate$1Y(obj, path = 'ListInfoShareRepresentation') {
|
|
915
921
|
const v_error = (() => {
|
|
916
922
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
917
923
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -948,7 +954,7 @@ const select$1W = function ListInfoShareRepresentationSelect() {
|
|
|
948
954
|
};
|
|
949
955
|
|
|
950
956
|
const VERSION$1j = "561657f32721ec1dac1601575b029640";
|
|
951
|
-
function validate$
|
|
957
|
+
function validate$1X(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
952
958
|
const v_error = (() => {
|
|
953
959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
954
960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -966,7 +972,7 @@ function validate$1W(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
966
972
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
967
973
|
const obj_shares_item = obj_shares[i];
|
|
968
974
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
969
|
-
const referencepath_shares_itemValidationError = validate$
|
|
975
|
+
const referencepath_shares_itemValidationError = validate$1Y(obj_shares_item, path_shares_item);
|
|
970
976
|
if (referencepath_shares_itemValidationError !== null) {
|
|
971
977
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
972
978
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -998,7 +1004,7 @@ const select$1V = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
998
1004
|
};
|
|
999
1005
|
|
|
1000
1006
|
const VERSION$1i = "32def9b631252c12b91a8209c1f49f5a";
|
|
1001
|
-
function validate$
|
|
1007
|
+
function validate$1W(obj, path = 'ListOrderByInfoRepresentation') {
|
|
1002
1008
|
const v_error = (() => {
|
|
1003
1009
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1004
1010
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1083,7 +1089,7 @@ function equals$13(existing, incoming) {
|
|
|
1083
1089
|
}
|
|
1084
1090
|
|
|
1085
1091
|
const VERSION$1h = "2634258f216db34315c06d759a35676d";
|
|
1086
|
-
function validate$
|
|
1092
|
+
function validate$1V(obj, path = 'ListScopeEntityRepresentation') {
|
|
1087
1093
|
const v_error = (() => {
|
|
1088
1094
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1089
1095
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1126,7 @@ const select$1T = function ListScopeEntityRepresentationSelect() {
|
|
|
1120
1126
|
};
|
|
1121
1127
|
|
|
1122
1128
|
const VERSION$1g = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
1123
|
-
function validate$
|
|
1129
|
+
function validate$1U(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
1124
1130
|
const v_error = (() => {
|
|
1125
1131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1126
1132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1166,7 +1172,7 @@ const select$1S = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
1166
1172
|
};
|
|
1167
1173
|
|
|
1168
1174
|
const VERSION$1f = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1169
|
-
function validate$
|
|
1175
|
+
function validate$1T(obj, path = 'ListScopeRepresentation') {
|
|
1170
1176
|
const v_error = (() => {
|
|
1171
1177
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1172
1178
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1180,7 +1186,7 @@ function validate$1S(obj, path = 'ListScopeRepresentation') {
|
|
|
1180
1186
|
const path_entity = path + '.entity';
|
|
1181
1187
|
let obj_entity_union0 = null;
|
|
1182
1188
|
const obj_entity_union0_error = (() => {
|
|
1183
|
-
const referencepath_entityValidationError = validate$
|
|
1189
|
+
const referencepath_entityValidationError = validate$1V(obj_entity, path_entity);
|
|
1184
1190
|
if (referencepath_entityValidationError !== null) {
|
|
1185
1191
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1186
1192
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1235,7 +1241,7 @@ function validate$1S(obj, path = 'ListScopeRepresentation') {
|
|
|
1235
1241
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1236
1242
|
let obj_relatedEntity_union0 = null;
|
|
1237
1243
|
const obj_relatedEntity_union0_error = (() => {
|
|
1238
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1244
|
+
const referencepath_relatedEntityValidationError = validate$1U(obj_relatedEntity, path_relatedEntity);
|
|
1239
1245
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1240
1246
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1241
1247
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1296,7 +1302,7 @@ const select$1R = function ListScopeRepresentationSelect() {
|
|
|
1296
1302
|
};
|
|
1297
1303
|
|
|
1298
1304
|
const VERSION$1e = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1299
|
-
function validate$
|
|
1305
|
+
function validate$1S(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1300
1306
|
const v_error = (() => {
|
|
1301
1307
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1302
1308
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1352,7 +1358,7 @@ const select$1Q = function ListUserPreferenceRepresentationSelect() {
|
|
|
1352
1358
|
};
|
|
1353
1359
|
};
|
|
1354
1360
|
|
|
1355
|
-
function validate$
|
|
1361
|
+
function validate$1R(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
1356
1362
|
const v_error = (() => {
|
|
1357
1363
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1358
1364
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1371,7 +1377,7 @@ function validate$1Q(obj, path = 'ListColumnInlineEditAttributesRepresentation')
|
|
|
1371
1377
|
return v_error === undefined ? null : v_error;
|
|
1372
1378
|
}
|
|
1373
1379
|
|
|
1374
|
-
function validate$
|
|
1380
|
+
function validate$1Q(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
1375
1381
|
const v_error = (() => {
|
|
1376
1382
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1377
1383
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1381,7 +1387,7 @@ function validate$1P(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1381
1387
|
const key = obj_keys[i];
|
|
1382
1388
|
const obj_prop = obj[key];
|
|
1383
1389
|
const path_prop = path + '["' + key + '"]';
|
|
1384
|
-
const referencepath_propValidationError = validate$
|
|
1390
|
+
const referencepath_propValidationError = validate$1R(obj_prop, path_prop);
|
|
1385
1391
|
if (referencepath_propValidationError !== null) {
|
|
1386
1392
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
1387
1393
|
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1393,7 +1399,7 @@ function validate$1P(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1393
1399
|
}
|
|
1394
1400
|
|
|
1395
1401
|
const VERSION$1d = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
1396
|
-
function validate$
|
|
1402
|
+
function validate$1P(obj, path = 'ListColumnRepresentation') {
|
|
1397
1403
|
const v_error = (() => {
|
|
1398
1404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1399
1405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1408,7 +1414,7 @@ function validate$1O(obj, path = 'ListColumnRepresentation') {
|
|
|
1408
1414
|
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
1409
1415
|
let obj_inlineEditAttributes_union0 = null;
|
|
1410
1416
|
const obj_inlineEditAttributes_union0_error = (() => {
|
|
1411
|
-
const referencepath_inlineEditAttributesValidationError = validate$
|
|
1417
|
+
const referencepath_inlineEditAttributesValidationError = validate$1Q(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
1412
1418
|
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
1413
1419
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
1414
1420
|
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1500,7 +1506,7 @@ function equals$12(existing, incoming) {
|
|
|
1500
1506
|
}
|
|
1501
1507
|
const ingest$P = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1502
1508
|
if (process.env.NODE_ENV !== 'production') {
|
|
1503
|
-
const validateError = validate$
|
|
1509
|
+
const validateError = validate$1P(input);
|
|
1504
1510
|
if (validateError !== null) {
|
|
1505
1511
|
throw validateError;
|
|
1506
1512
|
}
|
|
@@ -1522,7 +1528,7 @@ function getTypeCacheKeys$X(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1522
1528
|
|
|
1523
1529
|
const TTL$A = 900000;
|
|
1524
1530
|
const VERSION$1c = "178c8b58f78e2720fe8846a667c7b294";
|
|
1525
|
-
function validate$
|
|
1531
|
+
function validate$1O(obj, path = 'ListInfoRepresentation') {
|
|
1526
1532
|
const v_error = (() => {
|
|
1527
1533
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1528
1534
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1593,7 +1599,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1593
1599
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1594
1600
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1595
1601
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1596
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1602
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1$(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1597
1603
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1598
1604
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1599
1605
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1605,7 +1611,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1605
1611
|
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
1606
1612
|
let obj_inlineEditDetails_union0 = null;
|
|
1607
1613
|
const obj_inlineEditDetails_union0_error = (() => {
|
|
1608
|
-
const referencepath_inlineEditDetailsValidationError = validate$
|
|
1614
|
+
const referencepath_inlineEditDetailsValidationError = validate$1_(obj_inlineEditDetails, path_inlineEditDetails);
|
|
1609
1615
|
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
1610
1616
|
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
1611
1617
|
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1659,7 +1665,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1659
1665
|
}
|
|
1660
1666
|
const obj_listReference = obj.listReference;
|
|
1661
1667
|
const path_listReference = path + '.listReference';
|
|
1662
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1668
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
1663
1669
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1664
1670
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1665
1671
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1674,7 +1680,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1674
1680
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1675
1681
|
const obj_listShares_item = obj_listShares[i];
|
|
1676
1682
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1677
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
1683
|
+
const referencepath_listShares_itemValidationError = validate$1X(obj_listShares_item, path_listShares_item);
|
|
1678
1684
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
1679
1685
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1680
1686
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1704,7 +1710,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1704
1710
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1705
1711
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1706
1712
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1707
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1713
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1W(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1708
1714
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1709
1715
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1710
1716
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1716,7 +1722,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1716
1722
|
const path_scope = path + '.scope';
|
|
1717
1723
|
let obj_scope_union0 = null;
|
|
1718
1724
|
const obj_scope_union0_error = (() => {
|
|
1719
|
-
const referencepath_scopeValidationError = validate$
|
|
1725
|
+
const referencepath_scopeValidationError = validate$1T(obj_scope, path_scope);
|
|
1720
1726
|
if (referencepath_scopeValidationError !== null) {
|
|
1721
1727
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1722
1728
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1756,7 +1762,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1756
1762
|
}
|
|
1757
1763
|
const obj_userPreferences = obj.userPreferences;
|
|
1758
1764
|
const path_userPreferences = path + '.userPreferences';
|
|
1759
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1765
|
+
const referencepath_userPreferencesValidationError = validate$1S(obj_userPreferences, path_userPreferences);
|
|
1760
1766
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1761
1767
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1762
1768
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1924,7 +1930,7 @@ function equals$11(existing, incoming) {
|
|
|
1924
1930
|
}
|
|
1925
1931
|
const ingest$O = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1926
1932
|
if (process.env.NODE_ENV !== 'production') {
|
|
1927
|
-
const validateError = validate$
|
|
1933
|
+
const validateError = validate$1O(input);
|
|
1928
1934
|
if (validateError !== null) {
|
|
1929
1935
|
throw validateError;
|
|
1930
1936
|
}
|
|
@@ -2008,7 +2014,7 @@ function toSortedStringArray(value) {
|
|
|
2008
2014
|
}
|
|
2009
2015
|
|
|
2010
2016
|
const VERSION$1b = "d1e589a127fb1060c89070cdb6f500b2";
|
|
2011
|
-
function validate$
|
|
2017
|
+
function validate$1N(obj, path = 'RecordTypeInfoRepresentation') {
|
|
2012
2018
|
const v_error = (() => {
|
|
2013
2019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2014
2020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2100,7 +2106,7 @@ function equals$10(existing, incoming) {
|
|
|
2100
2106
|
}
|
|
2101
2107
|
|
|
2102
2108
|
const VERSION$1a = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
2103
|
-
function validate$
|
|
2109
|
+
function validate$1M(obj, path = 'FieldValueRepresentation') {
|
|
2104
2110
|
const v_error = (() => {
|
|
2105
2111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2106
2112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2247,7 +2253,7 @@ function equals$$(existing, incoming) {
|
|
|
2247
2253
|
}
|
|
2248
2254
|
const ingest$N = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2249
2255
|
if (process.env.NODE_ENV !== 'production') {
|
|
2250
|
-
const validateError = validate$
|
|
2256
|
+
const validateError = validate$1M(input);
|
|
2251
2257
|
if (validateError !== null) {
|
|
2252
2258
|
throw validateError;
|
|
2253
2259
|
}
|
|
@@ -2298,7 +2304,7 @@ const getTypeCacheKeys$U = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2298
2304
|
|
|
2299
2305
|
const TTL$z = 120000;
|
|
2300
2306
|
const VERSION$19 = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2301
|
-
function validate$
|
|
2307
|
+
function validate$1L(obj, path = 'RecordCollectionRepresentation') {
|
|
2302
2308
|
const v_error = (() => {
|
|
2303
2309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2304
2310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2571,7 +2577,7 @@ function equals$_(existing, incoming) {
|
|
|
2571
2577
|
}
|
|
2572
2578
|
const ingest$M = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2573
2579
|
if (process.env.NODE_ENV !== 'production') {
|
|
2574
|
-
const validateError = validate$
|
|
2580
|
+
const validateError = validate$1L(input);
|
|
2575
2581
|
if (validateError !== null) {
|
|
2576
2582
|
throw validateError;
|
|
2577
2583
|
}
|
|
@@ -2607,7 +2613,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2607
2613
|
|
|
2608
2614
|
const TTL$y = 30000;
|
|
2609
2615
|
const VERSION$18 = "98c5b18512e48ca8d28727549507e4ba";
|
|
2610
|
-
function validate$
|
|
2616
|
+
function validate$1K(obj, path = 'RecordRepresentation') {
|
|
2611
2617
|
const v_error = (() => {
|
|
2612
2618
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2613
2619
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2737,7 +2743,7 @@ function validate$1J(obj, path = 'RecordRepresentation') {
|
|
|
2737
2743
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2738
2744
|
let obj_recordTypeInfo_union0 = null;
|
|
2739
2745
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2740
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2746
|
+
const referencepath_recordTypeInfoValidationError = validate$1N(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2741
2747
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2742
2748
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2743
2749
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5387,7 +5393,7 @@ function normalize$L(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
5387
5393
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
5388
5394
|
return (input, path, luvio, store, timestamp) => {
|
|
5389
5395
|
if (process.env.NODE_ENV !== 'production') {
|
|
5390
|
-
const validateError = validate$
|
|
5396
|
+
const validateError = validate$1M(input);
|
|
5391
5397
|
if (validateError !== null) {
|
|
5392
5398
|
throw validateError;
|
|
5393
5399
|
}
|
|
@@ -5480,7 +5486,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5480
5486
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5481
5487
|
return (input, path, luvio, store, timestamp) => {
|
|
5482
5488
|
if (process.env.NODE_ENV !== 'production') {
|
|
5483
|
-
const validateError = validate$
|
|
5489
|
+
const validateError = validate$1K(input);
|
|
5484
5490
|
if (validateError !== null) {
|
|
5485
5491
|
throw validateError;
|
|
5486
5492
|
}
|
|
@@ -5509,6 +5515,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5509
5515
|
representationName: RepresentationType$S,
|
|
5510
5516
|
namespace: keyPrefix,
|
|
5511
5517
|
version: VERSION$18,
|
|
5518
|
+
ingestionTimestamp: timestamp,
|
|
5512
5519
|
});
|
|
5513
5520
|
return createLink(key);
|
|
5514
5521
|
};
|
|
@@ -5734,17 +5741,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
5734
5741
|
function buildNetworkSnapshot$13(luvio, config, serverRequestCount = 0, options) {
|
|
5735
5742
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
5736
5743
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
5744
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5745
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
5746
|
+
// record request. The fulfill logic sends the same network response, so
|
|
5747
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5748
|
+
//
|
|
5749
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
5750
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
5751
|
+
// the response.
|
|
5752
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
5753
|
+
response.body = response.body.results[0]
|
|
5754
|
+
.result;
|
|
5755
|
+
}
|
|
5737
5756
|
return luvio.handleSuccessResponse(() => {
|
|
5738
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5739
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
5740
|
-
// record request. The fulfill logic sends the same network response, so
|
|
5741
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5742
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
5743
|
-
let recordResponse = response;
|
|
5744
|
-
recordResponse.body = response.body.results[0]
|
|
5745
|
-
.result;
|
|
5746
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
5747
|
-
}
|
|
5748
5757
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
5749
5758
|
}, () => {
|
|
5750
5759
|
const cache = new StoreKeyMap();
|
|
@@ -6326,7 +6335,7 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
|
|
|
6326
6335
|
|
|
6327
6336
|
const TTL$x = 30000;
|
|
6328
6337
|
const VERSION$16 = "b8270d0d7a5953587f98a9625cad85db";
|
|
6329
|
-
function validate$
|
|
6338
|
+
function validate$1J(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6330
6339
|
const v_error = (() => {
|
|
6331
6340
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6332
6341
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6386,7 +6395,7 @@ function validate$1I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6386
6395
|
}
|
|
6387
6396
|
const obj_listReference = obj.listReference;
|
|
6388
6397
|
const path_listReference = path + '.listReference';
|
|
6389
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6398
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
6390
6399
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6391
6400
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6392
6401
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6925,7 +6934,7 @@ function equals$Y(existing, incoming) {
|
|
|
6925
6934
|
}
|
|
6926
6935
|
const ingest$K = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6927
6936
|
if (process.env.NODE_ENV !== 'production') {
|
|
6928
|
-
const validateError = validate$
|
|
6937
|
+
const validateError = validate$1J(input);
|
|
6929
6938
|
if (validateError !== null) {
|
|
6930
6939
|
throw validateError;
|
|
6931
6940
|
}
|
|
@@ -6993,6 +7002,7 @@ const ingest$K = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
6993
7002
|
namespace: "UiApi",
|
|
6994
7003
|
version: VERSION$16,
|
|
6995
7004
|
representationName: RepresentationType$R,
|
|
7005
|
+
ingestionTimestamp: timestamp,
|
|
6996
7006
|
};
|
|
6997
7007
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
6998
7008
|
}
|
|
@@ -7018,7 +7028,7 @@ function getTypeCacheKeys$R(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7018
7028
|
}
|
|
7019
7029
|
|
|
7020
7030
|
const VERSION$15 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
7021
|
-
function validate$
|
|
7031
|
+
function validate$1I(obj, path = 'ListUiRepresentation') {
|
|
7022
7032
|
const v_error = (() => {
|
|
7023
7033
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7024
7034
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7124,7 +7134,7 @@ function equals$X(existing, incoming) {
|
|
|
7124
7134
|
}
|
|
7125
7135
|
const ingest$J = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7126
7136
|
if (process.env.NODE_ENV !== 'production') {
|
|
7127
|
-
const validateError = validate$
|
|
7137
|
+
const validateError = validate$1I(input);
|
|
7128
7138
|
if (validateError !== null) {
|
|
7129
7139
|
throw validateError;
|
|
7130
7140
|
}
|
|
@@ -7664,7 +7674,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7664
7674
|
}
|
|
7665
7675
|
|
|
7666
7676
|
const VERSION$14 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
7667
|
-
function validate$
|
|
7677
|
+
function validate$1H(obj, path = 'ListViewSummaryRepresentation') {
|
|
7668
7678
|
const v_error = (() => {
|
|
7669
7679
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7670
7680
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7776,7 +7786,7 @@ function equals$W(existing, incoming) {
|
|
|
7776
7786
|
}
|
|
7777
7787
|
const ingest$I = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7778
7788
|
if (process.env.NODE_ENV !== 'production') {
|
|
7779
|
-
const validateError = validate$
|
|
7789
|
+
const validateError = validate$1H(input);
|
|
7780
7790
|
if (validateError !== null) {
|
|
7781
7791
|
throw validateError;
|
|
7782
7792
|
}
|
|
@@ -7797,7 +7807,7 @@ function getTypeCacheKeys$P(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7797
7807
|
}
|
|
7798
7808
|
|
|
7799
7809
|
const VERSION$13 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7800
|
-
function validate$
|
|
7810
|
+
function validate$1G(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7801
7811
|
const v_error = (() => {
|
|
7802
7812
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7803
7813
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8181,7 +8191,7 @@ function equals$V(existing, incoming) {
|
|
|
8181
8191
|
}
|
|
8182
8192
|
const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8183
8193
|
if (process.env.NODE_ENV !== 'production') {
|
|
8184
|
-
const validateError = validate$
|
|
8194
|
+
const validateError = validate$1G(input);
|
|
8185
8195
|
if (validateError !== null) {
|
|
8186
8196
|
throw validateError;
|
|
8187
8197
|
}
|
|
@@ -8249,6 +8259,7 @@ const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, p
|
|
|
8249
8259
|
namespace: "UiApi",
|
|
8250
8260
|
version: VERSION$13,
|
|
8251
8261
|
representationName: RepresentationType$O,
|
|
8262
|
+
ingestionTimestamp: timestamp,
|
|
8252
8263
|
};
|
|
8253
8264
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
8254
8265
|
}
|
|
@@ -9345,7 +9356,7 @@ const factory$h = (luvio) => {
|
|
|
9345
9356
|
}, { contextId: contextId$5 });
|
|
9346
9357
|
};
|
|
9347
9358
|
|
|
9348
|
-
function validate$
|
|
9359
|
+
function validate$1F(obj, path = 'ChildRelationshipRepresentation') {
|
|
9349
9360
|
const v_error = (() => {
|
|
9350
9361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9351
9362
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9393,7 +9404,7 @@ function validate$1E(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9393
9404
|
return v_error === undefined ? null : v_error;
|
|
9394
9405
|
}
|
|
9395
9406
|
|
|
9396
|
-
function validate$
|
|
9407
|
+
function validate$1E(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9397
9408
|
const v_error = (() => {
|
|
9398
9409
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9399
9410
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9424,7 +9435,7 @@ function validate$1D(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9424
9435
|
return v_error === undefined ? null : v_error;
|
|
9425
9436
|
}
|
|
9426
9437
|
|
|
9427
|
-
function validate$
|
|
9438
|
+
function validate$1D(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9428
9439
|
const v_error = (() => {
|
|
9429
9440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9430
9441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9450,7 +9461,7 @@ function validate$1C(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9450
9461
|
return v_error === undefined ? null : v_error;
|
|
9451
9462
|
}
|
|
9452
9463
|
|
|
9453
|
-
function validate$
|
|
9464
|
+
function validate$1C(obj, path = 'FieldRepresentation') {
|
|
9454
9465
|
const v_error = (() => {
|
|
9455
9466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9456
9467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9610,7 +9621,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9610
9621
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9611
9622
|
let obj_filteredLookupInfo_union0 = null;
|
|
9612
9623
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9613
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9624
|
+
const referencepath_filteredLookupInfoValidationError = validate$1E(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9614
9625
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9615
9626
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9616
9627
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9735,7 +9746,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9735
9746
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9736
9747
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9737
9748
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9738
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
9749
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1D(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9739
9750
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9740
9751
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9741
9752
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9802,7 +9813,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9802
9813
|
return v_error === undefined ? null : v_error;
|
|
9803
9814
|
}
|
|
9804
9815
|
|
|
9805
|
-
function validate$
|
|
9816
|
+
function validate$1B(obj, path = 'ThemeInfoRepresentation') {
|
|
9806
9817
|
const v_error = (() => {
|
|
9807
9818
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9808
9819
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9844,7 +9855,7 @@ function validate$1A(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9844
9855
|
|
|
9845
9856
|
const TTL$w = 900000;
|
|
9846
9857
|
const VERSION$12 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9847
|
-
function validate$
|
|
9858
|
+
function validate$1A(obj, path = 'ObjectInfoRepresentation') {
|
|
9848
9859
|
const v_error = (() => {
|
|
9849
9860
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9850
9861
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9914,7 +9925,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9914
9925
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
9915
9926
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
9916
9927
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
9917
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
9928
|
+
const referencepath_childRelationships_itemValidationError = validate$1F(obj_childRelationships_item, path_childRelationships_item);
|
|
9918
9929
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
9919
9930
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
9920
9931
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9996,7 +10007,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9996
10007
|
const key = obj_fields_keys[i];
|
|
9997
10008
|
const obj_fields_prop = obj_fields[key];
|
|
9998
10009
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
9999
|
-
const referencepath_fields_propValidationError = validate$
|
|
10010
|
+
const referencepath_fields_propValidationError = validate$1C(obj_fields_prop, path_fields_prop);
|
|
10000
10011
|
if (referencepath_fields_propValidationError !== null) {
|
|
10001
10012
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
10002
10013
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10076,7 +10087,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10076
10087
|
const key = obj_recordTypeInfos_keys[i];
|
|
10077
10088
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
10078
10089
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
10079
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10090
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1N(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
10080
10091
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
10081
10092
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
10082
10093
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10092,7 +10103,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10092
10103
|
const path_themeInfo = path + '.themeInfo';
|
|
10093
10104
|
let obj_themeInfo_union0 = null;
|
|
10094
10105
|
const obj_themeInfo_union0_error = (() => {
|
|
10095
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10106
|
+
const referencepath_themeInfoValidationError = validate$1B(obj_themeInfo, path_themeInfo);
|
|
10096
10107
|
if (referencepath_themeInfoValidationError !== null) {
|
|
10097
10108
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
10098
10109
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10251,7 +10262,7 @@ function equals$U(existing, incoming) {
|
|
|
10251
10262
|
}
|
|
10252
10263
|
const ingest$G = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10253
10264
|
if (process.env.NODE_ENV !== 'production') {
|
|
10254
|
-
const validateError = validate$
|
|
10265
|
+
const validateError = validate$1A(input);
|
|
10255
10266
|
if (validateError !== null) {
|
|
10256
10267
|
throw validateError;
|
|
10257
10268
|
}
|
|
@@ -10412,7 +10423,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10412
10423
|
buildCachedSnapshotCachePolicy$L, buildNetworkSnapshotCachePolicy$M);
|
|
10413
10424
|
};
|
|
10414
10425
|
|
|
10415
|
-
function validate$
|
|
10426
|
+
function validate$1z(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10416
10427
|
const v_error = (() => {
|
|
10417
10428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10418
10429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10460,7 +10471,7 @@ var DiscriminatorValues$5;
|
|
|
10460
10471
|
DiscriminatorValues["Field"] = "Field";
|
|
10461
10472
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10462
10473
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
10463
|
-
function validate$
|
|
10474
|
+
function validate$1y(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10464
10475
|
const v_error = (() => {
|
|
10465
10476
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10466
10477
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10500,7 +10511,7 @@ function validate$1x(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10500
10511
|
return v_error === undefined ? null : v_error;
|
|
10501
10512
|
}
|
|
10502
10513
|
|
|
10503
|
-
function validate$
|
|
10514
|
+
function validate$1x(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10504
10515
|
const v_error = (() => {
|
|
10505
10516
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10506
10517
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10528,7 +10539,7 @@ function validate$1w(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10528
10539
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10529
10540
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10530
10541
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10531
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10542
|
+
const referencepath_layoutComponents_itemValidationError = validate$1y(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10532
10543
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10533
10544
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10534
10545
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10575,7 +10586,7 @@ function validate$1w(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10575
10586
|
return v_error === undefined ? null : v_error;
|
|
10576
10587
|
}
|
|
10577
10588
|
|
|
10578
|
-
function validate$
|
|
10589
|
+
function validate$1w(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10579
10590
|
const v_error = (() => {
|
|
10580
10591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10581
10592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10588,7 +10599,7 @@ function validate$1v(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10588
10599
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10589
10600
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10590
10601
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10591
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10602
|
+
const referencepath_layoutItems_itemValidationError = validate$1x(obj_layoutItems_item, path_layoutItems_item);
|
|
10592
10603
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10593
10604
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10594
10605
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10599,7 +10610,7 @@ function validate$1v(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10599
10610
|
return v_error === undefined ? null : v_error;
|
|
10600
10611
|
}
|
|
10601
10612
|
|
|
10602
|
-
function validate$
|
|
10613
|
+
function validate$1v(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10603
10614
|
const v_error = (() => {
|
|
10604
10615
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10605
10616
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10674,7 +10685,7 @@ function validate$1u(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10674
10685
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10675
10686
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10676
10687
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10677
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10688
|
+
const referencepath_layoutRows_itemValidationError = validate$1w(obj_layoutRows_item, path_layoutRows_item);
|
|
10678
10689
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10679
10690
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10680
10691
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10697,7 +10708,7 @@ function validate$1u(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10697
10708
|
|
|
10698
10709
|
const TTL$v = 900000;
|
|
10699
10710
|
const VERSION$11 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10700
|
-
function validate$
|
|
10711
|
+
function validate$1u(obj, path = 'RecordLayoutRepresentation') {
|
|
10701
10712
|
const v_error = (() => {
|
|
10702
10713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10703
10714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10803,7 +10814,7 @@ function validate$1t(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10803
10814
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10804
10815
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10805
10816
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10806
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
10817
|
+
const referencepath_saveOptions_itemValidationError = validate$1z(obj_saveOptions_item, path_saveOptions_item);
|
|
10807
10818
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10808
10819
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10809
10820
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10818,7 +10829,7 @@ function validate$1t(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10818
10829
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10819
10830
|
const obj_sections_item = obj_sections[i];
|
|
10820
10831
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10821
|
-
const referencepath_sections_itemValidationError = validate$
|
|
10832
|
+
const referencepath_sections_itemValidationError = validate$1v(obj_sections_item, path_sections_item);
|
|
10822
10833
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10823
10834
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10824
10835
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10893,7 +10904,7 @@ function equals$T(existing, incoming) {
|
|
|
10893
10904
|
}
|
|
10894
10905
|
const ingest$F = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10895
10906
|
if (process.env.NODE_ENV !== 'production') {
|
|
10896
|
-
const validateError = validate$
|
|
10907
|
+
const validateError = validate$1u(input);
|
|
10897
10908
|
if (validateError !== null) {
|
|
10898
10909
|
throw validateError;
|
|
10899
10910
|
}
|
|
@@ -10935,7 +10946,7 @@ function getRecordId18Array(value) {
|
|
|
10935
10946
|
return dedupe(array).sort();
|
|
10936
10947
|
}
|
|
10937
10948
|
|
|
10938
|
-
function validate$
|
|
10949
|
+
function validate$1t(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
10939
10950
|
const v_error = (() => {
|
|
10940
10951
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10941
10952
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10956,7 +10967,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
10956
10967
|
|
|
10957
10968
|
const TTL$u = 900000;
|
|
10958
10969
|
const VERSION$10 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
10959
|
-
function validate$
|
|
10970
|
+
function validate$1s(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
10960
10971
|
const v_error = (() => {
|
|
10961
10972
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10962
10973
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10996,7 +11007,7 @@ function validate$1r(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
10996
11007
|
const key = obj_sectionUserStates_keys[i];
|
|
10997
11008
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
10998
11009
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
10999
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
11010
|
+
const referencepath_sectionUserStates_propValidationError = validate$1t(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
11000
11011
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
11001
11012
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
11002
11013
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11053,7 +11064,7 @@ function equals$S(existing, incoming) {
|
|
|
11053
11064
|
}
|
|
11054
11065
|
const ingest$E = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11055
11066
|
if (process.env.NODE_ENV !== 'production') {
|
|
11056
|
-
const validateError = validate$
|
|
11067
|
+
const validateError = validate$1s(input);
|
|
11057
11068
|
if (validateError !== null) {
|
|
11058
11069
|
throw validateError;
|
|
11059
11070
|
}
|
|
@@ -11075,7 +11086,7 @@ function getTypeCacheKeys$L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11075
11086
|
|
|
11076
11087
|
const TTL$t = 900000;
|
|
11077
11088
|
const VERSION$$ = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
11078
|
-
function validate$
|
|
11089
|
+
function validate$1r(obj, path = 'RecordUiRepresentation') {
|
|
11079
11090
|
const v_error = (() => {
|
|
11080
11091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11081
11092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11337,7 +11348,7 @@ function equals$R(existing, incoming) {
|
|
|
11337
11348
|
}
|
|
11338
11349
|
const ingest$D = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11339
11350
|
if (process.env.NODE_ENV !== 'production') {
|
|
11340
|
-
const validateError = validate$
|
|
11351
|
+
const validateError = validate$1r(input);
|
|
11341
11352
|
if (validateError !== null) {
|
|
11342
11353
|
throw validateError;
|
|
11343
11354
|
}
|
|
@@ -11978,7 +11989,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
11978
11989
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
11979
11990
|
let layoutMap = {};
|
|
11980
11991
|
if (hasOwnProperty.call(layouts, apiName)) {
|
|
11981
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
11992
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
11982
11993
|
}
|
|
11983
11994
|
return {
|
|
11984
11995
|
layoutMap,
|
|
@@ -12469,7 +12480,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12469
12480
|
};
|
|
12470
12481
|
|
|
12471
12482
|
const VERSION$_ = "4aa37812ee37c752a099b29026217c85";
|
|
12472
|
-
function validate$
|
|
12483
|
+
function validate$1q(obj, path = 'ObjectInfoDirectoryEntryRepresentation') {
|
|
12473
12484
|
const v_error = (() => {
|
|
12474
12485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12475
12486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12622,7 +12633,7 @@ function equals$Q(existing, incoming) {
|
|
|
12622
12633
|
}
|
|
12623
12634
|
const ingest$C = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12624
12635
|
if (process.env.NODE_ENV !== 'production') {
|
|
12625
|
-
const validateError = validate$
|
|
12636
|
+
const validateError = validate$1q(input);
|
|
12626
12637
|
if (validateError !== null) {
|
|
12627
12638
|
throw validateError;
|
|
12628
12639
|
}
|
|
@@ -12643,7 +12654,7 @@ function getTypeCacheKeys$K(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12643
12654
|
}
|
|
12644
12655
|
|
|
12645
12656
|
const VERSION$Z = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
12646
|
-
function validate$
|
|
12657
|
+
function validate$1p(obj, path = 'ObjectInfoDirectoryRepresentation') {
|
|
12647
12658
|
const v_error = (() => {
|
|
12648
12659
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12649
12660
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12718,7 +12729,7 @@ function equals$P(existing, incoming) {
|
|
|
12718
12729
|
}
|
|
12719
12730
|
const ingest$B = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12720
12731
|
if (process.env.NODE_ENV !== 'production') {
|
|
12721
|
-
const validateError = validate$
|
|
12732
|
+
const validateError = validate$1p(input);
|
|
12722
12733
|
if (validateError !== null) {
|
|
12723
12734
|
throw validateError;
|
|
12724
12735
|
}
|
|
@@ -12746,7 +12757,7 @@ function getTypeCacheKeys$J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12746
12757
|
}
|
|
12747
12758
|
|
|
12748
12759
|
const VERSION$Y = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12749
|
-
function validate$
|
|
12760
|
+
function validate$1o(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12750
12761
|
const v_error = (() => {
|
|
12751
12762
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12752
12763
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12919,7 +12930,7 @@ function equals$O(existing, incoming) {
|
|
|
12919
12930
|
}
|
|
12920
12931
|
const ingest$A = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12921
12932
|
if (process.env.NODE_ENV !== 'production') {
|
|
12922
|
-
const validateError = validate$
|
|
12933
|
+
const validateError = validate$1o(input);
|
|
12923
12934
|
if (validateError !== null) {
|
|
12924
12935
|
throw validateError;
|
|
12925
12936
|
}
|
|
@@ -12941,7 +12952,7 @@ function getTypeCacheKeys$I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12941
12952
|
|
|
12942
12953
|
const TTL$s = 900000;
|
|
12943
12954
|
const VERSION$X = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
12944
|
-
function validate$
|
|
12955
|
+
function validate$1n(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
12945
12956
|
const v_error = (() => {
|
|
12946
12957
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12947
12958
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13120,7 +13131,7 @@ function coerceFormFactor(form) {
|
|
|
13120
13131
|
}
|
|
13121
13132
|
|
|
13122
13133
|
const VERSION$W = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13123
|
-
function validate$
|
|
13134
|
+
function validate$1m(obj, path = 'PlatformActionRepresentation') {
|
|
13124
13135
|
const v_error = (() => {
|
|
13125
13136
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13126
13137
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13652,7 +13663,7 @@ function equals$M(existing, incoming) {
|
|
|
13652
13663
|
}
|
|
13653
13664
|
const ingest$z = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13654
13665
|
if (process.env.NODE_ENV !== 'production') {
|
|
13655
|
-
const validateError = validate$
|
|
13666
|
+
const validateError = validate$1m(input);
|
|
13656
13667
|
if (validateError !== null) {
|
|
13657
13668
|
throw validateError;
|
|
13658
13669
|
}
|
|
@@ -13673,7 +13684,7 @@ function getTypeCacheKeys$G(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13673
13684
|
}
|
|
13674
13685
|
|
|
13675
13686
|
const VERSION$V = "378d506f563a4bd724b322d440df33d1";
|
|
13676
|
-
function validate$
|
|
13687
|
+
function validate$1l(obj, path = 'EntityActionRepresentation') {
|
|
13677
13688
|
const v_error = (() => {
|
|
13678
13689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13679
13690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13787,7 +13798,7 @@ function equals$L(existing, incoming) {
|
|
|
13787
13798
|
}
|
|
13788
13799
|
const ingest$y = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13789
13800
|
if (process.env.NODE_ENV !== 'production') {
|
|
13790
|
-
const validateError = validate$
|
|
13801
|
+
const validateError = validate$1l(input);
|
|
13791
13802
|
if (validateError !== null) {
|
|
13792
13803
|
throw validateError;
|
|
13793
13804
|
}
|
|
@@ -13813,7 +13824,7 @@ function getTypeCacheKeys$F(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13813
13824
|
|
|
13814
13825
|
const TTL$r = 300000;
|
|
13815
13826
|
const VERSION$U = "e485d96c1402a9ca2f56e56485af0216";
|
|
13816
|
-
function validate$
|
|
13827
|
+
function validate$1k(obj, path = 'ActionRepresentation') {
|
|
13817
13828
|
const v_error = (() => {
|
|
13818
13829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13819
13830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13911,7 +13922,7 @@ function equals$K(existing, incoming) {
|
|
|
13911
13922
|
}
|
|
13912
13923
|
const ingest$x = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13913
13924
|
if (process.env.NODE_ENV !== 'production') {
|
|
13914
|
-
const validateError = validate$
|
|
13925
|
+
const validateError = validate$1k(input);
|
|
13915
13926
|
if (validateError !== null) {
|
|
13916
13927
|
throw validateError;
|
|
13917
13928
|
}
|
|
@@ -14083,7 +14094,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
14083
14094
|
|
|
14084
14095
|
const TTL$q = 900000;
|
|
14085
14096
|
const VERSION$T = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
14086
|
-
function validate$
|
|
14097
|
+
function validate$1j(obj, path = 'QuickActionLayoutRepresentation') {
|
|
14087
14098
|
const v_error = (() => {
|
|
14088
14099
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14089
14100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14100,7 +14111,7 @@ function validate$1i(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14100
14111
|
}
|
|
14101
14112
|
const obj_layout = obj.layout;
|
|
14102
14113
|
const path_layout = path + '.layout';
|
|
14103
|
-
const referencepath_layoutValidationError = validate$
|
|
14114
|
+
const referencepath_layoutValidationError = validate$1u(obj_layout, path_layout);
|
|
14104
14115
|
if (referencepath_layoutValidationError !== null) {
|
|
14105
14116
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
14106
14117
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14150,7 +14161,7 @@ function equals$J(existing, incoming) {
|
|
|
14150
14161
|
}
|
|
14151
14162
|
const ingest$w = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14152
14163
|
if (process.env.NODE_ENV !== 'production') {
|
|
14153
|
-
const validateError = validate$
|
|
14164
|
+
const validateError = validate$1j(input);
|
|
14154
14165
|
if (validateError !== null) {
|
|
14155
14166
|
throw validateError;
|
|
14156
14167
|
}
|
|
@@ -14627,7 +14638,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14627
14638
|
};
|
|
14628
14639
|
|
|
14629
14640
|
const VERSION$S = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14630
|
-
function validate$
|
|
14641
|
+
function validate$1i(obj, path = 'ActionOverrideRepresentation') {
|
|
14631
14642
|
const v_error = (() => {
|
|
14632
14643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14633
14644
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14660,7 +14671,7 @@ function equals$I(existing, incoming) {
|
|
|
14660
14671
|
}
|
|
14661
14672
|
const ingest$v = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14662
14673
|
if (process.env.NODE_ENV !== 'production') {
|
|
14663
|
-
const validateError = validate$
|
|
14674
|
+
const validateError = validate$1i(input);
|
|
14664
14675
|
if (validateError !== null) {
|
|
14665
14676
|
throw validateError;
|
|
14666
14677
|
}
|
|
@@ -14815,7 +14826,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
14815
14826
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$H);
|
|
14816
14827
|
};
|
|
14817
14828
|
|
|
14818
|
-
function validate$
|
|
14829
|
+
function validate$1h(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
14819
14830
|
const v_error = (() => {
|
|
14820
14831
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14821
14832
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14853,7 +14864,7 @@ function validate$1g(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
|
14853
14864
|
|
|
14854
14865
|
const TTL$p = 300000;
|
|
14855
14866
|
const VERSION$R = "c57b66c259b23683db7b763e132e8633";
|
|
14856
|
-
function validate$
|
|
14867
|
+
function validate$1g(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
14857
14868
|
const v_error = (() => {
|
|
14858
14869
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14859
14870
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14874,7 +14885,7 @@ function validate$1f(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
|
14874
14885
|
for (let i = 0; i < obj_activations_prop.length; i++) {
|
|
14875
14886
|
const obj_activations_prop_item = obj_activations_prop[i];
|
|
14876
14887
|
const path_activations_prop_item = path_activations_prop + '[' + i + ']';
|
|
14877
|
-
const referencepath_activations_prop_itemValidationError = validate$
|
|
14888
|
+
const referencepath_activations_prop_itemValidationError = validate$1h(obj_activations_prop_item, path_activations_prop_item);
|
|
14878
14889
|
if (referencepath_activations_prop_itemValidationError !== null) {
|
|
14879
14890
|
let message = 'Object doesn\'t match FormulaOverridesInfoRepresentation (at "' + path_activations_prop_item + '")\n';
|
|
14880
14891
|
message += referencepath_activations_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14918,7 +14929,7 @@ function equals$H(existing, incoming) {
|
|
|
14918
14929
|
}
|
|
14919
14930
|
const ingest$u = function FlexipageFormulaActivationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14920
14931
|
if (process.env.NODE_ENV !== 'production') {
|
|
14921
|
-
const validateError = validate$
|
|
14932
|
+
const validateError = validate$1g(input);
|
|
14922
14933
|
if (validateError !== null) {
|
|
14923
14934
|
throw validateError;
|
|
14924
14935
|
}
|
|
@@ -15101,7 +15112,7 @@ function merge$1(existing, incoming) {
|
|
|
15101
15112
|
const dynamicIngest$4 = (ingestParams) => {
|
|
15102
15113
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15103
15114
|
if (process.env.NODE_ENV !== 'production') {
|
|
15104
|
-
const validateError = validate$
|
|
15115
|
+
const validateError = validate$1n(input);
|
|
15105
15116
|
if (validateError !== null) {
|
|
15106
15117
|
throw validateError;
|
|
15107
15118
|
}
|
|
@@ -15117,7 +15128,10 @@ const dynamicIngest$4 = (ingestParams) => {
|
|
|
15117
15128
|
if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
|
|
15118
15129
|
luvio.storePublish(key, incomingRecord);
|
|
15119
15130
|
}
|
|
15120
|
-
luvio.publishStoreMetadata(key,
|
|
15131
|
+
luvio.publishStoreMetadata(key, {
|
|
15132
|
+
...QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS,
|
|
15133
|
+
ingestionTimestamp: timestamp,
|
|
15134
|
+
});
|
|
15121
15135
|
return createLink(key);
|
|
15122
15136
|
};
|
|
15123
15137
|
};
|
|
@@ -15610,7 +15624,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
15610
15624
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
15611
15625
|
};
|
|
15612
15626
|
|
|
15613
|
-
function validate$
|
|
15627
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
15614
15628
|
const v_error = (() => {
|
|
15615
15629
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15616
15630
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16036,7 +16050,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
16036
16050
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
16037
16051
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
16038
16052
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
16039
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16053
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
16040
16054
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
16041
16055
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
16042
16056
|
}
|
|
@@ -16354,7 +16368,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
16354
16368
|
};
|
|
16355
16369
|
|
|
16356
16370
|
const VERSION$Q = "a316b3bba367f54adc67d7552ed7d36d";
|
|
16357
|
-
function validate$
|
|
16371
|
+
function validate$1e(obj, path = 'PageReferenceRepresentation') {
|
|
16358
16372
|
const v_error = (() => {
|
|
16359
16373
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16360
16374
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16415,7 +16429,7 @@ function equals$G(existing, incoming) {
|
|
|
16415
16429
|
}
|
|
16416
16430
|
const ingest$t = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16417
16431
|
if (process.env.NODE_ENV !== 'production') {
|
|
16418
|
-
const validateError = validate$
|
|
16432
|
+
const validateError = validate$1e(input);
|
|
16419
16433
|
if (validateError !== null) {
|
|
16420
16434
|
throw validateError;
|
|
16421
16435
|
}
|
|
@@ -16437,7 +16451,7 @@ function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16437
16451
|
|
|
16438
16452
|
const TTL$o = 120000;
|
|
16439
16453
|
const VERSION$P = "09884ca5bf90ea4662092a4e48817081";
|
|
16440
|
-
function validate$
|
|
16454
|
+
function validate$1d(obj, path = 'NavItemRepresentation') {
|
|
16441
16455
|
const v_error = (() => {
|
|
16442
16456
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16443
16457
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16829,7 +16843,7 @@ function equals$F(existing, incoming) {
|
|
|
16829
16843
|
}
|
|
16830
16844
|
const ingest$s = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16831
16845
|
if (process.env.NODE_ENV !== 'production') {
|
|
16832
|
-
const validateError = validate$
|
|
16846
|
+
const validateError = validate$1d(input);
|
|
16833
16847
|
if (validateError !== null) {
|
|
16834
16848
|
throw validateError;
|
|
16835
16849
|
}
|
|
@@ -16854,7 +16868,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16854
16868
|
|
|
16855
16869
|
const TTL$n = 300000;
|
|
16856
16870
|
const VERSION$O = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
16857
|
-
function validate$
|
|
16871
|
+
function validate$1c(obj, path = 'AppRepresentation') {
|
|
16858
16872
|
const v_error = (() => {
|
|
16859
16873
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16860
16874
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17296,7 +17310,7 @@ function equals$E(existing, incoming) {
|
|
|
17296
17310
|
}
|
|
17297
17311
|
const ingest$r = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17298
17312
|
if (process.env.NODE_ENV !== 'production') {
|
|
17299
|
-
const validateError = validate$
|
|
17313
|
+
const validateError = validate$1c(input);
|
|
17300
17314
|
if (validateError !== null) {
|
|
17301
17315
|
throw validateError;
|
|
17302
17316
|
}
|
|
@@ -17326,7 +17340,7 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17326
17340
|
|
|
17327
17341
|
const TTL$m = 300000;
|
|
17328
17342
|
const VERSION$N = "a254babf0b6414315db7808a157fd9fc";
|
|
17329
|
-
function validate$
|
|
17343
|
+
function validate$1b(obj, path = 'AppsRepresentation') {
|
|
17330
17344
|
const v_error = (() => {
|
|
17331
17345
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17332
17346
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17408,7 +17422,7 @@ function equals$D(existing, incoming) {
|
|
|
17408
17422
|
}
|
|
17409
17423
|
const ingest$q = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17410
17424
|
if (process.env.NODE_ENV !== 'production') {
|
|
17411
|
-
const validateError = validate$
|
|
17425
|
+
const validateError = validate$1b(input);
|
|
17412
17426
|
if (validateError !== null) {
|
|
17413
17427
|
throw validateError;
|
|
17414
17428
|
}
|
|
@@ -17716,7 +17730,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
17716
17730
|
};
|
|
17717
17731
|
|
|
17718
17732
|
const VERSION$M = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
17719
|
-
function validate$
|
|
17733
|
+
function validate$1a(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
17720
17734
|
const v_error = (() => {
|
|
17721
17735
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17722
17736
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17778,7 +17792,7 @@ const select$1a = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
17778
17792
|
};
|
|
17779
17793
|
|
|
17780
17794
|
const VERSION$L = "320d7f254687278f2763d4b490dab3fb";
|
|
17781
|
-
function validate$
|
|
17795
|
+
function validate$19(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
17782
17796
|
const v_error = (() => {
|
|
17783
17797
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17784
17798
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17801,7 +17815,7 @@ function validate$18(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
17801
17815
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
17802
17816
|
const obj_filterItems_item = obj_filterItems[i];
|
|
17803
17817
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
17804
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
17818
|
+
const referencepath_filterItems_itemValidationError = validate$1a(obj_filterItems_item, path_filterItems_item);
|
|
17805
17819
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
17806
17820
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
17807
17821
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17844,7 +17858,7 @@ const select$19 = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
17844
17858
|
};
|
|
17845
17859
|
|
|
17846
17860
|
const VERSION$K = "b47b44e260e5ce777beaf3da9088997c";
|
|
17847
|
-
function validate$
|
|
17861
|
+
function validate$18(obj, path = 'MatchRuleRepresentation') {
|
|
17848
17862
|
const v_error = (() => {
|
|
17849
17863
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17850
17864
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17914,7 +17928,7 @@ const select$18 = function MatchRuleRepresentationSelect() {
|
|
|
17914
17928
|
};
|
|
17915
17929
|
|
|
17916
17930
|
const VERSION$J = "bb83d7210bb1d7861b6188bc5f552617";
|
|
17917
|
-
function validate$
|
|
17931
|
+
function validate$17(obj, path = 'DuplicateRuleRepresentation') {
|
|
17918
17932
|
const v_error = (() => {
|
|
17919
17933
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17920
17934
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17942,7 +17956,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17942
17956
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
17943
17957
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
17944
17958
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
17945
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
17959
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$19(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
17946
17960
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
17947
17961
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
17948
17962
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17962,7 +17976,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17962
17976
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
17963
17977
|
const obj_matchRules_item = obj_matchRules[i];
|
|
17964
17978
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
17965
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
17979
|
+
const referencepath_matchRules_itemValidationError = validate$18(obj_matchRules_item, path_matchRules_item);
|
|
17966
17980
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
17967
17981
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
17968
17982
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18055,7 +18069,7 @@ const select$17 = function DuplicateRuleRepresentationSelect() {
|
|
|
18055
18069
|
|
|
18056
18070
|
const TTL$l = 900000;
|
|
18057
18071
|
const VERSION$I = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
18058
|
-
function validate$
|
|
18072
|
+
function validate$16(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
18059
18073
|
const v_error = (() => {
|
|
18060
18074
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18061
18075
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18090,7 +18104,7 @@ function validate$15(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
18090
18104
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
18091
18105
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
18092
18106
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
18093
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
18107
|
+
const referencepath_duplicateRules_itemValidationError = validate$17(obj_duplicateRules_item, path_duplicateRules_item);
|
|
18094
18108
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
18095
18109
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
18096
18110
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18157,7 +18171,7 @@ function equals$C(existing, incoming) {
|
|
|
18157
18171
|
}
|
|
18158
18172
|
const ingest$p = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18159
18173
|
if (process.env.NODE_ENV !== 'production') {
|
|
18160
|
-
const validateError = validate$
|
|
18174
|
+
const validateError = validate$16(input);
|
|
18161
18175
|
if (validateError !== null) {
|
|
18162
18176
|
throw validateError;
|
|
18163
18177
|
}
|
|
@@ -19098,7 +19112,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
19098
19112
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
19099
19113
|
};
|
|
19100
19114
|
|
|
19101
|
-
function validate$
|
|
19115
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
19102
19116
|
const v_error = (() => {
|
|
19103
19117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19104
19118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19129,7 +19143,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
19129
19143
|
return v_error === undefined ? null : v_error;
|
|
19130
19144
|
}
|
|
19131
19145
|
|
|
19132
|
-
function validate$
|
|
19146
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
19133
19147
|
const v_error = (() => {
|
|
19134
19148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19135
19149
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19258,7 +19272,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
19258
19272
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19259
19273
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19260
19274
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19261
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19275
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
19262
19276
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19263
19277
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19264
19278
|
}
|
|
@@ -19266,7 +19280,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
19266
19280
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19267
19281
|
}
|
|
19268
19282
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19269
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19283
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
19270
19284
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19271
19285
|
config.scope = untrustedConfig_scope;
|
|
19272
19286
|
}
|
|
@@ -19548,7 +19562,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
19548
19562
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19549
19563
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19550
19564
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19551
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19565
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
19552
19566
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19553
19567
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19554
19568
|
}
|
|
@@ -19556,7 +19570,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
19556
19570
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19557
19571
|
}
|
|
19558
19572
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19559
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19573
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
19560
19574
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19561
19575
|
config.scope = untrustedConfig_scope;
|
|
19562
19576
|
}
|
|
@@ -19606,7 +19620,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
19606
19620
|
};
|
|
19607
19621
|
|
|
19608
19622
|
const VERSION$H = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
19609
|
-
function validate$
|
|
19623
|
+
function validate$13(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
19610
19624
|
const v_error = (() => {
|
|
19611
19625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19612
19626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19656,7 +19670,7 @@ function equals$B(existing, incoming) {
|
|
|
19656
19670
|
}
|
|
19657
19671
|
|
|
19658
19672
|
const VERSION$G = "355933ff2970aa91a2848a94565e956a";
|
|
19659
|
-
function validate$
|
|
19673
|
+
function validate$12(obj, path = 'ListObjectScopeRepresentation') {
|
|
19660
19674
|
const v_error = (() => {
|
|
19661
19675
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19662
19676
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19674,7 +19688,7 @@ function validate$11(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
19674
19688
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
19675
19689
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
19676
19690
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
19677
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
19691
|
+
const referencepath_availableEntities_itemValidationError = validate$13(obj_availableEntities_item, path_availableEntities_item);
|
|
19678
19692
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
19679
19693
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
19680
19694
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19738,7 +19752,7 @@ function equals$A(existing, incoming) {
|
|
|
19738
19752
|
}
|
|
19739
19753
|
|
|
19740
19754
|
const VERSION$F = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
19741
|
-
function validate$
|
|
19755
|
+
function validate$11(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
19742
19756
|
const v_error = (() => {
|
|
19743
19757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19744
19758
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19788,7 +19802,7 @@ function equals$z(existing, incoming) {
|
|
|
19788
19802
|
}
|
|
19789
19803
|
|
|
19790
19804
|
const VERSION$E = "2c35f797fead79b5c45b521e77dd6ace";
|
|
19791
|
-
function validate
|
|
19805
|
+
function validate$10(obj, path = 'ListObjectColumnRepresentation') {
|
|
19792
19806
|
const v_error = (() => {
|
|
19793
19807
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19794
19808
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19857,7 +19871,7 @@ function validate$$(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
19857
19871
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
19858
19872
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
19859
19873
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
19860
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
19874
|
+
const referencepath_picklistValues_itemValidationError = validate$11(obj_picklistValues_item, path_picklistValues_item);
|
|
19861
19875
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
19862
19876
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
19863
19877
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20003,7 +20017,7 @@ function equals$y(existing, incoming) {
|
|
|
20003
20017
|
|
|
20004
20018
|
const TTL$k = 900000;
|
|
20005
20019
|
const VERSION$D = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
20006
|
-
function validate
|
|
20020
|
+
function validate$$(obj, path = 'ListObjectInfoRepresentation') {
|
|
20007
20021
|
const v_error = (() => {
|
|
20008
20022
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20009
20023
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20016,7 +20030,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20016
20030
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
20017
20031
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
20018
20032
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
20019
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
20033
|
+
const referencepath_availableScopes_itemValidationError = validate$12(obj_availableScopes_item, path_availableScopes_item);
|
|
20020
20034
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
20021
20035
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
20022
20036
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20031,7 +20045,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20031
20045
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
20032
20046
|
const obj_columns_item = obj_columns[i];
|
|
20033
20047
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
20034
|
-
const referencepath_columns_itemValidationError = validate
|
|
20048
|
+
const referencepath_columns_itemValidationError = validate$10(obj_columns_item, path_columns_item);
|
|
20035
20049
|
if (referencepath_columns_itemValidationError !== null) {
|
|
20036
20050
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
20037
20051
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20165,7 +20179,7 @@ function equals$x(existing, incoming) {
|
|
|
20165
20179
|
}
|
|
20166
20180
|
const ingest$o = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20167
20181
|
if (process.env.NODE_ENV !== 'production') {
|
|
20168
|
-
const validateError = validate
|
|
20182
|
+
const validateError = validate$$(input);
|
|
20169
20183
|
if (validateError !== null) {
|
|
20170
20184
|
throw validateError;
|
|
20171
20185
|
}
|
|
@@ -20328,7 +20342,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
20328
20342
|
|
|
20329
20343
|
const TTL$j = 900000;
|
|
20330
20344
|
const VERSION$C = "458d4a6a30201e422e8daec5fcb03845";
|
|
20331
|
-
function validate$
|
|
20345
|
+
function validate$_(obj, path = 'ListPreferencesRepresentation') {
|
|
20332
20346
|
const v_error = (() => {
|
|
20333
20347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20334
20348
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20363,7 +20377,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20363
20377
|
}
|
|
20364
20378
|
const obj_listReference = obj.listReference;
|
|
20365
20379
|
const path_listReference = path + '.listReference';
|
|
20366
|
-
const referencepath_listReferenceValidationError = validate$
|
|
20380
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
20367
20381
|
if (referencepath_listReferenceValidationError !== null) {
|
|
20368
20382
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
20369
20383
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20377,7 +20391,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20377
20391
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
20378
20392
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
20379
20393
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
20380
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
20394
|
+
const referencepath_orderedBy_itemValidationError = validate$1W(obj_orderedBy_item, path_orderedBy_item);
|
|
20381
20395
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
20382
20396
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
20383
20397
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20473,7 +20487,7 @@ function equals$w(existing, incoming) {
|
|
|
20473
20487
|
}
|
|
20474
20488
|
const ingest$n = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20475
20489
|
if (process.env.NODE_ENV !== 'production') {
|
|
20476
|
-
const validateError = validate$
|
|
20490
|
+
const validateError = validate$_(input);
|
|
20477
20491
|
if (validateError !== null) {
|
|
20478
20492
|
throw validateError;
|
|
20479
20493
|
}
|
|
@@ -20636,7 +20650,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
20636
20650
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
|
|
20637
20651
|
};
|
|
20638
20652
|
|
|
20639
|
-
function validate$
|
|
20653
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
20640
20654
|
const v_error = (() => {
|
|
20641
20655
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20642
20656
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20744,7 +20758,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
20744
20758
|
const untrustedConfig_orderedBy_array = [];
|
|
20745
20759
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
20746
20760
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
20747
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
20761
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
20748
20762
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
20749
20763
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
20750
20764
|
}
|
|
@@ -20798,7 +20812,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
20798
20812
|
|
|
20799
20813
|
const TTL$i = 120000;
|
|
20800
20814
|
const VERSION$B = "756779d0d7e137dd72c743544afbad82";
|
|
20801
|
-
function validate$
|
|
20815
|
+
function validate$Y(obj, path = 'NavItemsRepresentation') {
|
|
20802
20816
|
const v_error = (() => {
|
|
20803
20817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20804
20818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20926,7 +20940,7 @@ function equals$v(existing, incoming) {
|
|
|
20926
20940
|
}
|
|
20927
20941
|
const ingest$m = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20928
20942
|
if (process.env.NODE_ENV !== 'production') {
|
|
20929
|
-
const validateError = validate$
|
|
20943
|
+
const validateError = validate$Y(input);
|
|
20930
20944
|
if (validateError !== null) {
|
|
20931
20945
|
throw validateError;
|
|
20932
20946
|
}
|
|
@@ -21662,7 +21676,7 @@ var DiscriminatorValues$4;
|
|
|
21662
21676
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
21663
21677
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
21664
21678
|
const VERSION$w = "bd523b2343366edfc25a2dbee2c4e986";
|
|
21665
|
-
function validate$
|
|
21679
|
+
function validate$X(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
21666
21680
|
const v_error = (() => {
|
|
21667
21681
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21668
21682
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21707,7 +21721,7 @@ const select$L = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
21707
21721
|
};
|
|
21708
21722
|
|
|
21709
21723
|
const VERSION$v = "9e2a16a80378487f557124c771201cf9";
|
|
21710
|
-
function validate$
|
|
21724
|
+
function validate$W(obj, path = 'PicklistValueRepresentation') {
|
|
21711
21725
|
const v_error = (() => {
|
|
21712
21726
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21713
21727
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21716,7 +21730,7 @@ function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
|
21716
21730
|
const path_attributes = path + '.attributes';
|
|
21717
21731
|
let obj_attributes_union0 = null;
|
|
21718
21732
|
const obj_attributes_union0_error = (() => {
|
|
21719
|
-
const referencepath_attributesValidationError = validate$
|
|
21733
|
+
const referencepath_attributesValidationError = validate$X(obj_attributes, path_attributes);
|
|
21720
21734
|
if (referencepath_attributesValidationError !== null) {
|
|
21721
21735
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
21722
21736
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21811,7 +21825,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
21811
21825
|
|
|
21812
21826
|
const TTL$h = 900000;
|
|
21813
21827
|
const VERSION$u = "0a361a49370acb4c6a31721a2057649a";
|
|
21814
|
-
function validate$
|
|
21828
|
+
function validate$V(obj, path = 'PicklistValuesRepresentation') {
|
|
21815
21829
|
const v_error = (() => {
|
|
21816
21830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21817
21831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21834,7 +21848,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21834
21848
|
const path_defaultValue = path + '.defaultValue';
|
|
21835
21849
|
let obj_defaultValue_union0 = null;
|
|
21836
21850
|
const obj_defaultValue_union0_error = (() => {
|
|
21837
|
-
const referencepath_defaultValueValidationError = validate$
|
|
21851
|
+
const referencepath_defaultValueValidationError = validate$W(obj_defaultValue, path_defaultValue);
|
|
21838
21852
|
if (referencepath_defaultValueValidationError !== null) {
|
|
21839
21853
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
21840
21854
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21877,7 +21891,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21877
21891
|
for (let i = 0; i < obj_values.length; i++) {
|
|
21878
21892
|
const obj_values_item = obj_values[i];
|
|
21879
21893
|
const path_values_item = path_values + '[' + i + ']';
|
|
21880
|
-
const referencepath_values_itemValidationError = validate$
|
|
21894
|
+
const referencepath_values_itemValidationError = validate$W(obj_values_item, path_values_item);
|
|
21881
21895
|
if (referencepath_values_itemValidationError !== null) {
|
|
21882
21896
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
21883
21897
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21935,7 +21949,7 @@ function equals$u(existing, incoming) {
|
|
|
21935
21949
|
}
|
|
21936
21950
|
const ingest$l = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21937
21951
|
if (process.env.NODE_ENV !== 'production') {
|
|
21938
|
-
const validateError = validate$
|
|
21952
|
+
const validateError = validate$V(input);
|
|
21939
21953
|
if (validateError !== null) {
|
|
21940
21954
|
throw validateError;
|
|
21941
21955
|
}
|
|
@@ -21957,7 +21971,7 @@ function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21957
21971
|
|
|
21958
21972
|
const TTL$g = 300000;
|
|
21959
21973
|
const VERSION$t = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
21960
|
-
function validate$
|
|
21974
|
+
function validate$U(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
21961
21975
|
const v_error = (() => {
|
|
21962
21976
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21963
21977
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22044,7 +22058,7 @@ function equals$t(existing, incoming) {
|
|
|
22044
22058
|
}
|
|
22045
22059
|
const ingest$k = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22046
22060
|
if (process.env.NODE_ENV !== 'production') {
|
|
22047
|
-
const validateError = validate$
|
|
22061
|
+
const validateError = validate$U(input);
|
|
22048
22062
|
if (validateError !== null) {
|
|
22049
22063
|
throw validateError;
|
|
22050
22064
|
}
|
|
@@ -22382,7 +22396,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
22382
22396
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$m);
|
|
22383
22397
|
};
|
|
22384
22398
|
|
|
22385
|
-
function validate$
|
|
22399
|
+
function validate$T(obj, path = 'MatchResultInfoRepresentation') {
|
|
22386
22400
|
const v_error = (() => {
|
|
22387
22401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22388
22402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22408,7 +22422,7 @@ function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
22408
22422
|
return v_error === undefined ? null : v_error;
|
|
22409
22423
|
}
|
|
22410
22424
|
|
|
22411
|
-
function validate$
|
|
22425
|
+
function validate$S(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
22412
22426
|
const v_error = (() => {
|
|
22413
22427
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22414
22428
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22420,7 +22434,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22420
22434
|
}
|
|
22421
22435
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
22422
22436
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
22423
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
22437
|
+
const referencepath_matchResultInfoValidationError = validate$T(obj_matchResultInfo, path_matchResultInfo);
|
|
22424
22438
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
22425
22439
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
22426
22440
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22435,7 +22449,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22435
22449
|
return v_error === undefined ? null : v_error;
|
|
22436
22450
|
}
|
|
22437
22451
|
|
|
22438
|
-
function validate$
|
|
22452
|
+
function validate$R(obj, path = 'MatchRepresentation') {
|
|
22439
22453
|
const v_error = (() => {
|
|
22440
22454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22441
22455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22450,7 +22464,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22450
22464
|
const key = obj_duplicateResultInfos_keys[i];
|
|
22451
22465
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
22452
22466
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
22453
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
22467
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$S(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
22454
22468
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
22455
22469
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
22456
22470
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22480,7 +22494,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22480
22494
|
|
|
22481
22495
|
const TTL$f = 30000;
|
|
22482
22496
|
const VERSION$s = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
22483
|
-
function validate$
|
|
22497
|
+
function validate$Q(obj, path = 'DuplicatesRepresentation') {
|
|
22484
22498
|
const v_error = (() => {
|
|
22485
22499
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22486
22500
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22515,7 +22529,7 @@ function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
|
22515
22529
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
22516
22530
|
const obj_matches_item = obj_matches[i];
|
|
22517
22531
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
22518
|
-
const referencepath_matches_itemValidationError = validate$
|
|
22532
|
+
const referencepath_matches_itemValidationError = validate$R(obj_matches_item, path_matches_item);
|
|
22519
22533
|
if (referencepath_matches_itemValidationError !== null) {
|
|
22520
22534
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
22521
22535
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22545,7 +22559,7 @@ function equals$s(existing, incoming) {
|
|
|
22545
22559
|
}
|
|
22546
22560
|
const ingest$j = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22547
22561
|
if (process.env.NODE_ENV !== 'production') {
|
|
22548
|
-
const validateError = validate$
|
|
22562
|
+
const validateError = validate$Q(input);
|
|
22549
22563
|
if (validateError !== null) {
|
|
22550
22564
|
throw validateError;
|
|
22551
22565
|
}
|
|
@@ -22738,7 +22752,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
22738
22752
|
};
|
|
22739
22753
|
|
|
22740
22754
|
const VERSION$r = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
22741
|
-
function validate$
|
|
22755
|
+
function validate$P(obj, path = 'PhotoMetadataRepresentation') {
|
|
22742
22756
|
const v_error = (() => {
|
|
22743
22757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22744
22758
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22830,8 +22844,8 @@ function equals$r(existing, incoming) {
|
|
|
22830
22844
|
}
|
|
22831
22845
|
|
|
22832
22846
|
const VERSION$q = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
22833
|
-
function validate$
|
|
22834
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22847
|
+
function validate$O(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
22848
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
22835
22849
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22836
22850
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22837
22851
|
}
|
|
@@ -22898,7 +22912,7 @@ function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22898
22912
|
}
|
|
22899
22913
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22900
22914
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22901
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
22915
|
+
const referencepath_photoMetadataValidationError = validate$P(obj_photoMetadata, path_photoMetadata);
|
|
22902
22916
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22903
22917
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22904
22918
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23053,7 +23067,7 @@ function equals$q(existing, incoming) {
|
|
|
23053
23067
|
}
|
|
23054
23068
|
const ingest$i = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23055
23069
|
if (process.env.NODE_ENV !== 'production') {
|
|
23056
|
-
const validateError = validate$
|
|
23070
|
+
const validateError = validate$O(input);
|
|
23057
23071
|
if (validateError !== null) {
|
|
23058
23072
|
throw validateError;
|
|
23059
23073
|
}
|
|
@@ -23074,8 +23088,8 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23074
23088
|
}
|
|
23075
23089
|
|
|
23076
23090
|
const VERSION$p = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
23077
|
-
function validate$
|
|
23078
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23091
|
+
function validate$N(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
23092
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
23079
23093
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
23080
23094
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
23081
23095
|
}
|
|
@@ -23194,7 +23208,7 @@ function equals$p(existing, incoming) {
|
|
|
23194
23208
|
}
|
|
23195
23209
|
const ingest$h = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23196
23210
|
if (process.env.NODE_ENV !== 'production') {
|
|
23197
|
-
const validateError = validate$
|
|
23211
|
+
const validateError = validate$N(input);
|
|
23198
23212
|
if (validateError !== null) {
|
|
23199
23213
|
throw validateError;
|
|
23200
23214
|
}
|
|
@@ -23220,7 +23234,7 @@ var DiscriminatorValues$3;
|
|
|
23220
23234
|
DiscriminatorValues["Theme"] = "Theme";
|
|
23221
23235
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
23222
23236
|
const VERSION$o = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
23223
|
-
function validate$
|
|
23237
|
+
function validate$M(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
23224
23238
|
const v_error = (() => {
|
|
23225
23239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23226
23240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23313,8 +23327,8 @@ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23313
23327
|
}
|
|
23314
23328
|
|
|
23315
23329
|
const VERSION$n = "f531b44760afecfce89990fe5a5c5c29";
|
|
23316
|
-
function validate$
|
|
23317
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23330
|
+
function validate$L(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
23331
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23318
23332
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23319
23333
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23320
23334
|
}
|
|
@@ -23375,7 +23389,7 @@ function equals$n(existing, incoming) {
|
|
|
23375
23389
|
}
|
|
23376
23390
|
const ingest$g = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23377
23391
|
if (process.env.NODE_ENV !== 'production') {
|
|
23378
|
-
const validateError = validate$
|
|
23392
|
+
const validateError = validate$L(input);
|
|
23379
23393
|
if (validateError !== null) {
|
|
23380
23394
|
throw validateError;
|
|
23381
23395
|
}
|
|
@@ -23396,7 +23410,7 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23396
23410
|
}
|
|
23397
23411
|
|
|
23398
23412
|
const VERSION$m = "17c20b01167dba9a81452e60bb28b2f2";
|
|
23399
|
-
function validate$
|
|
23413
|
+
function validate$K(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
23400
23414
|
const v_error = (() => {
|
|
23401
23415
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23402
23416
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23446,8 +23460,8 @@ function equals$m(existing, incoming) {
|
|
|
23446
23460
|
}
|
|
23447
23461
|
|
|
23448
23462
|
const VERSION$l = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
23449
|
-
function validate$
|
|
23450
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23463
|
+
function validate$J(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
23464
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23451
23465
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23452
23466
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23453
23467
|
}
|
|
@@ -23463,7 +23477,7 @@ function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
23463
23477
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23464
23478
|
const obj_result_item = obj_result[i];
|
|
23465
23479
|
const path_result_item = path_result + '[' + i + ']';
|
|
23466
|
-
const referencepath_result_itemValidationError = validate$
|
|
23480
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
23467
23481
|
if (referencepath_result_itemValidationError !== null) {
|
|
23468
23482
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23469
23483
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23513,7 +23527,7 @@ function equals$l(existing, incoming) {
|
|
|
23513
23527
|
}
|
|
23514
23528
|
const ingest$f = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23515
23529
|
if (process.env.NODE_ENV !== 'production') {
|
|
23516
|
-
const validateError = validate$
|
|
23530
|
+
const validateError = validate$J(input);
|
|
23517
23531
|
if (validateError !== null) {
|
|
23518
23532
|
throw validateError;
|
|
23519
23533
|
}
|
|
@@ -23534,8 +23548,8 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23534
23548
|
}
|
|
23535
23549
|
|
|
23536
23550
|
const VERSION$k = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
23537
|
-
function validate$
|
|
23538
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23551
|
+
function validate$I(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
23552
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23539
23553
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23540
23554
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23541
23555
|
}
|
|
@@ -23551,7 +23565,7 @@ function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
23551
23565
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23552
23566
|
const obj_result_item = obj_result[i];
|
|
23553
23567
|
const path_result_item = path_result + '[' + i + ']';
|
|
23554
|
-
const referencepath_result_itemValidationError = validate$
|
|
23568
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
23555
23569
|
if (referencepath_result_itemValidationError !== null) {
|
|
23556
23570
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23557
23571
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23601,7 +23615,7 @@ function equals$k(existing, incoming) {
|
|
|
23601
23615
|
}
|
|
23602
23616
|
const ingest$e = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23603
23617
|
if (process.env.NODE_ENV !== 'production') {
|
|
23604
|
-
const validateError = validate$
|
|
23618
|
+
const validateError = validate$I(input);
|
|
23605
23619
|
if (validateError !== null) {
|
|
23606
23620
|
throw validateError;
|
|
23607
23621
|
}
|
|
@@ -23628,7 +23642,7 @@ const DiscriminatorValues$2 = {
|
|
|
23628
23642
|
};
|
|
23629
23643
|
const TTL$e = 300000;
|
|
23630
23644
|
const VERSION$j = "8956293536e94d5ec63b274b61033d2c";
|
|
23631
|
-
function validate$
|
|
23645
|
+
function validate$H(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
23632
23646
|
const v_error = (() => {
|
|
23633
23647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23634
23648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23706,7 +23720,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23706
23720
|
|
|
23707
23721
|
const TTL$d = 300000;
|
|
23708
23722
|
const VERSION$i = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
23709
|
-
function validate$
|
|
23723
|
+
function validate$G(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
23710
23724
|
const v_error = (() => {
|
|
23711
23725
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23712
23726
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23785,7 +23799,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
23785
23799
|
|
|
23786
23800
|
const ingest$d = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23787
23801
|
if (process.env.NODE_ENV !== 'production') {
|
|
23788
|
-
const validateError = validate$
|
|
23802
|
+
const validateError = validate$G(input);
|
|
23789
23803
|
if (validateError !== null) {
|
|
23790
23804
|
throw validateError;
|
|
23791
23805
|
}
|
|
@@ -24277,7 +24291,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
24277
24291
|
};
|
|
24278
24292
|
|
|
24279
24293
|
const VERSION$h = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
24280
|
-
function validate$
|
|
24294
|
+
function validate$F(obj, path = 'RelatedListReferenceRepresentation') {
|
|
24281
24295
|
const v_error = (() => {
|
|
24282
24296
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24283
24297
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24516,7 +24530,7 @@ function equals$h(existing, incoming) {
|
|
|
24516
24530
|
}
|
|
24517
24531
|
|
|
24518
24532
|
const VERSION$g = "836b875b519813e7499efc62f0f1d04b";
|
|
24519
|
-
function validate$
|
|
24533
|
+
function validate$E(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
24520
24534
|
const v_error = (() => {
|
|
24521
24535
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24522
24536
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24559,7 +24573,7 @@ function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
24559
24573
|
}
|
|
24560
24574
|
const obj_listReference = obj.listReference;
|
|
24561
24575
|
const path_listReference = path + '.listReference';
|
|
24562
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24576
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
24563
24577
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24564
24578
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24565
24579
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24632,7 +24646,7 @@ function equals$g(existing, incoming) {
|
|
|
24632
24646
|
}
|
|
24633
24647
|
const ingest$c = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24634
24648
|
if (process.env.NODE_ENV !== 'production') {
|
|
24635
|
-
const validateError = validate$
|
|
24649
|
+
const validateError = validate$E(input);
|
|
24636
24650
|
if (validateError !== null) {
|
|
24637
24651
|
throw validateError;
|
|
24638
24652
|
}
|
|
@@ -25144,7 +25158,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
25144
25158
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
25145
25159
|
};
|
|
25146
25160
|
|
|
25147
|
-
function validate$
|
|
25161
|
+
function validate$D(obj, path = 'RelatedListColumnRepresentation') {
|
|
25148
25162
|
const v_error = (() => {
|
|
25149
25163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25150
25164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25295,7 +25309,7 @@ function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
25295
25309
|
|
|
25296
25310
|
const TTL$c = 900000;
|
|
25297
25311
|
const VERSION$f = "c977d65d153a2b4e888ddd45fb083248";
|
|
25298
|
-
function validate$
|
|
25312
|
+
function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
25299
25313
|
const v_error = (() => {
|
|
25300
25314
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25301
25315
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25323,7 +25337,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25323
25337
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
25324
25338
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
25325
25339
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
25326
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
25340
|
+
const referencepath_displayColumns_itemValidationError = validate$D(obj_displayColumns_item, path_displayColumns_item);
|
|
25327
25341
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
25328
25342
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
25329
25343
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25370,7 +25384,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25370
25384
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
25371
25385
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
25372
25386
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
25373
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
25387
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1$(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
25374
25388
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
25375
25389
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
25376
25390
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25384,7 +25398,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25384
25398
|
}
|
|
25385
25399
|
const obj_listReference = obj.listReference;
|
|
25386
25400
|
const path_listReference = path + '.listReference';
|
|
25387
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25401
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
25388
25402
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25389
25403
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25390
25404
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25422,7 +25436,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25422
25436
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
25423
25437
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
25424
25438
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
25425
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
25439
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1W(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
25426
25440
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
25427
25441
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
25428
25442
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25441,7 +25455,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25441
25455
|
}
|
|
25442
25456
|
const obj_userPreferences = obj.userPreferences;
|
|
25443
25457
|
const path_userPreferences = path + '.userPreferences';
|
|
25444
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
25458
|
+
const referencepath_userPreferencesValidationError = validate$1S(obj_userPreferences, path_userPreferences);
|
|
25445
25459
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
25446
25460
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
25447
25461
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25581,7 +25595,7 @@ function equals$f(existing, incoming) {
|
|
|
25581
25595
|
}
|
|
25582
25596
|
const ingest$b = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25583
25597
|
if (process.env.NODE_ENV !== 'production') {
|
|
25584
|
-
const validateError = validate$
|
|
25598
|
+
const validateError = validate$C(input);
|
|
25585
25599
|
if (validateError !== null) {
|
|
25586
25600
|
throw validateError;
|
|
25587
25601
|
}
|
|
@@ -26019,7 +26033,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
26019
26033
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
26020
26034
|
};
|
|
26021
26035
|
|
|
26022
|
-
function validate$
|
|
26036
|
+
function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
26023
26037
|
const v_error = (() => {
|
|
26024
26038
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26025
26039
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26115,7 +26129,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26115
26129
|
const path_themeInfo = path + '.themeInfo';
|
|
26116
26130
|
let obj_themeInfo_union0 = null;
|
|
26117
26131
|
const obj_themeInfo_union0_error = (() => {
|
|
26118
|
-
const referencepath_themeInfoValidationError = validate$
|
|
26132
|
+
const referencepath_themeInfoValidationError = validate$1B(obj_themeInfo, path_themeInfo);
|
|
26119
26133
|
if (referencepath_themeInfoValidationError !== null) {
|
|
26120
26134
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
26121
26135
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26150,7 +26164,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26150
26164
|
}
|
|
26151
26165
|
|
|
26152
26166
|
const VERSION$e = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
26153
|
-
function validate$
|
|
26167
|
+
function validate$A(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
26154
26168
|
const v_error = (() => {
|
|
26155
26169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26156
26170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26199,7 +26213,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
26199
26213
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
26200
26214
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
26201
26215
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
26202
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
26216
|
+
const referencepath_relatedLists_itemValidationError = validate$B(obj_relatedLists_item, path_relatedLists_item);
|
|
26203
26217
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
26204
26218
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
26205
26219
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26255,7 +26269,7 @@ function equals$e(existing, incoming) {
|
|
|
26255
26269
|
}
|
|
26256
26270
|
const ingest$a = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26257
26271
|
if (process.env.NODE_ENV !== 'production') {
|
|
26258
|
-
const validateError = validate$
|
|
26272
|
+
const validateError = validate$A(input);
|
|
26259
26273
|
if (validateError !== null) {
|
|
26260
26274
|
throw validateError;
|
|
26261
26275
|
}
|
|
@@ -26504,7 +26518,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26504
26518
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
26505
26519
|
};
|
|
26506
26520
|
|
|
26507
|
-
function validate$
|
|
26521
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26508
26522
|
const v_error = (() => {
|
|
26509
26523
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26510
26524
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26586,7 +26600,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26586
26600
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26587
26601
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26588
26602
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26589
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26603
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
26590
26604
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26591
26605
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26592
26606
|
}
|
|
@@ -26594,7 +26608,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26594
26608
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26595
26609
|
}
|
|
26596
26610
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26597
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26611
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
26598
26612
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26599
26613
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26600
26614
|
}
|
|
@@ -26659,7 +26673,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26659
26673
|
|
|
26660
26674
|
const TTL$b = 900000;
|
|
26661
26675
|
const VERSION$d = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26662
|
-
function validate$
|
|
26676
|
+
function validate$y(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26663
26677
|
const v_error = (() => {
|
|
26664
26678
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26665
26679
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26700,7 +26714,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26700
26714
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26701
26715
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26702
26716
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26703
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26717
|
+
const referencepath_orderedBy_itemValidationError = validate$1W(obj_orderedBy_item, path_orderedBy_item);
|
|
26704
26718
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26705
26719
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26706
26720
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26744,7 +26758,7 @@ function equals$d(existing, incoming) {
|
|
|
26744
26758
|
}
|
|
26745
26759
|
const ingest$9 = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26746
26760
|
if (process.env.NODE_ENV !== 'production') {
|
|
26747
|
-
const validateError = validate$
|
|
26761
|
+
const validateError = validate$y(input);
|
|
26748
26762
|
if (validateError !== null) {
|
|
26749
26763
|
throw validateError;
|
|
26750
26764
|
}
|
|
@@ -27340,7 +27354,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
27340
27354
|
const untrustedConfig_orderedBy_array = [];
|
|
27341
27355
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27342
27356
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27343
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27357
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
27344
27358
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27345
27359
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27346
27360
|
}
|
|
@@ -27391,7 +27405,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27391
27405
|
};
|
|
27392
27406
|
};
|
|
27393
27407
|
|
|
27394
|
-
function validate$
|
|
27408
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27395
27409
|
const v_error = (() => {
|
|
27396
27410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27397
27411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27634,7 +27648,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27634
27648
|
|
|
27635
27649
|
const TTL$a = 30000;
|
|
27636
27650
|
const VERSION$c = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27637
|
-
function validate$
|
|
27651
|
+
function validate$w(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27638
27652
|
const v_error = (() => {
|
|
27639
27653
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27640
27654
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27715,7 +27729,7 @@ function validate$v(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
27715
27729
|
}
|
|
27716
27730
|
const obj_listReference = obj.listReference;
|
|
27717
27731
|
const path_listReference = path + '.listReference';
|
|
27718
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27732
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
27719
27733
|
if (referencepath_listReferenceValidationError !== null) {
|
|
27720
27734
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
27721
27735
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28136,7 +28150,7 @@ function equals$c(existing, incoming) {
|
|
|
28136
28150
|
}
|
|
28137
28151
|
const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28138
28152
|
if (process.env.NODE_ENV !== 'production') {
|
|
28139
|
-
const validateError = validate$
|
|
28153
|
+
const validateError = validate$w(input);
|
|
28140
28154
|
if (validateError !== null) {
|
|
28141
28155
|
throw validateError;
|
|
28142
28156
|
}
|
|
@@ -28212,6 +28226,7 @@ const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input,
|
|
|
28212
28226
|
namespace: "UiApi",
|
|
28213
28227
|
version: VERSION$c,
|
|
28214
28228
|
representationName: RepresentationType$d,
|
|
28229
|
+
ingestionTimestamp: timestamp,
|
|
28215
28230
|
};
|
|
28216
28231
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
28217
28232
|
}
|
|
@@ -28627,7 +28642,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
28627
28642
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28628
28643
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28629
28644
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28630
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28645
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
28631
28646
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28632
28647
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28633
28648
|
}
|
|
@@ -28872,7 +28887,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28872
28887
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
28873
28888
|
};
|
|
28874
28889
|
|
|
28875
|
-
function validate$
|
|
28890
|
+
function validate$v(obj, path = 'SearchFilterOptionRepresentation') {
|
|
28876
28891
|
const v_error = (() => {
|
|
28877
28892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28878
28893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28902,7 +28917,7 @@ var DiscriminatorValues;
|
|
|
28902
28917
|
DiscriminatorValues["Field"] = "Field";
|
|
28903
28918
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
28904
28919
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
28905
|
-
function validate$
|
|
28920
|
+
function validate$u(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
28906
28921
|
const v_error = (() => {
|
|
28907
28922
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28908
28923
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28963,7 +28978,7 @@ function validate$t(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
28963
28978
|
|
|
28964
28979
|
const TTL$9 = 30000;
|
|
28965
28980
|
const VERSION$b = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
28966
|
-
function validate$
|
|
28981
|
+
function validate$t(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
28967
28982
|
const v_error = (() => {
|
|
28968
28983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28969
28984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29002,7 +29017,7 @@ function validate$s(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
29002
29017
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29003
29018
|
const obj_filters_item = obj_filters[i];
|
|
29004
29019
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29005
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29020
|
+
const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
|
|
29006
29021
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29007
29022
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
29008
29023
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29047,7 +29062,7 @@ function equals$b(existing, incoming) {
|
|
|
29047
29062
|
}
|
|
29048
29063
|
const ingest$7 = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29049
29064
|
if (process.env.NODE_ENV !== 'production') {
|
|
29050
|
-
const validateError = validate$
|
|
29065
|
+
const validateError = validate$t(input);
|
|
29051
29066
|
if (validateError !== null) {
|
|
29052
29067
|
throw validateError;
|
|
29053
29068
|
}
|
|
@@ -29211,7 +29226,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29211
29226
|
|
|
29212
29227
|
const TTL$8 = 30000;
|
|
29213
29228
|
const VERSION$a = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29214
|
-
function validate$
|
|
29229
|
+
function validate$s(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29215
29230
|
const v_error = (() => {
|
|
29216
29231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29217
29232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29234,7 +29249,7 @@ function validate$r(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29234
29249
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29235
29250
|
const obj_options_item = obj_options[i];
|
|
29236
29251
|
const path_options_item = path_options + '[' + i + ']';
|
|
29237
|
-
const referencepath_options_itemValidationError = validate$
|
|
29252
|
+
const referencepath_options_itemValidationError = validate$v(obj_options_item, path_options_item);
|
|
29238
29253
|
if (referencepath_options_itemValidationError !== null) {
|
|
29239
29254
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29240
29255
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29301,7 +29316,7 @@ function equals$a(existing, incoming) {
|
|
|
29301
29316
|
}
|
|
29302
29317
|
const ingest$6 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29303
29318
|
if (process.env.NODE_ENV !== 'production') {
|
|
29304
|
-
const validateError = validate$
|
|
29319
|
+
const validateError = validate$s(input);
|
|
29305
29320
|
if (validateError !== null) {
|
|
29306
29321
|
throw validateError;
|
|
29307
29322
|
}
|
|
@@ -29465,7 +29480,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
29465
29480
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
|
|
29466
29481
|
};
|
|
29467
29482
|
|
|
29468
|
-
function validate$
|
|
29483
|
+
function validate$r(obj, path = 'DisplayLayoutRepresentation') {
|
|
29469
29484
|
const v_error = (() => {
|
|
29470
29485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29471
29486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29486,7 +29501,7 @@ function validate$q(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
29486
29501
|
return v_error === undefined ? null : v_error;
|
|
29487
29502
|
}
|
|
29488
29503
|
|
|
29489
|
-
function validate$
|
|
29504
|
+
function validate$q(obj, path = 'MatchingInfoRepresentation') {
|
|
29490
29505
|
const v_error = (() => {
|
|
29491
29506
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29492
29507
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29507,14 +29522,14 @@ function validate$p(obj, path = 'MatchingInfoRepresentation') {
|
|
|
29507
29522
|
return v_error === undefined ? null : v_error;
|
|
29508
29523
|
}
|
|
29509
29524
|
|
|
29510
|
-
function validate$
|
|
29525
|
+
function validate$p(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
29511
29526
|
const v_error = (() => {
|
|
29512
29527
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29513
29528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29514
29529
|
}
|
|
29515
29530
|
const obj_displayLayout = obj.displayLayout;
|
|
29516
29531
|
const path_displayLayout = path + '.displayLayout';
|
|
29517
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
29532
|
+
const referencepath_displayLayoutValidationError = validate$r(obj_displayLayout, path_displayLayout);
|
|
29518
29533
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
29519
29534
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
29520
29535
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29522,7 +29537,7 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29522
29537
|
}
|
|
29523
29538
|
const obj_matchingInfo = obj.matchingInfo;
|
|
29524
29539
|
const path_matchingInfo = path + '.matchingInfo';
|
|
29525
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
29540
|
+
const referencepath_matchingInfoValidationError = validate$q(obj_matchingInfo, path_matchingInfo);
|
|
29526
29541
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
29527
29542
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
29528
29543
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29532,14 +29547,14 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29532
29547
|
return v_error === undefined ? null : v_error;
|
|
29533
29548
|
}
|
|
29534
29549
|
|
|
29535
|
-
function validate$
|
|
29550
|
+
function validate$o(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
29536
29551
|
const v_error = (() => {
|
|
29537
29552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29538
29553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29539
29554
|
}
|
|
29540
29555
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
29541
29556
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
29542
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
29557
|
+
const referencepath_fullSearchInfoValidationError = validate$p(obj_fullSearchInfo, path_fullSearchInfo);
|
|
29543
29558
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
29544
29559
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
29545
29560
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29552,7 +29567,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29552
29567
|
}
|
|
29553
29568
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
29554
29569
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
29555
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
29570
|
+
const referencepath_suggestionsInfoValidationError = validate$p(obj_suggestionsInfo, path_suggestionsInfo);
|
|
29556
29571
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
29557
29572
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
29558
29573
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29564,7 +29579,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29564
29579
|
|
|
29565
29580
|
const TTL$7 = 30000;
|
|
29566
29581
|
const VERSION$9 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
29567
|
-
function validate$
|
|
29582
|
+
function validate$n(obj, path = 'LookupMetadataRepresentation') {
|
|
29568
29583
|
const v_error = (() => {
|
|
29569
29584
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29570
29585
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29615,7 +29630,7 @@ function validate$m(obj, path = 'LookupMetadataRepresentation') {
|
|
|
29615
29630
|
const key = obj_targetInfo_keys[i];
|
|
29616
29631
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
29617
29632
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
29618
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
29633
|
+
const referencepath_targetInfo_propValidationError = validate$o(obj_targetInfo_prop, path_targetInfo_prop);
|
|
29619
29634
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
29620
29635
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
29621
29636
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29655,7 +29670,7 @@ function equals$9(existing, incoming) {
|
|
|
29655
29670
|
}
|
|
29656
29671
|
const ingest$5 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29657
29672
|
if (process.env.NODE_ENV !== 'production') {
|
|
29658
|
-
const validateError = validate$
|
|
29673
|
+
const validateError = validate$n(input);
|
|
29659
29674
|
if (validateError !== null) {
|
|
29660
29675
|
throw validateError;
|
|
29661
29676
|
}
|
|
@@ -29817,7 +29832,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
29817
29832
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
29818
29833
|
};
|
|
29819
29834
|
|
|
29820
|
-
function validate$
|
|
29835
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
29821
29836
|
const v_error = (() => {
|
|
29822
29837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29823
29838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29848,7 +29863,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
29848
29863
|
return v_error === undefined ? null : v_error;
|
|
29849
29864
|
}
|
|
29850
29865
|
|
|
29851
|
-
function validate$
|
|
29866
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
29852
29867
|
const v_error = (() => {
|
|
29853
29868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29854
29869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29917,7 +29932,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
29917
29932
|
return v_error === undefined ? null : v_error;
|
|
29918
29933
|
}
|
|
29919
29934
|
|
|
29920
|
-
function validate$
|
|
29935
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
29921
29936
|
const v_error = (() => {
|
|
29922
29937
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29923
29938
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29930,7 +29945,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29930
29945
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
29931
29946
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
29932
29947
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
29933
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
29948
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
29934
29949
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
29935
29950
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
29936
29951
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29945,7 +29960,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29945
29960
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29946
29961
|
const obj_filters_item = obj_filters[i];
|
|
29947
29962
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29948
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29963
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
29949
29964
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29950
29965
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
29951
29966
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29956,7 +29971,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29956
29971
|
return v_error === undefined ? null : v_error;
|
|
29957
29972
|
}
|
|
29958
29973
|
|
|
29959
|
-
function validate$
|
|
29974
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
29960
29975
|
const v_error = (() => {
|
|
29961
29976
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29962
29977
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29996,7 +30011,7 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
29996
30011
|
return v_error === undefined ? null : v_error;
|
|
29997
30012
|
}
|
|
29998
30013
|
|
|
29999
|
-
function validate$
|
|
30014
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
30000
30015
|
const v_error = (() => {
|
|
30001
30016
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30002
30017
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30010,7 +30025,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30010
30025
|
const path_error = path + '.error';
|
|
30011
30026
|
let obj_error_union0 = null;
|
|
30012
30027
|
const obj_error_union0_error = (() => {
|
|
30013
|
-
const referencepath_errorValidationError = validate$
|
|
30028
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
30014
30029
|
if (referencepath_errorValidationError !== null) {
|
|
30015
30030
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
30016
30031
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30074,7 +30089,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30074
30089
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
30075
30090
|
const obj_orderBy_item = obj_orderBy[i];
|
|
30076
30091
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
30077
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30092
|
+
const referencepath_orderBy_itemValidationError = validate$1W(obj_orderBy_item, path_orderBy_item);
|
|
30078
30093
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
30079
30094
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
30080
30095
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30140,7 +30155,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30140
30155
|
return v_error === undefined ? null : v_error;
|
|
30141
30156
|
}
|
|
30142
30157
|
|
|
30143
|
-
function validate$
|
|
30158
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
30144
30159
|
const v_error = (() => {
|
|
30145
30160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30146
30161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30161,6 +30176,63 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
30161
30176
|
return v_error === undefined ? null : v_error;
|
|
30162
30177
|
}
|
|
30163
30178
|
|
|
30179
|
+
function validate$g(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
30180
|
+
const v_error = (() => {
|
|
30181
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30182
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30183
|
+
}
|
|
30184
|
+
const obj_fieldPath = obj.fieldPath;
|
|
30185
|
+
const path_fieldPath = path + '.fieldPath';
|
|
30186
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
30187
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30188
|
+
}
|
|
30189
|
+
const obj_label = obj.label;
|
|
30190
|
+
const path_label = path + '.label';
|
|
30191
|
+
let obj_label_union0 = null;
|
|
30192
|
+
const obj_label_union0_error = (() => {
|
|
30193
|
+
if (typeof obj_label !== 'string') {
|
|
30194
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30195
|
+
}
|
|
30196
|
+
})();
|
|
30197
|
+
if (obj_label_union0_error != null) {
|
|
30198
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
30199
|
+
}
|
|
30200
|
+
let obj_label_union1 = null;
|
|
30201
|
+
const obj_label_union1_error = (() => {
|
|
30202
|
+
if (obj_label !== null) {
|
|
30203
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30204
|
+
}
|
|
30205
|
+
})();
|
|
30206
|
+
if (obj_label_union1_error != null) {
|
|
30207
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
30208
|
+
}
|
|
30209
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
30210
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
30211
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
30212
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
30213
|
+
return new TypeError(message);
|
|
30214
|
+
}
|
|
30215
|
+
const obj_operator = obj.operator;
|
|
30216
|
+
const path_operator = path + '.operator';
|
|
30217
|
+
if (typeof obj_operator !== 'string') {
|
|
30218
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30219
|
+
}
|
|
30220
|
+
const obj_values = obj.values;
|
|
30221
|
+
const path_values = path + '.values';
|
|
30222
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30223
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30224
|
+
}
|
|
30225
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30226
|
+
const obj_values_item = obj_values[i];
|
|
30227
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30228
|
+
if (typeof obj_values_item !== 'string') {
|
|
30229
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30230
|
+
}
|
|
30231
|
+
}
|
|
30232
|
+
})();
|
|
30233
|
+
return v_error === undefined ? null : v_error;
|
|
30234
|
+
}
|
|
30235
|
+
|
|
30164
30236
|
function validate$f(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
30165
30237
|
const v_error = (() => {
|
|
30166
30238
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -30200,6 +30272,21 @@ function validate$e(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
30200
30272
|
if (typeof obj_answerType !== 'string') {
|
|
30201
30273
|
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
30202
30274
|
}
|
|
30275
|
+
const obj_appliedFilters = obj.appliedFilters;
|
|
30276
|
+
const path_appliedFilters = path + '.appliedFilters';
|
|
30277
|
+
if (!ArrayIsArray(obj_appliedFilters)) {
|
|
30278
|
+
return new TypeError('Expected "array" but received "' + typeof obj_appliedFilters + '" (at "' + path_appliedFilters + '")');
|
|
30279
|
+
}
|
|
30280
|
+
for (let i = 0; i < obj_appliedFilters.length; i++) {
|
|
30281
|
+
const obj_appliedFilters_item = obj_appliedFilters[i];
|
|
30282
|
+
const path_appliedFilters_item = path_appliedFilters + '[' + i + ']';
|
|
30283
|
+
const referencepath_appliedFilters_itemValidationError = validate$g(obj_appliedFilters_item, path_appliedFilters_item);
|
|
30284
|
+
if (referencepath_appliedFilters_itemValidationError !== null) {
|
|
30285
|
+
let message = 'Object doesn\'t match AppliedSearchFilterOutputRepresentation (at "' + path_appliedFilters_item + '")\n';
|
|
30286
|
+
message += referencepath_appliedFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30287
|
+
return new TypeError(message);
|
|
30288
|
+
}
|
|
30289
|
+
}
|
|
30203
30290
|
const obj_passage = obj.passage;
|
|
30204
30291
|
const path_passage = path + '.passage';
|
|
30205
30292
|
if (typeof obj_passage !== 'string') {
|
|
@@ -30265,11 +30352,6 @@ function validate$c(obj, path = 'SearchFilterOutputRepresentation') {
|
|
|
30265
30352
|
if (typeof obj_fieldPath !== 'string') {
|
|
30266
30353
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30267
30354
|
}
|
|
30268
|
-
const obj_label = obj.label;
|
|
30269
|
-
const path_label = path + '.label';
|
|
30270
|
-
if (typeof obj_label !== 'string') {
|
|
30271
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30272
|
-
}
|
|
30273
30355
|
const obj_operator = obj.operator;
|
|
30274
30356
|
const path_operator = path + '.operator';
|
|
30275
30357
|
if (typeof obj_operator !== 'string') {
|
|
@@ -30367,7 +30449,7 @@ function validate$a(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30367
30449
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30368
30450
|
let obj_keywordSearchResults_union0 = null;
|
|
30369
30451
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30370
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
30452
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30371
30453
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30372
30454
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30373
30455
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30580,7 +30662,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
30580
30662
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
30581
30663
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
30582
30664
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
30583
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
30665
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
30584
30666
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
30585
30667
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
30586
30668
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -30699,7 +30781,7 @@ function validate$9(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
30699
30781
|
}
|
|
30700
30782
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
30701
30783
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
30702
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
30784
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
30703
30785
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
30704
30786
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
30705
30787
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30854,7 +30936,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
30854
30936
|
const untrustedConfig_filters_array = [];
|
|
30855
30937
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
30856
30938
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
30857
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
30939
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
30858
30940
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
30859
30941
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
30860
30942
|
}
|
|
@@ -32353,7 +32435,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
32353
32435
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
32354
32436
|
let obj_recordTypeInfo_union0 = null;
|
|
32355
32437
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
32356
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
32438
|
+
const referencepath_recordTypeInfoValidationError = validate$1N(obj_recordTypeInfo, path_recordTypeInfo);
|
|
32357
32439
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
32358
32440
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
32359
32441
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35589,5 +35671,5 @@ withDefaultLuvio((luvio) => {
|
|
|
35589
35671
|
notifyQuickActionDefaultsUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
35590
35672
|
});
|
|
35591
35673
|
|
|
35592
|
-
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$S as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$U as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1R as keyBuilderObjectInfo, keyBuilder$1K as keyBuilderQuickActionExecutionRepresentation, keyBuilder$20 as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35593
|
-
// version: 1.266.0-
|
|
35674
|
+
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$S as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$U as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1R as keyBuilderObjectInfo, keyBuilder$1K as keyBuilderQuickActionExecutionRepresentation, keyBuilder$20 as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35675
|
+
// version: 1.266.0-dev21-7d5715511
|