@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev13 → 1.354.0-dev15
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/analytics-unifiedanalytics.js +198 -149
- package/dist/es/es2018/types/src/generated/adapters/getShares.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/queryUsers.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/resources/getTableauRecordsSharesByRecordId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauUsersQuery.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/AnalyticsUsersQueryInputRepresentation.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/SetupRecordAccessRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/SetupRecordShareUserOrGroupRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +165 -116
- package/src/raml/api.raml +44 -0
|
@@ -95,7 +95,7 @@ function createLink(ref) {
|
|
|
95
95
|
|
|
96
96
|
const TTL$r = 1000;
|
|
97
97
|
const VERSION$D = "3c943f1d2e5251ceef13b3e2fdb5f916";
|
|
98
|
-
function validate$
|
|
98
|
+
function validate$1h(obj, path = 'TableauExternalMonitoringEventItemRepresentation') {
|
|
99
99
|
const v_error = (() => {
|
|
100
100
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
101
101
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -147,7 +147,7 @@ function equals$D(existing, incoming) {
|
|
|
147
147
|
}
|
|
148
148
|
const ingest$D = function TableauExternalMonitoringEventItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
149
149
|
if (process.env.NODE_ENV !== 'production') {
|
|
150
|
-
const validateError = validate$
|
|
150
|
+
const validateError = validate$1h(input);
|
|
151
151
|
if (validateError !== null) {
|
|
152
152
|
throw validateError;
|
|
153
153
|
}
|
|
@@ -265,7 +265,7 @@ const publishAdapterFactory = (luvio) => {
|
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
function validate$
|
|
268
|
+
function validate$1g(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
269
269
|
const v_error = (() => {
|
|
270
270
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
271
271
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -279,7 +279,7 @@ function validate$1f(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1f(obj, path = 'AnnotationAssetRepresentation') {
|
|
283
283
|
const v_error = (() => {
|
|
284
284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
285
285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -298,7 +298,7 @@ function validate$1e(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
298
298
|
return v_error === undefined ? null : v_error;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
function validate$
|
|
301
|
+
function validate$1e(obj, path = 'FileTypeOutputRepresentation') {
|
|
302
302
|
const v_error = (() => {
|
|
303
303
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
304
304
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -317,7 +317,7 @@ function validate$1d(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
317
317
|
return v_error === undefined ? null : v_error;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
function validate$
|
|
320
|
+
function validate$1d(obj, path = 'ContentVersionOutputRepresentation') {
|
|
321
321
|
const v_error = (() => {
|
|
322
322
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
323
323
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -331,7 +331,7 @@ function validate$1c(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
331
331
|
const path_filetype = path + '.filetype';
|
|
332
332
|
let obj_filetype_union0 = null;
|
|
333
333
|
const obj_filetype_union0_error = (() => {
|
|
334
|
-
const referencepath_filetypeValidationError = validate$
|
|
334
|
+
const referencepath_filetypeValidationError = validate$1e(obj_filetype, path_filetype);
|
|
335
335
|
if (referencepath_filetypeValidationError !== null) {
|
|
336
336
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
337
337
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -401,14 +401,14 @@ function validate$1c(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
401
401
|
return v_error === undefined ? null : v_error;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
function validate$
|
|
404
|
+
function validate$1c(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
405
405
|
const v_error = (() => {
|
|
406
406
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
407
407
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
408
408
|
}
|
|
409
409
|
const obj_filetype = obj.filetype;
|
|
410
410
|
const path_filetype = path + '.filetype';
|
|
411
|
-
const referencepath_filetypeValidationError = validate$
|
|
411
|
+
const referencepath_filetypeValidationError = validate$1e(obj_filetype, path_filetype);
|
|
412
412
|
if (referencepath_filetypeValidationError !== null) {
|
|
413
413
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
414
414
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -421,7 +421,7 @@ function validate$1b(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
421
421
|
}
|
|
422
422
|
const obj_latestPublishedVersion = obj.latestPublishedVersion;
|
|
423
423
|
const path_latestPublishedVersion = path + '.latestPublishedVersion';
|
|
424
|
-
const referencepath_latestPublishedVersionValidationError = validate$
|
|
424
|
+
const referencepath_latestPublishedVersionValidationError = validate$1d(obj_latestPublishedVersion, path_latestPublishedVersion);
|
|
425
425
|
if (referencepath_latestPublishedVersionValidationError !== null) {
|
|
426
426
|
let message = 'Object doesn\'t match ContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
|
|
427
427
|
message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -441,7 +441,7 @@ function validate$1b(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
441
441
|
return v_error === undefined ? null : v_error;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
function validate$
|
|
444
|
+
function validate$1b(obj, path = 'SlackFileOutputRepresentation') {
|
|
445
445
|
const v_error = (() => {
|
|
446
446
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
447
447
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -450,7 +450,7 @@ function validate$1a(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
450
450
|
const path_contentDocument = path + '.contentDocument';
|
|
451
451
|
let obj_contentDocument_union0 = null;
|
|
452
452
|
const obj_contentDocument_union0_error = (() => {
|
|
453
|
-
const referencepath_contentDocumentValidationError = validate$
|
|
453
|
+
const referencepath_contentDocumentValidationError = validate$1c(obj_contentDocument, path_contentDocument);
|
|
454
454
|
if (referencepath_contentDocumentValidationError !== null) {
|
|
455
455
|
let message = 'Object doesn\'t match ContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
|
|
456
456
|
message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -550,7 +550,7 @@ function validate$1a(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
550
550
|
return v_error === undefined ? null : v_error;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
function validate$
|
|
553
|
+
function validate$1a(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
554
554
|
const v_error = (() => {
|
|
555
555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
556
556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -674,7 +674,7 @@ function validate$19(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
674
674
|
return v_error === undefined ? null : v_error;
|
|
675
675
|
}
|
|
676
676
|
|
|
677
|
-
function validate$
|
|
677
|
+
function validate$19(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
678
678
|
const v_error = (() => {
|
|
679
679
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
680
680
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1001,7 +1001,7 @@ function validate$18(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
1001
1001
|
const path_statusEmoji = path + '.statusEmoji';
|
|
1002
1002
|
let obj_statusEmoji_union0 = null;
|
|
1003
1003
|
const obj_statusEmoji_union0_error = (() => {
|
|
1004
|
-
const referencepath_statusEmojiValidationError = validate$
|
|
1004
|
+
const referencepath_statusEmojiValidationError = validate$1a(obj_statusEmoji, path_statusEmoji);
|
|
1005
1005
|
if (referencepath_statusEmojiValidationError !== null) {
|
|
1006
1006
|
let message = 'Object doesn\'t match SlackEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
|
|
1007
1007
|
message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1064,7 +1064,7 @@ function validate$18(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
1064
1064
|
return v_error === undefined ? null : v_error;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
function validate$
|
|
1067
|
+
function validate$18(obj, path = 'SlackReactionOutputRepresentation') {
|
|
1068
1068
|
const v_error = (() => {
|
|
1069
1069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1070
1070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1144,7 +1144,7 @@ function validate$17(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1144
1144
|
for (let i = 0; i < obj_reactedUsers.length; i++) {
|
|
1145
1145
|
const obj_reactedUsers_item = obj_reactedUsers[i];
|
|
1146
1146
|
const path_reactedUsers_item = path_reactedUsers + '[' + i + ']';
|
|
1147
|
-
const referencepath_reactedUsers_itemValidationError = validate$
|
|
1147
|
+
const referencepath_reactedUsers_itemValidationError = validate$19(obj_reactedUsers_item, path_reactedUsers_item);
|
|
1148
1148
|
if (referencepath_reactedUsers_itemValidationError !== null) {
|
|
1149
1149
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_reactedUsers_item + '")\n';
|
|
1150
1150
|
message += referencepath_reactedUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1233,7 +1233,7 @@ function validate$17(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1233
1233
|
return v_error === undefined ? null : v_error;
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
function validate$
|
|
1236
|
+
function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
1237
1237
|
const v_error = (() => {
|
|
1238
1238
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1239
1239
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1282,7 +1282,7 @@ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1282
1282
|
for (let i = 0; i < obj_files.length; i++) {
|
|
1283
1283
|
const obj_files_item = obj_files[i];
|
|
1284
1284
|
const path_files_item = path_files + '[' + i + ']';
|
|
1285
|
-
const referencepath_files_itemValidationError = validate$
|
|
1285
|
+
const referencepath_files_itemValidationError = validate$1b(obj_files_item, path_files_item);
|
|
1286
1286
|
if (referencepath_files_itemValidationError !== null) {
|
|
1287
1287
|
let message = 'Object doesn\'t match SlackFileOutputRepresentation (at "' + path_files_item + '")\n';
|
|
1288
1288
|
message += referencepath_files_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1443,7 +1443,7 @@ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1443
1443
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
1444
1444
|
const obj_reactions_item = obj_reactions[i];
|
|
1445
1445
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
1446
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
1446
|
+
const referencepath_reactions_itemValidationError = validate$18(obj_reactions_item, path_reactions_item);
|
|
1447
1447
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
1448
1448
|
let message = 'Object doesn\'t match SlackReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
1449
1449
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1484,7 +1484,7 @@ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1484
1484
|
for (let i = 0; i < obj_replyUsers.length; i++) {
|
|
1485
1485
|
const obj_replyUsers_item = obj_replyUsers[i];
|
|
1486
1486
|
const path_replyUsers_item = path_replyUsers + '[' + i + ']';
|
|
1487
|
-
const referencepath_replyUsers_itemValidationError = validate$
|
|
1487
|
+
const referencepath_replyUsers_itemValidationError = validate$19(obj_replyUsers_item, path_replyUsers_item);
|
|
1488
1488
|
if (referencepath_replyUsers_itemValidationError !== null) {
|
|
1489
1489
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_replyUsers_item + '")\n';
|
|
1490
1490
|
message += referencepath_replyUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1617,7 +1617,7 @@ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
const obj_userInfo = obj.userInfo;
|
|
1619
1619
|
const path_userInfo = path + '.userInfo';
|
|
1620
|
-
const referencepath_userInfoValidationError = validate$
|
|
1620
|
+
const referencepath_userInfoValidationError = validate$19(obj_userInfo, path_userInfo);
|
|
1621
1621
|
if (referencepath_userInfoValidationError !== null) {
|
|
1622
1622
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_userInfo + '")\n';
|
|
1623
1623
|
message += referencepath_userInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1627,7 +1627,7 @@ function validate$16(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1627
1627
|
return v_error === undefined ? null : v_error;
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
|
-
function validate$
|
|
1630
|
+
function validate$16(obj, path = 'AnnotationConversationRepresentation') {
|
|
1631
1631
|
const v_error = (() => {
|
|
1632
1632
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1633
1633
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1652,7 +1652,7 @@ function validate$15(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1652
1652
|
const path_message = path + '.message';
|
|
1653
1653
|
let obj_message_union0 = null;
|
|
1654
1654
|
const obj_message_union0_error = (() => {
|
|
1655
|
-
const referencepath_messageValidationError = validate$
|
|
1655
|
+
const referencepath_messageValidationError = validate$17(obj_message, path_message);
|
|
1656
1656
|
if (referencepath_messageValidationError !== null) {
|
|
1657
1657
|
let message = 'Object doesn\'t match SlackMessageOutputRepresentation (at "' + path_message + '")\n';
|
|
1658
1658
|
message += referencepath_messageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1689,7 +1689,7 @@ function validate$15(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1689
1689
|
|
|
1690
1690
|
const TTL$q = 1000;
|
|
1691
1691
|
const VERSION$C = "bacc25da56cffff8126d9bdafc471a37";
|
|
1692
|
-
function validate$
|
|
1692
|
+
function validate$15(obj, path = 'AnnotationRepresentation') {
|
|
1693
1693
|
const v_error = (() => {
|
|
1694
1694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1695
1695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1697,7 +1697,7 @@ function validate$14(obj, path = 'AnnotationRepresentation') {
|
|
|
1697
1697
|
if (obj.anchor !== undefined) {
|
|
1698
1698
|
const obj_anchor = obj.anchor;
|
|
1699
1699
|
const path_anchor = path + '.anchor';
|
|
1700
|
-
const referencepath_anchorValidationError = validate$
|
|
1700
|
+
const referencepath_anchorValidationError = validate$1g(obj_anchor, path_anchor);
|
|
1701
1701
|
if (referencepath_anchorValidationError !== null) {
|
|
1702
1702
|
let message = 'Object doesn\'t match DashboardAnnotationAnchorRepresentation (at "' + path_anchor + '")\n';
|
|
1703
1703
|
message += referencepath_anchorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1711,7 +1711,7 @@ function validate$14(obj, path = 'AnnotationRepresentation') {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
const obj_asset = obj.asset;
|
|
1713
1713
|
const path_asset = path + '.asset';
|
|
1714
|
-
const referencepath_assetValidationError = validate$
|
|
1714
|
+
const referencepath_assetValidationError = validate$1f(obj_asset, path_asset);
|
|
1715
1715
|
if (referencepath_assetValidationError !== null) {
|
|
1716
1716
|
let message = 'Object doesn\'t match AnnotationAssetRepresentation (at "' + path_asset + '")\n';
|
|
1717
1717
|
message += referencepath_assetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1719,7 +1719,7 @@ function validate$14(obj, path = 'AnnotationRepresentation') {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
const obj_collaborationObject = obj.collaborationObject;
|
|
1721
1721
|
const path_collaborationObject = path + '.collaborationObject';
|
|
1722
|
-
const referencepath_collaborationObjectValidationError = validate$
|
|
1722
|
+
const referencepath_collaborationObjectValidationError = validate$16(obj_collaborationObject, path_collaborationObject);
|
|
1723
1723
|
if (referencepath_collaborationObjectValidationError !== null) {
|
|
1724
1724
|
let message = 'Object doesn\'t match AnnotationConversationRepresentation (at "' + path_collaborationObject + '")\n';
|
|
1725
1725
|
message += referencepath_collaborationObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1767,7 +1767,7 @@ function equals$C(existing, incoming) {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
const ingest$C = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1769
1769
|
if (process.env.NODE_ENV !== 'production') {
|
|
1770
|
-
const validateError = validate$
|
|
1770
|
+
const validateError = validate$15(input);
|
|
1771
1771
|
if (validateError !== null) {
|
|
1772
1772
|
throw validateError;
|
|
1773
1773
|
}
|
|
@@ -1789,7 +1789,7 @@ function getTypeCacheKeys$C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1789
1789
|
|
|
1790
1790
|
const TTL$p = 1000;
|
|
1791
1791
|
const VERSION$B = "a80c8e970184cc7789e13f69392d6203";
|
|
1792
|
-
function validate$
|
|
1792
|
+
function validate$14(obj, path = 'AnnotationCollectionRepresentation') {
|
|
1793
1793
|
const v_error = (() => {
|
|
1794
1794
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1795
1795
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1873,7 +1873,7 @@ function equals$B(existing, incoming) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
const ingest$B = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1875
1875
|
if (process.env.NODE_ENV !== 'production') {
|
|
1876
|
-
const validateError = validate$
|
|
1876
|
+
const validateError = validate$14(input);
|
|
1877
1877
|
if (validateError !== null) {
|
|
1878
1878
|
throw validateError;
|
|
1879
1879
|
}
|
|
@@ -2140,7 +2140,7 @@ const createAnnotationAdapterFactory = (luvio) => {
|
|
|
2140
2140
|
|
|
2141
2141
|
const TTL$o = 5000;
|
|
2142
2142
|
const VERSION$A = "505a83d97fefa7ce68ec6512264b0543";
|
|
2143
|
-
function validate$
|
|
2143
|
+
function validate$13(obj, path = 'SlackAppInfoRepresentation') {
|
|
2144
2144
|
const v_error = (() => {
|
|
2145
2145
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2146
2146
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2249,7 +2249,7 @@ function equals$A(existing, incoming) {
|
|
|
2249
2249
|
}
|
|
2250
2250
|
const ingest$A = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2251
2251
|
if (process.env.NODE_ENV !== 'production') {
|
|
2252
|
-
const validateError = validate$
|
|
2252
|
+
const validateError = validate$13(input);
|
|
2253
2253
|
if (validateError !== null) {
|
|
2254
2254
|
throw validateError;
|
|
2255
2255
|
}
|
|
@@ -2404,7 +2404,7 @@ const getSlackAppInfoAdapterFactory = (luvio) => function UnifiedAnalytics__getS
|
|
|
2404
2404
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
2405
2405
|
};
|
|
2406
2406
|
|
|
2407
|
-
function validate$
|
|
2407
|
+
function validate$12(obj, path = 'BaseAnalyticsRepresentation') {
|
|
2408
2408
|
const v_error = (() => {
|
|
2409
2409
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2410
2410
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2439,8 +2439,8 @@ function validate$11(obj, path = 'BaseAnalyticsRepresentation') {
|
|
|
2439
2439
|
return v_error === undefined ? null : v_error;
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
|
-
function validate$
|
|
2443
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
2442
|
+
function validate$11(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
2443
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$12(obj, path);
|
|
2444
2444
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2445
2445
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2446
2446
|
}
|
|
@@ -2452,8 +2452,8 @@ function validate$10(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresenta
|
|
|
2452
2452
|
return v_error === undefined ? null : v_error;
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
|
-
function validate
|
|
2456
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
2455
|
+
function validate$10(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
2456
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$12(obj, path);
|
|
2457
2457
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2458
2458
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2459
2459
|
}
|
|
@@ -2522,7 +2522,7 @@ function validate$$(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
|
|
|
2522
2522
|
const path_workspace = path + '.workspace';
|
|
2523
2523
|
let obj_workspace_union0 = null;
|
|
2524
2524
|
const obj_workspace_union0_error = (() => {
|
|
2525
|
-
const referencepath_workspaceValidationError = validate$
|
|
2525
|
+
const referencepath_workspaceValidationError = validate$11(obj_workspace, path_workspace);
|
|
2526
2526
|
if (referencepath_workspaceValidationError !== null) {
|
|
2527
2527
|
let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsWorkspaceRepresentation (at "' + path_workspace + '")\n';
|
|
2528
2528
|
message += referencepath_workspaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2554,7 +2554,7 @@ function validate$$(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
|
|
|
2554
2554
|
|
|
2555
2555
|
const TTL$n = 500;
|
|
2556
2556
|
const VERSION$z = "ed60d9cca169a3e5ed897c67d11a23db";
|
|
2557
|
-
function validate
|
|
2557
|
+
function validate$$(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
|
|
2558
2558
|
const v_error = (() => {
|
|
2559
2559
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2560
2560
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2567,7 +2567,7 @@ function validate$_(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
|
|
|
2567
2567
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2568
2568
|
const obj_items_item = obj_items[i];
|
|
2569
2569
|
const path_items_item = path_items + '[' + i + ']';
|
|
2570
|
-
const referencepath_items_itemValidationError = validate
|
|
2570
|
+
const referencepath_items_itemValidationError = validate$10(obj_items_item, path_items_item);
|
|
2571
2571
|
if (referencepath_items_itemValidationError !== null) {
|
|
2572
2572
|
let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsItemRepresentation (at "' + path_items_item + '")\n';
|
|
2573
2573
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2621,7 +2621,7 @@ function equals$z(existing, incoming) {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
const ingest$z = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2623
2623
|
if (process.env.NODE_ENV !== 'production') {
|
|
2624
|
-
const validateError = validate
|
|
2624
|
+
const validateError = validate$$(input);
|
|
2625
2625
|
if (validateError !== null) {
|
|
2626
2626
|
throw validateError;
|
|
2627
2627
|
}
|
|
@@ -2752,7 +2752,7 @@ const queryAssetsAdapterFactory = (luvio) => {
|
|
|
2752
2752
|
};
|
|
2753
2753
|
|
|
2754
2754
|
const VERSION$y = "948ac50067b64bee8680b553b1e19a09";
|
|
2755
|
-
function validate$
|
|
2755
|
+
function validate$_(obj, path = 'DashboardRepresentation') {
|
|
2756
2756
|
const v_error = (() => {
|
|
2757
2757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2758
2758
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2889,7 +2889,7 @@ function equals$y(existing, incoming) {
|
|
|
2889
2889
|
}
|
|
2890
2890
|
const ingest$y = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2891
2891
|
if (process.env.NODE_ENV !== 'production') {
|
|
2892
|
-
const validateError = validate$
|
|
2892
|
+
const validateError = validate$_(input);
|
|
2893
2893
|
if (validateError !== null) {
|
|
2894
2894
|
throw validateError;
|
|
2895
2895
|
}
|
|
@@ -2910,7 +2910,7 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
|
|
2912
2912
|
const VERSION$x = "962823130e6a9315240ef0e0f0c5f757";
|
|
2913
|
-
function validate$
|
|
2913
|
+
function validate$Z(obj, path = 'DashboardCollectionRepresentation') {
|
|
2914
2914
|
const v_error = (() => {
|
|
2915
2915
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2916
2916
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2980,7 +2980,7 @@ function equals$x(existing, incoming) {
|
|
|
2980
2980
|
}
|
|
2981
2981
|
const ingest$x = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2982
2982
|
if (process.env.NODE_ENV !== 'production') {
|
|
2983
|
-
const validateError = validate$
|
|
2983
|
+
const validateError = validate$Z(input);
|
|
2984
2984
|
if (validateError !== null) {
|
|
2985
2985
|
throw validateError;
|
|
2986
2986
|
}
|
|
@@ -3632,7 +3632,7 @@ const updateDashboardAdapterFactory = (luvio) => {
|
|
|
3632
3632
|
};
|
|
3633
3633
|
};
|
|
3634
3634
|
|
|
3635
|
-
function validate$
|
|
3635
|
+
function validate$Y(obj, path = 'DataAlertContentRepresentation') {
|
|
3636
3636
|
const v_error = (() => {
|
|
3637
3637
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3638
3638
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3646,7 +3646,7 @@ function validate$X(obj, path = 'DataAlertContentRepresentation') {
|
|
|
3646
3646
|
return v_error === undefined ? null : v_error;
|
|
3647
3647
|
}
|
|
3648
3648
|
|
|
3649
|
-
function validate$
|
|
3649
|
+
function validate$X(obj, path = 'DataAlertReceiversRepresentation') {
|
|
3650
3650
|
const v_error = (() => {
|
|
3651
3651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3652
3652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3660,7 +3660,7 @@ function validate$W(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
3660
3660
|
return v_error === undefined ? null : v_error;
|
|
3661
3661
|
}
|
|
3662
3662
|
|
|
3663
|
-
function validate$
|
|
3663
|
+
function validate$W(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
3664
3664
|
const v_error = (() => {
|
|
3665
3665
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3666
3666
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3673,7 +3673,7 @@ function validate$V(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
3673
3673
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
3674
3674
|
const obj_receivers_item = obj_receivers[i];
|
|
3675
3675
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
3676
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
3676
|
+
const referencepath_receivers_itemValidationError = validate$X(obj_receivers_item, path_receivers_item);
|
|
3677
3677
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
3678
3678
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
3679
3679
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3684,7 +3684,7 @@ function validate$V(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
3684
3684
|
return v_error === undefined ? null : v_error;
|
|
3685
3685
|
}
|
|
3686
3686
|
|
|
3687
|
-
function validate$
|
|
3687
|
+
function validate$V(obj, path = 'DataAlertScheduleRepresentation') {
|
|
3688
3688
|
const v_error = (() => {
|
|
3689
3689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3690
3690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3710,7 +3710,7 @@ function validate$U(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
3710
3710
|
return v_error === undefined ? null : v_error;
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
|
-
function validate$
|
|
3713
|
+
function validate$U(obj, path = 'DataAlertValueRepresentation') {
|
|
3714
3714
|
const v_error = (() => {
|
|
3715
3715
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3716
3716
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3724,14 +3724,14 @@ function validate$T(obj, path = 'DataAlertValueRepresentation') {
|
|
|
3724
3724
|
return v_error === undefined ? null : v_error;
|
|
3725
3725
|
}
|
|
3726
3726
|
|
|
3727
|
-
function validate$
|
|
3727
|
+
function validate$T(obj, path = 'DataAlertConditionRepresentation') {
|
|
3728
3728
|
const v_error = (() => {
|
|
3729
3729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3730
3730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3731
3731
|
}
|
|
3732
3732
|
const obj_leftOperand = obj.leftOperand;
|
|
3733
3733
|
const path_leftOperand = path + '.leftOperand';
|
|
3734
|
-
const referencepath_leftOperandValidationError = validate$
|
|
3734
|
+
const referencepath_leftOperandValidationError = validate$U(obj_leftOperand, path_leftOperand);
|
|
3735
3735
|
if (referencepath_leftOperandValidationError !== null) {
|
|
3736
3736
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
|
|
3737
3737
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3744,7 +3744,7 @@ function validate$S(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
3744
3744
|
}
|
|
3745
3745
|
const obj_rightOperand = obj.rightOperand;
|
|
3746
3746
|
const path_rightOperand = path + '.rightOperand';
|
|
3747
|
-
const referencepath_rightOperandValidationError = validate$
|
|
3747
|
+
const referencepath_rightOperandValidationError = validate$U(obj_rightOperand, path_rightOperand);
|
|
3748
3748
|
if (referencepath_rightOperandValidationError !== null) {
|
|
3749
3749
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
|
|
3750
3750
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3754,7 +3754,7 @@ function validate$S(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
3754
3754
|
return v_error === undefined ? null : v_error;
|
|
3755
3755
|
}
|
|
3756
3756
|
|
|
3757
|
-
function validate$
|
|
3757
|
+
function validate$S(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
3758
3758
|
const v_error = (() => {
|
|
3759
3759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3760
3760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3767,7 +3767,7 @@ function validate$R(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3767
3767
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
3768
3768
|
const obj_conditions_item = obj_conditions[i];
|
|
3769
3769
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
3770
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
3770
|
+
const referencepath_conditions_itemValidationError = validate$T(obj_conditions_item, path_conditions_item);
|
|
3771
3771
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
3772
3772
|
let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
|
|
3773
3773
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3785,7 +3785,7 @@ function validate$R(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
3785
3785
|
|
|
3786
3786
|
const TTL$m = 500;
|
|
3787
3787
|
const VERSION$w = "219373b56f198f8a68fe8ca6afd30b60";
|
|
3788
|
-
function validate$
|
|
3788
|
+
function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
3789
3789
|
const v_error = (() => {
|
|
3790
3790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3791
3791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3797,7 +3797,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
const obj_content = obj.content;
|
|
3799
3799
|
const path_content = path + '.content';
|
|
3800
|
-
const referencepath_contentValidationError = validate$
|
|
3800
|
+
const referencepath_contentValidationError = validate$Y(obj_content, path_content);
|
|
3801
3801
|
if (referencepath_contentValidationError !== null) {
|
|
3802
3802
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
3803
3803
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3810,7 +3810,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3810
3810
|
}
|
|
3811
3811
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
3812
3812
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
3813
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
3813
|
+
const referencepath_deliveryConfigurationsValidationError = validate$W(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
3814
3814
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
3815
3815
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
3816
3816
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3828,7 +3828,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3828
3828
|
}
|
|
3829
3829
|
const obj_schedule = obj.schedule;
|
|
3830
3830
|
const path_schedule = path + '.schedule';
|
|
3831
|
-
const referencepath_scheduleValidationError = validate$
|
|
3831
|
+
const referencepath_scheduleValidationError = validate$V(obj_schedule, path_schedule);
|
|
3832
3832
|
if (referencepath_scheduleValidationError !== null) {
|
|
3833
3833
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
3834
3834
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3836,7 +3836,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3836
3836
|
}
|
|
3837
3837
|
const obj_thresholds = obj.thresholds;
|
|
3838
3838
|
const path_thresholds = path + '.thresholds';
|
|
3839
|
-
const referencepath_thresholdsValidationError = validate$
|
|
3839
|
+
const referencepath_thresholdsValidationError = validate$S(obj_thresholds, path_thresholds);
|
|
3840
3840
|
if (referencepath_thresholdsValidationError !== null) {
|
|
3841
3841
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
3842
3842
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3874,7 +3874,7 @@ function equals$w(existing, incoming) {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
const ingest$w = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3876
3876
|
if (process.env.NODE_ENV !== 'production') {
|
|
3877
|
-
const validateError = validate$
|
|
3877
|
+
const validateError = validate$R(input);
|
|
3878
3878
|
if (validateError !== null) {
|
|
3879
3879
|
throw validateError;
|
|
3880
3880
|
}
|
|
@@ -3896,7 +3896,7 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3896
3896
|
|
|
3897
3897
|
const TTL$l = 500;
|
|
3898
3898
|
const VERSION$v = "d3e9e0efe02f7fa88865b7e72fe25f25";
|
|
3899
|
-
function validate$
|
|
3899
|
+
function validate$Q(obj, path = 'DataAlertCollectionRepresentation') {
|
|
3900
3900
|
const v_error = (() => {
|
|
3901
3901
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3902
3902
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3909,7 +3909,7 @@ function validate$P(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
3909
3909
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
3910
3910
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
3911
3911
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
3912
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
3912
|
+
const referencepath_dataAlerts_itemValidationError = validate$R(obj_dataAlerts_item, path_dataAlerts_item);
|
|
3913
3913
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
3914
3914
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
3915
3915
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3970,7 +3970,7 @@ function equals$v(existing, incoming) {
|
|
|
3970
3970
|
}
|
|
3971
3971
|
const ingest$v = function DataAlertCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3972
3972
|
if (process.env.NODE_ENV !== 'production') {
|
|
3973
|
-
const validateError = validate$
|
|
3973
|
+
const validateError = validate$Q(input);
|
|
3974
3974
|
if (validateError !== null) {
|
|
3975
3975
|
throw validateError;
|
|
3976
3976
|
}
|
|
@@ -4134,7 +4134,7 @@ var DiscriminatorValues$3;
|
|
|
4134
4134
|
(function (DiscriminatorValues) {
|
|
4135
4135
|
DiscriminatorValues["Notification"] = "Notification";
|
|
4136
4136
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
4137
|
-
function validate$
|
|
4137
|
+
function validate$P(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
4138
4138
|
const v_error = (() => {
|
|
4139
4139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4140
4140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4148,7 +4148,7 @@ function validate$O(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
4148
4148
|
return v_error === undefined ? null : v_error;
|
|
4149
4149
|
}
|
|
4150
4150
|
|
|
4151
|
-
function validate$
|
|
4151
|
+
function validate$O(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
4152
4152
|
const v_error = (() => {
|
|
4153
4153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4154
4154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4161,7 +4161,7 @@ function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentati
|
|
|
4161
4161
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
4162
4162
|
const obj_receivers_item = obj_receivers[i];
|
|
4163
4163
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
4164
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
4164
|
+
const referencepath_receivers_itemValidationError = validate$P(obj_receivers_item, path_receivers_item);
|
|
4165
4165
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
4166
4166
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
4167
4167
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4177,7 +4177,7 @@ var DiscriminatorValues$2;
|
|
|
4177
4177
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
4178
4178
|
DiscriminatorValues["Insights"] = "Insights";
|
|
4179
4179
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
4180
|
-
function validate$
|
|
4180
|
+
function validate$N(obj, path = 'DataAlertValueInputRepresentation') {
|
|
4181
4181
|
const v_error = (() => {
|
|
4182
4182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4183
4183
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4191,7 +4191,7 @@ function validate$M(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
4191
4191
|
return v_error === undefined ? null : v_error;
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
|
-
function validate$
|
|
4194
|
+
function validate$M(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
4195
4195
|
const v_error = (() => {
|
|
4196
4196
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4197
4197
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4205,14 +4205,14 @@ function validate$L(obj, path = 'DataAlertValueRightOperandInputRepresentation')
|
|
|
4205
4205
|
return v_error === undefined ? null : v_error;
|
|
4206
4206
|
}
|
|
4207
4207
|
|
|
4208
|
-
function validate$
|
|
4208
|
+
function validate$L(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
4209
4209
|
const v_error = (() => {
|
|
4210
4210
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4211
4211
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4212
4212
|
}
|
|
4213
4213
|
const obj_leftOperand = obj.leftOperand;
|
|
4214
4214
|
const path_leftOperand = path + '.leftOperand';
|
|
4215
|
-
const referencepath_leftOperandValidationError = validate$
|
|
4215
|
+
const referencepath_leftOperandValidationError = validate$N(obj_leftOperand, path_leftOperand);
|
|
4216
4216
|
if (referencepath_leftOperandValidationError !== null) {
|
|
4217
4217
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
4218
4218
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4225,7 +4225,7 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
const obj_rightOperand = obj.rightOperand;
|
|
4227
4227
|
const path_rightOperand = path + '.rightOperand';
|
|
4228
|
-
const referencepath_rightOperandValidationError = validate$
|
|
4228
|
+
const referencepath_rightOperandValidationError = validate$M(obj_rightOperand, path_rightOperand);
|
|
4229
4229
|
if (referencepath_rightOperandValidationError !== null) {
|
|
4230
4230
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
4231
4231
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4235,7 +4235,7 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
4235
4235
|
return v_error === undefined ? null : v_error;
|
|
4236
4236
|
}
|
|
4237
4237
|
|
|
4238
|
-
function validate$
|
|
4238
|
+
function validate$K(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
4239
4239
|
const v_error = (() => {
|
|
4240
4240
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4241
4241
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4248,7 +4248,7 @@ function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
4248
4248
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
4249
4249
|
const obj_conditions_item = obj_conditions[i];
|
|
4250
4250
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
4251
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
4251
|
+
const referencepath_conditions_itemValidationError = validate$L(obj_conditions_item, path_conditions_item);
|
|
4252
4252
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
4253
4253
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
4254
4254
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4305,7 +4305,7 @@ var DiscriminatorValues$1;
|
|
|
4305
4305
|
(function (DiscriminatorValues) {
|
|
4306
4306
|
DiscriminatorValues["Metric"] = "Metric";
|
|
4307
4307
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
4308
|
-
function validate$
|
|
4308
|
+
function validate$J(obj, path = 'DataAlertContentInputRepresentation') {
|
|
4309
4309
|
const v_error = (() => {
|
|
4310
4310
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4311
4311
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4325,7 +4325,7 @@ var DiscriminatorValues;
|
|
|
4325
4325
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
4326
4326
|
DiscriminatorValues["Cron"] = "Cron";
|
|
4327
4327
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
4328
|
-
function validate$
|
|
4328
|
+
function validate$I(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
4329
4329
|
const v_error = (() => {
|
|
4330
4330
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4331
4331
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4367,22 +4367,22 @@ function typeCheckConfig$M(untrustedConfig) {
|
|
|
4367
4367
|
const config = {};
|
|
4368
4368
|
typeCheckConfig$Y(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
4369
4369
|
const untrustedConfig_content = untrustedConfig.content;
|
|
4370
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
4370
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$J(untrustedConfig_content);
|
|
4371
4371
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
4372
4372
|
config.content = untrustedConfig_content;
|
|
4373
4373
|
}
|
|
4374
4374
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
4375
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
4375
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$O(untrustedConfig_deliveryConfigurations);
|
|
4376
4376
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
4377
4377
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
4378
4378
|
}
|
|
4379
4379
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
4380
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
4380
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$I(untrustedConfig_schedule);
|
|
4381
4381
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
4382
4382
|
config.schedule = untrustedConfig_schedule;
|
|
4383
4383
|
}
|
|
4384
4384
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
4385
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
4385
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$K(untrustedConfig_thresholds);
|
|
4386
4386
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4387
4387
|
config.thresholds = untrustedConfig_thresholds;
|
|
4388
4388
|
}
|
|
@@ -4708,22 +4708,22 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
4708
4708
|
const config = {};
|
|
4709
4709
|
typeCheckConfig$Y(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
4710
4710
|
const untrustedConfig_content = untrustedConfig.content;
|
|
4711
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
4711
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$J(untrustedConfig_content);
|
|
4712
4712
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
4713
4713
|
config.content = untrustedConfig_content;
|
|
4714
4714
|
}
|
|
4715
4715
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
4716
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
4716
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$O(untrustedConfig_deliveryConfigurations);
|
|
4717
4717
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
4718
4718
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
4719
4719
|
}
|
|
4720
4720
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
4721
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
4721
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$I(untrustedConfig_schedule);
|
|
4722
4722
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
4723
4723
|
config.schedule = untrustedConfig_schedule;
|
|
4724
4724
|
}
|
|
4725
4725
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
4726
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
4726
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$K(untrustedConfig_thresholds);
|
|
4727
4727
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4728
4728
|
config.thresholds = untrustedConfig_thresholds;
|
|
4729
4729
|
}
|
|
@@ -4773,7 +4773,7 @@ const updateDataAlertAdapterFactory = (luvio) => {
|
|
|
4773
4773
|
|
|
4774
4774
|
const TTL$k = 100;
|
|
4775
4775
|
const VERSION$u = "26cdd644d03794763d0bbd771321ec42";
|
|
4776
|
-
function validate$
|
|
4776
|
+
function validate$H(obj, path = 'DataAlertRunOutputRepresentation') {
|
|
4777
4777
|
const v_error = (() => {
|
|
4778
4778
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4779
4779
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4850,7 +4850,7 @@ function equals$u(existing, incoming) {
|
|
|
4850
4850
|
}
|
|
4851
4851
|
const ingest$u = function DataAlertRunOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4852
4852
|
if (process.env.NODE_ENV !== 'production') {
|
|
4853
|
-
const validateError = validate$
|
|
4853
|
+
const validateError = validate$H(input);
|
|
4854
4854
|
if (validateError !== null) {
|
|
4855
4855
|
throw validateError;
|
|
4856
4856
|
}
|
|
@@ -4960,8 +4960,8 @@ const postDataAlertRunAdapterFactory = (luvio) => {
|
|
|
4960
4960
|
};
|
|
4961
4961
|
};
|
|
4962
4962
|
|
|
4963
|
-
function validate$
|
|
4964
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
4963
|
+
function validate$G(obj, path = 'AnalyticsUserRepresentation') {
|
|
4964
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$12(obj, path);
|
|
4965
4965
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
4966
4966
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
4967
4967
|
}
|
|
@@ -5003,7 +5003,7 @@ function validate$F(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
5003
5003
|
|
|
5004
5004
|
const TTL$j = 500;
|
|
5005
5005
|
const VERSION$t = "ada5b73b64faa32b0113876061677c0a";
|
|
5006
|
-
function validate$
|
|
5006
|
+
function validate$F(obj, path = 'DataAssetRequestRepresentation') {
|
|
5007
5007
|
const v_error = (() => {
|
|
5008
5008
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5009
5009
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5012,7 +5012,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5012
5012
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
5013
5013
|
let obj_acknowledgedBy_union0 = null;
|
|
5014
5014
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
5015
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
5015
|
+
const referencepath_acknowledgedByValidationError = validate$G(obj_acknowledgedBy, path_acknowledgedBy);
|
|
5016
5016
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
5017
5017
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
5018
5018
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5098,7 +5098,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5098
5098
|
const path_cancelledBy = path + '.cancelledBy';
|
|
5099
5099
|
let obj_cancelledBy_union0 = null;
|
|
5100
5100
|
const obj_cancelledBy_union0_error = (() => {
|
|
5101
|
-
const referencepath_cancelledByValidationError = validate$
|
|
5101
|
+
const referencepath_cancelledByValidationError = validate$G(obj_cancelledBy, path_cancelledBy);
|
|
5102
5102
|
if (referencepath_cancelledByValidationError !== null) {
|
|
5103
5103
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
5104
5104
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5153,7 +5153,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5153
5153
|
const path_completedBy = path + '.completedBy';
|
|
5154
5154
|
let obj_completedBy_union0 = null;
|
|
5155
5155
|
const obj_completedBy_union0_error = (() => {
|
|
5156
|
-
const referencepath_completedByValidationError = validate$
|
|
5156
|
+
const referencepath_completedByValidationError = validate$G(obj_completedBy, path_completedBy);
|
|
5157
5157
|
if (referencepath_completedByValidationError !== null) {
|
|
5158
5158
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
5159
5159
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5268,7 +5268,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5268
5268
|
}
|
|
5269
5269
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5270
5270
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5271
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5271
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5272
5272
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5273
5273
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5274
5274
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5468,7 +5468,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5468
5468
|
}
|
|
5469
5469
|
const obj_requestedBy = obj.requestedBy;
|
|
5470
5470
|
const path_requestedBy = path + '.requestedBy';
|
|
5471
|
-
const referencepath_requestedByValidationError = validate$
|
|
5471
|
+
const referencepath_requestedByValidationError = validate$G(obj_requestedBy, path_requestedBy);
|
|
5472
5472
|
if (referencepath_requestedByValidationError !== null) {
|
|
5473
5473
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
5474
5474
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5578,7 +5578,7 @@ function equals$t(existing, incoming) {
|
|
|
5578
5578
|
}
|
|
5579
5579
|
const ingest$t = function DataAssetRequestRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5580
5580
|
if (process.env.NODE_ENV !== 'production') {
|
|
5581
|
-
const validateError = validate$
|
|
5581
|
+
const validateError = validate$F(input);
|
|
5582
5582
|
if (validateError !== null) {
|
|
5583
5583
|
throw validateError;
|
|
5584
5584
|
}
|
|
@@ -5600,7 +5600,7 @@ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5600
5600
|
|
|
5601
5601
|
const TTL$i = 500;
|
|
5602
5602
|
const VERSION$s = "b130e3ebdd5cd1a5007c21dad3bfa38a";
|
|
5603
|
-
function validate$
|
|
5603
|
+
function validate$E(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
5604
5604
|
const v_error = (() => {
|
|
5605
5605
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5606
5606
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5613,7 +5613,7 @@ function validate$D(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
|
5613
5613
|
for (let i = 0; i < obj_dataAssetRequests.length; i++) {
|
|
5614
5614
|
const obj_dataAssetRequests_item = obj_dataAssetRequests[i];
|
|
5615
5615
|
const path_dataAssetRequests_item = path_dataAssetRequests + '[' + i + ']';
|
|
5616
|
-
const referencepath_dataAssetRequests_itemValidationError = validate$
|
|
5616
|
+
const referencepath_dataAssetRequests_itemValidationError = validate$F(obj_dataAssetRequests_item, path_dataAssetRequests_item);
|
|
5617
5617
|
if (referencepath_dataAssetRequests_itemValidationError !== null) {
|
|
5618
5618
|
let message = 'Object doesn\'t match DataAssetRequestRepresentation (at "' + path_dataAssetRequests_item + '")\n';
|
|
5619
5619
|
message += referencepath_dataAssetRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5643,7 +5643,7 @@ function equals$s(existing, incoming) {
|
|
|
5643
5643
|
}
|
|
5644
5644
|
const ingest$s = function DataAssetRequestCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5645
5645
|
if (process.env.NODE_ENV !== 'production') {
|
|
5646
|
-
const validateError = validate$
|
|
5646
|
+
const validateError = validate$E(input);
|
|
5647
5647
|
if (validateError !== null) {
|
|
5648
5648
|
throw validateError;
|
|
5649
5649
|
}
|
|
@@ -5912,7 +5912,7 @@ const createDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
5912
5912
|
|
|
5913
5913
|
const TTL$h = 500;
|
|
5914
5914
|
const VERSION$r = "e424b55efdacaf049d687461eddd10cc";
|
|
5915
|
-
function validate$
|
|
5915
|
+
function validate$D(obj, path = 'DataAssetRequestCountRepresentation') {
|
|
5916
5916
|
const v_error = (() => {
|
|
5917
5917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5918
5918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5945,7 +5945,7 @@ function equals$r(existing, incoming) {
|
|
|
5945
5945
|
}
|
|
5946
5946
|
const ingest$r = function DataAssetRequestCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5947
5947
|
if (process.env.NODE_ENV !== 'production') {
|
|
5948
|
-
const validateError = validate$
|
|
5948
|
+
const validateError = validate$D(input);
|
|
5949
5949
|
if (validateError !== null) {
|
|
5950
5950
|
throw validateError;
|
|
5951
5951
|
}
|
|
@@ -6349,7 +6349,7 @@ const updateDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
6349
6349
|
};
|
|
6350
6350
|
};
|
|
6351
6351
|
|
|
6352
|
-
function validate$
|
|
6352
|
+
function validate$C(obj, path = 'DataAssetRepresentation') {
|
|
6353
6353
|
const v_error = (() => {
|
|
6354
6354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6355
6355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6366,7 +6366,7 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6366
6366
|
}
|
|
6367
6367
|
const obj_createdBy = obj.createdBy;
|
|
6368
6368
|
const path_createdBy = path + '.createdBy';
|
|
6369
|
-
const referencepath_createdByValidationError = validate$
|
|
6369
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
6370
6370
|
if (referencepath_createdByValidationError !== null) {
|
|
6371
6371
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6372
6372
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6400,7 +6400,7 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
6402
6402
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
6403
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
6403
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
6404
6404
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
6405
6405
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
6406
6406
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6427,14 +6427,14 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6427
6427
|
return v_error === undefined ? null : v_error;
|
|
6428
6428
|
}
|
|
6429
6429
|
|
|
6430
|
-
function validate$
|
|
6430
|
+
function validate$B(obj, path = 'DataAssetDependentRepresentation') {
|
|
6431
6431
|
const v_error = (() => {
|
|
6432
6432
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6433
6433
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6434
6434
|
}
|
|
6435
6435
|
const obj_dataAsset = obj.dataAsset;
|
|
6436
6436
|
const path_dataAsset = path + '.dataAsset';
|
|
6437
|
-
const referencepath_dataAssetValidationError = validate$
|
|
6437
|
+
const referencepath_dataAssetValidationError = validate$C(obj_dataAsset, path_dataAsset);
|
|
6438
6438
|
if (referencepath_dataAssetValidationError !== null) {
|
|
6439
6439
|
let message = 'Object doesn\'t match DataAssetRepresentation (at "' + path_dataAsset + '")\n';
|
|
6440
6440
|
message += referencepath_dataAssetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6446,7 +6446,7 @@ function validate$A(obj, path = 'DataAssetDependentRepresentation') {
|
|
|
6446
6446
|
|
|
6447
6447
|
const TTL$g = 500;
|
|
6448
6448
|
const VERSION$q = "bc1bcd1c96c7c70c3cde837dafdafaba";
|
|
6449
|
-
function validate$
|
|
6449
|
+
function validate$A(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
6450
6450
|
const v_error = (() => {
|
|
6451
6451
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6452
6452
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6459,7 +6459,7 @@ function validate$z(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
|
6459
6459
|
for (let i = 0; i < obj_dependentDataAssets.length; i++) {
|
|
6460
6460
|
const obj_dependentDataAssets_item = obj_dependentDataAssets[i];
|
|
6461
6461
|
const path_dependentDataAssets_item = path_dependentDataAssets + '[' + i + ']';
|
|
6462
|
-
const referencepath_dependentDataAssets_itemValidationError = validate$
|
|
6462
|
+
const referencepath_dependentDataAssets_itemValidationError = validate$B(obj_dependentDataAssets_item, path_dependentDataAssets_item);
|
|
6463
6463
|
if (referencepath_dependentDataAssets_itemValidationError !== null) {
|
|
6464
6464
|
let message = 'Object doesn\'t match DataAssetDependentRepresentation (at "' + path_dependentDataAssets_item + '")\n';
|
|
6465
6465
|
message += referencepath_dependentDataAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6489,7 +6489,7 @@ function equals$q(existing, incoming) {
|
|
|
6489
6489
|
}
|
|
6490
6490
|
const ingest$q = function DataAssetDependentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6491
6491
|
if (process.env.NODE_ENV !== 'production') {
|
|
6492
|
-
const validateError = validate$
|
|
6492
|
+
const validateError = validate$A(input);
|
|
6493
6493
|
if (validateError !== null) {
|
|
6494
6494
|
throw validateError;
|
|
6495
6495
|
}
|
|
@@ -6647,7 +6647,7 @@ const getDataAssetDependenciesAdapterFactory = (luvio) => function UnifiedAnalyt
|
|
|
6647
6647
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
6648
6648
|
};
|
|
6649
6649
|
|
|
6650
|
-
function validate$
|
|
6650
|
+
function validate$z(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
6651
6651
|
const v_error = (() => {
|
|
6652
6652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6653
6653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6701,14 +6701,14 @@ function validate$y(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
|
6701
6701
|
|
|
6702
6702
|
const TTL$f = 500;
|
|
6703
6703
|
const VERSION$p = "c3bc904365300b26d1f104c9bc055527";
|
|
6704
|
-
function validate$
|
|
6704
|
+
function validate$y(obj, path = 'FollowerAssetRepresentation') {
|
|
6705
6705
|
const v_error = (() => {
|
|
6706
6706
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6707
6707
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6708
6708
|
}
|
|
6709
6709
|
const obj_createdBy = obj.createdBy;
|
|
6710
6710
|
const path_createdBy = path + '.createdBy';
|
|
6711
|
-
const referencepath_createdByValidationError = validate$
|
|
6711
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
6712
6712
|
if (referencepath_createdByValidationError !== null) {
|
|
6713
6713
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6714
6714
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6734,7 +6734,7 @@ function validate$x(obj, path = 'FollowerAssetRepresentation') {
|
|
|
6734
6734
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
6735
6735
|
let obj_followedTimeRange_union0 = null;
|
|
6736
6736
|
const obj_followedTimeRange_union0_error = (() => {
|
|
6737
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
6737
|
+
const referencepath_followedTimeRangeValidationError = validate$z(obj_followedTimeRange, path_followedTimeRange);
|
|
6738
6738
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
6739
6739
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
6740
6740
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6802,7 +6802,7 @@ function equals$p(existing, incoming) {
|
|
|
6802
6802
|
}
|
|
6803
6803
|
const ingest$p = function FollowerAssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6804
6804
|
if (process.env.NODE_ENV !== 'production') {
|
|
6805
|
-
const validateError = validate$
|
|
6805
|
+
const validateError = validate$y(input);
|
|
6806
6806
|
if (validateError !== null) {
|
|
6807
6807
|
throw validateError;
|
|
6808
6808
|
}
|
|
@@ -6873,7 +6873,7 @@ function typeCheckConfig$B(untrustedConfig) {
|
|
|
6873
6873
|
const config = {};
|
|
6874
6874
|
typeCheckConfig$Y(untrustedConfig, config, follow_ConfigPropertyMetadata);
|
|
6875
6875
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
6876
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
6876
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$z(untrustedConfig_followedTimeRange);
|
|
6877
6877
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
6878
6878
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
6879
6879
|
}
|
|
@@ -6923,7 +6923,7 @@ const followAdapterFactory = (luvio) => {
|
|
|
6923
6923
|
|
|
6924
6924
|
const TTL$e = 500;
|
|
6925
6925
|
const VERSION$o = "202c3b627ef6174c28128c67562e995b";
|
|
6926
|
-
function validate$
|
|
6926
|
+
function validate$x(obj, path = 'FollowerAssetCollectionRepresentation') {
|
|
6927
6927
|
const v_error = (() => {
|
|
6928
6928
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6929
6929
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6936,7 +6936,7 @@ function validate$w(obj, path = 'FollowerAssetCollectionRepresentation') {
|
|
|
6936
6936
|
for (let i = 0; i < obj_followerAssets.length; i++) {
|
|
6937
6937
|
const obj_followerAssets_item = obj_followerAssets[i];
|
|
6938
6938
|
const path_followerAssets_item = path_followerAssets + '[' + i + ']';
|
|
6939
|
-
const referencepath_followerAssets_itemValidationError = validate$
|
|
6939
|
+
const referencepath_followerAssets_itemValidationError = validate$y(obj_followerAssets_item, path_followerAssets_item);
|
|
6940
6940
|
if (referencepath_followerAssets_itemValidationError !== null) {
|
|
6941
6941
|
let message = 'Object doesn\'t match FollowerAssetRepresentation (at "' + path_followerAssets_item + '")\n';
|
|
6942
6942
|
message += referencepath_followerAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6980,7 +6980,7 @@ function equals$o(existing, incoming) {
|
|
|
6980
6980
|
}
|
|
6981
6981
|
const ingest$o = function FollowerAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6982
6982
|
if (process.env.NODE_ENV !== 'production') {
|
|
6983
|
-
const validateError = validate$
|
|
6983
|
+
const validateError = validate$x(input);
|
|
6984
6984
|
if (validateError !== null) {
|
|
6985
6985
|
throw validateError;
|
|
6986
6986
|
}
|
|
@@ -7050,7 +7050,7 @@ function typeCheckConfig$A(untrustedConfig) {
|
|
|
7050
7050
|
const config = {};
|
|
7051
7051
|
typeCheckConfig$Y(untrustedConfig, config, updateFollowedAsset_ConfigPropertyMetadata);
|
|
7052
7052
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
7053
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
7053
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$z(untrustedConfig_followedTimeRange);
|
|
7054
7054
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
7055
7055
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
7056
7056
|
}
|
|
@@ -7101,7 +7101,7 @@ const updateFollowedAssetAdapterFactory = (luvio) => {
|
|
|
7101
7101
|
};
|
|
7102
7102
|
};
|
|
7103
7103
|
|
|
7104
|
-
function validate$
|
|
7104
|
+
function validate$w(obj, path = 'FollowedAssetRepresentation') {
|
|
7105
7105
|
const v_error = (() => {
|
|
7106
7106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7107
7107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7133,7 +7133,7 @@ function validate$v(obj, path = 'FollowedAssetRepresentation') {
|
|
|
7133
7133
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
7134
7134
|
let obj_followedTimeRange_union0 = null;
|
|
7135
7135
|
const obj_followedTimeRange_union0_error = (() => {
|
|
7136
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
7136
|
+
const referencepath_followedTimeRangeValidationError = validate$z(obj_followedTimeRange, path_followedTimeRange);
|
|
7137
7137
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
7138
7138
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
7139
7139
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7283,7 +7283,7 @@ const unfollowAdapterFactory = (luvio) => {
|
|
|
7283
7283
|
|
|
7284
7284
|
const TTL$d = 500;
|
|
7285
7285
|
const VERSION$n = "1fd0770995d332e49822d6bbabe35e87";
|
|
7286
|
-
function validate$
|
|
7286
|
+
function validate$v(obj, path = 'FollowerCollectionRepresentation') {
|
|
7287
7287
|
const v_error = (() => {
|
|
7288
7288
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7289
7289
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7296,7 +7296,7 @@ function validate$u(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
7296
7296
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
7297
7297
|
const obj_followers_item = obj_followers[i];
|
|
7298
7298
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
7299
|
-
const referencepath_followers_itemValidationError = validate$
|
|
7299
|
+
const referencepath_followers_itemValidationError = validate$G(obj_followers_item, path_followers_item);
|
|
7300
7300
|
if (referencepath_followers_itemValidationError !== null) {
|
|
7301
7301
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
7302
7302
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7326,7 +7326,7 @@ function equals$n(existing, incoming) {
|
|
|
7326
7326
|
}
|
|
7327
7327
|
const ingest$n = function FollowerCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7328
7328
|
if (process.env.NODE_ENV !== 'production') {
|
|
7329
|
-
const validateError = validate$
|
|
7329
|
+
const validateError = validate$v(input);
|
|
7330
7330
|
if (validateError !== null) {
|
|
7331
7331
|
throw validateError;
|
|
7332
7332
|
}
|
|
@@ -7490,7 +7490,7 @@ const getFollowersAdapterFactory = (luvio) => function UnifiedAnalytics__getFoll
|
|
|
7490
7490
|
|
|
7491
7491
|
const TTL$c = 500;
|
|
7492
7492
|
const VERSION$m = "1f44696f5314fa2f963688e14067a00c";
|
|
7493
|
-
function validate$
|
|
7493
|
+
function validate$u(obj, path = 'FollowedAssetCollectionRepresentation') {
|
|
7494
7494
|
const v_error = (() => {
|
|
7495
7495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7496
7496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7503,7 +7503,7 @@ function validate$t(obj, path = 'FollowedAssetCollectionRepresentation') {
|
|
|
7503
7503
|
for (let i = 0; i < obj_followedAssets.length; i++) {
|
|
7504
7504
|
const obj_followedAssets_item = obj_followedAssets[i];
|
|
7505
7505
|
const path_followedAssets_item = path_followedAssets + '[' + i + ']';
|
|
7506
|
-
const referencepath_followedAssets_itemValidationError = validate$
|
|
7506
|
+
const referencepath_followedAssets_itemValidationError = validate$w(obj_followedAssets_item, path_followedAssets_item);
|
|
7507
7507
|
if (referencepath_followedAssets_itemValidationError !== null) {
|
|
7508
7508
|
let message = 'Object doesn\'t match FollowedAssetRepresentation (at "' + path_followedAssets_item + '")\n';
|
|
7509
7509
|
message += referencepath_followedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7533,7 +7533,7 @@ function equals$m(existing, incoming) {
|
|
|
7533
7533
|
}
|
|
7534
7534
|
const ingest$m = function FollowedAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7535
7535
|
if (process.env.NODE_ENV !== 'production') {
|
|
7536
|
-
const validateError = validate$
|
|
7536
|
+
const validateError = validate$u(input);
|
|
7537
7537
|
if (validateError !== null) {
|
|
7538
7538
|
throw validateError;
|
|
7539
7539
|
}
|
|
@@ -7696,7 +7696,7 @@ const getFollowedAssetsAdapterFactory = (luvio) => function UnifiedAnalytics__ge
|
|
|
7696
7696
|
|
|
7697
7697
|
const TTL$b = 500;
|
|
7698
7698
|
const VERSION$l = "a4167cdb0a6477d9d7ddbe70da03f1b4";
|
|
7699
|
-
function validate$
|
|
7699
|
+
function validate$t(obj, path = 'UniqueFollowerCountRepresentation') {
|
|
7700
7700
|
const v_error = (() => {
|
|
7701
7701
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7702
7702
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7729,7 +7729,7 @@ function equals$l(existing, incoming) {
|
|
|
7729
7729
|
}
|
|
7730
7730
|
const ingest$l = function UniqueFollowerCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7731
7731
|
if (process.env.NODE_ENV !== 'production') {
|
|
7732
|
-
const validateError = validate$
|
|
7732
|
+
const validateError = validate$t(input);
|
|
7733
7733
|
if (validateError !== null) {
|
|
7734
7734
|
throw validateError;
|
|
7735
7735
|
}
|
|
@@ -7890,7 +7890,7 @@ const getUniqueFollowerCountAdapterFactory = (luvio) => function UnifiedAnalytic
|
|
|
7890
7890
|
|
|
7891
7891
|
const TTL$a = 1000;
|
|
7892
7892
|
const VERSION$k = "f2e0254a8e6b03f2289f318634389df3";
|
|
7893
|
-
function validate$
|
|
7893
|
+
function validate$s(obj, path = 'UnifiedAnalyticsLogLinesRepresentation') {
|
|
7894
7894
|
const v_error = (() => {
|
|
7895
7895
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7896
7896
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7942,7 +7942,7 @@ function equals$k(existing, incoming) {
|
|
|
7942
7942
|
}
|
|
7943
7943
|
const ingest$k = function UnifiedAnalyticsLogLinesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7944
7944
|
if (process.env.NODE_ENV !== 'production') {
|
|
7945
|
-
const validateError = validate$
|
|
7945
|
+
const validateError = validate$s(input);
|
|
7946
7946
|
if (validateError !== null) {
|
|
7947
7947
|
throw validateError;
|
|
7948
7948
|
}
|
|
@@ -8060,7 +8060,7 @@ const createLoglinesAdapterFactory = (luvio) => {
|
|
|
8060
8060
|
};
|
|
8061
8061
|
};
|
|
8062
8062
|
|
|
8063
|
-
function validate$
|
|
8063
|
+
function validate$r(obj, path = 'OrgRepresentation') {
|
|
8064
8064
|
const v_error = (() => {
|
|
8065
8065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8066
8066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8091,7 +8091,7 @@ function validate$q(obj, path = 'OrgRepresentation') {
|
|
|
8091
8091
|
|
|
8092
8092
|
const TTL$9 = 500;
|
|
8093
8093
|
const VERSION$j = "dba0af366d4e42611a2437d6eeb19b6e";
|
|
8094
|
-
function validate$
|
|
8094
|
+
function validate$q(obj, path = 'OrgCollectionRepresentation') {
|
|
8095
8095
|
const v_error = (() => {
|
|
8096
8096
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8097
8097
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8104,7 +8104,7 @@ function validate$p(obj, path = 'OrgCollectionRepresentation') {
|
|
|
8104
8104
|
for (let i = 0; i < obj_personalOrgs.length; i++) {
|
|
8105
8105
|
const obj_personalOrgs_item = obj_personalOrgs[i];
|
|
8106
8106
|
const path_personalOrgs_item = path_personalOrgs + '[' + i + ']';
|
|
8107
|
-
const referencepath_personalOrgs_itemValidationError = validate$
|
|
8107
|
+
const referencepath_personalOrgs_itemValidationError = validate$r(obj_personalOrgs_item, path_personalOrgs_item);
|
|
8108
8108
|
if (referencepath_personalOrgs_itemValidationError !== null) {
|
|
8109
8109
|
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_personalOrgs_item + '")\n';
|
|
8110
8110
|
message += referencepath_personalOrgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8113,7 +8113,7 @@ function validate$p(obj, path = 'OrgCollectionRepresentation') {
|
|
|
8113
8113
|
}
|
|
8114
8114
|
const obj_productionOrg = obj.productionOrg;
|
|
8115
8115
|
const path_productionOrg = path + '.productionOrg';
|
|
8116
|
-
const referencepath_productionOrgValidationError = validate$
|
|
8116
|
+
const referencepath_productionOrgValidationError = validate$r(obj_productionOrg, path_productionOrg);
|
|
8117
8117
|
if (referencepath_productionOrgValidationError !== null) {
|
|
8118
8118
|
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_productionOrg + '")\n';
|
|
8119
8119
|
message += referencepath_productionOrgValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8142,7 +8142,7 @@ function equals$j(existing, incoming) {
|
|
|
8142
8142
|
}
|
|
8143
8143
|
const ingest$j = function OrgCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8144
8144
|
if (process.env.NODE_ENV !== 'production') {
|
|
8145
|
-
const validateError = validate$
|
|
8145
|
+
const validateError = validate$q(input);
|
|
8146
8146
|
if (validateError !== null) {
|
|
8147
8147
|
throw validateError;
|
|
8148
8148
|
}
|
|
@@ -8297,6 +8297,40 @@ const getOrgAdapterFactory = (luvio) => function UnifiedAnalytics__getOrg(untrus
|
|
|
8297
8297
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
8298
8298
|
};
|
|
8299
8299
|
|
|
8300
|
+
function validate$p(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
|
|
8301
|
+
const v_error = (() => {
|
|
8302
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8303
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8304
|
+
}
|
|
8305
|
+
const obj_displayName = obj.displayName;
|
|
8306
|
+
const path_displayName = path + '.displayName';
|
|
8307
|
+
if (typeof obj_displayName !== 'string') {
|
|
8308
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
8309
|
+
}
|
|
8310
|
+
const obj_email = obj.email;
|
|
8311
|
+
const path_email = path + '.email';
|
|
8312
|
+
if (typeof obj_email !== 'string') {
|
|
8313
|
+
return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
|
|
8314
|
+
}
|
|
8315
|
+
const obj_id = obj.id;
|
|
8316
|
+
const path_id = path + '.id';
|
|
8317
|
+
if (typeof obj_id !== 'string') {
|
|
8318
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8319
|
+
}
|
|
8320
|
+
const obj_profilePhotoUrl = obj.profilePhotoUrl;
|
|
8321
|
+
const path_profilePhotoUrl = path + '.profilePhotoUrl';
|
|
8322
|
+
if (typeof obj_profilePhotoUrl !== 'string') {
|
|
8323
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
|
|
8324
|
+
}
|
|
8325
|
+
const obj_username = obj.username;
|
|
8326
|
+
const path_username = path + '.username';
|
|
8327
|
+
if (typeof obj_username !== 'string') {
|
|
8328
|
+
return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
|
|
8329
|
+
}
|
|
8330
|
+
})();
|
|
8331
|
+
return v_error === undefined ? null : v_error;
|
|
8332
|
+
}
|
|
8333
|
+
|
|
8300
8334
|
function validate$o(obj, path = 'SetupRecordAccessRepresentation') {
|
|
8301
8335
|
const v_error = (() => {
|
|
8302
8336
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8312,6 +8346,19 @@ function validate$o(obj, path = 'SetupRecordAccessRepresentation') {
|
|
|
8312
8346
|
if (typeof obj_applicationDomain !== 'string') {
|
|
8313
8347
|
return new TypeError('Expected "string" but received "' + typeof obj_applicationDomain + '" (at "' + path_applicationDomain + '")');
|
|
8314
8348
|
}
|
|
8349
|
+
const obj_createdDate = obj.createdDate;
|
|
8350
|
+
const path_createdDate = path + '.createdDate';
|
|
8351
|
+
if (typeof obj_createdDate !== 'string') {
|
|
8352
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
8353
|
+
}
|
|
8354
|
+
const obj_userOrGroup = obj.userOrGroup;
|
|
8355
|
+
const path_userOrGroup = path + '.userOrGroup';
|
|
8356
|
+
const referencepath_userOrGroupValidationError = validate$p(obj_userOrGroup, path_userOrGroup);
|
|
8357
|
+
if (referencepath_userOrGroupValidationError !== null) {
|
|
8358
|
+
let message = 'Object doesn\'t match SetupRecordShareUserOrGroupRepresentation (at "' + path_userOrGroup + '")\n';
|
|
8359
|
+
message += referencepath_userOrGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8360
|
+
return new TypeError(message);
|
|
8361
|
+
}
|
|
8315
8362
|
const obj_userOrGroupId = obj.userOrGroupId;
|
|
8316
8363
|
const path_userOrGroupId = path + '.userOrGroupId';
|
|
8317
8364
|
if (typeof obj_userOrGroupId !== 'string') {
|
|
@@ -8548,6 +8595,8 @@ const getShares_ConfigPropertyMetadata = [
|
|
|
8548
8595
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8549
8596
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8550
8597
|
generateParamConfigMetadata('userOrGroupId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8598
|
+
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8599
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8551
8600
|
];
|
|
8552
8601
|
const getShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getShares_ConfigPropertyMetadata);
|
|
8553
8602
|
const createResourceParams$s = /*#__PURE__*/ createResourceParams$Y(getShares_ConfigPropertyMetadata);
|
|
@@ -8672,7 +8721,7 @@ function validate$l(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
8672
8721
|
}
|
|
8673
8722
|
const obj_createdBy = obj.createdBy;
|
|
8674
8723
|
const path_createdBy = path + '.createdBy';
|
|
8675
|
-
const referencepath_createdByValidationError = validate$
|
|
8724
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
8676
8725
|
if (referencepath_createdByValidationError !== null) {
|
|
8677
8726
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
8678
8727
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8685,7 +8734,7 @@ function validate$l(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
8685
8734
|
}
|
|
8686
8735
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8687
8736
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8688
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8737
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8689
8738
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8690
8739
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8691
8740
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9558,7 +9607,7 @@ function validate$h(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
9558
9607
|
for (let i = 0; i < obj_items.length; i++) {
|
|
9559
9608
|
const obj_items_item = obj_items[i];
|
|
9560
9609
|
const path_items_item = path_items + '[' + i + ']';
|
|
9561
|
-
const referencepath_items_itemValidationError = validate$
|
|
9610
|
+
const referencepath_items_itemValidationError = validate$G(obj_items_item, path_items_item);
|
|
9562
9611
|
if (referencepath_items_itemValidationError !== null) {
|
|
9563
9612
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
9564
9613
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9671,11 +9720,11 @@ function createResourceRequest$m(config) {
|
|
|
9671
9720
|
|
|
9672
9721
|
const adapterName$m = 'queryUsers';
|
|
9673
9722
|
const queryUsers_ConfigPropertyMetadata = [
|
|
9674
|
-
generateParamConfigMetadata('searchTerm',
|
|
9675
|
-
generateParamConfigMetadata('userCapability',
|
|
9676
|
-
generateParamConfigMetadata('useAutoSuggest',
|
|
9677
|
-
generateParamConfigMetadata('limit',
|
|
9678
|
-
generateParamConfigMetadata('offset',
|
|
9723
|
+
generateParamConfigMetadata('searchTerm', false, 2 /* Body */, 0 /* String */),
|
|
9724
|
+
generateParamConfigMetadata('userCapability', false, 2 /* Body */, 0 /* String */),
|
|
9725
|
+
generateParamConfigMetadata('useAutoSuggest', false, 2 /* Body */, 1 /* Boolean */),
|
|
9726
|
+
generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
|
|
9727
|
+
generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
|
|
9679
9728
|
];
|
|
9680
9729
|
const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, queryUsers_ConfigPropertyMetadata);
|
|
9681
9730
|
const createResourceParams$m = /*#__PURE__*/ createResourceParams$Y(queryUsers_ConfigPropertyMetadata);
|
|
@@ -9734,7 +9783,7 @@ function validate$g(obj, path = 'VisualizationRepresentation') {
|
|
|
9734
9783
|
}
|
|
9735
9784
|
const obj_createdBy = obj.createdBy;
|
|
9736
9785
|
const path_createdBy = path + '.createdBy';
|
|
9737
|
-
const referencepath_createdByValidationError = validate$
|
|
9786
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
9738
9787
|
if (referencepath_createdByValidationError !== null) {
|
|
9739
9788
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
9740
9789
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9809,7 +9858,7 @@ function validate$g(obj, path = 'VisualizationRepresentation') {
|
|
|
9809
9858
|
if (obj.lastModifiedBy !== undefined) {
|
|
9810
9859
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9811
9860
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9812
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
9861
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
9813
9862
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
9814
9863
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
9815
9864
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10971,7 +11020,7 @@ function validate$d(obj, path = 'WorkspaceRepresentation') {
|
|
|
10971
11020
|
}
|
|
10972
11021
|
const obj_createdBy = obj.createdBy;
|
|
10973
11022
|
const path_createdBy = path + '.createdBy';
|
|
10974
|
-
const referencepath_createdByValidationError = validate$
|
|
11023
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
10975
11024
|
if (referencepath_createdByValidationError !== null) {
|
|
10976
11025
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
10977
11026
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11731,7 +11780,7 @@ function validate$b(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
11731
11780
|
}
|
|
11732
11781
|
const obj_createdBy = obj.createdBy;
|
|
11733
11782
|
const path_createdBy = path + '.createdBy';
|
|
11734
|
-
const referencepath_createdByValidationError = validate$
|
|
11783
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
11735
11784
|
if (referencepath_createdByValidationError !== null) {
|
|
11736
11785
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
11737
11786
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|