@salesforce/lds-adapters-analytics-unifiedanalytics 1.368.0 → 1.370.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/analytics-unifiedanalytics.js +197 -148
- 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 +164 -115
- 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 = "3229a7b14837ba4170d4cd91239df29c";
|
|
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');
|
|
@@ -3805,7 +3805,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
3807
3807
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
3808
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
3808
|
+
const referencepath_deliveryConfigurationsValidationError = validate$W(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
3809
3809
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
3810
3810
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
3811
3811
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3818,7 +3818,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3818
3818
|
}
|
|
3819
3819
|
const obj_schedule = obj.schedule;
|
|
3820
3820
|
const path_schedule = path + '.schedule';
|
|
3821
|
-
const referencepath_scheduleValidationError = validate$
|
|
3821
|
+
const referencepath_scheduleValidationError = validate$V(obj_schedule, path_schedule);
|
|
3822
3822
|
if (referencepath_scheduleValidationError !== null) {
|
|
3823
3823
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
3824
3824
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3826,7 +3826,7 @@ function validate$Q(obj, path = 'DataAlertRepresentation') {
|
|
|
3826
3826
|
}
|
|
3827
3827
|
const obj_thresholds = obj.thresholds;
|
|
3828
3828
|
const path_thresholds = path + '.thresholds';
|
|
3829
|
-
const referencepath_thresholdsValidationError = validate$
|
|
3829
|
+
const referencepath_thresholdsValidationError = validate$S(obj_thresholds, path_thresholds);
|
|
3830
3830
|
if (referencepath_thresholdsValidationError !== null) {
|
|
3831
3831
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
3832
3832
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3864,7 +3864,7 @@ function equals$w(existing, incoming) {
|
|
|
3864
3864
|
}
|
|
3865
3865
|
const ingest$w = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3866
3866
|
if (process.env.NODE_ENV !== 'production') {
|
|
3867
|
-
const validateError = validate$
|
|
3867
|
+
const validateError = validate$R(input);
|
|
3868
3868
|
if (validateError !== null) {
|
|
3869
3869
|
throw validateError;
|
|
3870
3870
|
}
|
|
@@ -3886,7 +3886,7 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3886
3886
|
|
|
3887
3887
|
const TTL$l = 500;
|
|
3888
3888
|
const VERSION$v = "af0497c1f6e23bc472a94e33329c591e";
|
|
3889
|
-
function validate$
|
|
3889
|
+
function validate$Q(obj, path = 'DataAlertCollectionRepresentation') {
|
|
3890
3890
|
const v_error = (() => {
|
|
3891
3891
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3892
3892
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3984,7 +3984,7 @@ function equals$v(existing, incoming) {
|
|
|
3984
3984
|
}
|
|
3985
3985
|
const ingest$v = function DataAlertCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3986
3986
|
if (process.env.NODE_ENV !== 'production') {
|
|
3987
|
-
const validateError = validate$
|
|
3987
|
+
const validateError = validate$Q(input);
|
|
3988
3988
|
if (validateError !== null) {
|
|
3989
3989
|
throw validateError;
|
|
3990
3990
|
}
|
|
@@ -4152,7 +4152,7 @@ var DiscriminatorValues$3;
|
|
|
4152
4152
|
(function (DiscriminatorValues) {
|
|
4153
4153
|
DiscriminatorValues["Notification"] = "Notification";
|
|
4154
4154
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
4155
|
-
function validate$
|
|
4155
|
+
function validate$P(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
4156
4156
|
const v_error = (() => {
|
|
4157
4157
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4158
4158
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4166,7 +4166,7 @@ function validate$O(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
4166
4166
|
return v_error === undefined ? null : v_error;
|
|
4167
4167
|
}
|
|
4168
4168
|
|
|
4169
|
-
function validate$
|
|
4169
|
+
function validate$O(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
4170
4170
|
const v_error = (() => {
|
|
4171
4171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4172
4172
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4179,7 +4179,7 @@ function validate$N(obj, path = 'DataAlertDeliveryConfigurationInputRepresentati
|
|
|
4179
4179
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
4180
4180
|
const obj_receivers_item = obj_receivers[i];
|
|
4181
4181
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
4182
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
4182
|
+
const referencepath_receivers_itemValidationError = validate$P(obj_receivers_item, path_receivers_item);
|
|
4183
4183
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
4184
4184
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
4185
4185
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4195,7 +4195,7 @@ var DiscriminatorValues$2;
|
|
|
4195
4195
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
4196
4196
|
DiscriminatorValues["Insights"] = "Insights";
|
|
4197
4197
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
4198
|
-
function validate$
|
|
4198
|
+
function validate$N(obj, path = 'DataAlertValueInputRepresentation') {
|
|
4199
4199
|
const v_error = (() => {
|
|
4200
4200
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4201
4201
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4209,7 +4209,7 @@ function validate$M(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
4209
4209
|
return v_error === undefined ? null : v_error;
|
|
4210
4210
|
}
|
|
4211
4211
|
|
|
4212
|
-
function validate$
|
|
4212
|
+
function validate$M(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
4213
4213
|
const v_error = (() => {
|
|
4214
4214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4215
4215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4223,14 +4223,14 @@ function validate$L(obj, path = 'DataAlertValueRightOperandInputRepresentation')
|
|
|
4223
4223
|
return v_error === undefined ? null : v_error;
|
|
4224
4224
|
}
|
|
4225
4225
|
|
|
4226
|
-
function validate$
|
|
4226
|
+
function validate$L(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
4227
4227
|
const v_error = (() => {
|
|
4228
4228
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4229
4229
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4230
4230
|
}
|
|
4231
4231
|
const obj_leftOperand = obj.leftOperand;
|
|
4232
4232
|
const path_leftOperand = path + '.leftOperand';
|
|
4233
|
-
const referencepath_leftOperandValidationError = validate$
|
|
4233
|
+
const referencepath_leftOperandValidationError = validate$N(obj_leftOperand, path_leftOperand);
|
|
4234
4234
|
if (referencepath_leftOperandValidationError !== null) {
|
|
4235
4235
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
4236
4236
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4243,7 +4243,7 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
4243
4243
|
}
|
|
4244
4244
|
const obj_rightOperand = obj.rightOperand;
|
|
4245
4245
|
const path_rightOperand = path + '.rightOperand';
|
|
4246
|
-
const referencepath_rightOperandValidationError = validate$
|
|
4246
|
+
const referencepath_rightOperandValidationError = validate$M(obj_rightOperand, path_rightOperand);
|
|
4247
4247
|
if (referencepath_rightOperandValidationError !== null) {
|
|
4248
4248
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
4249
4249
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4253,7 +4253,7 @@ function validate$K(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
4253
4253
|
return v_error === undefined ? null : v_error;
|
|
4254
4254
|
}
|
|
4255
4255
|
|
|
4256
|
-
function validate$
|
|
4256
|
+
function validate$K(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
4257
4257
|
const v_error = (() => {
|
|
4258
4258
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4259
4259
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4266,7 +4266,7 @@ function validate$J(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
4266
4266
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
4267
4267
|
const obj_conditions_item = obj_conditions[i];
|
|
4268
4268
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
4269
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
4269
|
+
const referencepath_conditions_itemValidationError = validate$L(obj_conditions_item, path_conditions_item);
|
|
4270
4270
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
4271
4271
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
4272
4272
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4323,7 +4323,7 @@ var DiscriminatorValues$1;
|
|
|
4323
4323
|
(function (DiscriminatorValues) {
|
|
4324
4324
|
DiscriminatorValues["Metric"] = "Metric";
|
|
4325
4325
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
4326
|
-
function validate$
|
|
4326
|
+
function validate$J(obj, path = 'DataAlertContentInputRepresentation') {
|
|
4327
4327
|
const v_error = (() => {
|
|
4328
4328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4329
4329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4343,7 +4343,7 @@ var DiscriminatorValues;
|
|
|
4343
4343
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
4344
4344
|
DiscriminatorValues["Cron"] = "Cron";
|
|
4345
4345
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
4346
|
-
function validate$
|
|
4346
|
+
function validate$I(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
4347
4347
|
const v_error = (() => {
|
|
4348
4348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4349
4349
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4385,22 +4385,22 @@ function typeCheckConfig$M(untrustedConfig) {
|
|
|
4385
4385
|
const config = {};
|
|
4386
4386
|
typeCheckConfig$Y(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
4387
4387
|
const untrustedConfig_content = untrustedConfig.content;
|
|
4388
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
4388
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$J(untrustedConfig_content);
|
|
4389
4389
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
4390
4390
|
config.content = untrustedConfig_content;
|
|
4391
4391
|
}
|
|
4392
4392
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
4393
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
4393
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$O(untrustedConfig_deliveryConfigurations);
|
|
4394
4394
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
4395
4395
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
4396
4396
|
}
|
|
4397
4397
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
4398
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
4398
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$I(untrustedConfig_schedule);
|
|
4399
4399
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
4400
4400
|
config.schedule = untrustedConfig_schedule;
|
|
4401
4401
|
}
|
|
4402
4402
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
4403
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
4403
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$K(untrustedConfig_thresholds);
|
|
4404
4404
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4405
4405
|
config.thresholds = untrustedConfig_thresholds;
|
|
4406
4406
|
}
|
|
@@ -4726,22 +4726,22 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
4726
4726
|
const config = {};
|
|
4727
4727
|
typeCheckConfig$Y(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
4728
4728
|
const untrustedConfig_content = untrustedConfig.content;
|
|
4729
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
4729
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$J(untrustedConfig_content);
|
|
4730
4730
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
4731
4731
|
config.content = untrustedConfig_content;
|
|
4732
4732
|
}
|
|
4733
4733
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
4734
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
4734
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$O(untrustedConfig_deliveryConfigurations);
|
|
4735
4735
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
4736
4736
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
4737
4737
|
}
|
|
4738
4738
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
4739
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
4739
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$I(untrustedConfig_schedule);
|
|
4740
4740
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
4741
4741
|
config.schedule = untrustedConfig_schedule;
|
|
4742
4742
|
}
|
|
4743
4743
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
4744
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
4744
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$K(untrustedConfig_thresholds);
|
|
4745
4745
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
4746
4746
|
config.thresholds = untrustedConfig_thresholds;
|
|
4747
4747
|
}
|
|
@@ -4791,7 +4791,7 @@ const updateDataAlertAdapterFactory = (luvio) => {
|
|
|
4791
4791
|
|
|
4792
4792
|
const TTL$k = 100;
|
|
4793
4793
|
const VERSION$u = "26cdd644d03794763d0bbd771321ec42";
|
|
4794
|
-
function validate$
|
|
4794
|
+
function validate$H(obj, path = 'DataAlertRunOutputRepresentation') {
|
|
4795
4795
|
const v_error = (() => {
|
|
4796
4796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4797
4797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4868,7 +4868,7 @@ function equals$u(existing, incoming) {
|
|
|
4868
4868
|
}
|
|
4869
4869
|
const ingest$u = function DataAlertRunOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4870
4870
|
if (process.env.NODE_ENV !== 'production') {
|
|
4871
|
-
const validateError = validate$
|
|
4871
|
+
const validateError = validate$H(input);
|
|
4872
4872
|
if (validateError !== null) {
|
|
4873
4873
|
throw validateError;
|
|
4874
4874
|
}
|
|
@@ -4978,8 +4978,8 @@ const postDataAlertRunAdapterFactory = (luvio) => {
|
|
|
4978
4978
|
};
|
|
4979
4979
|
};
|
|
4980
4980
|
|
|
4981
|
-
function validate$
|
|
4982
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
4981
|
+
function validate$G(obj, path = 'AnalyticsUserRepresentation') {
|
|
4982
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$12(obj, path);
|
|
4983
4983
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
4984
4984
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
4985
4985
|
}
|
|
@@ -5021,7 +5021,7 @@ function validate$F(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
5021
5021
|
|
|
5022
5022
|
const TTL$j = 500;
|
|
5023
5023
|
const VERSION$t = "ada5b73b64faa32b0113876061677c0a";
|
|
5024
|
-
function validate$
|
|
5024
|
+
function validate$F(obj, path = 'DataAssetRequestRepresentation') {
|
|
5025
5025
|
const v_error = (() => {
|
|
5026
5026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5027
5027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5030,7 +5030,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5030
5030
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
5031
5031
|
let obj_acknowledgedBy_union0 = null;
|
|
5032
5032
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
5033
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
5033
|
+
const referencepath_acknowledgedByValidationError = validate$G(obj_acknowledgedBy, path_acknowledgedBy);
|
|
5034
5034
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
5035
5035
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
5036
5036
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5116,7 +5116,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5116
5116
|
const path_cancelledBy = path + '.cancelledBy';
|
|
5117
5117
|
let obj_cancelledBy_union0 = null;
|
|
5118
5118
|
const obj_cancelledBy_union0_error = (() => {
|
|
5119
|
-
const referencepath_cancelledByValidationError = validate$
|
|
5119
|
+
const referencepath_cancelledByValidationError = validate$G(obj_cancelledBy, path_cancelledBy);
|
|
5120
5120
|
if (referencepath_cancelledByValidationError !== null) {
|
|
5121
5121
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
5122
5122
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5171,7 +5171,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5171
5171
|
const path_completedBy = path + '.completedBy';
|
|
5172
5172
|
let obj_completedBy_union0 = null;
|
|
5173
5173
|
const obj_completedBy_union0_error = (() => {
|
|
5174
|
-
const referencepath_completedByValidationError = validate$
|
|
5174
|
+
const referencepath_completedByValidationError = validate$G(obj_completedBy, path_completedBy);
|
|
5175
5175
|
if (referencepath_completedByValidationError !== null) {
|
|
5176
5176
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
5177
5177
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5286,7 +5286,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5286
5286
|
}
|
|
5287
5287
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5288
5288
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5289
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5289
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5290
5290
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5291
5291
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5292
5292
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5486,7 +5486,7 @@ function validate$E(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
const obj_requestedBy = obj.requestedBy;
|
|
5488
5488
|
const path_requestedBy = path + '.requestedBy';
|
|
5489
|
-
const referencepath_requestedByValidationError = validate$
|
|
5489
|
+
const referencepath_requestedByValidationError = validate$G(obj_requestedBy, path_requestedBy);
|
|
5490
5490
|
if (referencepath_requestedByValidationError !== null) {
|
|
5491
5491
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
5492
5492
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5596,7 +5596,7 @@ function equals$t(existing, incoming) {
|
|
|
5596
5596
|
}
|
|
5597
5597
|
const ingest$t = function DataAssetRequestRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5598
5598
|
if (process.env.NODE_ENV !== 'production') {
|
|
5599
|
-
const validateError = validate$
|
|
5599
|
+
const validateError = validate$F(input);
|
|
5600
5600
|
if (validateError !== null) {
|
|
5601
5601
|
throw validateError;
|
|
5602
5602
|
}
|
|
@@ -5618,7 +5618,7 @@ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5618
5618
|
|
|
5619
5619
|
const TTL$i = 500;
|
|
5620
5620
|
const VERSION$s = "b130e3ebdd5cd1a5007c21dad3bfa38a";
|
|
5621
|
-
function validate$
|
|
5621
|
+
function validate$E(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
5622
5622
|
const v_error = (() => {
|
|
5623
5623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5624
5624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5631,7 +5631,7 @@ function validate$D(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
|
5631
5631
|
for (let i = 0; i < obj_dataAssetRequests.length; i++) {
|
|
5632
5632
|
const obj_dataAssetRequests_item = obj_dataAssetRequests[i];
|
|
5633
5633
|
const path_dataAssetRequests_item = path_dataAssetRequests + '[' + i + ']';
|
|
5634
|
-
const referencepath_dataAssetRequests_itemValidationError = validate$
|
|
5634
|
+
const referencepath_dataAssetRequests_itemValidationError = validate$F(obj_dataAssetRequests_item, path_dataAssetRequests_item);
|
|
5635
5635
|
if (referencepath_dataAssetRequests_itemValidationError !== null) {
|
|
5636
5636
|
let message = 'Object doesn\'t match DataAssetRequestRepresentation (at "' + path_dataAssetRequests_item + '")\n';
|
|
5637
5637
|
message += referencepath_dataAssetRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5661,7 +5661,7 @@ function equals$s(existing, incoming) {
|
|
|
5661
5661
|
}
|
|
5662
5662
|
const ingest$s = function DataAssetRequestCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5663
5663
|
if (process.env.NODE_ENV !== 'production') {
|
|
5664
|
-
const validateError = validate$
|
|
5664
|
+
const validateError = validate$E(input);
|
|
5665
5665
|
if (validateError !== null) {
|
|
5666
5666
|
throw validateError;
|
|
5667
5667
|
}
|
|
@@ -5930,7 +5930,7 @@ const createDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
5930
5930
|
|
|
5931
5931
|
const TTL$h = 500;
|
|
5932
5932
|
const VERSION$r = "e424b55efdacaf049d687461eddd10cc";
|
|
5933
|
-
function validate$
|
|
5933
|
+
function validate$D(obj, path = 'DataAssetRequestCountRepresentation') {
|
|
5934
5934
|
const v_error = (() => {
|
|
5935
5935
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5936
5936
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5963,7 +5963,7 @@ function equals$r(existing, incoming) {
|
|
|
5963
5963
|
}
|
|
5964
5964
|
const ingest$r = function DataAssetRequestCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5965
5965
|
if (process.env.NODE_ENV !== 'production') {
|
|
5966
|
-
const validateError = validate$
|
|
5966
|
+
const validateError = validate$D(input);
|
|
5967
5967
|
if (validateError !== null) {
|
|
5968
5968
|
throw validateError;
|
|
5969
5969
|
}
|
|
@@ -6367,7 +6367,7 @@ const updateDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
6367
6367
|
};
|
|
6368
6368
|
};
|
|
6369
6369
|
|
|
6370
|
-
function validate$
|
|
6370
|
+
function validate$C(obj, path = 'DataAssetRepresentation') {
|
|
6371
6371
|
const v_error = (() => {
|
|
6372
6372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6373
6373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6384,7 +6384,7 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6384
6384
|
}
|
|
6385
6385
|
const obj_createdBy = obj.createdBy;
|
|
6386
6386
|
const path_createdBy = path + '.createdBy';
|
|
6387
|
-
const referencepath_createdByValidationError = validate$
|
|
6387
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
6388
6388
|
if (referencepath_createdByValidationError !== null) {
|
|
6389
6389
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6390
6390
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6418,7 +6418,7 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6418
6418
|
}
|
|
6419
6419
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
6420
6420
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
6421
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
6421
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
6422
6422
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
6423
6423
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
6424
6424
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6445,14 +6445,14 @@ function validate$B(obj, path = 'DataAssetRepresentation') {
|
|
|
6445
6445
|
return v_error === undefined ? null : v_error;
|
|
6446
6446
|
}
|
|
6447
6447
|
|
|
6448
|
-
function validate$
|
|
6448
|
+
function validate$B(obj, path = 'DataAssetDependentRepresentation') {
|
|
6449
6449
|
const v_error = (() => {
|
|
6450
6450
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6451
6451
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6452
6452
|
}
|
|
6453
6453
|
const obj_dataAsset = obj.dataAsset;
|
|
6454
6454
|
const path_dataAsset = path + '.dataAsset';
|
|
6455
|
-
const referencepath_dataAssetValidationError = validate$
|
|
6455
|
+
const referencepath_dataAssetValidationError = validate$C(obj_dataAsset, path_dataAsset);
|
|
6456
6456
|
if (referencepath_dataAssetValidationError !== null) {
|
|
6457
6457
|
let message = 'Object doesn\'t match DataAssetRepresentation (at "' + path_dataAsset + '")\n';
|
|
6458
6458
|
message += referencepath_dataAssetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6464,7 +6464,7 @@ function validate$A(obj, path = 'DataAssetDependentRepresentation') {
|
|
|
6464
6464
|
|
|
6465
6465
|
const TTL$g = 500;
|
|
6466
6466
|
const VERSION$q = "bc1bcd1c96c7c70c3cde837dafdafaba";
|
|
6467
|
-
function validate$
|
|
6467
|
+
function validate$A(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
6468
6468
|
const v_error = (() => {
|
|
6469
6469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6470
6470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6477,7 +6477,7 @@ function validate$z(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
|
6477
6477
|
for (let i = 0; i < obj_dependentDataAssets.length; i++) {
|
|
6478
6478
|
const obj_dependentDataAssets_item = obj_dependentDataAssets[i];
|
|
6479
6479
|
const path_dependentDataAssets_item = path_dependentDataAssets + '[' + i + ']';
|
|
6480
|
-
const referencepath_dependentDataAssets_itemValidationError = validate$
|
|
6480
|
+
const referencepath_dependentDataAssets_itemValidationError = validate$B(obj_dependentDataAssets_item, path_dependentDataAssets_item);
|
|
6481
6481
|
if (referencepath_dependentDataAssets_itemValidationError !== null) {
|
|
6482
6482
|
let message = 'Object doesn\'t match DataAssetDependentRepresentation (at "' + path_dependentDataAssets_item + '")\n';
|
|
6483
6483
|
message += referencepath_dependentDataAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6507,7 +6507,7 @@ function equals$q(existing, incoming) {
|
|
|
6507
6507
|
}
|
|
6508
6508
|
const ingest$q = function DataAssetDependentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6509
6509
|
if (process.env.NODE_ENV !== 'production') {
|
|
6510
|
-
const validateError = validate$
|
|
6510
|
+
const validateError = validate$A(input);
|
|
6511
6511
|
if (validateError !== null) {
|
|
6512
6512
|
throw validateError;
|
|
6513
6513
|
}
|
|
@@ -6665,7 +6665,7 @@ const getDataAssetDependenciesAdapterFactory = (luvio) => function UnifiedAnalyt
|
|
|
6665
6665
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
6666
6666
|
};
|
|
6667
6667
|
|
|
6668
|
-
function validate$
|
|
6668
|
+
function validate$z(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
6669
6669
|
const v_error = (() => {
|
|
6670
6670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6671
6671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6719,14 +6719,14 @@ function validate$y(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
|
6719
6719
|
|
|
6720
6720
|
const TTL$f = 500;
|
|
6721
6721
|
const VERSION$p = "c3bc904365300b26d1f104c9bc055527";
|
|
6722
|
-
function validate$
|
|
6722
|
+
function validate$y(obj, path = 'FollowerAssetRepresentation') {
|
|
6723
6723
|
const v_error = (() => {
|
|
6724
6724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6725
6725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6726
6726
|
}
|
|
6727
6727
|
const obj_createdBy = obj.createdBy;
|
|
6728
6728
|
const path_createdBy = path + '.createdBy';
|
|
6729
|
-
const referencepath_createdByValidationError = validate$
|
|
6729
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
6730
6730
|
if (referencepath_createdByValidationError !== null) {
|
|
6731
6731
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6732
6732
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6752,7 +6752,7 @@ function validate$x(obj, path = 'FollowerAssetRepresentation') {
|
|
|
6752
6752
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
6753
6753
|
let obj_followedTimeRange_union0 = null;
|
|
6754
6754
|
const obj_followedTimeRange_union0_error = (() => {
|
|
6755
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
6755
|
+
const referencepath_followedTimeRangeValidationError = validate$z(obj_followedTimeRange, path_followedTimeRange);
|
|
6756
6756
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
6757
6757
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
6758
6758
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6820,7 +6820,7 @@ function equals$p(existing, incoming) {
|
|
|
6820
6820
|
}
|
|
6821
6821
|
const ingest$p = function FollowerAssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6822
6822
|
if (process.env.NODE_ENV !== 'production') {
|
|
6823
|
-
const validateError = validate$
|
|
6823
|
+
const validateError = validate$y(input);
|
|
6824
6824
|
if (validateError !== null) {
|
|
6825
6825
|
throw validateError;
|
|
6826
6826
|
}
|
|
@@ -6891,7 +6891,7 @@ function typeCheckConfig$B(untrustedConfig) {
|
|
|
6891
6891
|
const config = {};
|
|
6892
6892
|
typeCheckConfig$Y(untrustedConfig, config, follow_ConfigPropertyMetadata);
|
|
6893
6893
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
6894
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
6894
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$z(untrustedConfig_followedTimeRange);
|
|
6895
6895
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
6896
6896
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
6897
6897
|
}
|
|
@@ -6941,7 +6941,7 @@ const followAdapterFactory = (luvio) => {
|
|
|
6941
6941
|
|
|
6942
6942
|
const TTL$e = 500;
|
|
6943
6943
|
const VERSION$o = "202c3b627ef6174c28128c67562e995b";
|
|
6944
|
-
function validate$
|
|
6944
|
+
function validate$x(obj, path = 'FollowerAssetCollectionRepresentation') {
|
|
6945
6945
|
const v_error = (() => {
|
|
6946
6946
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6947
6947
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6954,7 +6954,7 @@ function validate$w(obj, path = 'FollowerAssetCollectionRepresentation') {
|
|
|
6954
6954
|
for (let i = 0; i < obj_followerAssets.length; i++) {
|
|
6955
6955
|
const obj_followerAssets_item = obj_followerAssets[i];
|
|
6956
6956
|
const path_followerAssets_item = path_followerAssets + '[' + i + ']';
|
|
6957
|
-
const referencepath_followerAssets_itemValidationError = validate$
|
|
6957
|
+
const referencepath_followerAssets_itemValidationError = validate$y(obj_followerAssets_item, path_followerAssets_item);
|
|
6958
6958
|
if (referencepath_followerAssets_itemValidationError !== null) {
|
|
6959
6959
|
let message = 'Object doesn\'t match FollowerAssetRepresentation (at "' + path_followerAssets_item + '")\n';
|
|
6960
6960
|
message += referencepath_followerAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6998,7 +6998,7 @@ function equals$o(existing, incoming) {
|
|
|
6998
6998
|
}
|
|
6999
6999
|
const ingest$o = function FollowerAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7000
7000
|
if (process.env.NODE_ENV !== 'production') {
|
|
7001
|
-
const validateError = validate$
|
|
7001
|
+
const validateError = validate$x(input);
|
|
7002
7002
|
if (validateError !== null) {
|
|
7003
7003
|
throw validateError;
|
|
7004
7004
|
}
|
|
@@ -7068,7 +7068,7 @@ function typeCheckConfig$A(untrustedConfig) {
|
|
|
7068
7068
|
const config = {};
|
|
7069
7069
|
typeCheckConfig$Y(untrustedConfig, config, updateFollowedAsset_ConfigPropertyMetadata);
|
|
7070
7070
|
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
7071
|
-
const referenceFollowedTimeRangeRepresentationValidationError = validate$
|
|
7071
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$z(untrustedConfig_followedTimeRange);
|
|
7072
7072
|
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
7073
7073
|
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
7074
7074
|
}
|
|
@@ -7119,7 +7119,7 @@ const updateFollowedAssetAdapterFactory = (luvio) => {
|
|
|
7119
7119
|
};
|
|
7120
7120
|
};
|
|
7121
7121
|
|
|
7122
|
-
function validate$
|
|
7122
|
+
function validate$w(obj, path = 'FollowedAssetRepresentation') {
|
|
7123
7123
|
const v_error = (() => {
|
|
7124
7124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7125
7125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7151,7 +7151,7 @@ function validate$v(obj, path = 'FollowedAssetRepresentation') {
|
|
|
7151
7151
|
const path_followedTimeRange = path + '.followedTimeRange';
|
|
7152
7152
|
let obj_followedTimeRange_union0 = null;
|
|
7153
7153
|
const obj_followedTimeRange_union0_error = (() => {
|
|
7154
|
-
const referencepath_followedTimeRangeValidationError = validate$
|
|
7154
|
+
const referencepath_followedTimeRangeValidationError = validate$z(obj_followedTimeRange, path_followedTimeRange);
|
|
7155
7155
|
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
7156
7156
|
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
7157
7157
|
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7301,7 +7301,7 @@ const unfollowAdapterFactory = (luvio) => {
|
|
|
7301
7301
|
|
|
7302
7302
|
const TTL$d = 500;
|
|
7303
7303
|
const VERSION$n = "1fd0770995d332e49822d6bbabe35e87";
|
|
7304
|
-
function validate$
|
|
7304
|
+
function validate$v(obj, path = 'FollowerCollectionRepresentation') {
|
|
7305
7305
|
const v_error = (() => {
|
|
7306
7306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7307
7307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7314,7 +7314,7 @@ function validate$u(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
7314
7314
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
7315
7315
|
const obj_followers_item = obj_followers[i];
|
|
7316
7316
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
7317
|
-
const referencepath_followers_itemValidationError = validate$
|
|
7317
|
+
const referencepath_followers_itemValidationError = validate$G(obj_followers_item, path_followers_item);
|
|
7318
7318
|
if (referencepath_followers_itemValidationError !== null) {
|
|
7319
7319
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
7320
7320
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7344,7 +7344,7 @@ function equals$n(existing, incoming) {
|
|
|
7344
7344
|
}
|
|
7345
7345
|
const ingest$n = function FollowerCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7346
7346
|
if (process.env.NODE_ENV !== 'production') {
|
|
7347
|
-
const validateError = validate$
|
|
7347
|
+
const validateError = validate$v(input);
|
|
7348
7348
|
if (validateError !== null) {
|
|
7349
7349
|
throw validateError;
|
|
7350
7350
|
}
|
|
@@ -7508,7 +7508,7 @@ const getFollowersAdapterFactory = (luvio) => function UnifiedAnalytics__getFoll
|
|
|
7508
7508
|
|
|
7509
7509
|
const TTL$c = 500;
|
|
7510
7510
|
const VERSION$m = "1f44696f5314fa2f963688e14067a00c";
|
|
7511
|
-
function validate$
|
|
7511
|
+
function validate$u(obj, path = 'FollowedAssetCollectionRepresentation') {
|
|
7512
7512
|
const v_error = (() => {
|
|
7513
7513
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7514
7514
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7521,7 +7521,7 @@ function validate$t(obj, path = 'FollowedAssetCollectionRepresentation') {
|
|
|
7521
7521
|
for (let i = 0; i < obj_followedAssets.length; i++) {
|
|
7522
7522
|
const obj_followedAssets_item = obj_followedAssets[i];
|
|
7523
7523
|
const path_followedAssets_item = path_followedAssets + '[' + i + ']';
|
|
7524
|
-
const referencepath_followedAssets_itemValidationError = validate$
|
|
7524
|
+
const referencepath_followedAssets_itemValidationError = validate$w(obj_followedAssets_item, path_followedAssets_item);
|
|
7525
7525
|
if (referencepath_followedAssets_itemValidationError !== null) {
|
|
7526
7526
|
let message = 'Object doesn\'t match FollowedAssetRepresentation (at "' + path_followedAssets_item + '")\n';
|
|
7527
7527
|
message += referencepath_followedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7551,7 +7551,7 @@ function equals$m(existing, incoming) {
|
|
|
7551
7551
|
}
|
|
7552
7552
|
const ingest$m = function FollowedAssetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7553
7553
|
if (process.env.NODE_ENV !== 'production') {
|
|
7554
|
-
const validateError = validate$
|
|
7554
|
+
const validateError = validate$u(input);
|
|
7555
7555
|
if (validateError !== null) {
|
|
7556
7556
|
throw validateError;
|
|
7557
7557
|
}
|
|
@@ -7714,7 +7714,7 @@ const getFollowedAssetsAdapterFactory = (luvio) => function UnifiedAnalytics__ge
|
|
|
7714
7714
|
|
|
7715
7715
|
const TTL$b = 500;
|
|
7716
7716
|
const VERSION$l = "a4167cdb0a6477d9d7ddbe70da03f1b4";
|
|
7717
|
-
function validate$
|
|
7717
|
+
function validate$t(obj, path = 'UniqueFollowerCountRepresentation') {
|
|
7718
7718
|
const v_error = (() => {
|
|
7719
7719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7720
7720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7747,7 +7747,7 @@ function equals$l(existing, incoming) {
|
|
|
7747
7747
|
}
|
|
7748
7748
|
const ingest$l = function UniqueFollowerCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7749
7749
|
if (process.env.NODE_ENV !== 'production') {
|
|
7750
|
-
const validateError = validate$
|
|
7750
|
+
const validateError = validate$t(input);
|
|
7751
7751
|
if (validateError !== null) {
|
|
7752
7752
|
throw validateError;
|
|
7753
7753
|
}
|
|
@@ -7908,7 +7908,7 @@ const getUniqueFollowerCountAdapterFactory = (luvio) => function UnifiedAnalytic
|
|
|
7908
7908
|
|
|
7909
7909
|
const TTL$a = 1000;
|
|
7910
7910
|
const VERSION$k = "f2e0254a8e6b03f2289f318634389df3";
|
|
7911
|
-
function validate$
|
|
7911
|
+
function validate$s(obj, path = 'UnifiedAnalyticsLogLinesRepresentation') {
|
|
7912
7912
|
const v_error = (() => {
|
|
7913
7913
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7914
7914
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7960,7 +7960,7 @@ function equals$k(existing, incoming) {
|
|
|
7960
7960
|
}
|
|
7961
7961
|
const ingest$k = function UnifiedAnalyticsLogLinesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7962
7962
|
if (process.env.NODE_ENV !== 'production') {
|
|
7963
|
-
const validateError = validate$
|
|
7963
|
+
const validateError = validate$s(input);
|
|
7964
7964
|
if (validateError !== null) {
|
|
7965
7965
|
throw validateError;
|
|
7966
7966
|
}
|
|
@@ -8078,7 +8078,7 @@ const createLoglinesAdapterFactory = (luvio) => {
|
|
|
8078
8078
|
};
|
|
8079
8079
|
};
|
|
8080
8080
|
|
|
8081
|
-
function validate$
|
|
8081
|
+
function validate$r(obj, path = 'OrgRepresentation') {
|
|
8082
8082
|
const v_error = (() => {
|
|
8083
8083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8084
8084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8109,7 +8109,7 @@ function validate$q(obj, path = 'OrgRepresentation') {
|
|
|
8109
8109
|
|
|
8110
8110
|
const TTL$9 = 500;
|
|
8111
8111
|
const VERSION$j = "dba0af366d4e42611a2437d6eeb19b6e";
|
|
8112
|
-
function validate$
|
|
8112
|
+
function validate$q(obj, path = 'OrgCollectionRepresentation') {
|
|
8113
8113
|
const v_error = (() => {
|
|
8114
8114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8115
8115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8122,7 +8122,7 @@ function validate$p(obj, path = 'OrgCollectionRepresentation') {
|
|
|
8122
8122
|
for (let i = 0; i < obj_personalOrgs.length; i++) {
|
|
8123
8123
|
const obj_personalOrgs_item = obj_personalOrgs[i];
|
|
8124
8124
|
const path_personalOrgs_item = path_personalOrgs + '[' + i + ']';
|
|
8125
|
-
const referencepath_personalOrgs_itemValidationError = validate$
|
|
8125
|
+
const referencepath_personalOrgs_itemValidationError = validate$r(obj_personalOrgs_item, path_personalOrgs_item);
|
|
8126
8126
|
if (referencepath_personalOrgs_itemValidationError !== null) {
|
|
8127
8127
|
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_personalOrgs_item + '")\n';
|
|
8128
8128
|
message += referencepath_personalOrgs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8131,7 +8131,7 @@ function validate$p(obj, path = 'OrgCollectionRepresentation') {
|
|
|
8131
8131
|
}
|
|
8132
8132
|
const obj_productionOrg = obj.productionOrg;
|
|
8133
8133
|
const path_productionOrg = path + '.productionOrg';
|
|
8134
|
-
const referencepath_productionOrgValidationError = validate$
|
|
8134
|
+
const referencepath_productionOrgValidationError = validate$r(obj_productionOrg, path_productionOrg);
|
|
8135
8135
|
if (referencepath_productionOrgValidationError !== null) {
|
|
8136
8136
|
let message = 'Object doesn\'t match OrgRepresentation (at "' + path_productionOrg + '")\n';
|
|
8137
8137
|
message += referencepath_productionOrgValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8160,7 +8160,7 @@ function equals$j(existing, incoming) {
|
|
|
8160
8160
|
}
|
|
8161
8161
|
const ingest$j = function OrgCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8162
8162
|
if (process.env.NODE_ENV !== 'production') {
|
|
8163
|
-
const validateError = validate$
|
|
8163
|
+
const validateError = validate$q(input);
|
|
8164
8164
|
if (validateError !== null) {
|
|
8165
8165
|
throw validateError;
|
|
8166
8166
|
}
|
|
@@ -8315,6 +8315,40 @@ const getOrgAdapterFactory = (luvio) => function UnifiedAnalytics__getOrg(untrus
|
|
|
8315
8315
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
8316
8316
|
};
|
|
8317
8317
|
|
|
8318
|
+
function validate$p(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
|
|
8319
|
+
const v_error = (() => {
|
|
8320
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8321
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8322
|
+
}
|
|
8323
|
+
const obj_displayName = obj.displayName;
|
|
8324
|
+
const path_displayName = path + '.displayName';
|
|
8325
|
+
if (typeof obj_displayName !== 'string') {
|
|
8326
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
8327
|
+
}
|
|
8328
|
+
const obj_email = obj.email;
|
|
8329
|
+
const path_email = path + '.email';
|
|
8330
|
+
if (typeof obj_email !== 'string') {
|
|
8331
|
+
return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
|
|
8332
|
+
}
|
|
8333
|
+
const obj_id = obj.id;
|
|
8334
|
+
const path_id = path + '.id';
|
|
8335
|
+
if (typeof obj_id !== 'string') {
|
|
8336
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8337
|
+
}
|
|
8338
|
+
const obj_profilePhotoUrl = obj.profilePhotoUrl;
|
|
8339
|
+
const path_profilePhotoUrl = path + '.profilePhotoUrl';
|
|
8340
|
+
if (typeof obj_profilePhotoUrl !== 'string') {
|
|
8341
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
|
|
8342
|
+
}
|
|
8343
|
+
const obj_username = obj.username;
|
|
8344
|
+
const path_username = path + '.username';
|
|
8345
|
+
if (typeof obj_username !== 'string') {
|
|
8346
|
+
return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
|
|
8347
|
+
}
|
|
8348
|
+
})();
|
|
8349
|
+
return v_error === undefined ? null : v_error;
|
|
8350
|
+
}
|
|
8351
|
+
|
|
8318
8352
|
function validate$o(obj, path = 'SetupRecordAccessRepresentation') {
|
|
8319
8353
|
const v_error = (() => {
|
|
8320
8354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8330,6 +8364,19 @@ function validate$o(obj, path = 'SetupRecordAccessRepresentation') {
|
|
|
8330
8364
|
if (typeof obj_applicationDomain !== 'string') {
|
|
8331
8365
|
return new TypeError('Expected "string" but received "' + typeof obj_applicationDomain + '" (at "' + path_applicationDomain + '")');
|
|
8332
8366
|
}
|
|
8367
|
+
const obj_createdDate = obj.createdDate;
|
|
8368
|
+
const path_createdDate = path + '.createdDate';
|
|
8369
|
+
if (typeof obj_createdDate !== 'string') {
|
|
8370
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
8371
|
+
}
|
|
8372
|
+
const obj_userOrGroup = obj.userOrGroup;
|
|
8373
|
+
const path_userOrGroup = path + '.userOrGroup';
|
|
8374
|
+
const referencepath_userOrGroupValidationError = validate$p(obj_userOrGroup, path_userOrGroup);
|
|
8375
|
+
if (referencepath_userOrGroupValidationError !== null) {
|
|
8376
|
+
let message = 'Object doesn\'t match SetupRecordShareUserOrGroupRepresentation (at "' + path_userOrGroup + '")\n';
|
|
8377
|
+
message += referencepath_userOrGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8378
|
+
return new TypeError(message);
|
|
8379
|
+
}
|
|
8333
8380
|
const obj_userOrGroupId = obj.userOrGroupId;
|
|
8334
8381
|
const path_userOrGroupId = path + '.userOrGroupId';
|
|
8335
8382
|
if (typeof obj_userOrGroupId !== 'string') {
|
|
@@ -8566,6 +8613,8 @@ const getShares_ConfigPropertyMetadata = [
|
|
|
8566
8613
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8567
8614
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
8568
8615
|
generateParamConfigMetadata('userOrGroupId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8616
|
+
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8617
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8569
8618
|
];
|
|
8570
8619
|
const getShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getShares_ConfigPropertyMetadata);
|
|
8571
8620
|
const createResourceParams$s = /*#__PURE__*/ createResourceParams$Y(getShares_ConfigPropertyMetadata);
|
|
@@ -8690,7 +8739,7 @@ function validate$l(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
8690
8739
|
}
|
|
8691
8740
|
const obj_createdBy = obj.createdBy;
|
|
8692
8741
|
const path_createdBy = path + '.createdBy';
|
|
8693
|
-
const referencepath_createdByValidationError = validate$
|
|
8742
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
8694
8743
|
if (referencepath_createdByValidationError !== null) {
|
|
8695
8744
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
8696
8745
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8703,7 +8752,7 @@ function validate$l(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
8703
8752
|
}
|
|
8704
8753
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8705
8754
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8706
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8755
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8707
8756
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8708
8757
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8709
8758
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9576,7 +9625,7 @@ function validate$h(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
9576
9625
|
for (let i = 0; i < obj_items.length; i++) {
|
|
9577
9626
|
const obj_items_item = obj_items[i];
|
|
9578
9627
|
const path_items_item = path_items + '[' + i + ']';
|
|
9579
|
-
const referencepath_items_itemValidationError = validate$
|
|
9628
|
+
const referencepath_items_itemValidationError = validate$G(obj_items_item, path_items_item);
|
|
9580
9629
|
if (referencepath_items_itemValidationError !== null) {
|
|
9581
9630
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
9582
9631
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9689,11 +9738,11 @@ function createResourceRequest$m(config) {
|
|
|
9689
9738
|
|
|
9690
9739
|
const adapterName$m = 'queryUsers';
|
|
9691
9740
|
const queryUsers_ConfigPropertyMetadata = [
|
|
9692
|
-
generateParamConfigMetadata('searchTerm',
|
|
9693
|
-
generateParamConfigMetadata('userCapability',
|
|
9694
|
-
generateParamConfigMetadata('useAutoSuggest',
|
|
9695
|
-
generateParamConfigMetadata('limit',
|
|
9696
|
-
generateParamConfigMetadata('offset',
|
|
9741
|
+
generateParamConfigMetadata('searchTerm', false, 2 /* Body */, 0 /* String */),
|
|
9742
|
+
generateParamConfigMetadata('userCapability', false, 2 /* Body */, 0 /* String */),
|
|
9743
|
+
generateParamConfigMetadata('useAutoSuggest', false, 2 /* Body */, 1 /* Boolean */),
|
|
9744
|
+
generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
|
|
9745
|
+
generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
|
|
9697
9746
|
];
|
|
9698
9747
|
const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, queryUsers_ConfigPropertyMetadata);
|
|
9699
9748
|
const createResourceParams$m = /*#__PURE__*/ createResourceParams$Y(queryUsers_ConfigPropertyMetadata);
|
|
@@ -9752,7 +9801,7 @@ function validate$g(obj, path = 'VisualizationRepresentation') {
|
|
|
9752
9801
|
}
|
|
9753
9802
|
const obj_createdBy = obj.createdBy;
|
|
9754
9803
|
const path_createdBy = path + '.createdBy';
|
|
9755
|
-
const referencepath_createdByValidationError = validate$
|
|
9804
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
9756
9805
|
if (referencepath_createdByValidationError !== null) {
|
|
9757
9806
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
9758
9807
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9827,7 +9876,7 @@ function validate$g(obj, path = 'VisualizationRepresentation') {
|
|
|
9827
9876
|
if (obj.lastModifiedBy !== undefined) {
|
|
9828
9877
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9829
9878
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9830
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
9879
|
+
const referencepath_lastModifiedByValidationError = validate$G(obj_lastModifiedBy, path_lastModifiedBy);
|
|
9831
9880
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
9832
9881
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
9833
9882
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10989,7 +11038,7 @@ function validate$d(obj, path = 'WorkspaceRepresentation') {
|
|
|
10989
11038
|
}
|
|
10990
11039
|
const obj_createdBy = obj.createdBy;
|
|
10991
11040
|
const path_createdBy = path + '.createdBy';
|
|
10992
|
-
const referencepath_createdByValidationError = validate$
|
|
11041
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
10993
11042
|
if (referencepath_createdByValidationError !== null) {
|
|
10994
11043
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
10995
11044
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11749,7 +11798,7 @@ function validate$b(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
11749
11798
|
}
|
|
11750
11799
|
const obj_createdBy = obj.createdBy;
|
|
11751
11800
|
const path_createdBy = path + '.createdBy';
|
|
11752
|
-
const referencepath_createdByValidationError = validate$
|
|
11801
|
+
const referencepath_createdByValidationError = validate$G(obj_createdBy, path_createdBy);
|
|
11753
11802
|
if (referencepath_createdByValidationError !== null) {
|
|
11754
11803
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
11755
11804
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|