@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev13 → 1.354.0-dev15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/analytics-unifiedanalytics.js +198 -149
- package/dist/es/es2018/types/src/generated/adapters/getShares.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/queryUsers.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/resources/getTableauRecordsSharesByRecordId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauUsersQuery.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/AnalyticsUsersQueryInputRepresentation.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/SetupRecordAccessRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/SetupRecordShareUserOrGroupRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +165 -116
- package/src/raml/api.raml +44 -0
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1h(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -117,7 +117,7 @@ function validate$1g(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1g(obj, path = 'AnnotationAssetRepresentation') {
|
|
121
121
|
const v_error = (() => {
|
|
122
122
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
123
123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -136,7 +136,7 @@ function validate$1f(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1f(obj, path = 'FileTypeOutputRepresentation') {
|
|
140
140
|
const v_error = (() => {
|
|
141
141
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
142
142
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -155,7 +155,7 @@ function validate$1e(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1e(obj, path = 'ContentVersionOutputRepresentation') {
|
|
159
159
|
const v_error = (() => {
|
|
160
160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
161
161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -169,7 +169,7 @@ function validate$1d(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
169
169
|
const path_filetype = path + '.filetype';
|
|
170
170
|
let obj_filetype_union0 = null;
|
|
171
171
|
const obj_filetype_union0_error = (() => {
|
|
172
|
-
const referencepath_filetypeValidationError = validate$
|
|
172
|
+
const referencepath_filetypeValidationError = validate$1f(obj_filetype, path_filetype);
|
|
173
173
|
if (referencepath_filetypeValidationError !== null) {
|
|
174
174
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
175
175
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -239,14 +239,14 @@ function validate$1d(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1d(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
243
243
|
const v_error = (() => {
|
|
244
244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
245
245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
246
246
|
}
|
|
247
247
|
const obj_filetype = obj.filetype;
|
|
248
248
|
const path_filetype = path + '.filetype';
|
|
249
|
-
const referencepath_filetypeValidationError = validate$
|
|
249
|
+
const referencepath_filetypeValidationError = validate$1f(obj_filetype, path_filetype);
|
|
250
250
|
if (referencepath_filetypeValidationError !== null) {
|
|
251
251
|
let message = 'Object doesn\'t match FileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
252
252
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -259,7 +259,7 @@ function validate$1c(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
259
259
|
}
|
|
260
260
|
const obj_latestPublishedVersion = obj.latestPublishedVersion;
|
|
261
261
|
const path_latestPublishedVersion = path + '.latestPublishedVersion';
|
|
262
|
-
const referencepath_latestPublishedVersionValidationError = validate$
|
|
262
|
+
const referencepath_latestPublishedVersionValidationError = validate$1e(obj_latestPublishedVersion, path_latestPublishedVersion);
|
|
263
263
|
if (referencepath_latestPublishedVersionValidationError !== null) {
|
|
264
264
|
let message = 'Object doesn\'t match ContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
|
|
265
265
|
message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -279,7 +279,7 @@ function validate$1c(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1c(obj, path = 'SlackFileOutputRepresentation') {
|
|
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 + '")');
|
|
@@ -288,7 +288,7 @@ function validate$1b(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
288
288
|
const path_contentDocument = path + '.contentDocument';
|
|
289
289
|
let obj_contentDocument_union0 = null;
|
|
290
290
|
const obj_contentDocument_union0_error = (() => {
|
|
291
|
-
const referencepath_contentDocumentValidationError = validate$
|
|
291
|
+
const referencepath_contentDocumentValidationError = validate$1d(obj_contentDocument, path_contentDocument);
|
|
292
292
|
if (referencepath_contentDocumentValidationError !== null) {
|
|
293
293
|
let message = 'Object doesn\'t match ContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
|
|
294
294
|
message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -388,7 +388,7 @@ function validate$1b(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1b(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
392
392
|
const v_error = (() => {
|
|
393
393
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
394
394
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -512,7 +512,7 @@ function validate$1a(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1a(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
516
516
|
const v_error = (() => {
|
|
517
517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
518
518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -839,7 +839,7 @@ function validate$19(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
839
839
|
const path_statusEmoji = path + '.statusEmoji';
|
|
840
840
|
let obj_statusEmoji_union0 = null;
|
|
841
841
|
const obj_statusEmoji_union0_error = (() => {
|
|
842
|
-
const referencepath_statusEmojiValidationError = validate$
|
|
842
|
+
const referencepath_statusEmojiValidationError = validate$1b(obj_statusEmoji, path_statusEmoji);
|
|
843
843
|
if (referencepath_statusEmojiValidationError !== null) {
|
|
844
844
|
let message = 'Object doesn\'t match SlackEmojiOutputRepresentation (at "' + path_statusEmoji + '")\n';
|
|
845
845
|
message += referencepath_statusEmojiValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -902,7 +902,7 @@ function validate$19(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$19(obj, path = 'SlackReactionOutputRepresentation') {
|
|
906
906
|
const v_error = (() => {
|
|
907
907
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
908
908
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -982,7 +982,7 @@ function validate$18(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
982
982
|
for (let i = 0; i < obj_reactedUsers.length; i++) {
|
|
983
983
|
const obj_reactedUsers_item = obj_reactedUsers[i];
|
|
984
984
|
const path_reactedUsers_item = path_reactedUsers + '[' + i + ']';
|
|
985
|
-
const referencepath_reactedUsers_itemValidationError = validate$
|
|
985
|
+
const referencepath_reactedUsers_itemValidationError = validate$1a(obj_reactedUsers_item, path_reactedUsers_item);
|
|
986
986
|
if (referencepath_reactedUsers_itemValidationError !== null) {
|
|
987
987
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_reactedUsers_item + '")\n';
|
|
988
988
|
message += referencepath_reactedUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1071,7 +1071,7 @@ function validate$18(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$18(obj, path = 'SlackMessageOutputRepresentation') {
|
|
1075
1075
|
const v_error = (() => {
|
|
1076
1076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1077
1077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1120,7 @@ function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1120
1120
|
for (let i = 0; i < obj_files.length; i++) {
|
|
1121
1121
|
const obj_files_item = obj_files[i];
|
|
1122
1122
|
const path_files_item = path_files + '[' + i + ']';
|
|
1123
|
-
const referencepath_files_itemValidationError = validate$
|
|
1123
|
+
const referencepath_files_itemValidationError = validate$1c(obj_files_item, path_files_item);
|
|
1124
1124
|
if (referencepath_files_itemValidationError !== null) {
|
|
1125
1125
|
let message = 'Object doesn\'t match SlackFileOutputRepresentation (at "' + path_files_item + '")\n';
|
|
1126
1126
|
message += referencepath_files_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1281,7 +1281,7 @@ function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1281
1281
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
1282
1282
|
const obj_reactions_item = obj_reactions[i];
|
|
1283
1283
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
1284
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
1284
|
+
const referencepath_reactions_itemValidationError = validate$19(obj_reactions_item, path_reactions_item);
|
|
1285
1285
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
1286
1286
|
let message = 'Object doesn\'t match SlackReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
1287
1287
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1322,7 +1322,7 @@ function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1322
1322
|
for (let i = 0; i < obj_replyUsers.length; i++) {
|
|
1323
1323
|
const obj_replyUsers_item = obj_replyUsers[i];
|
|
1324
1324
|
const path_replyUsers_item = path_replyUsers + '[' + i + ']';
|
|
1325
|
-
const referencepath_replyUsers_itemValidationError = validate$
|
|
1325
|
+
const referencepath_replyUsers_itemValidationError = validate$1a(obj_replyUsers_item, path_replyUsers_item);
|
|
1326
1326
|
if (referencepath_replyUsers_itemValidationError !== null) {
|
|
1327
1327
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_replyUsers_item + '")\n';
|
|
1328
1328
|
message += referencepath_replyUsers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1455,7 +1455,7 @@ function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
const obj_userInfo = obj.userInfo;
|
|
1457
1457
|
const path_userInfo = path + '.userInfo';
|
|
1458
|
-
const referencepath_userInfoValidationError = validate$
|
|
1458
|
+
const referencepath_userInfoValidationError = validate$1a(obj_userInfo, path_userInfo);
|
|
1459
1459
|
if (referencepath_userInfoValidationError !== null) {
|
|
1460
1460
|
let message = 'Object doesn\'t match SlackUserInfoOutputRepresentation (at "' + path_userInfo + '")\n';
|
|
1461
1461
|
message += referencepath_userInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1465,7 +1465,7 @@ function validate$17(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$17(obj, path = 'AnnotationConversationRepresentation') {
|
|
1469
1469
|
const v_error = (() => {
|
|
1470
1470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1471
1471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1490,7 +1490,7 @@ function validate$16(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1490
1490
|
const path_message = path + '.message';
|
|
1491
1491
|
let obj_message_union0 = null;
|
|
1492
1492
|
const obj_message_union0_error = (() => {
|
|
1493
|
-
const referencepath_messageValidationError = validate$
|
|
1493
|
+
const referencepath_messageValidationError = validate$18(obj_message, path_message);
|
|
1494
1494
|
if (referencepath_messageValidationError !== null) {
|
|
1495
1495
|
let message = 'Object doesn\'t match SlackMessageOutputRepresentation (at "' + path_message + '")\n';
|
|
1496
1496
|
message += referencepath_messageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1527,7 +1527,7 @@ function validate$16(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$r = 1000;
|
|
1529
1529
|
const VERSION$D = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$16(obj, path = 'AnnotationRepresentation') {
|
|
1531
1531
|
const v_error = (() => {
|
|
1532
1532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1533
1533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1535,7 +1535,7 @@ function validate$15(obj, path = 'AnnotationRepresentation') {
|
|
|
1535
1535
|
if (obj.anchor !== undefined) {
|
|
1536
1536
|
const obj_anchor = obj.anchor;
|
|
1537
1537
|
const path_anchor = path + '.anchor';
|
|
1538
|
-
const referencepath_anchorValidationError = validate$
|
|
1538
|
+
const referencepath_anchorValidationError = validate$1h(obj_anchor, path_anchor);
|
|
1539
1539
|
if (referencepath_anchorValidationError !== null) {
|
|
1540
1540
|
let message = 'Object doesn\'t match DashboardAnnotationAnchorRepresentation (at "' + path_anchor + '")\n';
|
|
1541
1541
|
message += referencepath_anchorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1549,7 +1549,7 @@ function validate$15(obj, path = 'AnnotationRepresentation') {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
const obj_asset = obj.asset;
|
|
1551
1551
|
const path_asset = path + '.asset';
|
|
1552
|
-
const referencepath_assetValidationError = validate$
|
|
1552
|
+
const referencepath_assetValidationError = validate$1g(obj_asset, path_asset);
|
|
1553
1553
|
if (referencepath_assetValidationError !== null) {
|
|
1554
1554
|
let message = 'Object doesn\'t match AnnotationAssetRepresentation (at "' + path_asset + '")\n';
|
|
1555
1555
|
message += referencepath_assetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1557,7 +1557,7 @@ function validate$15(obj, path = 'AnnotationRepresentation') {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
const obj_collaborationObject = obj.collaborationObject;
|
|
1559
1559
|
const path_collaborationObject = path + '.collaborationObject';
|
|
1560
|
-
const referencepath_collaborationObjectValidationError = validate$
|
|
1560
|
+
const referencepath_collaborationObjectValidationError = validate$17(obj_collaborationObject, path_collaborationObject);
|
|
1561
1561
|
if (referencepath_collaborationObjectValidationError !== null) {
|
|
1562
1562
|
let message = 'Object doesn\'t match AnnotationConversationRepresentation (at "' + path_collaborationObject + '")\n';
|
|
1563
1563
|
message += referencepath_collaborationObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1605,7 +1605,7 @@ function equals$D(existing, incoming) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
const ingest$D = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1607
1607
|
if (process.env.NODE_ENV !== 'production') {
|
|
1608
|
-
const validateError = validate$
|
|
1608
|
+
const validateError = validate$16(input);
|
|
1609
1609
|
if (validateError !== null) {
|
|
1610
1610
|
throw validateError;
|
|
1611
1611
|
}
|
|
@@ -1726,7 +1726,7 @@ const createAnnotationAdapterFactory = (luvio) => {
|
|
|
1726
1726
|
|
|
1727
1727
|
const TTL$q = 1000;
|
|
1728
1728
|
const VERSION$C = "06ddf1f43b6dbb759e6c6ec14f9d783f";
|
|
1729
|
-
function validate$
|
|
1729
|
+
function validate$15(obj, path = 'AssetSlackChannelRepresentation') {
|
|
1730
1730
|
const v_error = (() => {
|
|
1731
1731
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1732
1732
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1831,7 +1831,7 @@ function equals$C(existing, incoming) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
const ingest$C = function AssetSlackChannelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1833
1833
|
if (process.env.NODE_ENV !== 'production') {
|
|
1834
|
-
const validateError = validate$
|
|
1834
|
+
const validateError = validate$15(input);
|
|
1835
1835
|
if (validateError !== null) {
|
|
1836
1836
|
throw validateError;
|
|
1837
1837
|
}
|
|
@@ -1944,7 +1944,7 @@ const createAssetSlackChannelAdapterFactory = (luvio) => {
|
|
|
1944
1944
|
};
|
|
1945
1945
|
|
|
1946
1946
|
const VERSION$B = "948ac50067b64bee8680b553b1e19a09";
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$14(obj, path = 'DashboardRepresentation') {
|
|
1948
1948
|
const v_error = (() => {
|
|
1949
1949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1950
1950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2081,7 +2081,7 @@ function equals$B(existing, incoming) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
const ingest$B = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2083
2083
|
if (process.env.NODE_ENV !== 'production') {
|
|
2084
|
-
const validateError = validate$
|
|
2084
|
+
const validateError = validate$14(input);
|
|
2085
2085
|
if (validateError !== null) {
|
|
2086
2086
|
throw validateError;
|
|
2087
2087
|
}
|
|
@@ -2242,7 +2242,7 @@ var DiscriminatorValues$3;
|
|
|
2242
2242
|
(function (DiscriminatorValues) {
|
|
2243
2243
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2244
2244
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2245
|
-
function validate$
|
|
2245
|
+
function validate$13(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
2246
2246
|
const v_error = (() => {
|
|
2247
2247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2248
2248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2256,7 +2256,7 @@ function validate$12(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2256
2256
|
return v_error === undefined ? null : v_error;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
function validate$
|
|
2259
|
+
function validate$12(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
2260
2260
|
const v_error = (() => {
|
|
2261
2261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2262
2262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2269,7 +2269,7 @@ function validate$11(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2269
2269
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2270
2270
|
const obj_receivers_item = obj_receivers[i];
|
|
2271
2271
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2272
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2272
|
+
const referencepath_receivers_itemValidationError = validate$13(obj_receivers_item, path_receivers_item);
|
|
2273
2273
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2274
2274
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
2275
2275
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2285,7 +2285,7 @@ var DiscriminatorValues$2;
|
|
|
2285
2285
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
2286
2286
|
DiscriminatorValues["Insights"] = "Insights";
|
|
2287
2287
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2288
|
-
function validate$
|
|
2288
|
+
function validate$11(obj, path = 'DataAlertValueInputRepresentation') {
|
|
2289
2289
|
const v_error = (() => {
|
|
2290
2290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2291
2291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2299,7 +2299,7 @@ function validate$10(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2299
2299
|
return v_error === undefined ? null : v_error;
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
function validate
|
|
2302
|
+
function validate$10(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
2303
2303
|
const v_error = (() => {
|
|
2304
2304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2305
2305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2313,14 +2313,14 @@ function validate$$(obj, path = 'DataAlertValueRightOperandInputRepresentation')
|
|
|
2313
2313
|
return v_error === undefined ? null : v_error;
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
|
-
function validate
|
|
2316
|
+
function validate$$(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
2317
2317
|
const v_error = (() => {
|
|
2318
2318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2319
2319
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2320
2320
|
}
|
|
2321
2321
|
const obj_leftOperand = obj.leftOperand;
|
|
2322
2322
|
const path_leftOperand = path + '.leftOperand';
|
|
2323
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2323
|
+
const referencepath_leftOperandValidationError = validate$11(obj_leftOperand, path_leftOperand);
|
|
2324
2324
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2325
2325
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
2326
2326
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2333,7 +2333,7 @@ function validate$_(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
const obj_rightOperand = obj.rightOperand;
|
|
2335
2335
|
const path_rightOperand = path + '.rightOperand';
|
|
2336
|
-
const referencepath_rightOperandValidationError = validate
|
|
2336
|
+
const referencepath_rightOperandValidationError = validate$10(obj_rightOperand, path_rightOperand);
|
|
2337
2337
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2338
2338
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
2339
2339
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2343,7 +2343,7 @@ function validate$_(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2343
2343
|
return v_error === undefined ? null : v_error;
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
|
-
function validate$
|
|
2346
|
+
function validate$_(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
2347
2347
|
const v_error = (() => {
|
|
2348
2348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2349
2349
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2356,7 +2356,7 @@ function validate$Z(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2356
2356
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2357
2357
|
const obj_conditions_item = obj_conditions[i];
|
|
2358
2358
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2359
|
-
const referencepath_conditions_itemValidationError = validate
|
|
2359
|
+
const referencepath_conditions_itemValidationError = validate$$(obj_conditions_item, path_conditions_item);
|
|
2360
2360
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2361
2361
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
2362
2362
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2372,7 +2372,7 @@ function validate$Z(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2372
2372
|
return v_error === undefined ? null : v_error;
|
|
2373
2373
|
}
|
|
2374
2374
|
|
|
2375
|
-
function validate$
|
|
2375
|
+
function validate$Z(obj, path = 'DataAlertContentRepresentation') {
|
|
2376
2376
|
const v_error = (() => {
|
|
2377
2377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2378
2378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2386,7 +2386,7 @@ function validate$Y(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2386
2386
|
return v_error === undefined ? null : v_error;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
function validate$
|
|
2389
|
+
function validate$Y(obj, path = 'DataAlertReceiversRepresentation') {
|
|
2390
2390
|
const v_error = (() => {
|
|
2391
2391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2392
2392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2400,7 +2400,7 @@ function validate$X(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2400
2400
|
return v_error === undefined ? null : v_error;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
function validate$
|
|
2403
|
+
function validate$X(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
2404
2404
|
const v_error = (() => {
|
|
2405
2405
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2406
2406
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2413,7 +2413,7 @@ function validate$W(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2413
2413
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2414
2414
|
const obj_receivers_item = obj_receivers[i];
|
|
2415
2415
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2416
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2416
|
+
const referencepath_receivers_itemValidationError = validate$Y(obj_receivers_item, path_receivers_item);
|
|
2417
2417
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2418
2418
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
2419
2419
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2424,7 +2424,7 @@ function validate$W(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2424
2424
|
return v_error === undefined ? null : v_error;
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
|
-
function validate$
|
|
2427
|
+
function validate$W(obj, path = 'DataAlertScheduleRepresentation') {
|
|
2428
2428
|
const v_error = (() => {
|
|
2429
2429
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2430
2430
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2450,7 +2450,7 @@ function validate$V(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2450
2450
|
return v_error === undefined ? null : v_error;
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
|
-
function validate$
|
|
2453
|
+
function validate$V(obj, path = 'DataAlertValueRepresentation') {
|
|
2454
2454
|
const v_error = (() => {
|
|
2455
2455
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2456
2456
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2464,14 +2464,14 @@ function validate$U(obj, path = 'DataAlertValueRepresentation') {
|
|
|
2464
2464
|
return v_error === undefined ? null : v_error;
|
|
2465
2465
|
}
|
|
2466
2466
|
|
|
2467
|
-
function validate$
|
|
2467
|
+
function validate$U(obj, path = 'DataAlertConditionRepresentation') {
|
|
2468
2468
|
const v_error = (() => {
|
|
2469
2469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2470
2470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2471
2471
|
}
|
|
2472
2472
|
const obj_leftOperand = obj.leftOperand;
|
|
2473
2473
|
const path_leftOperand = path + '.leftOperand';
|
|
2474
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2474
|
+
const referencepath_leftOperandValidationError = validate$V(obj_leftOperand, path_leftOperand);
|
|
2475
2475
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2476
2476
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
|
|
2477
2477
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2484,7 +2484,7 @@ function validate$T(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
const obj_rightOperand = obj.rightOperand;
|
|
2486
2486
|
const path_rightOperand = path + '.rightOperand';
|
|
2487
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2487
|
+
const referencepath_rightOperandValidationError = validate$V(obj_rightOperand, path_rightOperand);
|
|
2488
2488
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2489
2489
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
|
|
2490
2490
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2494,7 +2494,7 @@ function validate$T(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2494
2494
|
return v_error === undefined ? null : v_error;
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
|
-
function validate$
|
|
2497
|
+
function validate$T(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
2498
2498
|
const v_error = (() => {
|
|
2499
2499
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2500
2500
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2507,7 +2507,7 @@ function validate$S(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2507
2507
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2508
2508
|
const obj_conditions_item = obj_conditions[i];
|
|
2509
2509
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2510
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2510
|
+
const referencepath_conditions_itemValidationError = validate$U(obj_conditions_item, path_conditions_item);
|
|
2511
2511
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2512
2512
|
let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
|
|
2513
2513
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2525,7 +2525,7 @@ function validate$S(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2525
2525
|
|
|
2526
2526
|
const TTL$p = 500;
|
|
2527
2527
|
const VERSION$A = "219373b56f198f8a68fe8ca6afd30b60";
|
|
2528
|
-
function validate$
|
|
2528
|
+
function validate$S(obj, path = 'DataAlertRepresentation') {
|
|
2529
2529
|
const v_error = (() => {
|
|
2530
2530
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2531
2531
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2537,7 +2537,7 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2537
2537
|
}
|
|
2538
2538
|
const obj_content = obj.content;
|
|
2539
2539
|
const path_content = path + '.content';
|
|
2540
|
-
const referencepath_contentValidationError = validate$
|
|
2540
|
+
const referencepath_contentValidationError = validate$Z(obj_content, path_content);
|
|
2541
2541
|
if (referencepath_contentValidationError !== null) {
|
|
2542
2542
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
2543
2543
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2550,7 +2550,7 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2550
2550
|
}
|
|
2551
2551
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2552
2552
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2553
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
2553
|
+
const referencepath_deliveryConfigurationsValidationError = validate$X(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
2554
2554
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
2555
2555
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
2556
2556
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2568,7 +2568,7 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
const obj_schedule = obj.schedule;
|
|
2570
2570
|
const path_schedule = path + '.schedule';
|
|
2571
|
-
const referencepath_scheduleValidationError = validate$
|
|
2571
|
+
const referencepath_scheduleValidationError = validate$W(obj_schedule, path_schedule);
|
|
2572
2572
|
if (referencepath_scheduleValidationError !== null) {
|
|
2573
2573
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
2574
2574
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2576,7 +2576,7 @@ function validate$R(obj, path = 'DataAlertRepresentation') {
|
|
|
2576
2576
|
}
|
|
2577
2577
|
const obj_thresholds = obj.thresholds;
|
|
2578
2578
|
const path_thresholds = path + '.thresholds';
|
|
2579
|
-
const referencepath_thresholdsValidationError = validate$
|
|
2579
|
+
const referencepath_thresholdsValidationError = validate$T(obj_thresholds, path_thresholds);
|
|
2580
2580
|
if (referencepath_thresholdsValidationError !== null) {
|
|
2581
2581
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2582
2582
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2614,7 +2614,7 @@ function equals$A(existing, incoming) {
|
|
|
2614
2614
|
}
|
|
2615
2615
|
const ingest$A = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2616
2616
|
if (process.env.NODE_ENV !== 'production') {
|
|
2617
|
-
const validateError = validate$
|
|
2617
|
+
const validateError = validate$S(input);
|
|
2618
2618
|
if (validateError !== null) {
|
|
2619
2619
|
throw validateError;
|
|
2620
2620
|
}
|
|
@@ -2675,7 +2675,7 @@ var DiscriminatorValues$1;
|
|
|
2675
2675
|
(function (DiscriminatorValues) {
|
|
2676
2676
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2677
2677
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2678
|
-
function validate$
|
|
2678
|
+
function validate$R(obj, path = 'DataAlertContentInputRepresentation') {
|
|
2679
2679
|
const v_error = (() => {
|
|
2680
2680
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2681
2681
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2695,7 +2695,7 @@ var DiscriminatorValues;
|
|
|
2695
2695
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
2696
2696
|
DiscriminatorValues["Cron"] = "Cron";
|
|
2697
2697
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
2698
|
-
function validate$
|
|
2698
|
+
function validate$Q(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
2699
2699
|
const v_error = (() => {
|
|
2700
2700
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2701
2701
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2737,22 +2737,22 @@ function typeCheckConfig$U(untrustedConfig) {
|
|
|
2737
2737
|
const config = {};
|
|
2738
2738
|
typeCheckConfig$Y(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
2739
2739
|
const untrustedConfig_content = untrustedConfig.content;
|
|
2740
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
2740
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$R(untrustedConfig_content);
|
|
2741
2741
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
2742
2742
|
config.content = untrustedConfig_content;
|
|
2743
2743
|
}
|
|
2744
2744
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
2745
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
2745
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$12(untrustedConfig_deliveryConfigurations);
|
|
2746
2746
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
2747
2747
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
2748
2748
|
}
|
|
2749
2749
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
2750
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
2750
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$Q(untrustedConfig_schedule);
|
|
2751
2751
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
2752
2752
|
config.schedule = untrustedConfig_schedule;
|
|
2753
2753
|
}
|
|
2754
2754
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
2755
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
2755
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$_(untrustedConfig_thresholds);
|
|
2756
2756
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2757
2757
|
config.thresholds = untrustedConfig_thresholds;
|
|
2758
2758
|
}
|
|
@@ -2800,7 +2800,7 @@ const createDataAlertAdapterFactory = (luvio) => {
|
|
|
2800
2800
|
};
|
|
2801
2801
|
};
|
|
2802
2802
|
|
|
2803
|
-
function validate$
|
|
2803
|
+
function validate$P(obj, path = 'BaseAnalyticsRepresentation') {
|
|
2804
2804
|
const v_error = (() => {
|
|
2805
2805
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2806
2806
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2835,8 +2835,8 @@ function validate$O(obj, path = 'BaseAnalyticsRepresentation') {
|
|
|
2835
2835
|
return v_error === undefined ? null : v_error;
|
|
2836
2836
|
}
|
|
2837
2837
|
|
|
2838
|
-
function validate$
|
|
2839
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
2838
|
+
function validate$O(obj, path = 'AnalyticsUserRepresentation') {
|
|
2839
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$P(obj, path);
|
|
2840
2840
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
2841
2841
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
2842
2842
|
}
|
|
@@ -2878,7 +2878,7 @@ function validate$N(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
2878
2878
|
|
|
2879
2879
|
const TTL$o = 500;
|
|
2880
2880
|
const VERSION$z = "ada5b73b64faa32b0113876061677c0a";
|
|
2881
|
-
function validate$
|
|
2881
|
+
function validate$N(obj, path = 'DataAssetRequestRepresentation') {
|
|
2882
2882
|
const v_error = (() => {
|
|
2883
2883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2884
2884
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2887,7 +2887,7 @@ function validate$M(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2887
2887
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
2888
2888
|
let obj_acknowledgedBy_union0 = null;
|
|
2889
2889
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
2890
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
2890
|
+
const referencepath_acknowledgedByValidationError = validate$O(obj_acknowledgedBy, path_acknowledgedBy);
|
|
2891
2891
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
2892
2892
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
2893
2893
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2973,7 +2973,7 @@ function validate$M(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
2973
2973
|
const path_cancelledBy = path + '.cancelledBy';
|
|
2974
2974
|
let obj_cancelledBy_union0 = null;
|
|
2975
2975
|
const obj_cancelledBy_union0_error = (() => {
|
|
2976
|
-
const referencepath_cancelledByValidationError = validate$
|
|
2976
|
+
const referencepath_cancelledByValidationError = validate$O(obj_cancelledBy, path_cancelledBy);
|
|
2977
2977
|
if (referencepath_cancelledByValidationError !== null) {
|
|
2978
2978
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
2979
2979
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3028,7 +3028,7 @@ function validate$M(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3028
3028
|
const path_completedBy = path + '.completedBy';
|
|
3029
3029
|
let obj_completedBy_union0 = null;
|
|
3030
3030
|
const obj_completedBy_union0_error = (() => {
|
|
3031
|
-
const referencepath_completedByValidationError = validate$
|
|
3031
|
+
const referencepath_completedByValidationError = validate$O(obj_completedBy, path_completedBy);
|
|
3032
3032
|
if (referencepath_completedByValidationError !== null) {
|
|
3033
3033
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3034
3034
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3143,7 +3143,7 @@ function validate$M(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3143
3143
|
}
|
|
3144
3144
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3145
3145
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3146
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3146
|
+
const referencepath_lastModifiedByValidationError = validate$O(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3147
3147
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3148
3148
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3149
3149
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3343,7 +3343,7 @@ function validate$M(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
const obj_requestedBy = obj.requestedBy;
|
|
3345
3345
|
const path_requestedBy = path + '.requestedBy';
|
|
3346
|
-
const referencepath_requestedByValidationError = validate$
|
|
3346
|
+
const referencepath_requestedByValidationError = validate$O(obj_requestedBy, path_requestedBy);
|
|
3347
3347
|
if (referencepath_requestedByValidationError !== null) {
|
|
3348
3348
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
3349
3349
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3453,7 +3453,7 @@ function equals$z(existing, incoming) {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
const ingest$z = function DataAssetRequestRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3455
3455
|
if (process.env.NODE_ENV !== 'production') {
|
|
3456
|
-
const validateError = validate$
|
|
3456
|
+
const validateError = validate$N(input);
|
|
3457
3457
|
if (validateError !== null) {
|
|
3458
3458
|
throw validateError;
|
|
3459
3459
|
}
|
|
@@ -3574,7 +3574,7 @@ const createDataAssetRequestAdapterFactory = (luvio) => {
|
|
|
3574
3574
|
|
|
3575
3575
|
const TTL$n = 1000;
|
|
3576
3576
|
const VERSION$y = "f2e0254a8e6b03f2289f318634389df3";
|
|
3577
|
-
function validate$
|
|
3577
|
+
function validate$M(obj, path = 'UnifiedAnalyticsLogLinesRepresentation') {
|
|
3578
3578
|
const v_error = (() => {
|
|
3579
3579
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3580
3580
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3626,7 +3626,7 @@ function equals$y(existing, incoming) {
|
|
|
3626
3626
|
}
|
|
3627
3627
|
const ingest$y = function UnifiedAnalyticsLogLinesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3628
3628
|
if (process.env.NODE_ENV !== 'production') {
|
|
3629
|
-
const validateError = validate$
|
|
3629
|
+
const validateError = validate$M(input);
|
|
3630
3630
|
if (validateError !== null) {
|
|
3631
3631
|
throw validateError;
|
|
3632
3632
|
}
|
|
@@ -3744,7 +3744,7 @@ const createLoglinesAdapterFactory = (luvio) => {
|
|
|
3744
3744
|
};
|
|
3745
3745
|
};
|
|
3746
3746
|
|
|
3747
|
-
function validate$
|
|
3747
|
+
function validate$L(obj, path = 'SetupRecordShareErrorRepresentation') {
|
|
3748
3748
|
const v_error = (() => {
|
|
3749
3749
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3750
3750
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3768,7 +3768,7 @@ function validate$K(obj, path = 'SetupRecordShareErrorRepresentation') {
|
|
|
3768
3768
|
return v_error === undefined ? null : v_error;
|
|
3769
3769
|
}
|
|
3770
3770
|
|
|
3771
|
-
function validate$
|
|
3771
|
+
function validate$K(obj, path = 'SetupRecordShareRepresentation') {
|
|
3772
3772
|
const v_error = (() => {
|
|
3773
3773
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3774
3774
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3785,7 +3785,7 @@ function validate$J(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3785
3785
|
}
|
|
3786
3786
|
const obj_createdBy = obj.createdBy;
|
|
3787
3787
|
const path_createdBy = path + '.createdBy';
|
|
3788
|
-
const referencepath_createdByValidationError = validate$
|
|
3788
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
3789
3789
|
if (referencepath_createdByValidationError !== null) {
|
|
3790
3790
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
3791
3791
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3798,7 +3798,7 @@ function validate$J(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3798
3798
|
}
|
|
3799
3799
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3800
3800
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3801
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3801
|
+
const referencepath_lastModifiedByValidationError = validate$O(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3802
3802
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3803
3803
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3804
3804
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3820,7 +3820,7 @@ function validate$J(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
3820
3820
|
|
|
3821
3821
|
const TTL$m = 1000;
|
|
3822
3822
|
const VERSION$x = "eee8bc73146f75fcb8e2f168c3144e65";
|
|
3823
|
-
function validate$
|
|
3823
|
+
function validate$J(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
3824
3824
|
const v_error = (() => {
|
|
3825
3825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3826
3826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3833,7 +3833,7 @@ function validate$I(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
|
3833
3833
|
for (let i = 0; i < obj_failedRecordShares.length; i++) {
|
|
3834
3834
|
const obj_failedRecordShares_item = obj_failedRecordShares[i];
|
|
3835
3835
|
const path_failedRecordShares_item = path_failedRecordShares + '[' + i + ']';
|
|
3836
|
-
const referencepath_failedRecordShares_itemValidationError = validate$
|
|
3836
|
+
const referencepath_failedRecordShares_itemValidationError = validate$L(obj_failedRecordShares_item, path_failedRecordShares_item);
|
|
3837
3837
|
if (referencepath_failedRecordShares_itemValidationError !== null) {
|
|
3838
3838
|
let message = 'Object doesn\'t match SetupRecordShareErrorRepresentation (at "' + path_failedRecordShares_item + '")\n';
|
|
3839
3839
|
message += referencepath_failedRecordShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3858,7 +3858,7 @@ function validate$I(obj, path = 'SetupRecordShareCollectionRepresentation') {
|
|
|
3858
3858
|
for (let i = 0; i < obj_successfulRecordShares.length; i++) {
|
|
3859
3859
|
const obj_successfulRecordShares_item = obj_successfulRecordShares[i];
|
|
3860
3860
|
const path_successfulRecordShares_item = path_successfulRecordShares + '[' + i + ']';
|
|
3861
|
-
const referencepath_successfulRecordShares_itemValidationError = validate$
|
|
3861
|
+
const referencepath_successfulRecordShares_itemValidationError = validate$K(obj_successfulRecordShares_item, path_successfulRecordShares_item);
|
|
3862
3862
|
if (referencepath_successfulRecordShares_itemValidationError !== null) {
|
|
3863
3863
|
let message = 'Object doesn\'t match SetupRecordShareRepresentation (at "' + path_successfulRecordShares_item + '")\n';
|
|
3864
3864
|
message += referencepath_successfulRecordShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3897,7 +3897,7 @@ function equals$x(existing, incoming) {
|
|
|
3897
3897
|
}
|
|
3898
3898
|
const ingest$x = function SetupRecordShareCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3899
3899
|
if (process.env.NODE_ENV !== 'production') {
|
|
3900
|
-
const validateError = validate$
|
|
3900
|
+
const validateError = validate$J(input);
|
|
3901
3901
|
if (validateError !== null) {
|
|
3902
3902
|
throw validateError;
|
|
3903
3903
|
}
|
|
@@ -4019,7 +4019,7 @@ const createRecordSharesAdapterFactory = (luvio) => {
|
|
|
4019
4019
|
|
|
4020
4020
|
const TTL$l = 1000;
|
|
4021
4021
|
const VERSION$w = "0e4b2078e98548886e74d01b47ea103b";
|
|
4022
|
-
function validate$
|
|
4022
|
+
function validate$I(obj, path = 'MarketplaceTemplateOutputRepresentation') {
|
|
4023
4023
|
const v_error = (() => {
|
|
4024
4024
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4025
4025
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4061,7 +4061,7 @@ function equals$w(existing, incoming) {
|
|
|
4061
4061
|
}
|
|
4062
4062
|
const ingest$w = function MarketplaceTemplateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4063
4063
|
if (process.env.NODE_ENV !== 'production') {
|
|
4064
|
-
const validateError = validate$
|
|
4064
|
+
const validateError = validate$I(input);
|
|
4065
4065
|
if (validateError !== null) {
|
|
4066
4066
|
throw validateError;
|
|
4067
4067
|
}
|
|
@@ -4201,14 +4201,14 @@ const createTemplateAdapterFactory = (luvio) => {
|
|
|
4201
4201
|
};
|
|
4202
4202
|
|
|
4203
4203
|
const VERSION$v = "1a13994f888cdbab1f3489b0a99c8449";
|
|
4204
|
-
function validate$
|
|
4204
|
+
function validate$H(obj, path = 'VisualizationRepresentation') {
|
|
4205
4205
|
const v_error = (() => {
|
|
4206
4206
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4207
4207
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4208
4208
|
}
|
|
4209
4209
|
const obj_createdBy = obj.createdBy;
|
|
4210
4210
|
const path_createdBy = path + '.createdBy';
|
|
4211
|
-
const referencepath_createdByValidationError = validate$
|
|
4211
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
4212
4212
|
if (referencepath_createdByValidationError !== null) {
|
|
4213
4213
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4214
4214
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4283,7 +4283,7 @@ function validate$G(obj, path = 'VisualizationRepresentation') {
|
|
|
4283
4283
|
if (obj.lastModifiedBy !== undefined) {
|
|
4284
4284
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4285
4285
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4286
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4286
|
+
const referencepath_lastModifiedByValidationError = validate$O(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4287
4287
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4288
4288
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4289
4289
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4378,7 +4378,7 @@ function equals$v(existing, incoming) {
|
|
|
4378
4378
|
}
|
|
4379
4379
|
const ingest$v = function VisualizationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4380
4380
|
if (process.env.NODE_ENV !== 'production') {
|
|
4381
|
-
const validateError = validate$
|
|
4381
|
+
const validateError = validate$H(input);
|
|
4382
4382
|
if (validateError !== null) {
|
|
4383
4383
|
throw validateError;
|
|
4384
4384
|
}
|
|
@@ -4583,7 +4583,7 @@ const createVisualizationAdapterFactory = (luvio) => {
|
|
|
4583
4583
|
};
|
|
4584
4584
|
|
|
4585
4585
|
const VERSION$u = "d30aa567784494839ce9c37e69190918";
|
|
4586
|
-
function validate$
|
|
4586
|
+
function validate$G(obj, path = 'WorkspaceRepresentation') {
|
|
4587
4587
|
const v_error = (() => {
|
|
4588
4588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4589
4589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4595,7 +4595,7 @@ function validate$F(obj, path = 'WorkspaceRepresentation') {
|
|
|
4595
4595
|
}
|
|
4596
4596
|
const obj_createdBy = obj.createdBy;
|
|
4597
4597
|
const path_createdBy = path + '.createdBy';
|
|
4598
|
-
const referencepath_createdByValidationError = validate$
|
|
4598
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
4599
4599
|
if (referencepath_createdByValidationError !== null) {
|
|
4600
4600
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4601
4601
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4679,7 +4679,7 @@ function equals$u(existing, incoming) {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
const ingest$u = function WorkspaceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4681
4681
|
if (process.env.NODE_ENV !== 'production') {
|
|
4682
|
-
const validateError = validate$
|
|
4682
|
+
const validateError = validate$G(input);
|
|
4683
4683
|
if (validateError !== null) {
|
|
4684
4684
|
throw validateError;
|
|
4685
4685
|
}
|
|
@@ -4793,7 +4793,7 @@ const createWorkspaceAdapterFactory = (luvio) => {
|
|
|
4793
4793
|
};
|
|
4794
4794
|
|
|
4795
4795
|
const VERSION$t = "4abc4f793ed7181313c3ae7365a6fb8b";
|
|
4796
|
-
function validate$
|
|
4796
|
+
function validate$F(obj, path = 'WorkspaceAssetRepresentation') {
|
|
4797
4797
|
const v_error = (() => {
|
|
4798
4798
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4799
4799
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4815,7 +4815,7 @@ function validate$E(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
4815
4815
|
}
|
|
4816
4816
|
const obj_createdBy = obj.createdBy;
|
|
4817
4817
|
const path_createdBy = path + '.createdBy';
|
|
4818
|
-
const referencepath_createdByValidationError = validate$
|
|
4818
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
4819
4819
|
if (referencepath_createdByValidationError !== null) {
|
|
4820
4820
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4821
4821
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4863,7 +4863,7 @@ function equals$t(existing, incoming) {
|
|
|
4863
4863
|
}
|
|
4864
4864
|
const ingest$t = function WorkspaceAssetRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4865
4865
|
if (process.env.NODE_ENV !== 'production') {
|
|
4866
|
-
const validateError = validate$
|
|
4866
|
+
const validateError = validate$F(input);
|
|
4867
4867
|
if (validateError !== null) {
|
|
4868
4868
|
throw validateError;
|
|
4869
4869
|
}
|
|
@@ -4976,6 +4976,40 @@ const createWorkspaceAssetAdapterFactory = (luvio) => {
|
|
|
4976
4976
|
};
|
|
4977
4977
|
};
|
|
4978
4978
|
|
|
4979
|
+
function validate$E(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
|
|
4980
|
+
const v_error = (() => {
|
|
4981
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4982
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4983
|
+
}
|
|
4984
|
+
const obj_displayName = obj.displayName;
|
|
4985
|
+
const path_displayName = path + '.displayName';
|
|
4986
|
+
if (typeof obj_displayName !== 'string') {
|
|
4987
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
4988
|
+
}
|
|
4989
|
+
const obj_email = obj.email;
|
|
4990
|
+
const path_email = path + '.email';
|
|
4991
|
+
if (typeof obj_email !== 'string') {
|
|
4992
|
+
return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
|
|
4993
|
+
}
|
|
4994
|
+
const obj_id = obj.id;
|
|
4995
|
+
const path_id = path + '.id';
|
|
4996
|
+
if (typeof obj_id !== 'string') {
|
|
4997
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4998
|
+
}
|
|
4999
|
+
const obj_profilePhotoUrl = obj.profilePhotoUrl;
|
|
5000
|
+
const path_profilePhotoUrl = path + '.profilePhotoUrl';
|
|
5001
|
+
if (typeof obj_profilePhotoUrl !== 'string') {
|
|
5002
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
|
|
5003
|
+
}
|
|
5004
|
+
const obj_username = obj.username;
|
|
5005
|
+
const path_username = path + '.username';
|
|
5006
|
+
if (typeof obj_username !== 'string') {
|
|
5007
|
+
return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
|
|
5008
|
+
}
|
|
5009
|
+
})();
|
|
5010
|
+
return v_error === undefined ? null : v_error;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
4979
5013
|
function validate$D(obj, path = 'SetupRecordAccessRepresentation') {
|
|
4980
5014
|
const v_error = (() => {
|
|
4981
5015
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4991,6 +5025,19 @@ function validate$D(obj, path = 'SetupRecordAccessRepresentation') {
|
|
|
4991
5025
|
if (typeof obj_applicationDomain !== 'string') {
|
|
4992
5026
|
return new TypeError('Expected "string" but received "' + typeof obj_applicationDomain + '" (at "' + path_applicationDomain + '")');
|
|
4993
5027
|
}
|
|
5028
|
+
const obj_createdDate = obj.createdDate;
|
|
5029
|
+
const path_createdDate = path + '.createdDate';
|
|
5030
|
+
if (typeof obj_createdDate !== 'string') {
|
|
5031
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
5032
|
+
}
|
|
5033
|
+
const obj_userOrGroup = obj.userOrGroup;
|
|
5034
|
+
const path_userOrGroup = path + '.userOrGroup';
|
|
5035
|
+
const referencepath_userOrGroupValidationError = validate$E(obj_userOrGroup, path_userOrGroup);
|
|
5036
|
+
if (referencepath_userOrGroupValidationError !== null) {
|
|
5037
|
+
let message = 'Object doesn\'t match SetupRecordShareUserOrGroupRepresentation (at "' + path_userOrGroup + '")\n';
|
|
5038
|
+
message += referencepath_userOrGroupValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5039
|
+
return new TypeError(message);
|
|
5040
|
+
}
|
|
4994
5041
|
const obj_userOrGroupId = obj.userOrGroupId;
|
|
4995
5042
|
const path_userOrGroupId = path + '.userOrGroupId';
|
|
4996
5043
|
if (typeof obj_userOrGroupId !== 'string') {
|
|
@@ -5735,7 +5782,7 @@ function validate$A(obj, path = 'FollowerAssetRepresentation') {
|
|
|
5735
5782
|
}
|
|
5736
5783
|
const obj_createdBy = obj.createdBy;
|
|
5737
5784
|
const path_createdBy = path + '.createdBy';
|
|
5738
|
-
const referencepath_createdByValidationError = validate$
|
|
5785
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
5739
5786
|
if (referencepath_createdByValidationError !== null) {
|
|
5740
5787
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5741
5788
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7204,7 +7251,7 @@ function validate$v(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
7204
7251
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
7205
7252
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
7206
7253
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
7207
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
7254
|
+
const referencepath_dataAlerts_itemValidationError = validate$S(obj_dataAlerts_item, path_dataAlerts_item);
|
|
7208
7255
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
7209
7256
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
7210
7257
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7442,7 +7489,7 @@ function validate$u(obj, path = 'DataAssetRepresentation') {
|
|
|
7442
7489
|
}
|
|
7443
7490
|
const obj_createdBy = obj.createdBy;
|
|
7444
7491
|
const path_createdBy = path + '.createdBy';
|
|
7445
|
-
const referencepath_createdByValidationError = validate$
|
|
7492
|
+
const referencepath_createdByValidationError = validate$O(obj_createdBy, path_createdBy);
|
|
7446
7493
|
if (referencepath_createdByValidationError !== null) {
|
|
7447
7494
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
7448
7495
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7476,7 +7523,7 @@ function validate$u(obj, path = 'DataAssetRepresentation') {
|
|
|
7476
7523
|
}
|
|
7477
7524
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
7478
7525
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
7479
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
7526
|
+
const referencepath_lastModifiedByValidationError = validate$O(obj_lastModifiedBy, path_lastModifiedBy);
|
|
7480
7527
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
7481
7528
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
7482
7529
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7919,7 +7966,7 @@ function validate$r(obj, path = 'DataAssetRequestCollectionRepresentation') {
|
|
|
7919
7966
|
for (let i = 0; i < obj_dataAssetRequests.length; i++) {
|
|
7920
7967
|
const obj_dataAssetRequests_item = obj_dataAssetRequests[i];
|
|
7921
7968
|
const path_dataAssetRequests_item = path_dataAssetRequests + '[' + i + ']';
|
|
7922
|
-
const referencepath_dataAssetRequests_itemValidationError = validate$
|
|
7969
|
+
const referencepath_dataAssetRequests_itemValidationError = validate$N(obj_dataAssetRequests_item, path_dataAssetRequests_item);
|
|
7923
7970
|
if (referencepath_dataAssetRequests_itemValidationError !== null) {
|
|
7924
7971
|
let message = 'Object doesn\'t match DataAssetRequestRepresentation (at "' + path_dataAssetRequests_item + '")\n';
|
|
7925
7972
|
message += referencepath_dataAssetRequests_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9184,7 +9231,7 @@ function validate$j(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
9184
9231
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
9185
9232
|
const obj_followers_item = obj_followers[i];
|
|
9186
9233
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
9187
|
-
const referencepath_followers_itemValidationError = validate$
|
|
9234
|
+
const referencepath_followers_itemValidationError = validate$O(obj_followers_item, path_followers_item);
|
|
9188
9235
|
if (referencepath_followers_itemValidationError !== null) {
|
|
9189
9236
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
9190
9237
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9915,6 +9962,8 @@ const getShares_ConfigPropertyMetadata = [
|
|
|
9915
9962
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
9916
9963
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
9917
9964
|
generateParamConfigMetadata('userOrGroupId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9965
|
+
generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9966
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9918
9967
|
];
|
|
9919
9968
|
const getShares_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getShares_ConfigPropertyMetadata);
|
|
9920
9969
|
const createResourceParams$n = /*#__PURE__*/ createResourceParams$Y(getShares_ConfigPropertyMetadata);
|
|
@@ -11240,7 +11289,7 @@ function validate$a(obj, path = 'VisualizationBundleRepresentation') {
|
|
|
11240
11289
|
}
|
|
11241
11290
|
const obj_visualization = obj.visualization;
|
|
11242
11291
|
const path_visualization = path + '.visualization';
|
|
11243
|
-
const referencepath_visualizationValidationError = validate$
|
|
11292
|
+
const referencepath_visualizationValidationError = validate$H(obj_visualization, path_visualization);
|
|
11244
11293
|
if (referencepath_visualizationValidationError !== null) {
|
|
11245
11294
|
let message = 'Object doesn\'t match VisualizationRepresentation (at "' + path_visualization + '")\n';
|
|
11246
11295
|
message += referencepath_visualizationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12666,7 +12715,7 @@ const publishAdapterFactory = (luvio) => {
|
|
|
12666
12715
|
};
|
|
12667
12716
|
|
|
12668
12717
|
function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
12669
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
12718
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$P(obj, path);
|
|
12670
12719
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
12671
12720
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
12672
12721
|
}
|
|
@@ -12679,7 +12728,7 @@ function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
12679
12728
|
}
|
|
12680
12729
|
|
|
12681
12730
|
function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
12682
|
-
const validateBaseAnalyticsRepresentation_validateError = validate$
|
|
12731
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$P(obj, path);
|
|
12683
12732
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
12684
12733
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
12685
12734
|
}
|
|
@@ -12992,7 +13041,7 @@ function validate$1(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
12992
13041
|
for (let i = 0; i < obj_items.length; i++) {
|
|
12993
13042
|
const obj_items_item = obj_items[i];
|
|
12994
13043
|
const path_items_item = path_items + '[' + i + ']';
|
|
12995
|
-
const referencepath_items_itemValidationError = validate$
|
|
13044
|
+
const referencepath_items_itemValidationError = validate$O(obj_items_item, path_items_item);
|
|
12996
13045
|
if (referencepath_items_itemValidationError !== null) {
|
|
12997
13046
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
12998
13047
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13105,11 +13154,11 @@ function createResourceRequest$9(config) {
|
|
|
13105
13154
|
|
|
13106
13155
|
const adapterName$9 = 'queryUsers';
|
|
13107
13156
|
const queryUsers_ConfigPropertyMetadata = [
|
|
13108
|
-
generateParamConfigMetadata('searchTerm',
|
|
13109
|
-
generateParamConfigMetadata('userCapability',
|
|
13110
|
-
generateParamConfigMetadata('useAutoSuggest',
|
|
13111
|
-
generateParamConfigMetadata('limit',
|
|
13112
|
-
generateParamConfigMetadata('offset',
|
|
13157
|
+
generateParamConfigMetadata('searchTerm', false, 2 /* Body */, 0 /* String */),
|
|
13158
|
+
generateParamConfigMetadata('userCapability', false, 2 /* Body */, 0 /* String */),
|
|
13159
|
+
generateParamConfigMetadata('useAutoSuggest', false, 2 /* Body */, 1 /* Boolean */),
|
|
13160
|
+
generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
|
|
13161
|
+
generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
|
|
13113
13162
|
];
|
|
13114
13163
|
const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, queryUsers_ConfigPropertyMetadata);
|
|
13115
13164
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$Y(queryUsers_ConfigPropertyMetadata);
|
|
@@ -13437,22 +13486,22 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
13437
13486
|
const config = {};
|
|
13438
13487
|
typeCheckConfig$Y(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
13439
13488
|
const untrustedConfig_content = untrustedConfig.content;
|
|
13440
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
13489
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$R(untrustedConfig_content);
|
|
13441
13490
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
13442
13491
|
config.content = untrustedConfig_content;
|
|
13443
13492
|
}
|
|
13444
13493
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
13445
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
13494
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$12(untrustedConfig_deliveryConfigurations);
|
|
13446
13495
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
13447
13496
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
13448
13497
|
}
|
|
13449
13498
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
13450
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate$
|
|
13499
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$Q(untrustedConfig_schedule);
|
|
13451
13500
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
13452
13501
|
config.schedule = untrustedConfig_schedule;
|
|
13453
13502
|
}
|
|
13454
13503
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
13455
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
13504
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$_(untrustedConfig_thresholds);
|
|
13456
13505
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
13457
13506
|
config.thresholds = untrustedConfig_thresholds;
|
|
13458
13507
|
}
|
|
@@ -14656,4 +14705,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14656
14705
|
});
|
|
14657
14706
|
|
|
14658
14707
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getSharesNotifyChange, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, postDataAlertRun, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
14659
|
-
// version: 1.354.0-
|
|
14708
|
+
// version: 1.354.0-dev15-ede2ceb2bc
|