@salesforce/lds-adapters-analytics-unifiedanalytics 1.428.0-dev4 → 1.428.0-dev6
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 +191 -130
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +46 -0
- package/package.json +3 -3
- package/sfdc/index.js +172 -111
- package/src/raml/api.raml +31 -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$1v(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$1u(obj, path = 'DashboardAnnotationAnchorRepresentation') {
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$
|
|
120
|
+
function validate$1u(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$1t(obj, path = 'AnnotationAssetRepresentation') {
|
|
|
136
136
|
return v_error === undefined ? null : v_error;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$1t(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$1s(obj, path = 'FileTypeOutputRepresentation') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1s(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$1r(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$1t(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$1r(obj, path = 'ContentVersionOutputRepresentation') {
|
|
|
239
239
|
return v_error === undefined ? null : v_error;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
function validate$
|
|
242
|
+
function validate$1r(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$1t(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$1q(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$1s(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$1q(obj, path = 'ContentDocumentOutputRepresentation') {
|
|
|
279
279
|
return v_error === undefined ? null : v_error;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function validate$
|
|
282
|
+
function validate$1q(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$1p(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$1r(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$1p(obj, path = 'SlackFileOutputRepresentation') {
|
|
|
388
388
|
return v_error === undefined ? null : v_error;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
function validate$
|
|
391
|
+
function validate$1p(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$1o(obj, path = 'SlackEmojiOutputRepresentation') {
|
|
|
512
512
|
return v_error === undefined ? null : v_error;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
function validate$
|
|
515
|
+
function validate$1o(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$1n(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$1p(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$1n(obj, path = 'SlackUserInfoOutputRepresentation') {
|
|
|
902
902
|
return v_error === undefined ? null : v_error;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
function validate$
|
|
905
|
+
function validate$1n(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$1m(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$1o(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$1m(obj, path = 'SlackReactionOutputRepresentation') {
|
|
|
1071
1071
|
return v_error === undefined ? null : v_error;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
function validate$
|
|
1074
|
+
function validate$1m(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$1l(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$1q(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$1l(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$1n(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$1l(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$1o(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$1l(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$1o(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$1l(obj, path = 'SlackMessageOutputRepresentation') {
|
|
|
1465
1465
|
return v_error === undefined ? null : v_error;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
function validate$
|
|
1468
|
+
function validate$1l(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$1k(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$1m(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$1k(obj, path = 'AnnotationConversationRepresentation') {
|
|
|
1527
1527
|
|
|
1528
1528
|
const TTL$u = 1000;
|
|
1529
1529
|
const VERSION$H = "bacc25da56cffff8126d9bdafc471a37";
|
|
1530
|
-
function validate$
|
|
1530
|
+
function validate$1k(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$1j(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$1v(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$1j(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$1u(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$1j(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$1l(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$H(existing, incoming) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
const ingest$H = function AnnotationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1607
1607
|
if (process.env.NODE_ENV !== 'production') {
|
|
1608
|
-
const validateError = validate$
|
|
1608
|
+
const validateError = validate$1k(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$t = 1000;
|
|
1728
1728
|
const VERSION$G = "06ddf1f43b6dbb759e6c6ec14f9d783f";
|
|
1729
|
-
function validate$
|
|
1729
|
+
function validate$1j(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$G(existing, incoming) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
const ingest$G = function AssetSlackChannelRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1833
1833
|
if (process.env.NODE_ENV !== 'production') {
|
|
1834
|
-
const validateError = validate$
|
|
1834
|
+
const validateError = validate$1j(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$F = "581903d233184a85957cb2aa527b0d33";
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$1i(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 + '")');
|
|
@@ -2113,7 +2113,7 @@ function equals$F(existing, incoming) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
const ingest$F = function DashboardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2115
2115
|
if (process.env.NODE_ENV !== 'production') {
|
|
2116
|
-
const validateError = validate$
|
|
2116
|
+
const validateError = validate$1i(input);
|
|
2117
2117
|
if (validateError !== null) {
|
|
2118
2118
|
throw validateError;
|
|
2119
2119
|
}
|
|
@@ -2306,7 +2306,7 @@ var DiscriminatorValues$3;
|
|
|
2306
2306
|
(function (DiscriminatorValues) {
|
|
2307
2307
|
DiscriminatorValues["Notification"] = "Notification";
|
|
2308
2308
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
2309
|
-
function validate$
|
|
2309
|
+
function validate$1h(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
2310
2310
|
const v_error = (() => {
|
|
2311
2311
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2312
2312
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2320,7 +2320,7 @@ function validate$1g(obj, path = 'DataAlertReceiversInputRepresentation') {
|
|
|
2320
2320
|
return v_error === undefined ? null : v_error;
|
|
2321
2321
|
}
|
|
2322
2322
|
|
|
2323
|
-
function validate$
|
|
2323
|
+
function validate$1g(obj, path = 'DataAlertDeliveryConfigurationInputRepresentation') {
|
|
2324
2324
|
const v_error = (() => {
|
|
2325
2325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2326
2326
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2333,7 +2333,7 @@ function validate$1f(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2333
2333
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2334
2334
|
const obj_receivers_item = obj_receivers[i];
|
|
2335
2335
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2336
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2336
|
+
const referencepath_receivers_itemValidationError = validate$1h(obj_receivers_item, path_receivers_item);
|
|
2337
2337
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2338
2338
|
let message = 'Object doesn\'t match DataAlertReceiversInputRepresentation (at "' + path_receivers_item + '")\n';
|
|
2339
2339
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2344,7 +2344,7 @@ function validate$1f(obj, path = 'DataAlertDeliveryConfigurationInputRepresentat
|
|
|
2344
2344
|
return v_error === undefined ? null : v_error;
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
2347
|
-
function validate$
|
|
2347
|
+
function validate$1f(obj, path = 'UnifiedFilterInputRepresentation') {
|
|
2348
2348
|
const v_error = (() => {
|
|
2349
2349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2350
2350
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2386,7 +2386,7 @@ var DiscriminatorValues$2;
|
|
|
2386
2386
|
DiscriminatorValues["RawValue"] = "RawValue";
|
|
2387
2387
|
DiscriminatorValues["Insights"] = "Insights";
|
|
2388
2388
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2389
|
-
function validate$
|
|
2389
|
+
function validate$1e(obj, path = 'DataAlertValueInputRepresentation') {
|
|
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$1d(obj, path = 'DataAlertValueInputRepresentation') {
|
|
|
2400
2400
|
return v_error === undefined ? null : v_error;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
function validate$
|
|
2403
|
+
function validate$1d(obj, path = 'DataAlertValueRightOperandInputRepresentation') {
|
|
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 + '")');
|
|
@@ -2414,14 +2414,14 @@ function validate$1c(obj, path = 'DataAlertValueRightOperandInputRepresentation'
|
|
|
2414
2414
|
return v_error === undefined ? null : v_error;
|
|
2415
2415
|
}
|
|
2416
2416
|
|
|
2417
|
-
function validate$
|
|
2417
|
+
function validate$1c(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
2418
2418
|
const v_error = (() => {
|
|
2419
2419
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2420
2420
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2421
2421
|
}
|
|
2422
2422
|
const obj_leftOperand = obj.leftOperand;
|
|
2423
2423
|
const path_leftOperand = path + '.leftOperand';
|
|
2424
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2424
|
+
const referencepath_leftOperandValidationError = validate$1e(obj_leftOperand, path_leftOperand);
|
|
2425
2425
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2426
2426
|
let message = 'Object doesn\'t match DataAlertValueInputRepresentation (at "' + path_leftOperand + '")\n';
|
|
2427
2427
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2434,7 +2434,7 @@ function validate$1b(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
const obj_rightOperand = obj.rightOperand;
|
|
2436
2436
|
const path_rightOperand = path + '.rightOperand';
|
|
2437
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2437
|
+
const referencepath_rightOperandValidationError = validate$1d(obj_rightOperand, path_rightOperand);
|
|
2438
2438
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2439
2439
|
let message = 'Object doesn\'t match DataAlertValueRightOperandInputRepresentation (at "' + path_rightOperand + '")\n';
|
|
2440
2440
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2444,7 +2444,7 @@ function validate$1b(obj, path = 'DataAlertConditionInputRepresentation') {
|
|
|
2444
2444
|
return v_error === undefined ? null : v_error;
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
2447
|
-
function validate$
|
|
2447
|
+
function validate$1b(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
2448
2448
|
const v_error = (() => {
|
|
2449
2449
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2450
2450
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2457,7 +2457,7 @@ function validate$1a(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2457
2457
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2458
2458
|
const obj_conditions_item = obj_conditions[i];
|
|
2459
2459
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2460
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2460
|
+
const referencepath_conditions_itemValidationError = validate$1c(obj_conditions_item, path_conditions_item);
|
|
2461
2461
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2462
2462
|
let message = 'Object doesn\'t match DataAlertConditionInputRepresentation (at "' + path_conditions_item + '")\n';
|
|
2463
2463
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2473,7 +2473,7 @@ function validate$1a(obj, path = 'DataAlertThresholdsInputRepresentation') {
|
|
|
2473
2473
|
return v_error === undefined ? null : v_error;
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
2476
|
-
function validate$
|
|
2476
|
+
function validate$1a(obj, path = 'DataAlertContentRepresentation') {
|
|
2477
2477
|
const v_error = (() => {
|
|
2478
2478
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2479
2479
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2487,7 +2487,7 @@ function validate$19(obj, path = 'DataAlertContentRepresentation') {
|
|
|
2487
2487
|
return v_error === undefined ? null : v_error;
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
2490
|
-
function validate$
|
|
2490
|
+
function validate$19(obj, path = 'DataAlertReceiversRepresentation') {
|
|
2491
2491
|
const v_error = (() => {
|
|
2492
2492
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2493
2493
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2501,7 +2501,7 @@ function validate$18(obj, path = 'DataAlertReceiversRepresentation') {
|
|
|
2501
2501
|
return v_error === undefined ? null : v_error;
|
|
2502
2502
|
}
|
|
2503
2503
|
|
|
2504
|
-
function validate$
|
|
2504
|
+
function validate$18(obj, path = 'DataAlertDeliveryConfigurationRepresentation') {
|
|
2505
2505
|
const v_error = (() => {
|
|
2506
2506
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2507
2507
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2514,7 +2514,7 @@ function validate$17(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2514
2514
|
for (let i = 0; i < obj_receivers.length; i++) {
|
|
2515
2515
|
const obj_receivers_item = obj_receivers[i];
|
|
2516
2516
|
const path_receivers_item = path_receivers + '[' + i + ']';
|
|
2517
|
-
const referencepath_receivers_itemValidationError = validate$
|
|
2517
|
+
const referencepath_receivers_itemValidationError = validate$19(obj_receivers_item, path_receivers_item);
|
|
2518
2518
|
if (referencepath_receivers_itemValidationError !== null) {
|
|
2519
2519
|
let message = 'Object doesn\'t match DataAlertReceiversRepresentation (at "' + path_receivers_item + '")\n';
|
|
2520
2520
|
message += referencepath_receivers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2525,7 +2525,7 @@ function validate$17(obj, path = 'DataAlertDeliveryConfigurationRepresentation')
|
|
|
2525
2525
|
return v_error === undefined ? null : v_error;
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
|
-
function validate$
|
|
2528
|
+
function validate$17(obj, path = 'DataAlertPropertyFilterOutputRepresentation') {
|
|
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 + '")');
|
|
@@ -2539,7 +2539,7 @@ function validate$16(obj, path = 'DataAlertPropertyFilterOutputRepresentation')
|
|
|
2539
2539
|
return v_error === undefined ? null : v_error;
|
|
2540
2540
|
}
|
|
2541
2541
|
|
|
2542
|
-
function validate$
|
|
2542
|
+
function validate$16(obj, path = 'DataAlertScheduleRepresentation') {
|
|
2543
2543
|
const v_error = (() => {
|
|
2544
2544
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2545
2545
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2567,7 +2567,7 @@ function validate$15(obj, path = 'DataAlertScheduleRepresentation') {
|
|
|
2567
2567
|
return v_error === undefined ? null : v_error;
|
|
2568
2568
|
}
|
|
2569
2569
|
|
|
2570
|
-
function validate$
|
|
2570
|
+
function validate$15(obj, path = 'DataAlertValueRepresentation') {
|
|
2571
2571
|
const v_error = (() => {
|
|
2572
2572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2573
2573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2581,14 +2581,14 @@ function validate$14(obj, path = 'DataAlertValueRepresentation') {
|
|
|
2581
2581
|
return v_error === undefined ? null : v_error;
|
|
2582
2582
|
}
|
|
2583
2583
|
|
|
2584
|
-
function validate$
|
|
2584
|
+
function validate$14(obj, path = 'DataAlertConditionRepresentation') {
|
|
2585
2585
|
const v_error = (() => {
|
|
2586
2586
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2587
2587
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2588
2588
|
}
|
|
2589
2589
|
const obj_leftOperand = obj.leftOperand;
|
|
2590
2590
|
const path_leftOperand = path + '.leftOperand';
|
|
2591
|
-
const referencepath_leftOperandValidationError = validate$
|
|
2591
|
+
const referencepath_leftOperandValidationError = validate$15(obj_leftOperand, path_leftOperand);
|
|
2592
2592
|
if (referencepath_leftOperandValidationError !== null) {
|
|
2593
2593
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_leftOperand + '")\n';
|
|
2594
2594
|
message += referencepath_leftOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2601,7 +2601,7 @@ function validate$13(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
const obj_rightOperand = obj.rightOperand;
|
|
2603
2603
|
const path_rightOperand = path + '.rightOperand';
|
|
2604
|
-
const referencepath_rightOperandValidationError = validate$
|
|
2604
|
+
const referencepath_rightOperandValidationError = validate$15(obj_rightOperand, path_rightOperand);
|
|
2605
2605
|
if (referencepath_rightOperandValidationError !== null) {
|
|
2606
2606
|
let message = 'Object doesn\'t match DataAlertValueRepresentation (at "' + path_rightOperand + '")\n';
|
|
2607
2607
|
message += referencepath_rightOperandValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2611,7 +2611,7 @@ function validate$13(obj, path = 'DataAlertConditionRepresentation') {
|
|
|
2611
2611
|
return v_error === undefined ? null : v_error;
|
|
2612
2612
|
}
|
|
2613
2613
|
|
|
2614
|
-
function validate$
|
|
2614
|
+
function validate$13(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
2615
2615
|
const v_error = (() => {
|
|
2616
2616
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2617
2617
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2624,7 +2624,7 @@ function validate$12(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2624
2624
|
for (let i = 0; i < obj_conditions.length; i++) {
|
|
2625
2625
|
const obj_conditions_item = obj_conditions[i];
|
|
2626
2626
|
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
2627
|
-
const referencepath_conditions_itemValidationError = validate$
|
|
2627
|
+
const referencepath_conditions_itemValidationError = validate$14(obj_conditions_item, path_conditions_item);
|
|
2628
2628
|
if (referencepath_conditions_itemValidationError !== null) {
|
|
2629
2629
|
let message = 'Object doesn\'t match DataAlertConditionRepresentation (at "' + path_conditions_item + '")\n';
|
|
2630
2630
|
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2642,7 +2642,7 @@ function validate$12(obj, path = 'DataAlertThresholdsRepresentation') {
|
|
|
2642
2642
|
|
|
2643
2643
|
const TTL$s = 500;
|
|
2644
2644
|
const VERSION$E = "c2b3a7269126a29557fb07e4baa3abf9";
|
|
2645
|
-
function validate$
|
|
2645
|
+
function validate$12(obj, path = 'DataAlertRepresentation') {
|
|
2646
2646
|
const v_error = (() => {
|
|
2647
2647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2648
2648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2682,7 +2682,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
const obj_content = obj.content;
|
|
2684
2684
|
const path_content = path + '.content';
|
|
2685
|
-
const referencepath_contentValidationError = validate$
|
|
2685
|
+
const referencepath_contentValidationError = validate$1a(obj_content, path_content);
|
|
2686
2686
|
if (referencepath_contentValidationError !== null) {
|
|
2687
2687
|
let message = 'Object doesn\'t match DataAlertContentRepresentation (at "' + path_content + '")\n';
|
|
2688
2688
|
message += referencepath_contentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2700,7 +2700,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2700
2700
|
}
|
|
2701
2701
|
const obj_deliveryConfigurations = obj.deliveryConfigurations;
|
|
2702
2702
|
const path_deliveryConfigurations = path + '.deliveryConfigurations';
|
|
2703
|
-
const referencepath_deliveryConfigurationsValidationError = validate$
|
|
2703
|
+
const referencepath_deliveryConfigurationsValidationError = validate$18(obj_deliveryConfigurations, path_deliveryConfigurations);
|
|
2704
2704
|
if (referencepath_deliveryConfigurationsValidationError !== null) {
|
|
2705
2705
|
let message = 'Object doesn\'t match DataAlertDeliveryConfigurationRepresentation (at "' + path_deliveryConfigurations + '")\n';
|
|
2706
2706
|
message += referencepath_deliveryConfigurationsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2719,7 +2719,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2719
2719
|
if (obj.properties !== undefined) {
|
|
2720
2720
|
const obj_properties = obj.properties;
|
|
2721
2721
|
const path_properties = path + '.properties';
|
|
2722
|
-
const referencepath_propertiesValidationError = validate$
|
|
2722
|
+
const referencepath_propertiesValidationError = validate$17(obj_properties, path_properties);
|
|
2723
2723
|
if (referencepath_propertiesValidationError !== null) {
|
|
2724
2724
|
let message = 'Object doesn\'t match DataAlertPropertyFilterOutputRepresentation (at "' + path_properties + '")\n';
|
|
2725
2725
|
message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2728,7 +2728,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
const obj_schedule = obj.schedule;
|
|
2730
2730
|
const path_schedule = path + '.schedule';
|
|
2731
|
-
const referencepath_scheduleValidationError = validate$
|
|
2731
|
+
const referencepath_scheduleValidationError = validate$16(obj_schedule, path_schedule);
|
|
2732
2732
|
if (referencepath_scheduleValidationError !== null) {
|
|
2733
2733
|
let message = 'Object doesn\'t match DataAlertScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
2734
2734
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2736,7 +2736,7 @@ function validate$11(obj, path = 'DataAlertRepresentation') {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
const obj_thresholds = obj.thresholds;
|
|
2738
2738
|
const path_thresholds = path + '.thresholds';
|
|
2739
|
-
const referencepath_thresholdsValidationError = validate$
|
|
2739
|
+
const referencepath_thresholdsValidationError = validate$13(obj_thresholds, path_thresholds);
|
|
2740
2740
|
if (referencepath_thresholdsValidationError !== null) {
|
|
2741
2741
|
let message = 'Object doesn\'t match DataAlertThresholdsRepresentation (at "' + path_thresholds + '")\n';
|
|
2742
2742
|
message += referencepath_thresholdsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2774,7 +2774,7 @@ function equals$E(existing, incoming) {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
const ingest$E = function DataAlertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2776
2776
|
if (process.env.NODE_ENV !== 'production') {
|
|
2777
|
-
const validateError = validate$
|
|
2777
|
+
const validateError = validate$12(input);
|
|
2778
2778
|
if (validateError !== null) {
|
|
2779
2779
|
throw validateError;
|
|
2780
2780
|
}
|
|
@@ -2835,7 +2835,7 @@ var DiscriminatorValues$1;
|
|
|
2835
2835
|
(function (DiscriminatorValues) {
|
|
2836
2836
|
DiscriminatorValues["Metric"] = "Metric";
|
|
2837
2837
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2838
|
-
function validate$
|
|
2838
|
+
function validate$11(obj, path = 'DataAlertContentInputRepresentation') {
|
|
2839
2839
|
const v_error = (() => {
|
|
2840
2840
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2841
2841
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2855,7 +2855,7 @@ var DiscriminatorValues;
|
|
|
2855
2855
|
DiscriminatorValues["Weekly"] = "Weekly";
|
|
2856
2856
|
DiscriminatorValues["EveryNMinutes"] = "EveryNMinutes";
|
|
2857
2857
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
2858
|
-
function validate
|
|
2858
|
+
function validate$10(obj, path = 'DataAlertScheduleInputRepresentation') {
|
|
2859
2859
|
const v_error = (() => {
|
|
2860
2860
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2861
2861
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2900,22 +2900,22 @@ function typeCheckConfig$X(untrustedConfig) {
|
|
|
2900
2900
|
const config = {};
|
|
2901
2901
|
typeCheckConfig$$(untrustedConfig, config, createDataAlert_ConfigPropertyMetadata);
|
|
2902
2902
|
const untrustedConfig_content = untrustedConfig.content;
|
|
2903
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
2903
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$11(untrustedConfig_content);
|
|
2904
2904
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
2905
2905
|
config.content = untrustedConfig_content;
|
|
2906
2906
|
}
|
|
2907
2907
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
2908
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
2908
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1g(untrustedConfig_deliveryConfigurations);
|
|
2909
2909
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
2910
2910
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
2911
2911
|
}
|
|
2912
2912
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
2913
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate
|
|
2913
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$10(untrustedConfig_schedule);
|
|
2914
2914
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
2915
2915
|
config.schedule = untrustedConfig_schedule;
|
|
2916
2916
|
}
|
|
2917
2917
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
2918
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
2918
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1b(untrustedConfig_thresholds);
|
|
2919
2919
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
2920
2920
|
config.thresholds = untrustedConfig_thresholds;
|
|
2921
2921
|
}
|
|
@@ -2970,7 +2970,7 @@ const createDataAlertAdapterFactory = (luvio) => {
|
|
|
2970
2970
|
};
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
|
-
function validate
|
|
2973
|
+
function validate$$(obj, path = 'BaseAnalyticsRepresentation') {
|
|
2974
2974
|
const v_error = (() => {
|
|
2975
2975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2976
2976
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3005,8 +3005,8 @@ function validate$_(obj, path = 'BaseAnalyticsRepresentation') {
|
|
|
3005
3005
|
return v_error === undefined ? null : v_error;
|
|
3006
3006
|
}
|
|
3007
3007
|
|
|
3008
|
-
function validate$
|
|
3009
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
3008
|
+
function validate$_(obj, path = 'AnalyticsUserRepresentation') {
|
|
3009
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
3010
3010
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
3011
3011
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
3012
3012
|
}
|
|
@@ -3046,7 +3046,7 @@ function validate$Z(obj, path = 'AnalyticsUserRepresentation') {
|
|
|
3046
3046
|
return v_error === undefined ? null : v_error;
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
|
-
function validate$
|
|
3049
|
+
function validate$Z(obj, path = 'AdditionalInfoDataspacesRepresentation') {
|
|
3050
3050
|
const v_error = (() => {
|
|
3051
3051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3052
3052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3083,7 +3083,7 @@ function validate$Y(obj, path = 'AdditionalInfoDataspacesRepresentation') {
|
|
|
3083
3083
|
return v_error === undefined ? null : v_error;
|
|
3084
3084
|
}
|
|
3085
3085
|
|
|
3086
|
-
function validate$
|
|
3086
|
+
function validate$Y(obj, path = 'AdditionalInfoAssetWarningsRepresentation') {
|
|
3087
3087
|
const v_error = (() => {
|
|
3088
3088
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3089
3089
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3106,7 +3106,7 @@ function validate$X(obj, path = 'AdditionalInfoAssetWarningsRepresentation') {
|
|
|
3106
3106
|
return v_error === undefined ? null : v_error;
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
|
-
function validate$
|
|
3109
|
+
function validate$X(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
3110
3110
|
const v_error = (() => {
|
|
3111
3111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3112
3112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3145,7 +3145,7 @@ function validate$W(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
|
3145
3145
|
const path_warnings = path + '.warnings';
|
|
3146
3146
|
let obj_warnings_union0 = null;
|
|
3147
3147
|
const obj_warnings_union0_error = (() => {
|
|
3148
|
-
const referencepath_warningsValidationError = validate$
|
|
3148
|
+
const referencepath_warningsValidationError = validate$Y(obj_warnings, path_warnings);
|
|
3149
3149
|
if (referencepath_warningsValidationError !== null) {
|
|
3150
3150
|
let message = 'Object doesn\'t match AdditionalInfoAssetWarningsRepresentation (at "' + path_warnings + '")\n';
|
|
3151
3151
|
message += referencepath_warningsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3175,7 +3175,7 @@ function validate$W(obj, path = 'AdditionalInfoAssetRepresentation') {
|
|
|
3175
3175
|
return v_error === undefined ? null : v_error;
|
|
3176
3176
|
}
|
|
3177
3177
|
|
|
3178
|
-
function validate$
|
|
3178
|
+
function validate$W(obj, path = 'DataAssetRequestAdditionalInfoRepresentation') {
|
|
3179
3179
|
const v_error = (() => {
|
|
3180
3180
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3181
3181
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3183,7 +3183,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3183
3183
|
if (obj.dataspaces !== undefined) {
|
|
3184
3184
|
const obj_dataspaces = obj.dataspaces;
|
|
3185
3185
|
const path_dataspaces = path + '.dataspaces';
|
|
3186
|
-
const referencepath_dataspacesValidationError = validate$
|
|
3186
|
+
const referencepath_dataspacesValidationError = validate$Z(obj_dataspaces, path_dataspaces);
|
|
3187
3187
|
if (referencepath_dataspacesValidationError !== null) {
|
|
3188
3188
|
let message = 'Object doesn\'t match AdditionalInfoDataspacesRepresentation (at "' + path_dataspaces + '")\n';
|
|
3189
3189
|
message += referencepath_dataspacesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3199,7 +3199,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3199
3199
|
for (let i = 0; i < obj_deployedAssets.length; i++) {
|
|
3200
3200
|
const obj_deployedAssets_item = obj_deployedAssets[i];
|
|
3201
3201
|
const path_deployedAssets_item = path_deployedAssets + '[' + i + ']';
|
|
3202
|
-
const referencepath_deployedAssets_itemValidationError = validate$
|
|
3202
|
+
const referencepath_deployedAssets_itemValidationError = validate$X(obj_deployedAssets_item, path_deployedAssets_item);
|
|
3203
3203
|
if (referencepath_deployedAssets_itemValidationError !== null) {
|
|
3204
3204
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_deployedAssets_item + '")\n';
|
|
3205
3205
|
message += referencepath_deployedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3216,7 +3216,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3216
3216
|
for (let i = 0; i < obj_failedAssets.length; i++) {
|
|
3217
3217
|
const obj_failedAssets_item = obj_failedAssets[i];
|
|
3218
3218
|
const path_failedAssets_item = path_failedAssets + '[' + i + ']';
|
|
3219
|
-
const referencepath_failedAssets_itemValidationError = validate$
|
|
3219
|
+
const referencepath_failedAssets_itemValidationError = validate$X(obj_failedAssets_item, path_failedAssets_item);
|
|
3220
3220
|
if (referencepath_failedAssets_itemValidationError !== null) {
|
|
3221
3221
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_failedAssets_item + '")\n';
|
|
3222
3222
|
message += referencepath_failedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3233,7 +3233,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3233
3233
|
for (let i = 0; i < obj_inProgressAssets.length; i++) {
|
|
3234
3234
|
const obj_inProgressAssets_item = obj_inProgressAssets[i];
|
|
3235
3235
|
const path_inProgressAssets_item = path_inProgressAssets + '[' + i + ']';
|
|
3236
|
-
const referencepath_inProgressAssets_itemValidationError = validate$
|
|
3236
|
+
const referencepath_inProgressAssets_itemValidationError = validate$X(obj_inProgressAssets_item, path_inProgressAssets_item);
|
|
3237
3237
|
if (referencepath_inProgressAssets_itemValidationError !== null) {
|
|
3238
3238
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_inProgressAssets_item + '")\n';
|
|
3239
3239
|
message += referencepath_inProgressAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3250,7 +3250,7 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3250
3250
|
for (let i = 0; i < obj_notStartedAssets.length; i++) {
|
|
3251
3251
|
const obj_notStartedAssets_item = obj_notStartedAssets[i];
|
|
3252
3252
|
const path_notStartedAssets_item = path_notStartedAssets + '[' + i + ']';
|
|
3253
|
-
const referencepath_notStartedAssets_itemValidationError = validate$
|
|
3253
|
+
const referencepath_notStartedAssets_itemValidationError = validate$X(obj_notStartedAssets_item, path_notStartedAssets_item);
|
|
3254
3254
|
if (referencepath_notStartedAssets_itemValidationError !== null) {
|
|
3255
3255
|
let message = 'Object doesn\'t match AdditionalInfoAssetRepresentation (at "' + path_notStartedAssets_item + '")\n';
|
|
3256
3256
|
message += referencepath_notStartedAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3262,8 +3262,52 @@ function validate$V(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
|
|
|
3262
3262
|
return v_error === undefined ? null : v_error;
|
|
3263
3263
|
}
|
|
3264
3264
|
|
|
3265
|
+
function validate$V(obj, path = 'PromotionContentAssetRepresentation') {
|
|
3266
|
+
const v_error = (() => {
|
|
3267
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3268
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3269
|
+
}
|
|
3270
|
+
const obj_assetType = obj.assetType;
|
|
3271
|
+
const path_assetType = path + '.assetType';
|
|
3272
|
+
if (typeof obj_assetType !== 'string') {
|
|
3273
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
|
|
3274
|
+
}
|
|
3275
|
+
const obj_isFirstLevelReuse = obj.isFirstLevelReuse;
|
|
3276
|
+
const path_isFirstLevelReuse = path + '.isFirstLevelReuse';
|
|
3277
|
+
if (typeof obj_isFirstLevelReuse !== 'boolean') {
|
|
3278
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFirstLevelReuse + '" (at "' + path_isFirstLevelReuse + '")');
|
|
3279
|
+
}
|
|
3280
|
+
const obj_isReused = obj.isReused;
|
|
3281
|
+
const path_isReused = path + '.isReused';
|
|
3282
|
+
if (typeof obj_isReused !== 'boolean') {
|
|
3283
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
3284
|
+
}
|
|
3285
|
+
const obj_sourceDevName = obj.sourceDevName;
|
|
3286
|
+
const path_sourceDevName = path + '.sourceDevName';
|
|
3287
|
+
if (typeof obj_sourceDevName !== 'string') {
|
|
3288
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceDevName + '" (at "' + path_sourceDevName + '")');
|
|
3289
|
+
}
|
|
3290
|
+
const obj_sourceId = obj.sourceId;
|
|
3291
|
+
const path_sourceId = path + '.sourceId';
|
|
3292
|
+
if (typeof obj_sourceId !== 'string') {
|
|
3293
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceId + '" (at "' + path_sourceId + '")');
|
|
3294
|
+
}
|
|
3295
|
+
const obj_targetDevName = obj.targetDevName;
|
|
3296
|
+
const path_targetDevName = path + '.targetDevName';
|
|
3297
|
+
if (typeof obj_targetDevName !== 'string') {
|
|
3298
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetDevName + '" (at "' + path_targetDevName + '")');
|
|
3299
|
+
}
|
|
3300
|
+
const obj_targetId = obj.targetId;
|
|
3301
|
+
const path_targetId = path + '.targetId';
|
|
3302
|
+
if (typeof obj_targetId !== 'string') {
|
|
3303
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetId + '" (at "' + path_targetId + '")');
|
|
3304
|
+
}
|
|
3305
|
+
})();
|
|
3306
|
+
return v_error === undefined ? null : v_error;
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3265
3309
|
const TTL$r = 500;
|
|
3266
|
-
const VERSION$D = "
|
|
3310
|
+
const VERSION$D = "14c3cbce26bc641b86f45457db9a2331";
|
|
3267
3311
|
function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
3268
3312
|
const v_error = (() => {
|
|
3269
3313
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3273,7 +3317,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3273
3317
|
const path_acknowledgedBy = path + '.acknowledgedBy';
|
|
3274
3318
|
let obj_acknowledgedBy_union0 = null;
|
|
3275
3319
|
const obj_acknowledgedBy_union0_error = (() => {
|
|
3276
|
-
const referencepath_acknowledgedByValidationError = validate$
|
|
3320
|
+
const referencepath_acknowledgedByValidationError = validate$_(obj_acknowledgedBy, path_acknowledgedBy);
|
|
3277
3321
|
if (referencepath_acknowledgedByValidationError !== null) {
|
|
3278
3322
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_acknowledgedBy + '")\n';
|
|
3279
3323
|
message += referencepath_acknowledgedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3329,7 +3373,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3329
3373
|
const path_additionalInfo = path + '.additionalInfo';
|
|
3330
3374
|
let obj_additionalInfo_union0 = null;
|
|
3331
3375
|
const obj_additionalInfo_union0_error = (() => {
|
|
3332
|
-
const referencepath_additionalInfoValidationError = validate$
|
|
3376
|
+
const referencepath_additionalInfoValidationError = validate$W(obj_additionalInfo, path_additionalInfo);
|
|
3333
3377
|
if (referencepath_additionalInfoValidationError !== null) {
|
|
3334
3378
|
let message = 'Object doesn\'t match DataAssetRequestAdditionalInfoRepresentation (at "' + path_additionalInfo + '")\n';
|
|
3335
3379
|
message += referencepath_additionalInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3390,7 +3434,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3390
3434
|
const path_cancelledBy = path + '.cancelledBy';
|
|
3391
3435
|
let obj_cancelledBy_union0 = null;
|
|
3392
3436
|
const obj_cancelledBy_union0_error = (() => {
|
|
3393
|
-
const referencepath_cancelledByValidationError = validate$
|
|
3437
|
+
const referencepath_cancelledByValidationError = validate$_(obj_cancelledBy, path_cancelledBy);
|
|
3394
3438
|
if (referencepath_cancelledByValidationError !== null) {
|
|
3395
3439
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_cancelledBy + '")\n';
|
|
3396
3440
|
message += referencepath_cancelledByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3445,7 +3489,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3445
3489
|
const path_completedBy = path + '.completedBy';
|
|
3446
3490
|
let obj_completedBy_union0 = null;
|
|
3447
3491
|
const obj_completedBy_union0_error = (() => {
|
|
3448
|
-
const referencepath_completedByValidationError = validate$
|
|
3492
|
+
const referencepath_completedByValidationError = validate$_(obj_completedBy, path_completedBy);
|
|
3449
3493
|
if (referencepath_completedByValidationError !== null) {
|
|
3450
3494
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_completedBy + '")\n';
|
|
3451
3495
|
message += referencepath_completedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3616,7 +3660,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3616
3660
|
}
|
|
3617
3661
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3618
3662
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3619
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3663
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3620
3664
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3621
3665
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3622
3666
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3709,7 +3753,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3709
3753
|
const path_packageExportedBy = path + '.packageExportedBy';
|
|
3710
3754
|
let obj_packageExportedBy_union0 = null;
|
|
3711
3755
|
const obj_packageExportedBy_union0_error = (() => {
|
|
3712
|
-
const referencepath_packageExportedByValidationError = validate$
|
|
3756
|
+
const referencepath_packageExportedByValidationError = validate$_(obj_packageExportedBy, path_packageExportedBy);
|
|
3713
3757
|
if (referencepath_packageExportedByValidationError !== null) {
|
|
3714
3758
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_packageExportedBy + '")\n';
|
|
3715
3759
|
message += referencepath_packageExportedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3890,6 +3934,23 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3890
3934
|
message += '\n' + obj_promotionApprovalFlow_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3891
3935
|
return new TypeError(message);
|
|
3892
3936
|
}
|
|
3937
|
+
if (obj.promotionContentAssets !== undefined) {
|
|
3938
|
+
const obj_promotionContentAssets = obj.promotionContentAssets;
|
|
3939
|
+
const path_promotionContentAssets = path + '.promotionContentAssets';
|
|
3940
|
+
if (!ArrayIsArray(obj_promotionContentAssets)) {
|
|
3941
|
+
return new TypeError('Expected "array" but received "' + typeof obj_promotionContentAssets + '" (at "' + path_promotionContentAssets + '")');
|
|
3942
|
+
}
|
|
3943
|
+
for (let i = 0; i < obj_promotionContentAssets.length; i++) {
|
|
3944
|
+
const obj_promotionContentAssets_item = obj_promotionContentAssets[i];
|
|
3945
|
+
const path_promotionContentAssets_item = path_promotionContentAssets + '[' + i + ']';
|
|
3946
|
+
const referencepath_promotionContentAssets_itemValidationError = validate$V(obj_promotionContentAssets_item, path_promotionContentAssets_item);
|
|
3947
|
+
if (referencepath_promotionContentAssets_itemValidationError !== null) {
|
|
3948
|
+
let message = 'Object doesn\'t match PromotionContentAssetRepresentation (at "' + path_promotionContentAssets_item + '")\n';
|
|
3949
|
+
message += referencepath_promotionContentAssets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3950
|
+
return new TypeError(message);
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3893
3954
|
const obj_rejectionComment = obj.rejectionComment;
|
|
3894
3955
|
const path_rejectionComment = path + '.rejectionComment';
|
|
3895
3956
|
let obj_rejectionComment_union0 = null;
|
|
@@ -3923,7 +3984,7 @@ function validate$U(obj, path = 'DataAssetRequestRepresentation') {
|
|
|
3923
3984
|
}
|
|
3924
3985
|
const obj_requestedBy = obj.requestedBy;
|
|
3925
3986
|
const path_requestedBy = path + '.requestedBy';
|
|
3926
|
-
const referencepath_requestedByValidationError = validate$
|
|
3987
|
+
const referencepath_requestedByValidationError = validate$_(obj_requestedBy, path_requestedBy);
|
|
3927
3988
|
if (referencepath_requestedByValidationError !== null) {
|
|
3928
3989
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_requestedBy + '")\n';
|
|
3929
3990
|
message += referencepath_requestedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4392,7 +4453,7 @@ function validate$R(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
4392
4453
|
}
|
|
4393
4454
|
const obj_createdBy = obj.createdBy;
|
|
4394
4455
|
const path_createdBy = path + '.createdBy';
|
|
4395
|
-
const referencepath_createdByValidationError = validate$
|
|
4456
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
4396
4457
|
if (referencepath_createdByValidationError !== null) {
|
|
4397
4458
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4398
4459
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4405,7 +4466,7 @@ function validate$R(obj, path = 'SetupRecordShareRepresentation') {
|
|
|
4405
4466
|
}
|
|
4406
4467
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4407
4468
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4408
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4469
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4409
4470
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4410
4471
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4411
4472
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4835,7 +4896,7 @@ function validate$N(obj, path = 'VisualizationRepresentation') {
|
|
|
4835
4896
|
}
|
|
4836
4897
|
const obj_createdBy = obj.createdBy;
|
|
4837
4898
|
const path_createdBy = path + '.createdBy';
|
|
4838
|
-
const referencepath_createdByValidationError = validate$
|
|
4899
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
4839
4900
|
if (referencepath_createdByValidationError !== null) {
|
|
4840
4901
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
4841
4902
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4910,7 +4971,7 @@ function validate$N(obj, path = 'VisualizationRepresentation') {
|
|
|
4910
4971
|
if (obj.lastModifiedBy !== undefined) {
|
|
4911
4972
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4912
4973
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4913
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4974
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4914
4975
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4915
4976
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4916
4977
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5230,7 +5291,7 @@ function validate$M(obj, path = 'WorkspaceRepresentation') {
|
|
|
5230
5291
|
}
|
|
5231
5292
|
const obj_createdBy = obj.createdBy;
|
|
5232
5293
|
const path_createdBy = path + '.createdBy';
|
|
5233
|
-
const referencepath_createdByValidationError = validate$
|
|
5294
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
5234
5295
|
if (referencepath_createdByValidationError !== null) {
|
|
5235
5296
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5236
5297
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5450,7 +5511,7 @@ function validate$L(obj, path = 'WorkspaceAssetRepresentation') {
|
|
|
5450
5511
|
}
|
|
5451
5512
|
const obj_createdBy = obj.createdBy;
|
|
5452
5513
|
const path_createdBy = path + '.createdBy';
|
|
5453
|
-
const referencepath_createdByValidationError = validate$
|
|
5514
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
5454
5515
|
if (referencepath_createdByValidationError !== null) {
|
|
5455
5516
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
5456
5517
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6525,7 +6586,7 @@ function validate$G(obj, path = 'FollowerAssetRepresentation') {
|
|
|
6525
6586
|
}
|
|
6526
6587
|
const obj_createdBy = obj.createdBy;
|
|
6527
6588
|
const path_createdBy = path + '.createdBy';
|
|
6528
|
-
const referencepath_createdByValidationError = validate$
|
|
6589
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
6529
6590
|
if (referencepath_createdByValidationError !== null) {
|
|
6530
6591
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
6531
6592
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8168,7 +8229,7 @@ function validate$A(obj, path = 'DataAlertCollectionRepresentation') {
|
|
|
8168
8229
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
8169
8230
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
8170
8231
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
8171
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
8232
|
+
const referencepath_dataAlerts_itemValidationError = validate$12(obj_dataAlerts_item, path_dataAlerts_item);
|
|
8172
8233
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
8173
8234
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
8174
8235
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8439,7 +8500,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
8439
8500
|
}
|
|
8440
8501
|
const obj_createdBy = obj.createdBy;
|
|
8441
8502
|
const path_createdBy = path + '.createdBy';
|
|
8442
|
-
const referencepath_createdByValidationError = validate$
|
|
8503
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
8443
8504
|
if (referencepath_createdByValidationError !== null) {
|
|
8444
8505
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
8445
8506
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8504,7 +8565,7 @@ function validate$y(obj, path = 'DataAssetRepresentation') {
|
|
|
8504
8565
|
}
|
|
8505
8566
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8506
8567
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8507
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8568
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8508
8569
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8509
8570
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8510
8571
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10231,7 +10292,7 @@ function validate$n(obj, path = 'FollowerCollectionRepresentation') {
|
|
|
10231
10292
|
for (let i = 0; i < obj_followers.length; i++) {
|
|
10232
10293
|
const obj_followers_item = obj_followers[i];
|
|
10233
10294
|
const path_followers_item = path_followers + '[' + i + ']';
|
|
10234
|
-
const referencepath_followers_itemValidationError = validate$
|
|
10295
|
+
const referencepath_followers_itemValidationError = validate$_(obj_followers_item, path_followers_item);
|
|
10235
10296
|
if (referencepath_followers_itemValidationError !== null) {
|
|
10236
10297
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_followers_item + '")\n';
|
|
10237
10298
|
message += referencepath_followers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12491,7 +12552,7 @@ function validate$d(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
12491
12552
|
}
|
|
12492
12553
|
const obj_createdBy = obj.createdBy;
|
|
12493
12554
|
const path_createdBy = path + '.createdBy';
|
|
12494
|
-
const referencepath_createdByValidationError = validate$
|
|
12555
|
+
const referencepath_createdByValidationError = validate$_(obj_createdBy, path_createdBy);
|
|
12495
12556
|
if (referencepath_createdByValidationError !== null) {
|
|
12496
12557
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_createdBy + '")\n';
|
|
12497
12558
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12536,7 +12597,7 @@ function validate$d(obj, path = 'VisualizationShallowRepresentation') {
|
|
|
12536
12597
|
if (obj.lastModifiedBy !== undefined) {
|
|
12537
12598
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
12538
12599
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
12539
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12600
|
+
const referencepath_lastModifiedByValidationError = validate$_(obj_lastModifiedBy, path_lastModifiedBy);
|
|
12540
12601
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
12541
12602
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
12542
12603
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13504,7 +13565,7 @@ function validate$8(obj, path = 'DataAlertQueryCollectionRepresentation') {
|
|
|
13504
13565
|
for (let i = 0; i < obj_dataAlerts.length; i++) {
|
|
13505
13566
|
const obj_dataAlerts_item = obj_dataAlerts[i];
|
|
13506
13567
|
const path_dataAlerts_item = path_dataAlerts + '[' + i + ']';
|
|
13507
|
-
const referencepath_dataAlerts_itemValidationError = validate$
|
|
13568
|
+
const referencepath_dataAlerts_itemValidationError = validate$12(obj_dataAlerts_item, path_dataAlerts_item);
|
|
13508
13569
|
if (referencepath_dataAlerts_itemValidationError !== null) {
|
|
13509
13570
|
let message = 'Object doesn\'t match DataAlertRepresentation (at "' + path_dataAlerts_item + '")\n';
|
|
13510
13571
|
message += referencepath_dataAlerts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13624,7 +13685,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
13624
13685
|
const config = {};
|
|
13625
13686
|
typeCheckConfig$$(untrustedConfig, config, postDataAlertQuery_ConfigPropertyMetadata);
|
|
13626
13687
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
13627
|
-
const referenceUnifiedFilterInputRepresentationValidationError = validate$
|
|
13688
|
+
const referenceUnifiedFilterInputRepresentationValidationError = validate$1f(untrustedConfig_timeRange);
|
|
13628
13689
|
if (referenceUnifiedFilterInputRepresentationValidationError === null) {
|
|
13629
13690
|
config.timeRange = untrustedConfig_timeRange;
|
|
13630
13691
|
}
|
|
@@ -14231,7 +14292,7 @@ const publishToMarketplaceAdapterFactory = (luvio) => {
|
|
|
14231
14292
|
};
|
|
14232
14293
|
|
|
14233
14294
|
function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentation') {
|
|
14234
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
14295
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
14235
14296
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
14236
14297
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
14237
14298
|
}
|
|
@@ -14244,7 +14305,7 @@ function validate$4(obj, path = 'AnalyticsAssetsQueryResultsWorkspaceRepresentat
|
|
|
14244
14305
|
}
|
|
14245
14306
|
|
|
14246
14307
|
function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation') {
|
|
14247
|
-
const validateBaseAnalyticsRepresentation_validateError = validate
|
|
14308
|
+
const validateBaseAnalyticsRepresentation_validateError = validate$$(obj, path);
|
|
14248
14309
|
if (validateBaseAnalyticsRepresentation_validateError !== null) {
|
|
14249
14310
|
return validateBaseAnalyticsRepresentation_validateError;
|
|
14250
14311
|
}
|
|
@@ -14557,7 +14618,7 @@ function validate$1(obj, path = 'AnalyticsUsersQueryResultsRepresentation') {
|
|
|
14557
14618
|
for (let i = 0; i < obj_items.length; i++) {
|
|
14558
14619
|
const obj_items_item = obj_items[i];
|
|
14559
14620
|
const path_items_item = path_items + '[' + i + ']';
|
|
14560
|
-
const referencepath_items_itemValidationError = validate$
|
|
14621
|
+
const referencepath_items_itemValidationError = validate$_(obj_items_item, path_items_item);
|
|
14561
14622
|
if (referencepath_items_itemValidationError !== null) {
|
|
14562
14623
|
let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_items_item + '")\n';
|
|
14563
14624
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -15035,22 +15096,22 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
15035
15096
|
const config = {};
|
|
15036
15097
|
typeCheckConfig$$(untrustedConfig, config, updateDataAlert_ConfigPropertyMetadata);
|
|
15037
15098
|
const untrustedConfig_content = untrustedConfig.content;
|
|
15038
|
-
const referenceDataAlertContentInputRepresentationValidationError = validate$
|
|
15099
|
+
const referenceDataAlertContentInputRepresentationValidationError = validate$11(untrustedConfig_content);
|
|
15039
15100
|
if (referenceDataAlertContentInputRepresentationValidationError === null) {
|
|
15040
15101
|
config.content = untrustedConfig_content;
|
|
15041
15102
|
}
|
|
15042
15103
|
const untrustedConfig_deliveryConfigurations = untrustedConfig.deliveryConfigurations;
|
|
15043
|
-
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$
|
|
15104
|
+
const referenceDataAlertDeliveryConfigurationInputRepresentationValidationError = validate$1g(untrustedConfig_deliveryConfigurations);
|
|
15044
15105
|
if (referenceDataAlertDeliveryConfigurationInputRepresentationValidationError === null) {
|
|
15045
15106
|
config.deliveryConfigurations = untrustedConfig_deliveryConfigurations;
|
|
15046
15107
|
}
|
|
15047
15108
|
const untrustedConfig_schedule = untrustedConfig.schedule;
|
|
15048
|
-
const referenceDataAlertScheduleInputRepresentationValidationError = validate
|
|
15109
|
+
const referenceDataAlertScheduleInputRepresentationValidationError = validate$10(untrustedConfig_schedule);
|
|
15049
15110
|
if (referenceDataAlertScheduleInputRepresentationValidationError === null) {
|
|
15050
15111
|
config.schedule = untrustedConfig_schedule;
|
|
15051
15112
|
}
|
|
15052
15113
|
const untrustedConfig_thresholds = untrustedConfig.thresholds;
|
|
15053
|
-
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$
|
|
15114
|
+
const referenceDataAlertThresholdsInputRepresentationValidationError = validate$1b(untrustedConfig_thresholds);
|
|
15054
15115
|
if (referenceDataAlertThresholdsInputRepresentationValidationError === null) {
|
|
15055
15116
|
config.thresholds = untrustedConfig_thresholds;
|
|
15056
15117
|
}
|
|
@@ -16280,4 +16341,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16280
16341
|
});
|
|
16281
16342
|
|
|
16282
16343
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, generateSFDrivePresignedCredentials, 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, 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, notifySharesUpdateAvailable, postDataAlertQuery, postDataAlertQuery_imperative, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
16283
|
-
// version: 1.428.0-
|
|
16344
|
+
// version: 1.428.0-dev6-f96161ab92
|