@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev16 → 1.332.0-dev17
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 +222 -81
- package/dist/es/es2018/types/src/generated/adapters/follow.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauFollowFollowersFollowsByFollowerId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/FollowInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/FollowedAssetRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/FollowedTimeRangeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FollowerAssetRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +220 -79
- package/src/raml/api.raml +23 -1
|
@@ -95,7 +95,7 @@ function createLink(ref) {
|
|
|
95
95
|
|
|
96
96
|
const TTL$m = 1000;
|
|
97
97
|
const VERSION$y = "3c943f1d2e5251ceef13b3e2fdb5f916";
|
|
98
|
-
function validate$
|
|
98
|
+
function validate$Y(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$y(existing, incoming) {
|
|
|
147
147
|
}
|
|
148
148
|
const ingest$y = function TableauExternalMonitoringEventItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
149
149
|
if (process.env.NODE_ENV !== 'production') {
|
|
150
|
-
const validateError = validate$
|
|
150
|
+
const validateError = validate$Y(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$X(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$W(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$W(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$V(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
298
298
|
return v_error === undefined ? null : v_error;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
function validate$
|
|
301
|
+
function validate$V(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$U(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
317
317
|
return v_error === undefined ? null : v_error;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
function validate$
|
|
320
|
+
function validate$U(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$T(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$V(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$T(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
401
401
|
return v_error === undefined ? null : v_error;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
function validate$
|
|
404
|
+
function validate$T(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$V(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$S(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$U(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$S(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
441
441
|
return v_error === undefined ? null : v_error;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
function validate$
|
|
444
|
+
function validate$S(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$R(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$T(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$R(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
550
550
|
return v_error === undefined ? null : v_error;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
function validate$
|
|
553
|
+
function validate$R(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$Q(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
674
674
|
return v_error === undefined ? null : v_error;
|
|
675
675
|
}
|
|
676
676
|
|
|
677
|
-
function validate$
|
|
677
|
+
function validate$Q(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$P(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$R(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$P(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
1064
1064
|
return v_error === undefined ? null : v_error;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
function validate$
|
|
1067
|
+
function validate$P(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$O(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$Q(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$O(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1233
1233
|
return v_error === undefined ? null : v_error;
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
function validate$
|
|
1236
|
+
function validate$O(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$N(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$S(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$N(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$P(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$N(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$Q(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$N(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$Q(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$N(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1627
1627
|
return v_error === undefined ? null : v_error;
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
|
-
function validate$
|
|
1630
|
+
function validate$N(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$M(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$O(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$M(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1689
1689
|
|
|
1690
1690
|
const TTL$l = 1000;
|
|
1691
1691
|
const VERSION$x = "bacc25da56cffff8126d9bdafc471a37";
|
|
1692
|
-
function validate$
|
|
1692
|
+
function validate$M(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$L(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$X(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$L(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$W(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$L(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$N(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$x(existing, incoming) {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
const ingest$x = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1769
1769
|
if (process.env.NODE_ENV !== 'production') {
|
|
1770
|
-
const validateError = validate$
|
|
1770
|
+
const validateError = validate$M(input);
|
|
1771
1771
|
if (validateError !== null) {
|
|
1772
1772
|
throw validateError;
|
|
1773
1773
|
}
|
|
@@ -1789,7 +1789,7 @@ function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1789
1789
|
|
|
1790
1790
|
const TTL$k = 1000;
|
|
1791
1791
|
const VERSION$w = "a80c8e970184cc7789e13f69392d6203";
|
|
1792
|
-
function validate$
|
|
1792
|
+
function validate$L(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$w(existing, incoming) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
const ingest$w = function AnnotationCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1875
1875
|
if (process.env.NODE_ENV !== 'production') {
|
|
1876
|
-
const validateError = validate$
|
|
1876
|
+
const validateError = validate$L(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$j = 5000;
|
|
2142
2142
|
const VERSION$v = "505a83d97fefa7ce68ec6512264b0543";
|
|
2143
|
-
function validate$
|
|
2143
|
+
function validate$K(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$v(existing, incoming) {
|
|
|
2249
2249
|
}
|
|
2250
2250
|
const ingest$v = function SlackAppInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2251
2251
|
if (process.env.NODE_ENV !== 'production') {
|
|
2252
|
-
const validateError = validate$
|
|
2252
|
+
const validateError = validate$K(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$m, buildNetworkSnapshotCachePolicy$m);
|
|
2405
2405
|
};
|
|
2406
2406
|
|
|
2407
|
-
function validate$
|
|
2407
|
+
function validate$J(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$I(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$I(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
2443
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$J(obj, path);
|
|
2444
2444
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2445
2445
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2446
2446
|
}
|
|
@@ -2452,8 +2452,8 @@ function validate$H(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
2452
2452
|
return v_error === undefined ? null : v_error;
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
|
-
function validate$
|
|
2456
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
2455
|
+
function validate$H(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
2456
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$J(obj, path);
|
|
2457
2457
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2458
2458
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2459
2459
|
}
|
|
@@ -2494,7 +2494,7 @@ function validate$G(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
|
|
|
2494
2494
|
const path_workspace = path + '.workspace';
|
|
2495
2495
|
let obj_workspace_union0 = null;
|
|
2496
2496
|
const obj_workspace_union0_error = (() => {
|
|
2497
|
-
const referencepath_workspaceValidationError = validate$
|
|
2497
|
+
const referencepath_workspaceValidationError = validate$I(obj_workspace, path_workspace);
|
|
2498
2498
|
if (referencepath_workspaceValidationError !== null) {
|
|
2499
2499
|
let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsWorkspaceRepresentation (at "' + path_workspace + '")\n';
|
|
2500
2500
|
message += referencepath_workspaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2526,7 +2526,7 @@ function validate$G(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
|
|
|
2526
2526
|
|
|
2527
2527
|
const TTL$i = 500;
|
|
2528
2528
|
const VERSION$u = "ed60d9cca169a3e5ed897c67d11a23db";
|
|
2529
|
-
function validate$
|
|
2529
|
+
function validate$G(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
|
|
2530
2530
|
const v_error = (() => {
|
|
2531
2531
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2532
2532
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2539,7 +2539,7 @@ function validate$F(obj, path = 'AnalyticsAssetsQueryResultsRepresentation') {
|
|
|
2539
2539
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2540
2540
|
const obj_items_item = obj_items[i];
|
|
2541
2541
|
const path_items_item = path_items + '[' + i + ']';
|
|
2542
|
-
const referencepath_items_itemValidationError = validate$
|
|
2542
|
+
const referencepath_items_itemValidationError = validate$H(obj_items_item, path_items_item);
|
|
2543
2543
|
if (referencepath_items_itemValidationError !== null) {
|
|
2544
2544
|
let message = 'Object doesn\'t match AnalyticsAssetsQueryResultsItemRepresentation (at "' + path_items_item + '")\n';
|
|
2545
2545
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2593,7 +2593,7 @@ function equals$u(existing, incoming) {
|
|
|
2593
2593
|
}
|
|
2594
2594
|
const ingest$u = function AnalyticsAssetsQueryResultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2595
2595
|
if (process.env.NODE_ENV !== 'production') {
|
|
2596
|
-
const validateError = validate$
|
|
2596
|
+
const validateError = validate$G(input);
|
|
2597
2597
|
if (validateError !== null) {
|
|
2598
2598
|
throw validateError;
|
|
2599
2599
|
}
|
|
@@ -2724,7 +2724,7 @@ const queryAssetsAdapterFactory = (luvio) => {
|
|
|
2724
2724
|
};
|
|
2725
2725
|
|
|
2726
2726
|
const VERSION$t = "948ac50067b64bee8680b553b1e19a09";
|
|
2727
|
-
function validate$
|
|
2727
|
+
function validate$F(obj, path = 'DashboardRepresentation') {
|
|
2728
2728
|
const v_error = (() => {
|
|
2729
2729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2730
2730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2861,7 +2861,7 @@ function equals$t(existing, incoming) {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
const ingest$t = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2863
2863
|
if (process.env.NODE_ENV !== 'production') {
|
|
2864
|
-
const validateError = validate$
|
|
2864
|
+
const validateError = validate$F(input);
|
|
2865
2865
|
if (validateError !== null) {
|
|
2866
2866
|
throw validateError;
|
|
2867
2867
|
}
|
|
@@ -2882,7 +2882,7 @@ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2882
2882
|
}
|
|
2883
2883
|
|
|
2884
2884
|
const VERSION$s = "962823130e6a9315240ef0e0f0c5f757";
|
|
2885
|
-
function validate$
|
|
2885
|
+
function validate$E(obj, path = 'DashboardCollectionRepresentation') {
|
|
2886
2886
|
const v_error = (() => {
|
|
2887
2887
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2888
2888
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2952,7 +2952,7 @@ function equals$s(existing, incoming) {
|
|
|
2952
2952
|
}
|
|
2953
2953
|
const ingest$s = function DashboardCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2954
2954
|
if (process.env.NODE_ENV !== 'production') {
|
|
2955
|
-
const validateError = validate$
|
|
2955
|
+
const validateError = validate$E(input);
|
|
2956
2956
|
if (validateError !== null) {
|
|
2957
2957
|
throw validateError;
|
|
2958
2958
|
}
|
|
@@ -3600,8 +3600,8 @@ const updateDashboardAdapterFactory = (luvio) => {
|
|
|
3600
3600
|
};
|
|
3601
3601
|
};
|
|
3602
3602
|
|
|
3603
|
-
function validate$
|
|
3604
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
3603
|
+
function validate$D(obj, path = 'AnalyticsUserRepresentation') {
|
|
3604
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$J(obj, path);
|
|
3605
3605
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
3606
3606
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
3607
3607
|
}
|
|
@@ -3642,8 +3642,8 @@ function validate$C(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
3644
3644
|
const TTL$h = 500;
|
|
3645
|
-
const VERSION$r = "
|
|
3646
|
-
function validate$
|
|
3645
|
+
const VERSION$r = "6e1c96752ff32573835ff880edbeaac0";
|
|
3646
|
+
function validate$C(obj, path = 'DataAssetRequestRepresentation') {
|
|
3647
3647
|
const v_error = (() => {
|
|
3648
3648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3649
3649
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3652,7 +3652,7 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3652
3652
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
3653
3653
|
let obj_acknowledgedBy_union0 = null;
|
|
3654
3654
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
3655
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
3655
|
+
const referencepath_acknowledgedByValidationError = validate$D(obj_acknowledgedBy, path_acknowledgedBy);
|
|
3656
3656
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
3657
3657
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
3658
3658
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3738,7 +3738,7 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3738
3738
|
const path_cancelledBy = path + '.cancelledBy';
|
|
3739
3739
|
let obj_cancelledBy_union0 = null;
|
|
3740
3740
|
const obj_cancelledBy_union0_error = (() => {
|
|
3741
|
-
const referencepath_cancelledByValidationError = validate$
|
|
3741
|
+
const referencepath_cancelledByValidationError = validate$D(obj_cancelledBy, path_cancelledBy);
|
|
3742
3742
|
if (referencepath_cancelledByValidationError !== null) {
|
|
3743
3743
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
3744
3744
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3793,7 +3793,7 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3793
3793
|
const path_completedBy = path + '.completedBy';
|
|
3794
3794
|
let obj_completedBy_union0 = null;
|
|
3795
3795
|
const obj_completedBy_union0_error = (() => {
|
|
3796
|
-
const referencepath_completedByValidationError = validate$
|
|
3796
|
+
const referencepath_completedByValidationError = validate$D(obj_completedBy, path_completedBy);
|
|
3797
3797
|
if (referencepath_completedByValidationError !== null) {
|
|
3798
3798
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3799
3799
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3908,7 +3908,7 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3908
3908
|
}
|
|
3909
3909
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3910
3910
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3911
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3911
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3912
3912
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3913
3913
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3914
3914
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4108,7 +4108,7 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
4108
4108
|
}
|
|
4109
4109
|
const obj_requestedBy = obj.requestedBy;
|
|
4110
4110
|
const path_requestedBy = path + '.requestedBy';
|
|
4111
|
-
const referencepath_requestedByValidationError = validate$
|
|
4111
|
+
const referencepath_requestedByValidationError = validate$D(obj_requestedBy, path_requestedBy);
|
|
4112
4112
|
if (referencepath_requestedByValidationError !== null) {
|
|
4113
4113
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
4114
4114
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4183,8 +4183,29 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
4183
4183
|
}
|
|
4184
4184
|
const obj_workspaceAssetId = obj.workspaceAssetId;
|
|
4185
4185
|
const path_workspaceAssetId = path + '.workspaceAssetId';
|
|
4186
|
-
|
|
4187
|
-
|
|
4186
|
+
let obj_workspaceAssetId_union0 = null;
|
|
4187
|
+
const obj_workspaceAssetId_union0_error = (() => {
|
|
4188
|
+
if (typeof obj_workspaceAssetId !== 'string') {
|
|
4189
|
+
return new TypeError('Expected "string" but received "' + typeof obj_workspaceAssetId + '" (at "' + path_workspaceAssetId + '")');
|
|
4190
|
+
}
|
|
4191
|
+
})();
|
|
4192
|
+
if (obj_workspaceAssetId_union0_error != null) {
|
|
4193
|
+
obj_workspaceAssetId_union0 = obj_workspaceAssetId_union0_error.message;
|
|
4194
|
+
}
|
|
4195
|
+
let obj_workspaceAssetId_union1 = null;
|
|
4196
|
+
const obj_workspaceAssetId_union1_error = (() => {
|
|
4197
|
+
if (obj_workspaceAssetId !== null) {
|
|
4198
|
+
return new TypeError('Expected "null" but received "' + typeof obj_workspaceAssetId + '" (at "' + path_workspaceAssetId + '")');
|
|
4199
|
+
}
|
|
4200
|
+
})();
|
|
4201
|
+
if (obj_workspaceAssetId_union1_error != null) {
|
|
4202
|
+
obj_workspaceAssetId_union1 = obj_workspaceAssetId_union1_error.message;
|
|
4203
|
+
}
|
|
4204
|
+
if (obj_workspaceAssetId_union0 && obj_workspaceAssetId_union1) {
|
|
4205
|
+
let message = 'Object doesn\'t match union (at "' + path_workspaceAssetId + '")';
|
|
4206
|
+
message += '\n' + obj_workspaceAssetId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4207
|
+
message += '\n' + obj_workspaceAssetId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4208
|
+
return new TypeError(message);
|
|
4188
4209
|
}
|
|
4189
4210
|
})();
|
|
4190
4211
|
return v_error === undefined ? null : v_error;
|
|
@@ -4218,7 +4239,7 @@ function equals$r(existing, incoming) {
|
|
|
4218
4239
|
}
|
|
4219
4240
|
const ingest$r = function DataAssetRequestRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4220
4241
|
if (process.env.NODE_ENV !== 'production') {
|
|
4221
|
-
const validateError = validate$
|
|
4242
|
+
const validateError = validate$C(input);
|
|
4222
4243
|
if (validateError !== null) {
|
|
4223
4244
|
throw validateError;
|
|
4224
4245
|
}
|
|
@@ -4240,7 +4261,7 @@ function getTypeCacheKeys$r(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4240
4261
|
|
|
4241
4262
|
const TTL$g = 500;
|
|
4242
4263
|
const VERSION$q = "b130e3ebdd5cd1a5007c21dad3bfa38a";
|
|
4243
|
-
function validate$
|
|
4264
|
+
function validate$B(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
4244
4265
|
const v_error = (() => {
|
|
4245
4266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4246
4267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4253,7 +4274,7 @@ function validate$A(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
|
4253
4274
|
for (let i = 0; i < obj_dataAssetRequests.length; i++) {
|
|
4254
4275
|
const obj_dataAssetRequests_item = obj_dataAssetRequests[i];
|
|
4255
4276
|
const path_dataAssetRequests_item = path_dataAssetRequests + '[' + i + ']';
|
|
4256
|
-
const referencepath_dataAssetRequests_itemValidationError = validate$
|
|
4277
|
+
const referencepath_dataAssetRequests_itemValidationError = validate$C(obj_dataAssetRequests_item, path_dataAssetRequests_item);
|
|
4257
4278
|
if (referencepath_dataAssetRequests_itemValidationError !== null) {
|
|
4258
4279
|
let message = 'Object doesn\'t match DataAssetRequestRepresentation (at "' + path_dataAssetRequests_item + '")\n';
|
|
4259
4280
|
message += referencepath_dataAssetRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4283,7 +4304,7 @@ function equals$q(existing, incoming) {
|
|
|
4283
4304
|
}
|
|
4284
4305
|
const ingest$q = function DataAssetRequestCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4285
4306
|
if (process.env.NODE_ENV !== 'production') {
|
|
4286
|
-
const validateError = validate$
|
|
4307
|
+
const validateError = validate$B(input);
|
|
4287
4308
|
if (validateError !== null) {
|
|
4288
4309
|
throw validateError;
|
|
4289
4310
|
}
|
|
@@ -4552,7 +4573,7 @@ const createDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
4552
4573
|
|
|
4553
4574
|
const TTL$f = 500;
|
|
4554
4575
|
const VERSION$p = "e424b55efdacaf049d687461eddd10cc";
|
|
4555
|
-
function validate$
|
|
4576
|
+
function validate$A(obj, path = 'DataAssetRequestCountRepresentation') {
|
|
4556
4577
|
const v_error = (() => {
|
|
4557
4578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4558
4579
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4585,7 +4606,7 @@ function equals$p(existing, incoming) {
|
|
|
4585
4606
|
}
|
|
4586
4607
|
const ingest$p = function DataAssetRequestCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4587
4608
|
if (process.env.NODE_ENV !== 'production') {
|
|
4588
|
-
const validateError = validate$
|
|
4609
|
+
const validateError = validate$A(input);
|
|
4589
4610
|
if (validateError !== null) {
|
|
4590
4611
|
throw validateError;
|
|
4591
4612
|
}
|
|
@@ -4989,7 +5010,7 @@ const updateDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
4989
5010
|
};
|
|
4990
5011
|
};
|
|
4991
5012
|
|
|
4992
|
-
function validate$
|
|
5013
|
+
function validate$z(obj, path = 'DataAssetRepresentation') {
|
|
4993
5014
|
const v_error = (() => {
|
|
4994
5015
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4995
5016
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5006,7 +5027,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
5006
5027
|
}
|
|
5007
5028
|
const obj_createdBy = obj.createdBy;
|
|
5008
5029
|
const path_createdBy = path + '.createdBy';
|
|
5009
|
-
const referencepath_createdByValidationError = validate$
|
|
5030
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
5010
5031
|
if (referencepath_createdByValidationError !== null) {
|
|
5011
5032
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5012
5033
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5040,7 +5061,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
5040
5061
|
}
|
|
5041
5062
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5042
5063
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5043
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5064
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5044
5065
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5045
5066
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5046
5067
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5067,14 +5088,14 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
5067
5088
|
return v_error === undefined ? null : v_error;
|
|
5068
5089
|
}
|
|
5069
5090
|
|
|
5070
|
-
function validate$
|
|
5091
|
+
function validate$y(obj, path = 'DataAssetDependentRepresentation') {
|
|
5071
5092
|
const v_error = (() => {
|
|
5072
5093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5073
5094
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5074
5095
|
}
|
|
5075
5096
|
const obj_dataAsset = obj.dataAsset;
|
|
5076
5097
|
const path_dataAsset = path + '.dataAsset';
|
|
5077
|
-
const referencepath_dataAssetValidationError = validate$
|
|
5098
|
+
const referencepath_dataAssetValidationError = validate$z(obj_dataAsset, path_dataAsset);
|
|
5078
5099
|
if (referencepath_dataAssetValidationError !== null) {
|
|
5079
5100
|
let message = 'Object doesn\'t match DataAssetRepresentation (at "' + path_dataAsset + '")\n';
|
|
5080
5101
|
message += referencepath_dataAssetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5086,7 +5107,7 @@ function validate$x(obj, path = 'DataAssetDependentRepresentation') {
|
|
|
5086
5107
|
|
|
5087
5108
|
const TTL$e = 500;
|
|
5088
5109
|
const VERSION$o = "bc1bcd1c96c7c70c3cde837dafdafaba";
|
|
5089
|
-
function validate$
|
|
5110
|
+
function validate$x(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
5090
5111
|
const v_error = (() => {
|
|
5091
5112
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5092
5113
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5099,7 +5120,7 @@ function validate$w(obj, path = 'DataAssetDependentCollectionRepresentation') {
|
|
|
5099
5120
|
for (let i = 0; i < obj_dependentDataAssets.length; i++) {
|
|
5100
5121
|
const obj_dependentDataAssets_item = obj_dependentDataAssets[i];
|
|
5101
5122
|
const path_dependentDataAssets_item = path_dependentDataAssets + '[' + i + ']';
|
|
5102
|
-
const referencepath_dependentDataAssets_itemValidationError = validate$
|
|
5123
|
+
const referencepath_dependentDataAssets_itemValidationError = validate$y(obj_dependentDataAssets_item, path_dependentDataAssets_item);
|
|
5103
5124
|
if (referencepath_dependentDataAssets_itemValidationError !== null) {
|
|
5104
5125
|
let message = 'Object doesn\'t match DataAssetDependentRepresentation (at "' + path_dependentDataAssets_item + '")\n';
|
|
5105
5126
|
message += referencepath_dependentDataAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5129,7 +5150,7 @@ function equals$o(existing, incoming) {
|
|
|
5129
5150
|
}
|
|
5130
5151
|
const ingest$o = function DataAssetDependentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5131
5152
|
if (process.env.NODE_ENV !== 'production') {
|
|
5132
|
-
const validateError = validate$
|
|
5153
|
+
const validateError = validate$x(input);
|
|
5133
5154
|
if (validateError !== null) {
|
|
5134
5155
|
throw validateError;
|
|
5135
5156
|
}
|
|
@@ -5287,8 +5308,60 @@ const getDataAssetDependenciesAdapterFactory = (luvio) => function UnifiedAnalyt
|
|
|
5287
5308
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
5288
5309
|
};
|
|
5289
5310
|
|
|
5311
|
+
function validate$w(obj, path = 'FollowedTimeRangeRepresentation') {
|
|
5312
|
+
const v_error = (() => {
|
|
5313
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5314
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5315
|
+
}
|
|
5316
|
+
const obj_fieldName = obj.fieldName;
|
|
5317
|
+
const path_fieldName = path + '.fieldName';
|
|
5318
|
+
if (typeof obj_fieldName !== 'string') {
|
|
5319
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
|
|
5320
|
+
}
|
|
5321
|
+
const obj_operator = obj.operator;
|
|
5322
|
+
const path_operator = path + '.operator';
|
|
5323
|
+
if (typeof obj_operator !== 'string') {
|
|
5324
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
5325
|
+
}
|
|
5326
|
+
const obj_values = obj.values;
|
|
5327
|
+
const path_values = path + '.values';
|
|
5328
|
+
if (!ArrayIsArray(obj_values)) {
|
|
5329
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
5330
|
+
}
|
|
5331
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
5332
|
+
const obj_values_item = obj_values[i];
|
|
5333
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
5334
|
+
let obj_values_item_union0 = null;
|
|
5335
|
+
const obj_values_item_union0_error = (() => {
|
|
5336
|
+
if (typeof obj_values_item !== 'string') {
|
|
5337
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
5338
|
+
}
|
|
5339
|
+
})();
|
|
5340
|
+
if (obj_values_item_union0_error != null) {
|
|
5341
|
+
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
5342
|
+
}
|
|
5343
|
+
let obj_values_item_union1 = null;
|
|
5344
|
+
const obj_values_item_union1_error = (() => {
|
|
5345
|
+
if (typeof obj_values_item !== 'number') {
|
|
5346
|
+
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
5347
|
+
}
|
|
5348
|
+
})();
|
|
5349
|
+
if (obj_values_item_union1_error != null) {
|
|
5350
|
+
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
5351
|
+
}
|
|
5352
|
+
if (obj_values_item_union0 && obj_values_item_union1) {
|
|
5353
|
+
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
5354
|
+
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5355
|
+
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5356
|
+
return new TypeError(message);
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
})();
|
|
5360
|
+
return v_error === undefined ? null : v_error;
|
|
5361
|
+
}
|
|
5362
|
+
|
|
5290
5363
|
const TTL$d = 500;
|
|
5291
|
-
const VERSION$n = "
|
|
5364
|
+
const VERSION$n = "c3bc904365300b26d1f104c9bc055527";
|
|
5292
5365
|
function validate$v(obj, path = 'FollowerAssetRepresentation') {
|
|
5293
5366
|
const v_error = (() => {
|
|
5294
5367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5296,7 +5369,7 @@ function validate$v(obj, path = 'FollowerAssetRepresentation') {
|
|
|
5296
5369
|
}
|
|
5297
5370
|
const obj_createdBy = obj.createdBy;
|
|
5298
5371
|
const path_createdBy = path + '.createdBy';
|
|
5299
|
-
const referencepath_createdByValidationError = validate$
|
|
5372
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
5300
5373
|
if (referencepath_createdByValidationError !== null) {
|
|
5301
5374
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5302
5375
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5317,6 +5390,37 @@ function validate$v(obj, path = 'FollowerAssetRepresentation') {
|
|
|
5317
5390
|
if (typeof obj_followedAssetType !== 'string') {
|
|
5318
5391
|
return new TypeError('Expected "string" but received "' + typeof obj_followedAssetType + '" (at "' + path_followedAssetType + '")');
|
|
5319
5392
|
}
|
|
5393
|
+
if (obj.followedTimeRange !== undefined) {
|
|
5394
|
+
const obj_followedTimeRange = obj.followedTimeRange;
|
|
5395
|
+
const path_followedTimeRange = path + '.followedTimeRange';
|
|
5396
|
+
let obj_followedTimeRange_union0 = null;
|
|
5397
|
+
const obj_followedTimeRange_union0_error = (() => {
|
|
5398
|
+
const referencepath_followedTimeRangeValidationError = validate$w(obj_followedTimeRange, path_followedTimeRange);
|
|
5399
|
+
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
5400
|
+
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
5401
|
+
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5402
|
+
return new TypeError(message);
|
|
5403
|
+
}
|
|
5404
|
+
})();
|
|
5405
|
+
if (obj_followedTimeRange_union0_error != null) {
|
|
5406
|
+
obj_followedTimeRange_union0 = obj_followedTimeRange_union0_error.message;
|
|
5407
|
+
}
|
|
5408
|
+
let obj_followedTimeRange_union1 = null;
|
|
5409
|
+
const obj_followedTimeRange_union1_error = (() => {
|
|
5410
|
+
if (obj_followedTimeRange !== null) {
|
|
5411
|
+
return new TypeError('Expected "null" but received "' + typeof obj_followedTimeRange + '" (at "' + path_followedTimeRange + '")');
|
|
5412
|
+
}
|
|
5413
|
+
})();
|
|
5414
|
+
if (obj_followedTimeRange_union1_error != null) {
|
|
5415
|
+
obj_followedTimeRange_union1 = obj_followedTimeRange_union1_error.message;
|
|
5416
|
+
}
|
|
5417
|
+
if (obj_followedTimeRange_union0 && obj_followedTimeRange_union1) {
|
|
5418
|
+
let message = 'Object doesn\'t match union (at "' + path_followedTimeRange + '")';
|
|
5419
|
+
message += '\n' + obj_followedTimeRange_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5420
|
+
message += '\n' + obj_followedTimeRange_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5421
|
+
return new TypeError(message);
|
|
5422
|
+
}
|
|
5423
|
+
}
|
|
5320
5424
|
const obj_followerId = obj.followerId;
|
|
5321
5425
|
const path_followerId = path + '.followerId';
|
|
5322
5426
|
if (typeof obj_followerId !== 'string') {
|
|
@@ -5422,12 +5526,18 @@ const follow_ConfigPropertyMetadata = [
|
|
|
5422
5526
|
generateParamConfigMetadata('assetId', true, 2 /* Body */, 0 /* String */),
|
|
5423
5527
|
generateParamConfigMetadata('assetType', true, 2 /* Body */, 0 /* String */),
|
|
5424
5528
|
generateParamConfigMetadata('followerType', true, 2 /* Body */, 0 /* String */),
|
|
5529
|
+
generateParamConfigMetadata('followedTimeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5425
5530
|
];
|
|
5426
5531
|
const follow_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, follow_ConfigPropertyMetadata);
|
|
5427
5532
|
const createResourceParams$z = /*#__PURE__*/ createResourceParams$Q(follow_ConfigPropertyMetadata);
|
|
5428
5533
|
function typeCheckConfig$z(untrustedConfig) {
|
|
5429
5534
|
const config = {};
|
|
5430
5535
|
typeCheckConfig$Q(untrustedConfig, config, follow_ConfigPropertyMetadata);
|
|
5536
|
+
const untrustedConfig_followedTimeRange = untrustedConfig.followedTimeRange;
|
|
5537
|
+
const referenceFollowedTimeRangeRepresentationValidationError = validate$w(untrustedConfig_followedTimeRange);
|
|
5538
|
+
if (referenceFollowedTimeRangeRepresentationValidationError === null) {
|
|
5539
|
+
config.followedTimeRange = untrustedConfig_followedTimeRange;
|
|
5540
|
+
}
|
|
5431
5541
|
return config;
|
|
5432
5542
|
}
|
|
5433
5543
|
function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
@@ -5499,6 +5609,37 @@ function validate$u(obj, path = 'FollowedAssetRepresentation') {
|
|
|
5499
5609
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5500
5610
|
}
|
|
5501
5611
|
}
|
|
5612
|
+
if (obj.followedTimeRange !== undefined) {
|
|
5613
|
+
const obj_followedTimeRange = obj.followedTimeRange;
|
|
5614
|
+
const path_followedTimeRange = path + '.followedTimeRange';
|
|
5615
|
+
let obj_followedTimeRange_union0 = null;
|
|
5616
|
+
const obj_followedTimeRange_union0_error = (() => {
|
|
5617
|
+
const referencepath_followedTimeRangeValidationError = validate$w(obj_followedTimeRange, path_followedTimeRange);
|
|
5618
|
+
if (referencepath_followedTimeRangeValidationError !== null) {
|
|
5619
|
+
let message = 'Object doesn\'t match FollowedTimeRangeRepresentation (at "' + path_followedTimeRange + '")\n';
|
|
5620
|
+
message += referencepath_followedTimeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5621
|
+
return new TypeError(message);
|
|
5622
|
+
}
|
|
5623
|
+
})();
|
|
5624
|
+
if (obj_followedTimeRange_union0_error != null) {
|
|
5625
|
+
obj_followedTimeRange_union0 = obj_followedTimeRange_union0_error.message;
|
|
5626
|
+
}
|
|
5627
|
+
let obj_followedTimeRange_union1 = null;
|
|
5628
|
+
const obj_followedTimeRange_union1_error = (() => {
|
|
5629
|
+
if (obj_followedTimeRange !== null) {
|
|
5630
|
+
return new TypeError('Expected "null" but received "' + typeof obj_followedTimeRange + '" (at "' + path_followedTimeRange + '")');
|
|
5631
|
+
}
|
|
5632
|
+
})();
|
|
5633
|
+
if (obj_followedTimeRange_union1_error != null) {
|
|
5634
|
+
obj_followedTimeRange_union1 = obj_followedTimeRange_union1_error.message;
|
|
5635
|
+
}
|
|
5636
|
+
if (obj_followedTimeRange_union0 && obj_followedTimeRange_union1) {
|
|
5637
|
+
let message = 'Object doesn\'t match union (at "' + path_followedTimeRange + '")';
|
|
5638
|
+
message += '\n' + obj_followedTimeRange_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5639
|
+
message += '\n' + obj_followedTimeRange_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5640
|
+
return new TypeError(message);
|
|
5641
|
+
}
|
|
5642
|
+
}
|
|
5502
5643
|
const obj_id = obj.id;
|
|
5503
5644
|
const path_id = path + '.id';
|
|
5504
5645
|
if (typeof obj_id !== 'string') {
|
|
@@ -5636,7 +5777,7 @@ function validate$t(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
5636
5777
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
5637
5778
|
const obj_followers_item = obj_followers[i];
|
|
5638
5779
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
5639
|
-
const referencepath_followers_itemValidationError = validate$
|
|
5780
|
+
const referencepath_followers_itemValidationError = validate$D(obj_followers_item, path_followers_item);
|
|
5640
5781
|
if (referencepath_followers_itemValidationError !== null) {
|
|
5641
5782
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
5642
5783
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7012,7 +7153,7 @@ function validate$k(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
7012
7153
|
}
|
|
7013
7154
|
const obj_createdBy = obj.createdBy;
|
|
7014
7155
|
const path_createdBy = path + '.createdBy';
|
|
7015
|
-
const referencepath_createdByValidationError = validate$
|
|
7156
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
7016
7157
|
if (referencepath_createdByValidationError !== null) {
|
|
7017
7158
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
7018
7159
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7025,7 +7166,7 @@ function validate$k(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
7025
7166
|
}
|
|
7026
7167
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
7027
7168
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
7028
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
7169
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
7029
7170
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
7030
7171
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
7031
7172
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7898,7 +8039,7 @@ function validate$g(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
7898
8039
|
for (let i = 0; i < obj_items.length; i++) {
|
|
7899
8040
|
const obj_items_item = obj_items[i];
|
|
7900
8041
|
const path_items_item = path_items + '[' + i + ']';
|
|
7901
|
-
const referencepath_items_itemValidationError = validate$
|
|
8042
|
+
const referencepath_items_itemValidationError = validate$D(obj_items_item, path_items_item);
|
|
7902
8043
|
if (referencepath_items_itemValidationError !== null) {
|
|
7903
8044
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
7904
8045
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8074,7 +8215,7 @@ function validate$f(obj, path = 'VisualizationRepresentation') {
|
|
|
8074
8215
|
}
|
|
8075
8216
|
const obj_createdBy = obj.createdBy;
|
|
8076
8217
|
const path_createdBy = path + '.createdBy';
|
|
8077
|
-
const referencepath_createdByValidationError = validate$
|
|
8218
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
8078
8219
|
if (referencepath_createdByValidationError !== null) {
|
|
8079
8220
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
8080
8221
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8149,7 +8290,7 @@ function validate$f(obj, path = 'VisualizationRepresentation') {
|
|
|
8149
8290
|
if (obj.lastModifiedBy !== undefined) {
|
|
8150
8291
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8151
8292
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8152
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8293
|
+
const referencepath_lastModifiedByValidationError = validate$D(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8153
8294
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8154
8295
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8155
8296
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9306,7 +9447,7 @@ function validate$c(obj, path = 'WorkspaceRepresentation') {
|
|
|
9306
9447
|
}
|
|
9307
9448
|
const obj_createdBy = obj.createdBy;
|
|
9308
9449
|
const path_createdBy = path + '.createdBy';
|
|
9309
|
-
const referencepath_createdByValidationError = validate$
|
|
9450
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
9310
9451
|
if (referencepath_createdByValidationError !== null) {
|
|
9311
9452
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
9312
9453
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10066,7 +10207,7 @@ function validate$a(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
10066
10207
|
}
|
|
10067
10208
|
const obj_createdBy = obj.createdBy;
|
|
10068
10209
|
const path_createdBy = path + '.createdBy';
|
|
10069
|
-
const referencepath_createdByValidationError = validate$
|
|
10210
|
+
const referencepath_createdByValidationError = validate$D(obj_createdBy, path_createdBy);
|
|
10070
10211
|
if (referencepath_createdByValidationError !== null) {
|
|
10071
10212
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
10072
10213
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|